UnixPedia : HPUX / LINUX / SOLARIS: HPUX : Adding a new node to the serviceguard cluster

Saturday, January 19, 2013

HPUX : Adding a new node to the serviceguard cluster


Adding a new node to the serviceguard cluster:

1.Use cmgetconf to backup the current configuration of the cluster
#cmgetconf -C temp.ascii

2. Gerneate the cluster ascii file with for the new node tempalate for the configuration "cmquerycl":

#cmquerycl -C clconfig.ascii -c cluster1 -n nodeA -n nodeB -n nodeC

3.Edit the clconfig.ascii file with new information for the node.
4. Verify the new configuration of cluster with cmcheckconf:

#cmchcekconf -C clconfig.ascii

5.Apply the change to configuration and send the new binary to all nodes:

#cmapplyconf -C clconfig.ascii

6. use cmrunnode to add the node to the cluster and edit /etc/rc.config.d/cmcluster  file to 1 .so node
node activated and added to the cluster after the reboot.

7. Run cmviewcl to check the status of cluster and node.

No comments:

Post a Comment