- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- no pkg switching when node is powered down
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-10-2004 02:15 AM
12-10-2004 02:15 AM
However, if I just press the power button like a normal person, something else happens. The package that was running on the node is halted, which disables global switching, and the package is never started on the node that's still running.
What exactly is happening when I press the power button, and where is it configured?
Not a huge problem, generally pressing the power button is probably intentional and an administrator could move the package manually before it happens.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2004 02:25 AM
12-10-2004 02:25 AM
Re: no pkg switching when node is powered down
1) Current on ServiceGuard patches?
2) Any notes when you do the package configuration?
3) Log entries on the node you left running that the package was supposed to fail over to?
My understanding that in the scenario you present the package should fail over. Heartbeat is lost and the surving node should take over IP addresses, volume groups and packages, if they are configured correctly.
if they are not configured correctly there should be log entries on the surviving noce to help you diagnose the problem.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2004 03:40 AM
12-10-2004 03:40 AM
Re: no pkg switching when node is powered down
The question is, what is triggered when I just press the power button? The system seems to be configured to halt the package (which disables global switching) but I want it to halt the node.
Perhaps this is more of a general hp-ux/hardware related question than a SG problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2004 03:46 AM
12-10-2004 03:46 AM
Re: no pkg switching when node is powered down
One thing to also check, is the package AUTO_RUN variable set to YES?
And a thought here, the rx2600 may do a soft shutdown when you hit the power button.
try just pulling the power out of the system for a real test
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2004 04:59 AM
12-10-2004 04:59 AM
Re: no pkg switching when node is powered down
-StephenD.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2004 06:19 AM
12-10-2004 06:19 AM
Re: no pkg switching when node is powered down
Maybe this doc could shed some light,
http://www2.itrc.hp.com/service/cki/search.do?category=c0&mode=id&searchString=UXSGKBAN00000102&searchCrit=allwords&docType=Security&docType=Patch&docType=EngineerNotes&docType=BugReports&docType=Hardware&docType=ReferenceMaterials&docType=ThirdParty&search.x=10&search.y=10
The itrc doc id is UXSGKBAN00000102.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2004 10:31 PM
12-11-2004 10:31 PM
Re: no pkg switching when node is powered down
If the OS is running, pressing the power button:
Momentarily (less than 5 seconds) requests a soft power down by the operating
system. The OS determines if the power off request is to be honored.
For more than 5 seconds (and then released) causes an immediate/hard power
down without allowing the OS to close open files or flush disk caches possibly
resulting in a corrupted disk system or file. This should only be used when the OS
is not responding to user requests.
What's not clear is how HP-UX 'determines if the power off request is to be honored'... maybe someone can shed some light on this.
Cheers
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2004 08:04 PM
12-12-2004 08:04 PM
Re: no pkg switching when node is powered down
First of all: Yes, package switching is disabled when I push the power button. Something is halting the package, which disables global switching.
Sanjay: I can't find that document using the ID. The search produces no results. What's the title of the document?
Duncan/melvyn: A "soft shutdown" seems to be exactly what's happening. How hp-ux determines whether or not the power off request is to be honored, and exactly how the computer is shutdown if it should is exactly what I'm looking for! Can someone explain that (or point me in the right direction)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2004 08:09 PM
12-12-2004 08:09 PM
Re: no pkg switching when node is powered down
// Something is halting the package, which disables global switching.//
With shutdown -h or -r (either manually or by giving it a soft reset), the rc scripts are run. You should have CMCLD set to 1 in your /etc/rc.config.d/cmcluster file. That will try to halt the node with -f option which would bring down the package normally.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2004 09:14 PM
12-12-2004 09:14 PM
Solution#show_patches
My system (MC-SG 11.16) have same problem like your. then I found that i lack of patches. after patching It's OK.
you can manual change by:
#cmmodpkg -e
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2004 12:54 AM
12-13-2004 12:54 AM
Re: no pkg switching when node is powered down
I'm still curious to exactly what's happening. Did some testing again:
These all work as i expect, the package moves nicely to the surviving node:
* shutdown -h
* shutdown -r
* pulling the power out of the system
But, if I push the button on one node (ha2), initiating a soft power down, the package is NOT moved, and these messages are written in the syslog on the surviving node (ha1):
ha1 cmcld: (ha2) Halted package *** on node ha2.
ha1 cmcld: Request from node ha1 to disable global switching for package ***.
ha1 cmcld: Disabled switching for package ***.
ha1 cmcld: Communication to node ha2 has been interrupted
ha1 cmcld: Node ha2 may have died
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2004 01:16 AM
12-13-2004 01:16 AM
Re: no pkg switching when node is powered down
To clarify, with shutdown -r or -h, the syslog also contains messages about disabling switching at first, but then it's enabled again and the package starts. '/sbin/init.d/cmcluster stop'runs cmhaltnode -fv.
I'm guessing that a soft power down doesn't run cmcluster stop, but cmhaltnode (without -f) but I have no idea where that would be configured.