Steps for adding a new node in a running Veritas Cluster
1) Install the VCS
depots on the new node with ‘-installonly’ option
# ./installvcs
–installonly
2) Rename the
startup scripts on all nodes as a precaution:
# mv /etc/rc2.d/S70llt /etc/rc2.d/s70llt
# mv /etc/rc2.d/S92gab /etc/rc2.d/s92gab
# mv /etc/rc3.d/S99vcs /etc/rc3.d/s99vcs
# mv /etc/rc2.d/S70llt /etc/rc2.d/s70llt
# mv /etc/rc2.d/S92gab /etc/rc2.d/s92gab
# mv /etc/rc3.d/S99vcs /etc/rc3.d/s99vcs
3) Modify
/etc/llthosts, /etc/gabtab, /etc/llttab and
/etc/VRTSvcs/conf/config/main.cf as required to show the new node.
These modifications should be done on all nodes.
#vi /etc/llthosts
0
ggnqinta1
1
ggnqinta2
2
ggnqinta3
Node1
set-node ggnqinta1
set-node ggnqinta1
set-cluster
13
link
lan1 /dev/lan:1 - ether - -
link
lan2 /dev/lan:2 - ether - -
Node2
set-node
ggnqinta2
set-cluster
13
link
lan1 /dev/lan:1 - ether - -
link
lan2 /dev/lan:2 - ether - -
Node3
set-node
ggnqinta3
set-cluster
13
link
lan1 /dev/lan:1 - ether - -
link
lan2 /dev/lan:2 - ether - -
# vi /etc/gabtab
/sbin/gabconfig
-c -n 3
Caution : make
sure the number of nodes is correctly reflected in the gabtab and 'set-node' is correct in /etc/llttab of each host or you will have
problems.
4) Start GAB and LLT
on the new node
# /sbin/rc2.d/S70llt
start
# /sbin/rc2.d/S92gab
start
5) Start the cluster
on new node
# hastart
6) Add the new added system into configuration
# hasys –add
ggnqinta3
7) Save the configurtion
# haconf –dump
makero
8) Move back the
start scripts
# mv
/etc/rc2.d/s70llt /etc/rc2.d/S70llt
# mv /etc/rc2.d/s92gab /etc/rc2.d/S92gab
# mv /etc/rc3.d/s99vcs /etc/rc3.d/S99vcs
# mv /etc/rc2.d/s92gab /etc/rc2.d/S92gab
# mv /etc/rc3.d/s99vcs /etc/rc3.d/S99vcs
9) The newly added
node needs to be added in servicegroup configuration
# hagrp -modify
SG SystemList -add ggnqinta3
# hagrp -modify
SG SystemList -add ggnqinta3
# hagrp -modify
SG SystemList -add ggnqinta3
# hagrp -modify
SG AutoStartList -add ggnqinta3
# hagrp -modify
SG AutoStartList -add ggnqinta3
# hagrp -modify
SG AutoStartList -add ggnqinta3
No comments:
Post a Comment