Delete cluster members using the job manager
We can submit the Delete cluster member job to remove a cluster member from the flexible management environment.
Start the job manager and the managed targets. The cluster member to delete must be a managed resource of the job manager.
Use the administrative console of the job manager or the deployment manager to delete a cluster member from one or more managed clusters. From the console, choose the Delete cluster member job, specify job options, review the summary, and submit the job.
The job stops the cluster member, if it is running, and removes the cluster member from the flexible management environment.
Instead of using a console, we can run the deleteClusterMember 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 cluster member.
- Select the Delete cluster member job type from the list.
- Optionally specify a description of the job.
- Click Next.
- Choose one or more managed targets on which the cluster member resides.
- 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 member job.
- For Cluster name, specify the name of the cluster that groups the cluster member.
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.
For example, suppose the cluster member to delete, cluster_member_2, belongs to the cluster2 cluster. Specify the cluster name:cluster2- For Member node, specify the name of the node on which the cluster member resides. For example, suppose the Target resources page shows that the deployment manager node on which cluster_member_2 resides is named myNode01. Specify the member node name:
myNode01- For Member name, specify the name of the cluster member to delete. For example, specify the cluster member name:
cluster_member_2- If the cluster has a replication domain and we want to remove a replicator entry for the cluster member, select Delete entry (true).
By default, the product does not delete the replicator entry having the server name of this cluster member from the cluster replication domain. The default is clear (false).
- 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 cluster member.
What to do next
On the Job status page, click the ID of the delete cluster member 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 cluster members are not in the list of resources.
Restart the job manager Restart the deployment manager Restart a node Checking job status Administrative job types Find targets Find target resources Target resources collection