- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Package Auto run 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
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
тАО08-04-2009 09:45 PM
тАО08-04-2009 09:45 PM
Package Auto run Question
I was under impression then when u explicitly issue any command the cluster doesnt failovers the package to other node . it halts them . This was my understanding.
But after reboot the cluster failovered one of the package while the other package could not be failovered. I checked the logs and found that one FileSystem was not unmounted properly for that package and the package halt was failed.
Could this be the reason the package did not failover..
and the other question is was my understanding wrong. How can that one package failover when i issued an shutdown.. Which setting made that failover of thth package possible
Note : Auto_run is set to yes on both package config files... and in cmviewcl also the auto_run showed enabled on primary node before shutdown. Please answer..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-04-2009 10:33 PM
тАО08-04-2009 10:33 PM
Re: Package Auto run Question
If you have enabled global switching for those packages, then it will failover to it's configured alternate node when the primary node for the particular package is down.
But when you halt the package using cmhaltcl, packages will not failover. This is how service guard works.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-04-2009 10:57 PM
тАО08-04-2009 10:57 PM
Re: Package Auto run Question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-04-2009 11:19 PM
тАО08-04-2009 11:19 PM
Re: Package Auto run Question
2 Parameters need to be enabled for a package to switch between nodes.
1) AUTO_RUN (cmviewcl -v, look under network_parameters)
AUTO_RUN: spcifies whether a pkg can switch to other nodes in case of failure
cmmodpkg -e pkgname
2) NODE_SWITCHING (cmviewcl -v, look under Node_switching parameters, SWITCHING)
Which node on a per pkg basis can receive the pkg.
cmmodpkg -e -n nodename pgkname
In your case, if AUTO_RUN is setto YES, then node_switching must be enabled also, so that, the ohter node can receive the pkg.
in cmviewcl -v
Node_switching Parameters
SWITCHING (under this, you need to see enabled)
(Note: If AUTO_RUN is disabled, then it is irrelevant whehter node_switching is enabled/disabled)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-04-2009 11:47 PM
тАО08-04-2009 11:47 PM
Re: Package Auto run Question
If you explicitly issue a "cmhaltpkg" command, then it auto-disables failover (the AUTO_RUN setting) at the same time.
If you just run "shutdown -ry" when the node is running in a cluster, the shutdown script (/sbin/init.d/cmcluster stop) will execute "cmhaltnode -vf", which will automatically shutdown any packages running on the node and try to failover them. If the package shutdown is free of errors and package configuration allows failover (AUTO_RUN is enabled and there is another node that can run this package) then the package fails over.
The failed umount certainly prevented the failover of the package in your case.
The primary purpose of Serviceguard is to minimize data loss and corruption. If umount fails, the package disk is still mounted on one node and mounting it on another node could cause disk corruption, so Serviceguard refuses to do it.
This is why it is usually very important that the package shutdown actions are correct.
If the package configuration has NODE_FAIL_FAST_ENABLED set to YES, the rules are a bit different because then Serviceguard intentionally crashes the original node when a package failover is executed, to make sure no mounted disks or other resources remain on the original node.
MK