Delete application servers using the job manager
We can submit the Delete application server job to remove a server from the flexible management environment. The job can delete a stand-alone server or a server on a federated node of a deployment manager.
Each server to delete must be on a managed target of the job manager.
Start the job manager. If the server to delete is on a federated node of a deployment manager, also start the deployment manager and the federated node. If the target is a stand-alone application server, also start the administrative agent.
Use the administrative console of the job manager or the deployment manager to delete an application server from one or more managed targets. From the console, choose the Delete application server job, specify server and job options, review the summary, and submit the job.
Instead of using a console, we can run the deleteApplicationServer job script in the AdministrativeJobs command group. See the Administrative job types topic.
Tasks
- Click Jobs > Submit from the navigation tree of the administrative console.
- Choose a job to delete a server.
- Select the Delete application server job type from the list.
- Optionally specify a description of the job.
- Click Next.
- Choose the job targets from which to delete a server.
- Select a group of targets from the list, or select Target names.
- If we selected Target names, then specify a target name and click Add, or click Find and specify the chosen targets on the Find targets page.
- If user authentication is required, specify a user name, password, or any other authentication values as needed.
- Click Next.
- Specify parameters for the delete server job.
- For Server name, specify the name of the server to delete.
To see the names of existing servers on the targets, click Find on the Specify job parameters page. On the Find target resources page, specify the targets and click Find.
For example, suppose a managed target, nodeA, has a server named server2 to delete. Specify the server name:server2- If the target is in a WebSphere Application Server, Network Deployment cell, specify the node name in the cell from which to delete the server.
We do not have to specify the node name for a base (stand-alone) node.
For example, suppose the managed target, nodeA, is a federated node in a WAS ND cell. Specify the node name:nodeA- Click Next.
- Schedule the job.
- Optionally specify one or more email addresses where notifications are sent when the job finishes.
If we specify multiple email addresses, separate them with commas.
- Select when the job is available for submission.
- Select the job expiration.
- Optionally specify a recurring interval for the job, a start date and time for the interval, and an end date and time for the interval.
- Click Next.
- Review the summary, and click Finish to submit the job.
The targets run the job and attempt to delete the application server.
What to do next
On the Job status page, click the ID of the delete application server job and view the job status. Click the status refresh icon
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 > Target resources. The names of deleted servers are not in the list of resources.
Restart the job manager Restart the administrative agent Restart the deployment manager Restart a node Checking job status Administrative job types Find targets Find target resources Target resources collection