Operating System - HP-UX
1829737 Members
1677 Online
109992 Solutions
New Discussion

Re: Package dependency problem

 
SOLVED
Go to solution
Mauro Gatti
Valued Contributor

Package dependency problem

Hi all,
I'm trying to configure package "B" to be dependent from package "A" in this way:

DEPENDENCY_NAME A_dep
DEPENDENCY_CONDITION A=UP
DEPENDENCY_LOCATION SAME_NODE

But when i run cmcheckconf I get the error:
Cannot add a dependency on the failover package A to the package B.

What is wrong?

Thank You

Regards

Ubi maior, minor cessat!
4 REPLIES 4

Re: Package dependency problem

what version of Serviceguard?

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Mauro Gatti
Valued Contributor

Re: Package dependency problem

11.17
Please don't tell me I need to install 11.18...

Thanks

Mauro
Ubi maior, minor cessat!
Solution

Re: Package dependency problem

Oh dear...

So you didn't see this note in the package config file:

# NOTE:
# Dependencies should be used only for a CFS cluster, or by
# applications specified by Hewlett-Packard.
# These are automatically set up in the SYSTEM-MULTI-NODE
# and MULTI-NODE packages created for disk groups and mount points.
# Customers configure dependencies for FAILOVER type
# packages only; and the dependency would be on a MULTI+NODE mount
# point (MP) package

In 11.17 package dependencies were only supported when the package that was "depended" on was a multi-node or system-multi-node package. There was no support for dependencies on standard failover packages.

11.18 removed this restriction:

http://docs.hp.com/en/B3935-90124/ch01s02.html#bgebgdde

So yes, I'm afraid I *am* telling you to upgrade to a newer version of Serviceguard... although if you *have* to do this anyway, you should skip straight past 11.18 and go straight to 11.19 which is the latest version...

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Mauro Gatti
Valued Contributor

Re: Package dependency problem

My eyes read that but my mind filtered it! ;-)
Ok I have to notice my users I'm going to stop their packages to upgrade ServiceGuard.

Thank You


Regards

Mauro
Ubi maior, minor cessat!