solaris cluster add node and remove node

1. set up resource group and resources on 2-node cluster
2. install clustersoftware on third node
3. add third node to cluster

claccess allow -h 'new-node'

4. change quorum

clq add 'new quorum device'
clq disable 'old quorum device'
clq remove 'old quorum device'

5. setup node 3 for resource group
make sure the resourcetype package is installed
and the scripts are there

clrg add-node -n 'new-node' 'resource-group'
clrg switch -n 'resource-group'
---------------------
6. remove node from resource group

clrg remove-node -n 'nodename' 'resource-group'

Problem: To remove node from cluster you have to remove the
quorumdevice and the interconnect cabling.
Going from a 3-node to a 2-node cluster without
quorumdevice is not possible.
Workaround: add bogusnode.
scconf -a -h bogusnode

7. remove quorumdevice

clq remove 'quorumdevice'

8. remove cabling from third node
remove both interconnect cables using the following commands:

clintr disable 'node:interface,switchname@portnumber'
clinter remove 'node:interface,switchname@portnumber'

9. remove the node

scconf -r -h 'node'

10. add quorumdevice

clq add 'globaldev'
scconf -r -h 'bogusnode'

This entry was posted in solaris. Bookmark the permalink.

Comments are closed.