The following information applies to this update release and all subsequent updates.
The following task map was changed in the Sun Cluster 3.0 5/02 update release and applies to this update and all subsequent updates to Sun Cluster 3.0 software. Referenced procedures that are not provided in this task map are located in the Sun Cluster 3.0 12/01 System Administration Guide.
Table 6-1 Task Map: Removing a Cluster Node (5/02)
Task |
For Instructions, Go To |
---|---|
Remove node from all resource groups - Use scrgadm |
Sun Cluster 3.0 12/01 Data Services Installation and Configuration Guide: See the procedure for how to remove a node from an existing resource group. |
Remove node from all disk device groups - Use scconf, metaset, and scsetup |
"How to Remove a Node From All Disk Device Groups (5/02)" |
Place node being removed into maintenance state - Use scswitch, shutdown, and scconf |
"How to Put a Node Into Maintenance State" |
Remove all logical transport connections to the node being removed - Use scsetup |
"How to Remove Cluster Transport Cables, Transport Adapters, and Transport Junctions"
|
Remove all quorum devices shared with the node being removed - Use scsetup |
"How to Remove a Quorum Device" or "How to Remove the Last Quorum Device From a Cluster" |
Remove node from the cluster software configuration - Use scconf |
"How to Remove a Node From the Cluster Software Configuration (5/02)" |
(Optional) Uninstall Sun Cluster software from the removed node - Use scinstall |
"How to Uninstall Sun Cluster Software From a Cluster Node (5/02)" |
Disconnect required shared storage from the node and cluster - Follow the procedures in your volume manager documentation and hardware guide. To remove the physical hardware from the node, see the Sun Cluster 3.0 12/01 Hardware Guide section on installing and maintaining cluster interconnect and public network hardware. |
Solstice DiskSuite or VxVM administration guide Hardware documentation Sun Cluster 3.0 12/01 Hardware Guide |
The following information was changed in the Sun Cluster 3.0 5/02 update release and applies to this update and all subsequent updates to Sun Cluster 3.0 software.
Steps to remove a node from a raw disk device group have been removed. Those instructions are now located in the new procedure "How to Remove a Node From a Raw Disk Device Group (5/02)".
After the node is removed from the cluster, you now have the option to uninstall Sun Cluster software from the removed node. To uninstall Sun Cluster software, go to "How to Uninstall Sun Cluster Software From a Cluster Node (5/02)".
The following procedure was added in the Sun Cluster 3.0 5/02 update release and applies to this update and all subsequent updates to Sun Cluster 3.0 software.
Perform this procedure to uninstall Sun Cluster software from a cluster node before you disconnect it from a fully established cluster configuration. You can use this procedure to uninstall software from the last remaining node of a cluster.
To uninstall Sun Cluster software from a node that has not yet joined the cluster or is still in install mode, do not perform this procedure. Instead, go to "How to Uninstall Sun Cluster Software to Correct Installation Problems" in the Sun Cluster 3.0 12/01 Software Installation Guide.
Be sure you have correctly completed all prerequisite tasks listed in the task map for removing a cluster node.
See "Adding and Removing a Cluster Node" in the Sun Cluster 3.0 12/01 System Administration Guide.
Be sure you have removed the node from all resource groups, device groups, and quorum device configurations, placed it in maintenance state, and removed it from the cluster before you continue with this procedure.
Become superuser on an active cluster member other than the node you will uninstall.
From the active cluster member, add the node you intend to uninstall to the cluster's node authentication list.
# scconf -a -T node=nodename |
Add
Specifies authentication options
Specifies the name of the node to add to the authentication list
Alternately, you can use the scsetup(1M) utility. See "How to Add a Cluster Node to the Authorized Node List" in the Sun Cluster 3.0 12/01 System Administration Guide for procedures.
Become superuser on the node to uninstall.
Reboot the node into non-cluster mode.
# shutdown -g0 -y -i0 ok boot -x |
In the /etc/vfstab file, remove all globally mounted file system entries except the /global/.devices global mounts.
Uninstall Sun Cluster software from the node.
# cd / # scinstall -r |
See the scinstall(1M) man page for more information. If scinstall returns error messages, see "Troubleshooting a Node Uninstallation".
Disconnect the transport cables and the transport junction, if any, from the other cluster devices.
If the uninstalled node is connected to a storage device that uses a parallel SCSI interface, install a SCSI terminator to the open SCSI connector of the storage device after you disconnect the transport cables.
If the uninstalled node is connected to a storage device that uses Fibre Channel interfaces, no termination is necessary.
Follow the documentation that shipped with your host adapter and server for disconnection procedures.
This section describes error messages you might receive when you run the scinstall -r command and the corrective actions to take.
The following error messages indicate that the node you removed still has cluster file systems referenced in its vfstab file.
Verifying that no unexpected global mounts remain in /etc/vfstab ... failed scinstall: global-mount1 is still configured as a global mount. scinstall: global-mount1 is still configured as a global mount. scinstall: /global/dg1 is still configured as a global mount. scinstall: It is not safe to uninstall with these outstanding errors. scinstall: Refer to the documentation for complete uninstall instructions. scinstall: Uninstall failed. |
To correct this error, return to "How to Uninstall Sun Cluster Software From a Cluster Node (5/02)" and repeat the procedure. Ensure that you successfully complete Step 6 in the procedure before you rerun the scinstall -r command.
The following error messages indicate that the node you removed is still listed with a disk device group.
Verifying that no device services still reference this node ... failed scinstall: This node is still configured to host device service "service". scinstall: This node is still configured to host device service "service2". scinstall: This node is still configured to host device service "service3". scinstall: This node is still configured to host device service "dg1". scinstall: It is not safe to uninstall with these outstanding errors. scinstall: Refer to the documentation for complete uninstall instructions. scinstall: Uninstall failed. |
To correct this error, perform the following steps.
Attempt to rejoin the node to the cluster.
# boot |
Did the node successfully rejoin the cluster?
If no, proceed to Step 3.
If yes, perform the following steps to remove the node from disk device groups.
If the node successfully rejoins the cluster, remove the node from the remaining disk device group(s).
Follow procedures in "How to Remove a Node From All Disk Device Groups (5/02)".
After you remove the node from all disk device groups, return to "How to Uninstall Sun Cluster Software From a Cluster Node (5/02)" and repeat the procedure.
If the node could not rejoin the cluster, rename the node's /etc/cluster/ccr file to any other name you choose, for example, ccr.old.
# mv /etc/cluster/ccr /etc/cluster/ccr.old |
Return to "How to Uninstall Sun Cluster Software From a Cluster Node (5/02)" and repeat the procedure.