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 installation mode, do not perform this procedure. Instead, go to “How to Uninstall Sun Cluster Software to Correct Installation Problems” in the Sun Cluster Software Installation Guide for Solaris OS.
This procedure provides the long forms of the Sun Cluster commands. Most commands also have short forms. Except for the long and short forms of the command names, the commands are identical. For a list of the commands and their short forms, see Appendix A, Sun Cluster Object-Oriented Commands.
Ensure that you have correctly completed all prerequisite tasks in the task map for removing a cluster node.
See Table 8–3.
Ensure that you have removed the node from the cluster configuration using clnode remove before you continue with this procedure.
Become superuser on an active cluster member other than the node you are uninstalling.
From the active cluster member, add the node that you intend to uninstall to the cluster's node authentication list.
# claccess allow -h hostname
Specifies the name of the node to be added to the node's authentication list.
Become superuser on the node to uninstall.
Reboot the node into noncluster mode.
# shutdown -g0 -y -i0ok boot -x
# shutdown -g0 -y -i0 ... <<< Current Boot Parameters >>> Boot path: /pci@0,0/pci8086,2545@3/pci8086,1460@1d/pci8086,341a@7,1/ sd@0,0:a Boot args: Type b [file-name] [boot-flags] <ENTER> to boot with options or i <ENTER> to enter boot interpreter or <ENTER> to boot with defaults <<< timeout in 5 seconds >>> Select (b)oot or (i)nterpreter: b -x
In the /etc/vfstab file, remove all globally mounted file system entries except the /global/.devices global mounts.
If you intend to reinstall Sun Cluster software on this node, remove the Sun Cluster entry from the Sun Java Enterprise System (Java ES) product registry.
If the Java ES product registry contains a record that Sun Cluster software was installed, the Java ES installer shows the Sun Cluster component grayed out and does not permit reinstallation.
Start the Java ES uninstaller.
Run the following command, where ver is the version of the Java ES distribution from which you installed Sun Cluster software.
Follow the prompts to select Sun Cluster to uninstall.
For more information about using the uninstall command, see Chapter 8, Uninstalling, in Sun Java Enterprise System 5 Installation Guide for UNIX in Sun Java Enterprise System 5 Installation Guide for UNIX.
If you do not intend to reinstall Sun Cluster on this cluster, disconnect the transport cables and the transport switch, 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.