Cluster Server Installation Guide for Solaris x64 5.0 - Storage ...

Cluster Server Installation Guide for Solaris x64 5.0 - Storage ... Cluster Server Installation Guide for Solaris x64 5.0 - Storage ...

sfdoccentral.symantec.com
from sfdoccentral.symantec.com More from this publisher
13.07.2015 Views

158 Adding and removing cluster nodesAdding a node to a cluster■then the file on the new node should be the same, although it isrecommended to use the -c -nN option, where N is the number ofcluster nodes.If the /etc/gabtab file on the existing nodes resembles:/sbin/gabconfig -c -n2then, the file on all nodes, including the new node, should change toreflect the change in the number of cluster nodes. For example, the newfile on each node should resemble:/sbin/gabconfig -c -n3See “/etc/gabtab” on page 130. The -n flag indicates to VCS the number of nodes required to be ready to form a cluster before VCS starts. 2 On the new node, run the command, to configure GAB:# /sbin/gabconfig -cTo verify GAB1 On the new node, run the command:# /sbin/gabconfig -aThe output should indicate that Port a membership shows all nodesincluding the new node. The output should resemble:GAB Port Memberships====================================Port a gen a3640003 membership 012See “Verifying GAB” on page 138.2 Run the same command on the other nodes (north and south) to verify thatthe Port a membership includes the new node:# /sbin/gabconfig -aGAB Port Memberships====================================Port a gen a3640003 membership 012Port h gen fd570002 membership 01Port h gen fd570002 visible ; 2Adding the node to the existing clusterPerform the tasks on one of the existing nodes in the cluster.To add the new node to the existing cluster1 Enter the command:# haconf -makerw2 Add the new system to the cluster:# hasys -add east

Adding and removing cluster nodesRemoving a node from a cluster1593 Enter the following command:# haconf -dump4 Copy the main.cf file from an existing node to your new node:# rcp /etc/VRTSvcs/conf/config/main.cf east:/etc/VRTSvcs/conf/config/5 Start VCS on the new node:# hastart6 If necessary, modify any new system attributes.7 Enter the command:# haconf -dump -makeroStarting VCS and verifying the clusterStart VCS after adding the new node to the cluster and verify the cluster.To start VCS and verify the cluster1 From the new system, start VCS with the new system added to the cluster:# hastart2 Run the GAB configuration command on each node to verify that Port a andPort h include the new node in the membership:# /sbin/gabconfig -aGAB Port Memberships===================================Port a gen a3640003 membership 012Port h gen fd570002 membership 012Removing a node from a clusterTable 8-2 specifies the tasks involved in removing a node from a cluster. In theexample procedure, the cluster consists of nodes A, B, and C; node C is to leavethe cluster.Table 8-2TaskTasks involved in removing a nodeReference■ Back up the configuration file. “Verify the status of nodes and service■ Check the status of the nodes and the groups” on page 160service groups.

Adding and removing cluster nodesRemoving a node from a cluster1593 Enter the following command:# haconf -dump4 Copy the main.cf file from an existing node to your new node:# rcp /etc/VRTSvcs/conf/config/main.cf east:/etc/VRTSvcs/conf/config/5 Start VCS on the new node:# hastart6 If necessary, modify any new system attributes.7 Enter the command:# haconf -dump -makeroStarting VCS and verifying the clusterStart VCS after adding the new node to the cluster and verify the cluster.To start VCS and verify the cluster1 From the new system, start VCS with the new system added to the cluster:# hastart2 Run the GAB configuration command on each node to verify that Port a andPort h include the new node in the membership:# /sbin/gabconfig -aGAB Port Memberships===================================Port a gen a3640003 membership 012Port h gen fd570002 membership 012Removing a node from a clusterTable 8-2 specifies the tasks involved in removing a node from a cluster. In theexample procedure, the cluster consists of nodes A, B, and C; node C is to leavethe cluster.Table 8-2TaskTasks involved in removing a nodeReference■ Back up the configuration file. “Verify the status of nodes and service■ Check the status of the nodes and the groups” on page 160service groups.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!