HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Package dependence
Operating System - HP-UX
1834628
Members
3210
Online
110069
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
04-05-2005 08:31 PM
04-05-2005 08:31 PM
Package dependence
I'm in for a cluster reconfiguration, we're going to add a node to the cluster (will be 3 nodes in total when done) and reconfigure all packages.
When all done we'll have 5 packages, 4 of them will in some way be dependent on eachother (not that great in a serviceguard way, i know).
This because of database crossover transactions and so on (the database being progress 9.1)
The problem is now to script some monitoring for this, today it's all done by fetching a process list from a package and see that the right processes are running.
That setup wont be possible in the same way when you have 5 packages on 3 nodes, cause 2 packages or more will reside on the same physical node.
I've thought about using cmviewcl to determinate which node is running which package and using that as input when fetching process lists and so on. Is this the right way to go, or is there a smarter way ?
Is there anyone who's running a cluster with packages depending on eachother ?
TIA,
Johan
When all done we'll have 5 packages, 4 of them will in some way be dependent on eachother (not that great in a serviceguard way, i know).
This because of database crossover transactions and so on (the database being progress 9.1)
The problem is now to script some monitoring for this, today it's all done by fetching a process list from a package and see that the right processes are running.
That setup wont be possible in the same way when you have 5 packages on 3 nodes, cause 2 packages or more will reside on the same physical node.
I've thought about using cmviewcl to determinate which node is running which package and using that as input when fetching process lists and so on. Is this the right way to go, or is there a smarter way ?
Is there anyone who's running a cluster with packages depending on eachother ?
TIA,
Johan
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2005 09:51 PM
04-05-2005 09:51 PM
Re: Package dependence
Johan,
This question comes up from time to time and there is an ITRC document that you can access that discuss these issues and possible scenarios.
The document ID is: UMCSGKBRC00008166
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=UMCSGKBRC00008166
A secondary approach is listed in the attached document.
Best regards,
Oz
This question comes up from time to time and there is an ITRC document that you can access that discuss these issues and possible scenarios.
The document ID is: UMCSGKBRC00008166
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=UMCSGKBRC00008166
A secondary approach is listed in the attached document.
Best regards,
Oz
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2005 12:17 AM
04-06-2005 12:17 AM
Re: Package dependence
If the package dependencies are only related to packages running on the same node, then the document that Kent referenced should help you.
However, If I read your issue correctly, you have package dependencies and need to verify whether certain packages are running on any node in the cluster before starting other packages - is this correct?
If so, then you must of course verify whether certain packages are in the UP state, no matter which server they are on, unless load-balancing is an issue too.
The following script is a simple way to verify whether a host package is running, and on which node it is running, before starting a dependent package:
PKGNAME=ccmon
DEPPKGNAME=sbccpkg_bak
PKGSTAT=`cmviewcl | grep $PKGNAME | awk {'print $2'}`
PKGLOC=`cmviewcl | grep $PKGNAME | awk {'print $5'}`
if [[ X$PKGSTAT = Xup ]] ; then
if [[ X$PKGLOC = Xbunker ]] ; then
cmmodpkg -e -n bunker $DEPPKGNAME
cmmodpkg -e $DEPPKGNAME
fi
fi
However, If I read your issue correctly, you have package dependencies and need to verify whether certain packages are running on any node in the cluster before starting other packages - is this correct?
If so, then you must of course verify whether certain packages are in the UP state, no matter which server they are on, unless load-balancing is an issue too.
The following script is a simple way to verify whether a host package is running, and on which node it is running, before starting a dependent package:
PKGNAME=ccmon
DEPPKGNAME=sbccpkg_bak
PKGSTAT=`cmviewcl | grep $PKGNAME | awk {'print $2'}`
PKGLOC=`cmviewcl | grep $PKGNAME | awk {'print $5'}`
if [[ X$PKGSTAT = Xup ]] ; then
if [[ X$PKGLOC = Xbunker ]] ; then
cmmodpkg -e -n bunker $DEPPKGNAME
cmmodpkg -e $DEPPKGNAME
fi
fi
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP