Operating System - HP-UX
1833875 Members
2915 Online
110063 Solutions
New Discussion

Adding another node in a 2node Cluster?

 
SOLVED
Go to solution
rveri
Super Advisor

Adding another node in a 2node Cluster?

Hi All ,

What is the correct procedure to add another node in a 2node cluster.
(MC/SG version: ServiceGuard A.11.14 Service Guard )


Thanks.
5 REPLIES 5
Geoff Wild
Honored Contributor

Re: Adding another node in a 2node Cluster?

You just redo your binary config with the additional node..

See section "Using MC/ServiceGuard Commands to Add Nodes to the Configuration While the Cluster is Running" in:

http://docs.hp.com/en/B3936-90053/ch07s04.html#d0e15408

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Luk Vandenbussche
Honored Contributor

Re: Adding another node in a 2node Cluster?

Hi,

You have to bring the cluster down.
Create a new config file, without cluster lock disk.

The cmapply this file and restart the cluster.

Or see the manual for detailed info
A. Clay Stephenson
Acclaimed Contributor

Re: Adding another node in a 2node Cluster?

It depends. If you are now running a Lock Disk then all three nodes must be able to access the lock disk or you must do away with the lock disk. If you are using a Quorum Server then it's much easier to add the node to the cluster. In any event you will have to halt the cluster and do a new cmapplyconf.
If it ain't broke, I can fix that.
Devesh Pant_1
Esteemed Contributor
Solution

Re: Adding another node in a 2node Cluster?

In order to add a node while the cluster is up and running, follow the procedure beolw:

1. Make a copy of the existing configuration
#cmgetconf -C yourfile.ascii
2.Create a new config file with all three nodes
#cmquerycl -C newconfig.ascii -c clustername -n node1 -n node2 -n node3

3. Edit this file to make changes for the nodes

4. Check for errors/typos
#cmcheckconf -C newconfig.ascii

You will have to do some additional work for the packages to be able to fail over to the preferred node and the package config file( created with cmmakepkg) will have to be edited and copied over from the running nodes to this new node.

Also before all this, make sure if you have filesystems coming over to this node in case of a failure, that the LUNs are visible and the vgimport works fine after bringing in the map file.

thanks
DP




5. Apply the changes with the following command
#cmapplyconf -C newconfig.ascii

6. Now you can start the node with the command
#cmrunnode node3
Don't forget to make changes to the /etc/rc.config.d/cmcluster file for auto cluster startup by making AUTOSTART_CMCLD=1

rveri
Super Advisor

Re: Adding another node in a 2node Cluster?

Thanks all , and special thanks to Devesh for explaining it good.