Operating System - HP-UX
1832069 Members
2988 Online
110034 Solutions
New Discussion

Help SG package dependencies

 
SOLVED
Go to solution

Help SG package dependencies

Can you configure the following using Service Guard dependencies?

Datos:

node1-Primary           pkg1,  pkg2  pkg3
node2-Alternate                pkg4 y pkg5

If the package pkg1 fails over to node2, make pkg4 and pkg5 (running in node2) stop.
3 REPLIES 3
Turgay Cavdar
Honored Contributor
Solution

Re: Help SG package dependencies

Please check the package parameter "dependency_condition". If you use the option DOWN, I think this is what you want.

Please see the managing serviceguard document.

DOWN means that this package requires the package identified by to be down (that is, the status reported by cmviewcl is UP). This is known as an exclusionary dependency (or exclusion dependency).If you specify DOWN:
â The exclusionary dependency must be mutual: only one of the packages can be running at any given time. For example, if pkgA depends on pkgB to be down, pkgB must also depend on pkgA to be down.
â You must apply both packages to the cluster configuration at the same time.270 Configuring Packages and Their Services
â Both packages must be failover packages whose failover_policy is configured_node.
â At least one of the packages must specify a priority (page 269).For more information, see â About Package Dependenciesâ (page 168).

Re: Help SG package dependencies

Yes, This is what I need

A last doubt. This can apply to packages running ?
Turgay Cavdar
Honored Contributor

Re: Help SG package dependencies


Please see "managing serviceguard" document's "Allowable Package States During Reconfiguration" section.