1833883 Members
1668 Online
110063 Solutions
New Discussion

Add a package to cluster

 
Marcelo De Florio
Frequent Advisor

Add a package to cluster

I have a one packege running now, but I need an add one more package at this cluster.

what command can i execute to add one package to this cluster ?

MDF
3 REPLIES 3
Peter Finn_1
Occasional Advisor

Re: Add a package to cluster

hi

in a short summary, you need to run the following:

#cmmakepkg -p pkg_name.conf
#cmmakepkg -s pkg_name.cntl

these 2 commands creates two templates files (config and control) which you need to edit.

distribute the control file to all nodes

note: you need to rerun cmcheckconf and cmapplyconf because the pkg config file is part of the cluster config binary file

take a look at the following url for more detailed info:

http://docs.hp.com/hpux/onlinedocs/B3936-90026/B3936-90026.html


Michael F. Dick
Advisor

Re: Add a package to cluster

Also make sure that you check the maximum packages allowed. Its in cmclconfig, the variable is called MAX_CONFIGURED_PACKAGES.
Michael
Well, thats all just my $.02
Satish Y
Trusted Contributor

Re: Add a package to cluster

You can follow step belows:

1) Generate configuration and control files,
cmmakepkg -p /etc/cmcluster/pkg_name.conf /* To create a template ASCII package configuration file*/
cmmakepkg -s /etc/cmcluster/pkg_name.cntl /* To Create a template package control script
used to run and halt the package*/

edit pkg_name.conf and make necessary changes.

2) Distribute file to other nodes.

3) Change necessary configuration files.

4) check configuration by:

cmcheckconf -C /etc/cmcluster/cmclconfig -P /etc/cmcluster/pkg_name.conf

5) If no errors or even warnings with above command, Apply configuration using:

cmapplyconf -v -C /etc/cmcluster/cmclconfig -P /etc/cmcluster/pkg_name.conf

6) cmrunpkg -v pkg_name.


Also go through following URL for more detailed info:
http://docs.hp.com/hpux/onlinedocs/B3936-90026/B3936-90026.html
Difference between good and the best is only a little effort