How to add a node to an SFCFS cluster

book

Article ID: 100030098

calendar_today

Updated On:

Description

Description

 
Phase 1 - Configuring LLT, GAB,VXFEN

1. Edit the /etc/llthosts file on the existing nodes.Using vi or another text editor, add the line for the new node to the file. Thefile resembles:
0 galaxy
1 nebula
2saturn

2. Copy the /etc/llthosts file from one of theexisting nodes to the new node. The /etc/llthosts file must be identical on allcluster nodes.

3. Create the /etc/llttab file on the new node.For example:
 
set-node saturn
set-cluster7
link eth0 eth0 -ether -
link eth1 eth1 -ether --

Except for the first linethat refers to the node, the file resembles the /etc/llttab files on theexisting nodes. The second line must be the same line on allnodes.

4. Use vi or another text editor to create the/etc/gabtab file on the new node. The file resembles:

/sbin/gabconfig -c-nN

Where N representsthe number of nodes in the cluster. For a three-node cluster, the value of Nis 3.

5. Edit the /etc/gabtab file on each of theexisting nodes, changing the content to match the file on the new node.

6. Set up the /etc/vxfendg files on the new node by copying themfrom one of the existing nodes:
 
# scp galaxy:/etc/vxfendg/etc

7. Start LLT and GAB on the new node:
# /sbin/init.d/lltstart
# /sbin/init.d/gab start

8. On the new node, start the VXFEN. Use thefollowing commands in this order:
 
# /sbin/init.d/vxfenstart
 
9. On the new node, verify that the GAB portmemberships are and b:
 
# gabconfig -a
GABPort Memberships
Port a gen df204 membership 012
Port b gen df20dmembership 012


 

Phase 2 - Configuring CVM
 
You can modify the VCSconfiguration by editing /etc/VRTSvcs/conf/config/main.cf directly, using theVCS GUI (Cluster Manager), or using the command line, as illustrated in thefollowing example. Refer to the VERITAS Cluster Server User's Guide fordetails on configuring VCS.

1. On one of the existing nodes, check thegroups dependent on the CVM service group:
 
# hagrp -depcvm
Parent Child Relationship
oradb1_grp cvm online localfirm
oradb2_grp cvm online local firm

2. Enable write access to the VCS configuration:
# haconf -makerw

3. Add the new node to the cluster:
# hasys -add saturn

4. If the ClusterService servicegroup is configured, add the new node to its system list and specify a failoverpriority of "2":
# hagrp -modify ClusterService SystemList -add saturn2

5. If the ClusterService service group is configured, addthe new node to its AutoStartList:
# hagrp -modifyClusterService AutoStartList galaxy nebula saturn

6. Add the new node to the cvm service groupsystem list and specify a failover priority of "2":
# hagrp -modify cvmSystemList -add saturn 2

7. Add the new node to the cvm service groupAutoStartList:
# hagrp -modify cvm AutoStartList galaxy nebula saturn

8. Add the new node and node ID (refer to the /etc/llthostschanges in step 2 on page 174) to the cvm_cluster resource:
# hares -modify cvm_clusCVMNodeId -add saturn 2

9. If the IP resource is not part of thecvm service group, skip to the next step. If the IP is part of the cvm servicegroup, add the new node to the IP resource:
# hares -modifylistener_ip Address 10.182.2.130 -sys saturn

10. If the listener name is the default name,skip this step. Otherwise, add the local listener name to the Netlsnr resource:
# hares -modify LISTENERListener listener_saturn -sys saturn

Note: You must similarly add the new node information for other VCS resources incase any additional resources exist.

11. Save the new configuration to disk:
# haconf -dump -makero

12. On each of the existing nodes,enable the nodes to recognize the new node:
# /opt/VRTS/bin/vxclustadm -mvcs -t gab reinit

 
 

 

Issue/Introduction

How to add a node to an SFCFS cluster