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 nodes. The cluster member to delete must be a managed resource of the job manager.

Use the admin console of the job manager to delete a cluster member from one or more managed clusters. From the job manager 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 the job manager console, we can run the deleteClusterMember 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 delete a cluster member.

    1. Select the Delete cluster member job type from the list.

    2. Optionally specify a description of the job.

    3. Click Next.

  3. Choose one or more managed nodes on which the cluster member 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 parameters for the delete member job.

    1. For Cluster name, specify the name of the cluster that groups the cluster member. To see the names of existing clusters on the target nodes, click Find on the Specify job parameters page. On the Find node resources page, specify the target nodes and click Find. For example, suppose the cluster member to delete, cluster_member_2, belongs to the cluster2 cluster. Specify the cluster name:
      cluster2
      

    2. For Member node, specify the name of the node on which the cluster member resides. For example, suppose the Node resources page shows that the deployment manager node on which cluster_member_2 resides is named myNode01. Specify the member node name:
      myNode01
      

    3. For Member name, specify the name of the cluster member to delete. For example, specify the cluster member name:
      cluster_member_2
      

    4. If the cluster has a replication domain and you want to remove a replicator entry for the cluster member, specify true.

      By default, WAS does not delete the replicator entry having the server name of this cluster member from the cluster replication domain. The default value is false.

    5. Click Next.

  5. Schedule the job.

    1. Optionally specify one or more e-mail addresses where notifications are sent when the job finishes.

      If you specify multiple e-mail addresses, separate them with commas.

    2. Select when the job is available for submission.

    3. Select the job expiration.

    4. 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.

    5. Click Next.

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

 

Results

The target nodes run the job and attempt to delete the cluster member.

 

Next steps

On the Job status page, click the ID of the delete cluster member 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 cluster members are not in the list of resources.



Related tasks
Starting and stopping the job manager
Starting and stopping the dmgr
Starting and stopping a node
Check job status

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

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