Stopping applications using the job manager

In a flexible management environment, we can submit the Stop application job to stop enterprise apps that are deployed and running on managed nodes of the job manager.

The application to stop must be running on managed node of the job manager.

Start the job manager if it is not already running. If a target node is a stand-alone application server, also start the admin agent.

Use the admin console of the job manager to submit a job that stops the running of a deployed application. From the job manager console, choose the Stop application job, specify the application to stop, specify job options, review the summary, and submit the job.

Stopping the application changes the application status to stopped. The application can no longer receive client requests.

Instead of using the job manager console, we can run the stopApplication job script in the AdministrativeJobs command group. See the Administrative job types topic.

 

  1. Click Jobs > Submit from the navigation tree of the job manager administrative console.

  2. Choose a job to stop applications on managed nodes.

    1. Select the Stop application job type from the list.

    2. Optionally specify a description of the job.

    3. Click Next.

  3. Choose the job targets on which to stop the application.

    1. Select a group of nodes from the list, or select Node names.

    2. If you selected Node names, then specify a node name and click Add, or click Find and specify the chosen nodes on the Find nodes page.

    3. If user authentication is required, specify the user name and password.

    4. Click Next.

  4. Specify job parameters.

    1. For Application name, specify the base file name of the application file.

      Click Find. On the Find node resources page, select the application resource to stop. See the topics on installing and starting applications using the job manager. To continue with the DynaCacheEsi.ear example in those topics, find the application resource and specify the following application name:

      DynaCacheEsi
      

    2. Click Next.

  5. Schedule the job.

  6. Review the summary, and click Finish to submit the job.

 

Results

The target nodes run the job and attempt to stop the application.

 

Next steps

On the Job status page, click the ID of the stop application job and view the job status. Click the status refresh icon

Refresh view icon for job status to refresh the displayed status.

If the job is not successful, view any error messages that result from running the job, correct the error condition, and submit the job again.

If the job is successful, the status on the Node resources page of the application is Stopped. Click Jobs > Node resources > resource_name to see the resource status.

After stopping the application, we can run the following jobs:



Related tasks
Distributing files from the job manager to nodes
Install applications using the job manager
Starting applications using the job manager
Check job status

Related reference
Administrative job types using wsadmin scripting
Find nodes
Find node resources

   



Last updated Nov 10, 2010 8:23:07 PM CST