Perform this procedure one time only, after the cluster is fully formed.
From one node, verify that all nodes have joined the cluster.
Run the scstat(1M) command to display a list of the cluster nodes. You do not need to be logged in as superuser to run this command.
% scstat -n |
Output resembles the following.
-- Cluster Nodes -- Node name Status --------- ------ Cluster node: phys-schost-1 Online Cluster node: phys-schost-2 Online |
On each node, verify device connectivity to the cluster nodes.
Run the scdidadm(1M) command to display a list of all the devices that the system checks. You do not need to be logged in as superuser to run this command.
% scdidadm -L |
The list on each node should be the same. Output resembles the following.
1 phys-schost-1:/dev/rdsk/c0t0d0 /dev/did/rdsk/d1 2 phys-schost-1:/dev/rdsk/c1t1d0 /dev/did/rdsk/d2 2 phys-schost-2:/dev/rdsk/c1t1d0 /dev/did/rdsk/d2 3 phys-schost-1:/dev/rdsk/c1t2d0 /dev/did/rdsk/d3 3 phys-schost-2:/dev/rdsk/c1t2d0 /dev/did/rdsk/d3 … |
Determine the global device-ID name of each shared disk that you are configuring as a quorum device.
Use the scdidadm output from Step 2 to identify the device–ID name of each shared disk that you are configuring as a quorum device. For example, the output in Step 2 shows that global device d2 is shared by phys-schost-1 and phys-schost-2. You use this information in Step 8. See Quorum Devices for further information about planning quorum devices.
Are you adding a new node to an existing cluster?
If no, proceed to Step 5.
If yes, you might need to update the quorum configuration to accommodate your cluster's new configuration. See the Sun Cluster 3.1 10/03 Concepts Guide for information about quorum. To change the quorum configuration, follow procedures in “Administering Quorum” in Sun Cluster 3.1 10/03 System Administration Guide.
When the quorum configuration is satisfactory, skip to Step 12.
Did you use SunPlex Manager to install Sun Cluster software?
Become superuser on one node of the cluster.
Start the scsetup(1M) utility.
# scsetup |
The Initial Cluster Setup screen is displayed.
If the Main Menu is displayed instead, initial cluster setup was already successfully performed. Skip to Step 12.
If the quorum setup process is interrupted or fails to be completed successfully, rerun scsetup.
At the prompt Do you want to add any quorum disks?, configure at least one shared quorum device if your cluster is a two-node cluster.
If your cluster has three or more nodes, quorum device configuration is optional.
At the prompt Is it okay to reset "installmode"?, answer Yes.
After the scsetup utility sets the quorum configurations and vote counts for the cluster, the message Cluster initialization is complete is displayed. The utility returns you to the Main Menu.
Quit the scsetup utility.
From any node, verify the device and node quorum configurations.
% scstat -q |
From any node, verify that cluster installation mode is disabled.
You do not need to be superuser to run this command.
% scconf -p | grep "install mode" Cluster install mode: disabled |
Do you intend to use VERITAS File System (VxFS) software?
If no, proceed to Step 2.
If yes, perform the following steps.
Follow the procedures in your VxFS installation documentation to install VxFS software on each node of the cluster, if VxFS software is not already installed.
In the /etc/system file on each node, set the value for the rpcmod:svc_default_stksize variable to 0x8000 and set the value of the lwp_default_stksize variable to 0x6000.
set rpcmod:svc_default_stksize=0x8000 set lwp_default_stksize=0x6000 |
Sun Cluster software requires a minimum rpcmod:svc_default_stksize setting of 0x8000. Because VxFS installation changes the value of the rpcmod:svc_default_stksize variable to 0x4000, you must manually change the value back to 0x8000 after VxFS installation is complete.
Also, you must set the lwp_default_stksize variable in the /etc/system file to override the VxFS default value of 0x4000.
Install volume management software.
To install Solstice DiskSuite software or configure Solaris Volume Manager software, go to Installing and Configuring Solstice DiskSuite/Solaris Volume Manager Software.
To install VERITAS Volume Manager software, go to Installing and Configuring VxVM Software.