- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- packages dependecies
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2007 10:09 PM
07-22-2007 10:09 PM
I have two packages pkgA and pkgB.
pkgB is dependent on pkgA:
-pkgB have to run only on node where pkgA is running
-pkgB have to run only if pkgA is running
I configured pkgB as shown below:
RESOURCE_NAME /cluster/package/package_status/pkgA
RESOURCE_POLLING_INTERVAL 60
RESOURCE_START AUTOMATIC
RESOURCE_UP_VALUE = UP
I would like that if pkgA switched from a node to another pkgB would follow it but it happens that pkgA switches but pkgB stops running.
Could you give me any hint about how to create dependencies between packages?
Thank You
RGDS
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2007 10:18 PM
07-22-2007 10:18 PM
SolutionIf you are on 11iv2 (11.23), then consider upgrading to the recently released Serviceguard 11.18 where simple package dependencies like this are supported:
http://docs.hp.com/en/B3936-90117/ch04s08.html#cihfgeaj
If you are still on 11iv1 (11.11) the I'm afraid you will have to script this.
Of course I have to ask the question - if pkgB can only run *where* pkgA is running and can only run *when* pkgA is running, why do you have 2 packages? Why not just combine everything into one package?
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2007 11:12 PM
07-22-2007 11:12 PM
Re: packages dependecies
You may also set up a package monitor for package B to test for the presence of package A on the same node, and if it is not - halt package B.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2007 11:27 PM
07-22-2007 11:27 PM
Re: packages dependecies
I'm running 11.17 and I think I will upgrade to 11.18
Two packages are apache and tomcat.
Sometimes we allow tomcat to be down but we can't afford to have apache down also.
RGDS
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2007 11:29 PM
07-22-2007 11:29 PM