Deleting the departing node from VCS configuration
To verify the status of the nodes and the service groups
1
Make a backup copy of the current configuration file, main.cf.
# cp -p /etc/VRTSvcs/conf/config/main.cf\
/etc/VRTSvcs/conf/config/main.cf.goodcopy
2
Check the status of the systems and the service groups.
# hastatus -summary
-- SYSTEM STATE
-- System
A
galaxy
A
nebula
A
saturn
-- GROUP STATE
-- Group
B
grp1
B
grp1
B
grp2
B
grp3
B
grp3
B
grp4
The example output from the
nebula, and saturn are the nodes in the cluster. Also, service group grp3 is
configured to run on node nebula and node saturn, the departing node. Service
group grp4 runs only on node saturn. Service groups grp1 and grp2 do not
run on node saturn.
Before you remove a node from the cluster you need to identify the service groups
that run on the node.
You then need to perform the following actions:
Remove the service groups that other service groups depend on, or
Switch the service groups to another node that other service groups depend
on.
State
Frozen
RUNNING
0
RUNNING
0
RUNNING
0
System
Probed
galaxy
Y
nebula
Y
galaxy
Y
nebula
Y
saturn
Y
saturn
Y
command shows that nodes galaxy,
hastatus
Adding and removing cluster nodes
Removing a node from a cluster
AutoDisabled
State
N
ONLINE
N
OFFLINE
N
ONLINE
N
OFFLINE
N
ONLINE
N
ONLINE
133
Need help?
Do you have a question about the Veritas Cluster Server and is the answer not in the manual?