Serviceguard
cancel
Showing results for 
Search instead for 
Did you mean: 

option to start service guard cluster but not package

 
SOLVED
Go to solution
manoj_pu
Regular Advisor

option to start service guard cluster but not package


Hi All,

when cluster is started, is there any option not to start the package automatically?

Thanks & regards,
Manoj


Leave with out tense and try best you gets result
4 REPLIES 4
Taifur
Respected Contributor
Solution

Re: option to start service guard cluster but not package

Hi,

If you want your packages NOT to start automatically, then you must set AUTO_RUN to NO in pkg_config file which is located at /etc/cmcluster/pkg directory /pkg file . Once you start a package manually, you can do a cmmodpkg and enable node failover for that package.

cd /etc/cmcluster/pkg directory/ pkg file
AUTO_RUN YES---->No

Rgds//
Taifur
manoj_pu
Regular Advisor

Re: option to start service guard cluster but not package



Thanks for the response.

Does changing AUTO_RUN parameter permanently require cmapplyconf (update cluster binary file) to be performed?

Regards
Manoj
Leave with out tense and try best you gets result
Stephen Doud
Honored Contributor

Re: option to start service guard cluster but not package

AUTO_RUN has two functions.
1) at cluster formation, if AUTO_RUN is set to no, the package will not start when the cluster is started. Setting this value requires a cmapplyconf on the package configuration file, where it is configured.

2) at package run time after cluster start up, manually setting AUTO_RUN to disable prevent the package from being started on any node. Setting it to enable does not affect function 1 above.
manoj_pu
Regular Advisor

Re: option to start service guard cluster but not package

Many thanks for the response
Leave with out tense and try best you gets result