- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- cluster query
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
03-01-2002 07:47 AM
03-01-2002 07:47 AM
I have a 2 node MC/SG cluster. If I halt the primary node, without halting package or the cluster, will the package fail over to the secondary node ?
Thanks,
Hilary
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2002 07:50 AM
03-01-2002 07:50 AM
Re: cluster query
What do u mean by halting the primary node without halting package or cluster ?
If your clustering is configured properly, the unavailability of primary node, will cause a package shift to the secondary.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2002 07:51 AM
03-01-2002 07:51 AM
Re: cluster query
If you have two node cluster and if there is a package running on node1. It will failover to the other cluster node node2 if node2 is configured as the alternate node for the package and if the node1 is shutdown or taken out of the cluster. However if package switching is disbaled for the package, the package will not failover to the other node node2. To check if the package switching is enabled on not do a cmviewcl,
cmviewcl -v -p package_name
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2002 07:52 AM
03-01-2002 07:52 AM
Re: cluster query
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2002 07:58 AM
03-01-2002 07:58 AM
Re: cluster query
Package switching is enabled.
If I do a shutdown -h 0 on the primary node, without doing anything else, will the package switch, or will the secondary node form a reform the cluster, with just itself as a member ?
Hilary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2002 08:01 AM
03-01-2002 08:01 AM
Re: cluster query
Should do both - reform the cluster as a single node AND start the pkg on it.
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2002 08:02 AM
03-01-2002 08:02 AM
Re: cluster query
You can test the package switching by just taking the node1 out of the cluster.
Run this on node1,
cmhaltnode
The node2 should form a cluster with itself as the only node in the cluster and the package that was running on node1 should start on node2. You can also try this by simply doing a shutdown on node1,
shutdown -h now
or shutdown -h 0
This will do a shutdown on node1 and then reform the cluster with only node2 and move the package running on node1 to node2.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2002 08:03 AM
03-01-2002 08:03 AM
Re: cluster query
As part of the shutdowmn of the primary node, the secondary node will be informed the primary is leaving the clsuter, and a clsuter reform will take place that results in a single node cluster.
During the shutdown, the primary node will halt the package, and the secondary will then start the package up, PROVIDED that the package variables are enabled for both LOCAL and GLOBAL switching. Check cmviewcl to confirm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2002 08:04 AM
03-01-2002 08:04 AM
Re: cluster query
Yes, it will reform the cluster and the package will shift to the secondary node (provided the cluster configuration is perfect).
Btw, when you do the shutdown -h 0, the rc scripts will shutdown the cluster services in the primary node.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2002 08:11 AM
03-01-2002 08:11 AM
Re: cluster query
The reason for the query is that we are having a powerdown and I have issued instructions for the package & cluster to be halted, then both machines halted. A colleague has suggested that this is not necessary & the boxes can just be halted.
Thanks,
Hilary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2002 11:00 AM
03-01-2002 11:00 AM
SolutionThe issue to keep in mind is that if you shutdown the primary node first, the package will start to switch, or even complete switching, and then you want to shut the second server down.
If you are looking at powering down BOTH nodes at the same time, it might be better to do cmhaltcl -f first to ensure the application shuts down and stays down, then halt the nodes.
Otherwise, issue the shutdown on the node that is NOT running the package, and after a short period then do the same on the other node.
This just saves the time for an unnecessary packag eswitch.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2002 11:41 AM
03-01-2002 11:41 AM
Re: cluster query
Since you indicate you will be shutting down both nodes, remember that you may find on bootup that a cluster does not automatically form. This will occur is both nodes are not booted within a 10-minute (AUTO_START_TIMEOUT) window. If this is the case, allow the TIMEOUT to expire and manually issue a 'cmruncl'. 'cmrunnode' will not start a one-node cluster.
Regards!
...JRF...