Operating System - HP-UX
1838230 Members
6201 Online
110125 Solutions
New Discussion

cmmodpkg -e package to enable AUTO_RUN

 
SOLVED
Go to solution
EJ Stremler
Frequent Advisor

cmmodpkg -e package to enable AUTO_RUN

I created a 2 node cluster, and I have one package that I need to automatically fail over to the adoptive node when the primary node comes down. If I have AUTO_RUN set to "YES", will the package automatically fail over?. I guess also when the package is on the adoptive node, the AUTO_RUN is set to disabled, where you have to do a cmmodpkg -e package to enable it again.. Am I correct??
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: cmmodpkg -e package to enable AUTO_RUN

Execute cmviewcl. If "enabled" appears in the AUTO_RUN column then the package will fail over to an adoptive node; the package can fail over to as many active adoptive nodes as you have listed in the conf file. The order the nodes are listed determines the package switching order. cmmodpkg -e (-d) packagename is used to enable (or disable) package switching. I suppose that the most overlooked time that cmmodpkg -e is needed is after cmhaltpkg is run for maintenance. You then execute cmrunpkg to restart the package but you also need to run cmmodpkg -e to re-enable package switching. It's always wise to run cmviewcl after doing any maintenance just so there are no surprises. If you have multiple admins then it's a good idea to periodically run cmviewcl via cron and look for surprises so that no one has "improved" the package settings.
If it ain't broke, I can fix that.
EJ Stremler
Frequent Advisor

Re: cmmodpkg -e package to enable AUTO_RUN

Clay - This totally answered my question. Thank you for your help....Ed