- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- A question about SG
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
08-14-2006 09:31 PM
08-14-2006 09:31 PM
A question about SG
I come to bother you again
I'm learning to use serviceguard and now I've configured a cluster named cluster1 and I have configured a package named pkg1
Now I got a problem
When I halted pkg1 on system A
it doesn't run on system B automatically
Can you tell me where problem occured most possibly.
Or can you give me some useful SG document(by the way I have some documents but they doesn't satisfy me)?
Thankyou
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2006 10:03 PM
08-14-2006 10:03 PM
Re: A question about SG
Did you manually do: cmhaltpkg pkg1
If so, then yes it will NOT automatically switch.
Read the Managing Serviceguard manual available at:
http://docs.hp.com/en/ha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2006 10:05 PM
08-14-2006 10:05 PM
Re: A question about SG
See this chapter.
http://docs.hp.com/en/B3936-90100/ch04s08.html
verify following options in package config file
Failover policy
The policy used by the package manager to select the node on which the package should be automatically started. In the ASCII package configuration file, this parameter is known as FAILOVER_POLICY.
Package nodes
The names of primary and alternate nodes for the package. In the ASCII configuration file, this parameter is NODE_NAME. Enter a node name for each node on which the package can run.
Package auto run
In the ASCII package configuration file, the AUTO_RUN parameter was formerly known as PKG_SWITCHING_ENABLED. If Automatic Switching is enabled (AUTO_RUN set to YES), Serviceguard will automatically start the package on an eligible node if one is available, and will automatically fail the package over to another node if it fails. If Automatic Switching is Disabled (AUTO_RUN set to NO), Serviceguard cannot automatically start the package up. The user must do it with the cmrunpkg command.
Also see the log file located in /etc/cmcluster/pkgname/ directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2006 02:16 AM
08-15-2006 02:16 AM
Re: A question about SG
TO enable switching:
cmmodpkg -e pkg1
Remember - that is only used in a failover - if you do a cmhaltpkg - it assues you don't want to run the pkg anywhere.
To test failover - you will need to make it fail - ie kill a pid of something that is being monitored - or disconnect the network, or something like that.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2006 02:47 AM
08-15-2006 02:47 AM
Re: A question about SG
node1:>cmmodpkg -e pkg1
Also you can check control file for package to modify FAILOVER_POLICY