- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: SG Package Monitored Processes/Resources
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
02-24-2003 06:00 AM
02-24-2003 06:00 AM
We need to show to a customer how Service Guards reacts to package failover(s).
We've tried unplugging our Lan cables and the system properly reacts moving the package to the secondary node.
Unfortunately this event does not drive the SG to mark Node Switch to disabled (on primary), so that even if the Failback policy is Manual as soon as the Lan cables are back in place I could switch the package back on primary node.
Now we want to show them that in case of a real failover, the Node switch should become disabled, so that I was thinking about killing one of the service processes to simulate a real failure. How can I check which processes are monitored by SG, in order to initiate a Failover ?
Thanks in advance !
Mike
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2003 06:05 AM
02-24-2003 06:05 AM
SolutionWhen a pkg is failed off of one node to another, ServiceGuard normally marks the primary node as "disabled" in the NODE-SWITCHING report of cmviewcl.
ServiceGuard monitors the SERVICE_CMD items listed in the package control script which is used to start/stop the package. Kill that command, and ServiceGuard will halt the package on that node, and if an adoptive node is 'enabled' to accept the package, will start it.
-S.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2003 06:07 AM
02-24-2003 06:07 AM
Re: SG Package Monitored Processes/Resources
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062686693
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2003 06:08 AM
02-24-2003 06:08 AM
Re: SG Package Monitored Processes/Resources
Check the output of "cmviewcl -v", and see which services have the "MAX_RESTARTS" column not set to unlimited.
Then look in the package control file to see what command this service is registered against. Killing this process should switch the cluster.
rgds, Robin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2003 06:09 AM
02-24-2003 06:09 AM
Re: SG Package Monitored Processes/Resources
Thank You so much !
Since you've been so kind, can I ask you why the failure of a Lan is not treated the same way (I mean the Node switch is not disabled ?)
I was thinking that if the Lan is DOWN the package won't be able anyway to start, but if the connection goes up and down (let's say because of faulty cables), this could initiate a ping pong, isn't it?
Thanks !
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2003 06:19 AM
02-24-2003 06:19 AM
Re: SG Package Monitored Processes/Resources
SG treats a packake subnet resource failure differently then a package service.
Let's say the entire package subnet failed on all nodes. SG would halt the pkg and await the restoration of the subnet. Whichever node normally able to operate the package registers the subnet up first will start the package. If the original primary node sees the subnet restored first, we'd want it to start the package. Hence, it's never disabled from running the package when only the subnet resource is unavailable.
-S.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2003 08:41 AM
02-24-2003 08:41 AM
Re: SG Package Monitored Processes/Resources
Cheers,
Mike