Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Cluster Software Installation Guide Oracle Solaris Cluster 3.3 3/13 |
1. Planning the Oracle Solaris Cluster Configuration
2. Installing Software on Global-Cluster Nodes
3. Establishing the Global Cluster
4. Configuring Solaris Volume Manager Software
5. Creating a Cluster File System
6. Creating Non-Global Zones and Zone Clusters
This section provides the following procedures to uninstall or remove certain software products from a global cluster.
How to Unconfigure Oracle Solaris Cluster Software to Correct Installation Problems
How to Remove Oracle Solaris Cluster Information From a JumpStart Install Server
How to Uninstall Oracle Solaris Cluster Quorum Server Software
Perform this procedure if the installed node cannot join the cluster or if you need to correct configuration information. For example, perform this procedure on all nodes to reconfigure the transport adapters or the private-network address.
Note - If the node has already joined the cluster and is no longer in installation mode, as described in Step 2 of How to Verify the Quorum Configuration and Installation Mode, do not perform this procedure. Instead, go to How to Uninstall Oracle Solaris Cluster Software From a Cluster Node in Oracle Solaris Cluster System Administration Guide.
Before You Begin
Attempt to rerun cluster configuration of the node by using the scinstall utility. You can correct certain cluster node configuration failures by repeating Oracle Solaris Cluster software configuration on the node.
If you are unconfiguring a single-node cluster, skip to Step 2.
phys-schost# /usr/cluster/bin/claccess allow -h nodename
Specifies the name of the node to add to the authentication list.
You can also use the clsetup utility to perform this task. See How to Add a Node to an Existing Cluster in Oracle Solaris Cluster System Administration Guide for procedures.
phys-schost# shutdown -g0 -y -i0
ok boot -x
For more information about GRUB based booting, see Booting an x86 Based System by Using GRUB (Task Map) in Oracle Solaris Administration: Basic Administration.
The screen displays the edited command.
Note - This change to the kernel boot parameter command does not persist over the system boot. The next time you reboot the node, it will boot into cluster mode. To boot into noncluster mode instead, perform these steps to again add the -x option to the kernel boot parameter command.
phys-schost# cd /
phys-schost# /usr/cluster/bin/clnode remove
The node is removed from the cluster configuration but Oracle Solaris Cluster software is not removed from the node.
See the clnode(1CL) man page for more information.
Note - If you do not need to remove or reinstall Oracle Solaris Cluster software, you can skip this step.
This step also removes the Oracle Solaris Cluster entry from the installer program product registry. If the product registry contains a record that Oracle Solaris Cluster software is installed, the installer program will show the Oracle Solaris Cluster component grayed out and will not permit reinstallation.
Run the following command, where ver is the version of the Java ES distribution from which you installed Oracle Solaris Cluster software.
phys-schost# /var/sadm/prod/SUNWentsysver/uninstall
Note - If Oracle Solaris Cluster Geographic Edition software is installed, you must uninstall it as well.
For more information about using the uninstall program, see Chapter 8, Uninstalling, in Sun Java Enterprise System 5 Update 1 Installation Guide for UNIX.
Troubleshooting
If the uninstall program does not exist on the node, package installation might not have fully completed. Remove the /var/sadm/install/productregistry file, then use the pkgrm command to manually remove all Oracle Solaris Cluster packages.
Next Steps
To reinstall or reconfigure Oracle Solaris Cluster software on the node, refer to Table 2-1. This table lists all installation tasks and the order in which to perform the tasks.
To physically remove the node from the cluster, see How to Remove an Interconnect Component in Oracle Solaris Cluster 3.3 3/13 Hardware Administration Manual and the removal procedure in the Oracle Solaris ClusterHardware Administration Collection manual for your storage array.
Perform this procedure to remove Oracle Solaris Cluster information from a JumpStart install server that was used to install and configure a cluster. You can remove information for one or more individual nodes or for one or more entire clusters. For more information about the JumpStart feature, see Oracle Solaris 10 1/13 Installation Guide: JumpStart Installations.
installserver# cd jumpstart-dir
The Oracle Solaris Cluster entries reference autostinstall.class or autoscinstall.finish or both. Entries appear similar to the following, where release is the version of Oracle Solaris Cluster software:
hostname phys-schost-1 - autoscinstall.d/release/autoscinstall.class \ autoscinstall.d/release/autoscinstall.finish
Run the check command that is located in the jumpstart-dir/ directory to regenerate the rules.ok file.
installserver# ./check
To remove the symbolic link for one or more nodes in a cluster, remove the link that is named for each node to remove.
installserver# rm -f autoscinstall.d/clusters/clustername/nodename
To remove the symbolic links for an entire cluster, recursively remove the directory that is named for the cluster to remove.
installserver# rm -rf autoscinstall.d/clusters/clustername
To remove the symbolic links for all clusters, recursively remove the clusters/ directory.
installserver# rm -rf autoscinstall.d/clusters
If you are removing information for an entire cluster, remove the directory for each node in the cluster.
To remove information for one or more nodes in a cluster, recursively remove the directory for each node.
installserver# rm -rf autoscinstall.d/nodes/nodename
To remove all entries for all clusters, recursively remove the autoscinstall.d directory.
installserver# rm -rf autoscinstall.d
installserver# rm .autoscinstall.log.3
installserver# rm filename.flar
Next Steps
If you intend to use custom JumpStart to reinstall a cluster from which you removed information for one or more nodes that were removed from that cluster, you must rerun interactive scinstall to update the cluster node list. See How to Install Oracle Solaris and Oracle Solaris Cluster Software (JumpStart).
Use this procedure to uninstall SunPlex Manager software that was installed by the installer utility up to and including the Sun Java Enterprise System 2005Q4 distribution or by any other installation method.
To remove Oracle Solaris Cluster Manager software that was installed with the Sun Java Enterprise System 5 or compatible distribution of the installer utility, instead use the uninstall utility to remove these packages. For more information, see Chapter 8, Uninstalling, in Sun Java Enterprise System 5 Update 1 Installation Guide for UNIX.
Note - Do not uninstall SunPlex Manager or Oracle Solaris Cluster Manager or its shared components if you intend to use the graphical user interface (GUI) to Oracle Solaris Cluster Geographic Edition software or to Oracle Solaris Cluster features that are available through the GUI. These features include the data-service configuration wizards or system resource monitoring.
However, if you use the command-line interface to administer these features, it is safe to uninstall SunPlex Manager or Oracle Solaris Cluster Manager software.
Perform this procedure on each node in the cluster to uninstall SunPlex Manager software and related Sun Java Enterprise System shared components.
Note - SunPlex Manager software must be installed on all cluster nodes or on none.
phys-schost# pkgrm SUNWscspm SUNWscspmu SUNWscspmr
phys-schost# pkgrm SUNWmctag SUNWmconr SUNWmcon SUNWmcos SUNWmcosx
Remove the packages listed below for each additional product that you want to uninstall, in the order that the set of packages is listed.
phys-schost# pkgrm packages
|
Before You Begin
Before you uninstall Quorum Server software, ensure that you have completed the following tasks:
On each cluster that uses the quorum server, remove the quorum server as a quorum device. Perform the steps in How to Remove a Quorum Device in Oracle Solaris Cluster System Administration Guide.
In normal operation, this step also removes the quorum server information on the quorum-server host. If communications between the cluster and the quorum-server host computer are down during this step, you must clean up the invalid quorum server information on the quorum-server host computer. Perform the steps in Cleaning Up Stale Quorum Server Cluster Information in Oracle Solaris Cluster System Administration Guide.
On each quorum-server host computer, stop the quorum server by following the steps in How to Stop a Quorum Server in Oracle Solaris Cluster System Administration Guide.
Use the following command if you want to ensure that the installer program can display the GUI.
# ssh -X [-l root] quorumserver
quorumserver# cd /var/sadm/prod/SUNWentsysver
The version that is installed on your system.
quorumserver# ./uninstall
After removal is finished, you can view any available log. See Chapter 8, Uninstalling, in Sun Java Enterprise System 5 Update 1 Installation Guide for UNIX for additional information about using the uninstall program.
By default, this directory is /var/scqsd.
Perform this procedure to remove a zone cluster.
You perform all steps of this procedure from a node of the global cluster.
Note - The following steps are performed from a global-cluster node. To instead perform these steps from a node of the zone cluster, log in to the zone-cluster node and omit “-Z zonecluster” from each command.
phys-schost# clresource offline -Z zonecluster resource-group
phys-schost# clresource show -Z zonecluster -p Enabled === Resources === Resource: resource Enabled{nodename1}: True Enabled{nodename2}: True …
phys-schost# clresource show -Z zonecluster -p resource_dependencies === Resources === Resource: node Resource_dependencies: node …
You must disable dependent resources first before you disable the resources that they depend on.
phys-schost# clresource disable -Z zonecluster resource
See the clresource(1CL) man page for more information.
phys-schost# clresource show -Z zonecluster -p Enabled === Resources === Resource: resource Enabled{nodename1}: False Enabled{nodename2}: False …
phys-schost# clresourcegroup unmanage -Z zonecluster resource-group
phys-schost# cluster status -Z zonecluster -t resource,resourcegroup
phys-schost# clresourcegroup delete -F -Z zonecluster +
phys-schost# clzonecluster halt zoneclustername
phys-schost# clzonecluster uninstall zoneclustername
phys-schost# clzonecluster delete zoneclustername