Manage administrative jobs using wsadmin.sh
Use the wsadmin tool and the commands in the AdministrativeJobs command group to manage administrative submitted to the job manager in a flexible management environment.
Tasks
- Display the status of a job.
AdminTask.getOverallJobStatus(['-jobTokenList [myJobToken]]')
Display the overall job status for multiple jobs:
AdminTask.getOverallJobStatus('-jobTokenList [myJobToken myJobToken2 myJobToken3]')
The command returns job status information for the job or jobs of interest.
STATE Current state of the job. TOTAL_RESULTS Total number of jobs. DISTRIBUTED Number of distributed jobs. ASYNC_IN_PROGRESS Number of asynchronous jobs in progress. SUCCEEDED Number of successful jobs. PARTIALLY_SUCCEEDED Number of partially successful jobs. Partial success can occur, for example, when a node represents multiple servers, and only some of the servers on the node complete successfully. FAILED Number of failed jobs. REJECTED Number of rejected jobs. NOT_ATTEMPTED Number of jobs the system has not attempted.
Suspend a job. AdminTask.suspendJob('-jobToken myToken')
Resume a job. AdminTask.resumeJob('-jobToken myToken')
Delete a job. If the job is running when the command is invoked, the system still returns the job results regardless of whether the job is deleted.
AdminTask.deleteJob('-jobToken myToken -deleteResults true')
Running administrative jobs AdministrativeJobs JobManagerNode ManagedNodeGroup using wsadmin.sh (deprecated) ManagedNodeAgent TargetGroup