1833325 Members
2914 Online
110051 Solutions
New Discussion

Re: ServiceGuard

 
jamshed
Frequent Advisor

ServiceGuard

How can i add new adoptive node to my current cluster?
5 REPLIES 5
Bharat Katkar
Honored Contributor

Re: ServiceGuard

Jamshed You need to do the following things:

0. Shutdown the cluster first.
#cmhaltcl

1. Take backup of cmclconf.ascii,cmclconfig,packageconfiguration file,package control script file for safer side.

2. Edit cmclconf.ascii to add necessary additional node information. File is self explanatory and it will explain you about every parameter you enter. You can refer to your existing node entries as well.

3. Now depending on how u r configuring the packages to run on new node, you need to make the rewuired changes in Packages configuration files.

4. Once you are done with modifying the ascii and control script as per your requirement and ensured that you have completed all tasks that your setup demands do the following:
#cmcheckconf
see man cmcheckconf "This will verify your configuration files"

5. Once you done with that without any error then :
#cmapplyconf
see man cmapplyconf " This will recreate cluster binary file for you"

6. Finally distribute this binary file and ascii configuration files to other nodes in the cluster.

7. Reboot the nodes and check for proper functioning of Cluster.

All the best.
THis is what i can tell you.
You need to know a lot to actually know how little you know
G. Vrijhoeven
Honored Contributor

Re: ServiceGuard

Hi,The above answer is correct, but i would like to add some coments.I am not sure if you need to halt the cluster to add a node. To delete a node it is not nessesary. An other issue could be the lock disk, this was required for 2 node, allowed for 3 but not allowed if you have 4 nodes in your cluster as far as i know, but it could be that you configured a arbitrary node. If you like to fail over some packages to that node you also need the adjust the package controle file, check and apply them.HTH,Gideon
Navid HUSSAIN_2
Frequent Advisor

Re: ServiceGuard

Hi,

Since you are making changes in cluster configuration files and later on, you need to apply it.

In my opinion, we need to halt the cluster.
Prior to that make any changes, ensure to have good make recovery tape and getconfig output of both servers.

Cheers ..

NAVID
Teamwork
Steven E. Protter
Exalted Contributor

Re: ServiceGuard

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B3936-90073/B3936-90073_top.html&con=/hpux/onlinedocs/B3936-90073/00/00/48-con.html&toc=/hpux/onlinedocs/B3936-90073/00/00/48-toc.html&searchterms=add%7cnode%7cserviceguard&queryid=20040502-015017

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Geoff Wild
Honored Contributor

Re: ServiceGuard

Yes you can - and you don't need to halt the cluster (from "Managing MC/SG" on docs.hp.com:

Use the following procedure to add a node with HP-UX commands. For this example, nodes ftsys8 and ftsys9 are already configured in a running cluster named cluster1, and you are adding node ftsys10.

Use the following command to store a current copy of the existing cluster configuration in a temporary file:
# cmgetconf -C temp.ascii

Specify a new set of nodes to be configured and generate a template of the new configuration. Specify the node name without its full domain name; for example, specify ftsys8 and not ftsys8.cup.hp.com:
# cmquerycl -C clconfig.ascii -c cluster1 \
-n ftsys8 -n ftsys9 -n ftsys10

Edit the file clconfig.ascii to check the information about the new node.

Verify the new configuration:
# cmcheckconf -C clconfig.ascii

Apply the changes to the configuration and send the new binary configuration file to all cluster nodes:
# cmapplyconf -C clconfig.ascii
Use cmrunnode to start the new node, and, if desired, set the AUTOSTART_CMCLD parameter to 1 in the /etc/rc.config.d/cmcluster file to enable the new node to join the cluster automatically each time it reboots.


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.