- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Regarding configuring package dependency
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
Discussions
Discussions
Forums
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
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
тАО03-30-2010 02:46 PM
тАО03-30-2010 02:46 PM
We have a two node cluster with few packages running on one node & few on another node. Now we need to configure a particular order in which these packages should start on one of the node. As we have total 4 packages on one node and three of them are dependent on forth package, so we need to start that forth package first of all as rest of packages are dependent on it. So please lemme know how to configure such dependency.
Thanks & regards,
Kavita
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2010 09:57 PM
тАО03-30-2010 09:57 PM
Re: Regarding configuring package dependency
It is done in packave control file.
There is portion for package dependencies.
This document is a perfect one
docs.hp.com/en/15673/Understanding-Package-Dependencies.pdf
please check.
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2010 07:06 AM
тАО03-31-2010 07:06 AM
SolutionAt the very start of your package.cntl file....put a simple 'sleep xx' command in the packages you want to ensure don't get going before pkg#4.
Another thing you can do is put in a step again at the beginning of the other pkg.cntl file that says to check if pkg#4 is up and running. If pkg#4 is up and running then start this other package.
A statement like:
cmviewcl -l package | grep pkg#4 | grep "running" | awk '{ print $3 }'
will give you output (running) if pkg is running or nothing if it's not. So you could create a quick script to compare if true (i.e. running) and then kick off the other pkgs. Or if not true, tell the other package to sleep 10 seconds to try again, until it finally is true and then the other package can start up.
This is a totally quickie suggestion, but hope it gives you some food for thought.
Regards,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2010 02:09 PM
тАО03-31-2010 02:09 PM
Re: Regarding configuring package dependency
Thanks again !!!!
Kavita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2010 02:39 PM
тАО03-31-2010 02:39 PM