Operating System - HP-UX
1752800 Members
5477 Online
108789 Solutions
New Discussion юеВ

Re: Service Guard piloted packages start

 

Service Guard piloted packages start

Hello,
is it possible to start any packages belonging to a cluster in an defined order?
Noted that in SG 11.17 and 11.18 versions is possible to use the DEPENDENCY pkg condition, but this is only for package on the same node. Are there any command lines or scripts that could I use in the "customer_defined_run_cmds" in order to implement the piloted start? thanks Alex
Vigno
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: Service Guard piloted packages start

Shalom,

The way to insure the order of application startup is to consolidate the startup in a package.

If I need to start and oracle instance and then an instance of oracle application server, then I do it in one package to completely control the startup order.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Rita C Workman
Honored Contributor

Re: Service Guard piloted packages start

Well I suppose if you wanted to control the startup order of each individual package you could add statements at the top of each package to see if the previous pkg is running...

Of course you then run the risk, that if something isn't running, it breaks the overall flow and nothing after starts.

Like 3 packages.
You set pkg2 & pkg 3 to sleep for xx minutes, then write a true/false condition stmt to check and see if pkg1 is running.
If it is running, then pkg script continues. If it is not running, then sleep for xx more minutes.

But this would really could really cause you slowdowns or other pkgs not starting if the any in the chain don't start.

Rgrds,
Rita