Starting and stopping the job manager (deprecated)

In your flexible management environment, you can start the job manager by using the startServer command. You can stop the job manager by using the stopServer command.

Before you begin

Before you can start or stop the job manager, you must first install the product.

About this task

Start the job manager so that you 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.

Procedure

  • 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 that you want to start.

      [IBM i]Use the startServer Qshell script.

      [Windows]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
    • [IBM i]Use the Submit Job (SBMJOB) CL command.
      You can run this CL command from an IBM 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 that you want to start.
    • [Windows]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.

    • [Windows]Use the job manager First steps dialog.
      1. Click Start > [All] Programs > IBM WebSphere > product_name > Profiles > job_manager_profile_name > First steps.
      2. In the First steps dialog, click Start the job manager.
    • [z/OS]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.
      1. Click System Administration > Job manager.
      2. Click Stop on the Configuration tab.
    • Use the stopServer command:
      stopServer <job_manager>

      where job_manager is name of the job manager that you want to stop.

      [IBM i]Use the stopServer Qshell script.

      [Windows]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
    • [IBM i]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.
    • [Windows]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.

    • [Windows]Use the job manager First steps dialog.
      1. Click Start > [All] Programs > IBM WebSphere > product_name > Profiles > job_manager_profile_name > First steps.
      2. 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. You can do such tasks as submit jobs, check the status of jobs, view nodes and node resources, or administer node groups.