Operating System - HP-UX
1833863 Members
2048 Online
110063 Solutions
New Discussion

Re: updates to pkg cntl scripts - does cmapplyconf need to be run

 
SOLVED
Go to solution
Ra Jose
Regular Advisor

updates to pkg cntl scripts - does cmapplyconf need to be run

If you update pkg.cntl script to include a logical volume, do I need to run cmcheckconf and cmapplyconf.
I am under the impression that it is not required as cmclconfig (cluster binary file) all info and just runs the pkg.cntl script. So updates to pkg.cntl script will automatically be run during pkg startup.

Can anyone please validate.

Thank you all.
Rajos
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: updates to pkg cntl scripts - does cmapplyconf need to be run

That is correct but this LVOL must be known to all the potential adoptive nodes. For example, if this is a newly created LVOL then there will not be corresponding /dev/vgnn/lvolxx and /dev/vgnn/rlvolxx device nodes on the other nodes -- eventhough the LVM metadata itself is housed within the disk themselves.
If this LVOL houses a filesystem then you must also make certain that the mountpoints exist on the adoptive nodes.

You could create the device nodes manually on the potential adoptive nodes but the potential "gotcha" here is that the vgcfgbackup images are out of date. If you can, it's best to vgimport to get a vgvfgbackup file on each node. That way, disk replacement can always be done even if the original node is not available.
If it ain't broke, I can fix that.
Ra Jose
Regular Advisor

Re: updates to pkg cntl scripts - does cmapplyconf need to be run

Thank you Clay.
Rajos
Ra Jose
Regular Advisor

Re: updates to pkg cntl scripts - does cmapplyconf need to be run

Solution got from the forum.