- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Service Guard question
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
10-10-2002 08:37 AM
10-10-2002 08:37 AM
Service Guard question
How do you stop service guard starting a package when the system halts. We have two packages and would like one to start and the other not to when the system is rebooted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2002 08:51 AM
10-10-2002 08:51 AM
Re: Service Guard question
You would control this in your package control script [no pun intended]. This file should be:
# /etc/cmcluster/
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2002 10:45 AM
10-10-2002 10:45 AM
Re: Service Guard question
In older versions this was the poorly named variable "PKG_SWITCHING_ENABLED". In the current version, the parameter name is the much improved "AUTO_RUN". See below for an excerpt from the explanatory note in the package configuration file template:
...
# Enter the value for AUTO_RUN. Possible values are YES and NO.
# The default for AUTO_RUN is YES. When the cluster is started the
# package will be automaticaly started. In the event of a failure the
# package will be started on an adoptive node. Adjust as necessary.
#
# AUTO_RUN replaces obsolete PKG_SWITCHING_ENABLED.
AUTO_RUN YES
...
Regards, --bmr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2002 11:00 AM
10-10-2002 11:00 AM
Re: Service Guard question
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2002 05:11 AM
10-11-2002 05:11 AM
Re: Service Guard question
To review, you want to prevent a particular package from failing over to a standby node when you shutdown the node. The shutdown scripts invoke /sbin/init.d/cmcluster, which essentially performs a cmhaltnode (causing packages to failover).
To override the package failover temporarily, perform a cmmodpkg -d
To override it permanently, you may want to either create a new script in /sbin/init.d/ that will do the following:
a) only be run when shutting down
(see
/sbin/rc2.d/K002cmcluster -> /sbin/init.d/cmcluster
b) disable package switching such as above
Or you can create a wrapper script for the 'shutdown' command that performs the cmmodnet command above before issuing the real shutdown command.
-s.