Network Deployment (Distributed operating systems), v8.0 > Set up the application serving environment > Administer nodes and resources > Administer nodes remotely using the job manager > Submit jobs > Submit jobs to manage servers
Delete clusters using the job manager
We can submit the Delete cluster job to remove a cluster from the flexible management environment.
Start the job manager, the dmgr, and the targets on which the cluster resides.
Each cluster that you want to delete must be a managed resource of the job manager.
We can use the admin console of the job manager or the dmgr to delete a cluster from one or more managed targets. From the console, choose the Delete cluster job, specify job options, review the summary, and submit the job.
The job stops the cluster, if it is running, and removes the cluster from the flexible management environment and from the dmgr node.
Instead of using a console, you can run the deleteCluster job script in the AdministrativeJobs command group. See the Administrative job types topic.
Procedure
- Click Jobs > Submit from the navigation tree of the admin console.
- Choose a job to delete a cluster.
- Select the Delete cluster job type from the list.
- Optionally specify a description of the job.
- Click Next.
- Choose the job targets from which to delete a cluster.
- Select a group of targets from the list, or select Target names.
- If you selected Target names, then specify a target name and click Add, or click Find and specify the chosen targets on the Find targets page.
For example, suppose a managed target, node1, has a cluster named cluster2 that to remove. Specify the target name:
node1
- If user authentication is required, specify a user name, password, or any other authentication values as needed.
- Click Next.
- Specify parameters for the delete cluster job.
- For Cluster name, specify the name of cluster to remove.
To see the names of existing clusters on the targets, click Find on the Specify job parameters page. On the Find target resources page, specify the targets and click Find. To continue with the example, to remove cluster2 from the node1 target, specify the cluster name:
cluster2
- If the cluster belongs to a replication domain, optionally select Delete replication domain (true) to remove the cluster replication domain.
By default, the product does not delete the cluster replication domain when the cluster is deleted. The default value is clear (false).
- Click Next.
- Schedule the job.
- Optionally specify one or more email addresses where notifications are sent when the job finishes.
If you 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.
Results
The targets run the job and delete the cluster.
What to do next
On the Job status page, click the ID of the delete cluster 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. correct the error condition, and submit the job again.
If the job is successful, click Jobs > Target resources. The names of deleted clusters are not in the list of resources.
Start and stop the job manager
Start and stop the dmgr
Start and stop a node
Check job status
Related
Administrative job types using wsadmin.sh
Find targets
Find target resources
Target resources collection