- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to start up cluster with some of packages?
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
12-02-2002 07:06 PM
12-02-2002 07:06 PM
How to start up cluster with some of packages?
Thanks in advance,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2002 09:53 PM
12-02-2002 09:53 PM
Re: How to start up cluster with some of packages?
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2002 11:00 PM
12-02-2002 11:00 PM
Re: How to start up cluster with some of packages?
does not support interdependent packages. The dependent package concept
usually requires one package to start before another. It also requires the
subordinate packages to test for the operation of the primary package, and to
halt if the primary package should halt. ServiceGuard does not have
configuration parameters to control package start-up sequence, nor tests for
package dependencies. There are no parameters in the cluster ASCII
configuration file nor the package ASCII configuration files to handle this.
HP Education teaches how to make a package dependent upon another package
in the MC/ServiceGuard II course, H4310S. To accomplish this task, use
Event Monitoring Service (EMS) and have the "dependent" package
monitor the status of "required" package status using the EMS variable,
/cluster/package/package_status/[package name].
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2002 11:55 PM
12-02-2002 11:55 PM
Re: How to start up cluster with some of packages?
The only way I know to do it simply, is to use AUTO_RUN to NO for packages which needs other packages and launch them from customer_defined_run_cmds function.
if P2 needs P1 :
A - P1 AUTO_RUN YES
B - P2 AUTO_RUN NO
C - P1 customer_defined_run_cmds function :
. launch P1 programs
. cmrunpkg P2
D - P1 customer_defined_halt_cmds function :
. cmhaltpkg P2
. stop P1 programs
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2002 12:36 AM
12-03-2002 12:36 AM
Re: How to start up cluster with some of packages?
Take a look at the Managing MC/Serviceguard manaual at:
http://docs.hp.com/hpux/ha
Failing htat, you have to write your own checks into the customer_define_run_cmds section
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2002 08:03 PM
12-03-2002 08:03 PM
Re: How to start up cluster with some of packages?
Currently I manually start up cluster after rebooting all 3 nodes by running "cmruncl", which will randomly start up all packages. I noticed that cmruncl only has "-n node" option but don't have "-p package". I know cmruncl has no idea about which package should start first, but is it good idea to have dependancy check(see below) for P1's availability in P2's control script? Will that prolong the package's failover time?
#P2's customer_defined_run_cmds function
...
While P1 is not up
do
sleep 10
done
to_start_P2
...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2002 07:22 AM
12-04-2002 07:22 AM
Re: How to start up cluster with some of packages?
With the package down, perform a cmapplyconf on the package configuration file to update the cluster binary with this setting.
As stated before, standard ServiceGuard does not have a dependent-package feature set. Armin, Melvyn and Jean-Louis has given good advice for implementation. As you found, the customer_defined_run_cmds section can be exploited to start up a dependent package. Such a technique is not supported by HP, so insure error checking and package dependency checking is well handled.
I also wrote a document available through the ITRC Knowledge Database which may help.
ID Num: UMCSGKBRC00008166
TITLE: Dependent packages, can the order of package startup be controlled?
Good Luck!
-s.