- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: HPservice guard for LINUX
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-23-2004 03:10 PM
тАО08-23-2004 03:10 PM
HPservice guard for LINUX
Proper configuration was done upto package adition to the cluster. This is a two node cluster and we have configured singel package for each node.
1.If you start the both nodes simultaniously the cluster will form and manually you can halt packages which are running in one node and start them manually in the other node properly
and it works fine along with mounting the logical volumes.
But if you bring down one node ( simulate a failure in a node) the packages will not switch over to the other node automatically.
2.Also if you boot one node while the other is down the cluster will not form at all.
would appriciate to find out the possible cause for this if possible.
Chanaka
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2004 06:58 PM
тАО08-23-2004 06:58 PM
Re: HPservice guard for LINUX
To get the package to auto-switch when there is a failure, two things must be enabled in the package: AUTO_RUN for the package and SWITCHING for the new node. Use "cmviewcl -v" to check these parameters.
When you halt a package manually, SG automatically also disables AUTO_RUN. When re-starting the package with cmrunpkg, you must explicitly re-enable AUTO_RUN.
The command for this is "cmmodpkg -e
If a package operation (starting or stopping a package) does not complete cleanly on a certain node, SWITCHING is automatically disabled for that node. (This happens to me frequently when testing a new package.)
To re-enable after fixing the problem, use "cmmodpkg -e -n
2.)
Is your single node detecting a possible split-brain situation? Check the syslog: the messages there should tell you why the cluster did not start.
A split-brain situation exists when both of your nodes are running but all the communication paths between them are broken. In this case both nodes could decide "I'm up and the other node is down" and try to start the packages. That would cause the two nodes using the same IP address and/or accessing the same shared disk without knowing about each other: a recipe for a disaster.
This is why a cluster lock is used in a two-node cluster. A node will start only if it can access the cluster lock OR it has a connection to the other node (so it knows what the other node is doing).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2004 07:10 PM
тАО08-23-2004 07:10 PM
Re: HPservice guard for LINUX
What does cmviewcl -v show for the package switching attributes? If they have had switching disabled by manually issuing a cmhaltpkg then they may not be enabled to run on a particular node, or have global switching enabled.
2. This is normal behaviour. There MUST be 100% of the nodes available to form the cluster at the time of starting the cluster, otherwise the cluster will not start. In this situation you need to issue cmruncl -n
You may want to read:
http://docs.hp.com/linux/pdf/B9903-90033.pdf for more information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2004 03:28 PM
тАО08-24-2004 03:28 PM
Re: HPservice guard for LINUX
Also I used cmmodpkg ├в e packagename always when I halted a package.
Cmviewcl has switching enabled
I suppose its detecting a split brain situation some of the messages which I got in the /var/log/messages are as follows
Cmlocklund [1566] :write failure :1024 (resource temporarily unavailable )
Just cleared x-psn:1
Just cleared y-psn:2
When one node is brought down the below messages appear in /var/log/messages
Attempting to form a new cluster cluster lock was denied lock was owned by another node write failure-1
Burnard> is it normal behavior for the cluster not to form when all nodes are not up.My cluter is two node one.is it applicable to this as well. But when I run cmruncl in one node while the other is down packages which are configured in the down node also starts automaticall
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2004 02:17 AM
тАО08-26-2004 02:17 AM
Re: HPservice guard for LINUX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2004 03:42 AM
тАО08-26-2004 03:42 AM
Re: HPservice guard for LINUX
Good stuff.
Everything you need should be in the log files for the clusters. The error message on the failing node should lead you directly to the cause of the problem.
the check cluster and package commands worked right?
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
тАО08-26-2004 11:35 PM
тАО08-26-2004 11:35 PM
Re: HPservice guard for LINUX
Cluster not forming:
Looking at cmrunnode man page...
cmruncl [-f] [-v] [-n node_name...] [-w none]
If node_name is not specified, the cluster daemons will be started on all the nodes in the cluster. All nodes in the cluster must be available for the cluster to start unless a subset of nodes is specified.
So, if you have one node down, the cluster will not form as designed. You can start it with cmruncl -f.
Package not automatically failing over:
You need to check if you are monitoring the package service, otherwise SG will not take any action to move it to another node.
If you post here your cluster ascii file and package ascii and control, it will be far easier to know why it is not working as you expect.
Best regards,
Celso