You can use the procedure in this section to remove a cluster node from the cluster. You must remove information about the node, even if you will replace the old server with a new server that has the same node name and IP address.
To delete a cluster node from a cluster:
Log in as the root user to the node in the cluster that you want to remove, then enter the following at a command prompt:
cluster leave
When the node has successfully left the cluster, the following message is displayed:
No longer a member of cluster cluster_name
In a web browser, open iManager, then log in to the eDirectory tree that contains the cluster you want to manage.
IMPORTANT:Log in as an administrator user who has sufficient rights in eDirectory to delete and modify eDirectory objects.
In iManager, delete the node’s Cluster Node object from the cluster container:
IMPORTANT:If you plan to again add the node that is being deleted to the cluster later, it is recommended to take a note of the node number from the cluster configuration report before continuing with deletion. For information on how to generate the cluster configuration report, see Section 10.9, Generating a Cluster Configuration Report.
Select Directory Administration > Delete Objects.
Browse to the Cluster container () of the cluster, locate and select the Cluster Node object () for the node in the container, then click OK.
On the Delete Objects page, click OK, then click OK again to confirm the deletion of the Cluster Node object.
Select Directory Administration > Modify Object, select the eDirectory Server object for the node that is being removed from the cluster, remove its NCS attributes, then click OK to save and apply your changes.
If the deleted cluster node persists in iManager, do one of the following:
Run the following command as the root user on the master cluster node first and then on all the slave nodes that are a member of the cluster. It is safe to run the command on an active cluster:
/opt/novell/ncs/bin/ncs-configd.py -init
If you are converting a cluster from NetWare to Linux, you must restart the cluster instead so that clstrlib.ko is reloaded:
rcnovell-ncs restart
(Optional) Build a replacement server with the same node name and IP address, and add it to the cluster. See Section 5.11, Adding a Single Node That Was Previously in the Cluster.
IMPORTANT: When a node is removed temporarily from the cluster for rebuilding it, you must not extend the cluster with an additional node to avoid the new node getting the node number of the temporarily removed node.