Start and stopping the job manager
In the flexible management environment, we can start the job manager using the startServer command. We can stop the job manager using the stopServer command.
Before we can start or stop the job manager, first install the product.
Start the job manager so that we can administer jobs for large numbers of unfederated application servers and deployment managers. Stop the job manager as needed, such as when migrating to a new version of the product, when uninstalling the product, and so on.
- Start the job manager.
Use one of these methods to start the job manager:
- Use the startServer command:
startServer <job_manager>
where job_manager is name of the job manager to start.
(iseries) Use the startServer Qshell script.
For example, from a command dialog at the bin directory of the job manager profile, run the serverStatus -all command. Suppose running the command shows that the job manager profile is named jobmgr. To start the job manager, run the following command from a command dialog at the bin directory of the job manager profile:
startServer jobmgr
- (iseries) Use the Submit Job (SBMJOB) CL command.
We can run this CL command from an i5/OS i command line:
SBMJOB CMD(CALL PGM( product_library/QWASSTRSVR) PARM('-profilePath' 'profile_root' '-server' 'job manager')) JOB(server) JOBD(QWAS85/QWASJOBD) JOBQ(QWAS85/QWASJOBQ) USER(QEJBSVR) LANGID(*USRPRF) CNTRYID(*USRPRF) CCSID(*USRPRF) OUTQ(QWAS85/QWASOUTQ) ALWMLTTHD(*YES)
- The profile_root element is the profile root of the job manager.
- The job manager element is the name of the job manager server to start.
- Use the Windows operating system Taskbar.
Click Start > [All] Programs > IBM WebSphere > product_name > Profiles > job_manager_profile_name > Start the management server for job administration.
- Use the job manager First steps dialog.
- Click Start > [All] Programs > IBM WebSphere > product_name > Profiles > job_manager_profile_name > First steps.
- In the First steps dialog, click Start the job manager.
- (zos) Use the START command to start the job manager:
START job_manager_proc_name,JOBNAME=server_short_name, ENV=cell_short_name.node_short_name.server_short_name
- Stop the job manager.
Use one of these methods to stop the job manager:
- Use the Job manager administrative console.
- Click System Administration > Job manager.
- Click Stop on the Configuration tab.
- Use the stopServer command:
stopServer <job_manager>
where job_manager is name of the job manager to stop.
(iseries) Use the stopServer Qshell script.
For example, from a command dialog at the bin directory of the job manager profile, run the serverStatus -all command. Suppose running the command shows that the job manager profile is named jobmgr. To stop the job manager, run the following command from a command dialog at the bin directory of the job manager profile:
stopServer jobmgr
- (iseries) Use the End Job (ENDJOB) CL command.
To use the ENDJOB CL command to end a job manager, enter this command on an IBM i command line:
ENDJOB JOB(jobNumber/QEJBSVR/jobName) OPTION(*CNTRLD) DELAY(delayTime)
The jobNumber element is the job number, jobName is the name of job manager job, and delayTime is the amount of time to wait for the job to end in seconds. Use a value of 600 seconds initially. Read about the appropriate delay time when shutting down the product subsystem.
- Use the Windows operating system Taskbar.
Click Start > [All] Programs > IBM WebSphere > product_name > Profiles > job_manager_profile_name > Stop the management server for job administration.
- Use the job manager First steps dialog.
- Click Start > [All] Programs > IBM WebSphere > product_name > Profiles > job_manager_profile_name > First steps.
- In the First steps dialog, click Stop the job manager.
Results
You have started the job manager and have optionally stopped it.
What to do next
Administer jobs using the job manager. We can do such tasks as submit jobs, check the status of jobs, view nodes and node resources, or administer node groups.
Related tasks
Start and stop a node (iseries) Shutting down the QWAS85 subsystem for WebSphere Application Server
Start and logging off the administrative console startServer command stopServer command Administer nodes remotely using the job manager