[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] Determining failed node on another node of clusterduring failover



Hello,

If you want to find out which cluster node has failed, you could either
check /var/log/messages and see which member has left the cluster, or you
can set up monitoring to check if your servers are all in good shape.

If you are running a cluster, I would suggest also setting up monitoring.
The monitoring package can then notify you if any cluster member fails.


Regards,

Kit 

-----Original Message-----
From: linux-cluster-bounces redhat com
[mailto:linux-cluster-bounces redhat com] On Behalf Of Parvez Shaikh
Sent: woensdag 12 januari 2011 7:04
To: linux clustering
Subject: [Linux-cluster] Determining failed node on another node of
clusterduring failover

Hi all,

Taking this question from another thread, here is a challenge that I am
facing -

Following is simple cluster configuration -

Node 1, node 2, node 3, and node4 are part of cluster, its unrestricted
unordered fail-over domain with active - active nxn configuration

So a node 2 can get services from node1, node3 or node4 when any of
these(1,3,4) node fails(e.g. power failure).

In that event I want to find out which of the node has failed over node2, I
was invoking "clustat -x -S service name" on node2 in my custom agent and
was parsing for "last_owner" field to obtain name of node on which service
was previously running.

This however doesn't seem to be working in case if I shutdown node(but works
if I migrate service from one node to another using clusvcadm)

Is there anyway that I can find out which node has failed during failover of
service on a standby node? Any tool which I might have missed or some
command which I can send to ccsd to get this information

Thanks

--
Linux-cluster mailing list
Linux-cluster redhat com
https://www.redhat.com/mailman/listinfo/linux-cluster


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]