Operating System - HP-UX
1833032 Members
2373 Online
110049 Solutions
New Discussion

compiling pkg into production cluster

 
Ra Jose
Regular Advisor

compiling pkg into production cluster

I have 2-node production cluster (SG 11.16). Each node runs a pkg. I have to put third pkg on this cluster. I have pkg.conf and pkg.cntl and monitor scripts done. I need to do cmcheckconf and cmapplyconf. I am not sure what the cmapplyconf does. Since it is a prod cluster, I have questions - will it update my cluster binary (cmclconfig) file on both clusters. Will it affect the present 2-pkg cluster in anyway. Since I am bringing this pkg up during our maintenance window, I am looking if I can keep most of it ready. Your responses are appreciated. Thank you all.
Rajos
1 REPLY 1
A. Clay Stephenson
Acclaimed Contributor

Re: compiling pkg into production cluster

cmapplyconf will update the cmclconfig file on all nodes in the cluster.

Will if affect the present cluster in anyway?

Yes, that is the point of the command. However, it is safe to add packages to a running cluster and you can add more packages
so long as you do not exceed MAX_CONFIGURED_PACKAGES. As long as you run cmcheckconf before running cmapplyconf, you should be able to do your operation quite safely. Of course, I would not underestimate the ability of anyone to do something really dumb. As an outrageous example, it would be possible in the startup script of PackageC to remove critical files needed by PackageA.

If it ain't broke, I can fix that.