Uninstall applications using the job manager

In a flexible management environment, we can submit jobs to remove deployed applications from managed nodes of the job manager.

Start the job manager and the target nodes. If a target node is a stand-alone appserver, also start the administrative agent.

Submit the Stop application job and stop the running of the application to uninstall. The application must be installed on one or more appservers that are on managed nodes of the job manager.

Use the admin console of the job manager to submit a job that removes a deployed application from a managed node. From the job manager console, choose the Uninstall application job, specify the application to remove, specify job options, review the summary, and submit the job.

Instead of using the job manager console, we can run the uninstallApplication 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 uninstall an application from selected nodes.

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

    2. Optionally specify a description of the job.

    3. Click Next.

  3. Choose the job targets on which the application resides.

    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 uninstall. For example, the topic on installing applications using the job manager describes how to install the DynaCacheEsi.ear example application. To uninstall that application, find the application resource and specify the following 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 uninstall the application.

 

Next steps

On the Job status page, click the job ID of the uninstall 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, click Jobs > Node resources . The names of deleted applications are not in the list of resources.

After uninstalling the application, if you previously ran the Distribute file job to distribute the application to nodes, we can run the Remove file job to remove the application file from the flexible management environment.



Related tasks
Starting and stopping the job manager
Starting and stopping the admin agent
Install applications using the job manager
Stopping applications using the job manager
Check job status
Distributing files from the job manager to nodes

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

   



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