[Pacemaker] Query regarding component failover

2011-09-08 Thread Bhagwan Sahai
Hi,     I have a HA requirement wherein I need to have following resource  and setup: Setup: 2 node - cluster using Heartbeat as cluster and messaging layer Resource group: 1) service1 ( Master slave) 2) service 2( Master slave) Constraints defined: master instance of both service 1 and 2 are on

Re: [Pacemaker] crm_mon -n -1 : Command output format

2011-09-08 Thread Tim Serong
On 09/09/11 01:28, manish.gu...@ionidea.com wrote: Hi, I am using crm_mon -n -1 command to parse resources status. Sometime format is changed due to that I am getting unexcepted output on my backend programme. Please anyboby can help me to know all the excepted possible output format of c

Re: [Pacemaker] resource moving unnecessarily due to ping race condition

2011-09-08 Thread Brad Johnson
Thank you for your quick response. First, ideally we do want the "best connectivity" approach. Assuming each node is connected to the ping hosts via separate NIC's, switches, cables, etc, a failure in one of those components will result in one node having degraded network connectivity. But if t

Re: [Pacemaker] resource moving unnecessarily due to ping race condition

2011-09-08 Thread Florian Haas
>> On 09/08/11 20:59, Brad Johnson wrote: >>> We have a 2 node cluster with a single resource. The resource must run >>> on only a single node at one time. Using the pacemaker:ocf:ping RA we >>> are pinging a WAN gateway and a LAN host on each node so the resource >>> runs on the node with the grea

Re: [Pacemaker] resource moving unnecessarily due to ping race condition

2011-09-08 Thread Brad Johnson
OK, attached is the full cibadmin -Q output. Thanks, Brad On 09/08/2011 02:07 PM, Florian Haas wrote: On 09/08/11 20:59, Brad Johnson wrote: We have a 2 node cluster with a single resource. The resource must run on only a single node at one time. Using the pacemaker:ocf:ping RA we are pinging

Re: [Pacemaker] resource moving unnecessarily due to ping race condition

2011-09-08 Thread Florian Haas
On 09/08/11 20:59, Brad Johnson wrote: > We have a 2 node cluster with a single resource. The resource must run > on only a single node at one time. Using the pacemaker:ocf:ping RA we > are pinging a WAN gateway and a LAN host on each node so the resource > runs on the node with the greatest connec

[Pacemaker] resource moving unnecessarily due to ping race condition

2011-09-08 Thread Brad Johnson
We have a 2 node cluster with a single resource. The resource must run on only a single node at one time. Using the pacemaker:ocf:ping RA we are pinging a WAN gateway and a LAN host on each node so the resource runs on the node with the greatest connectivity. The problem is when a ping host goe

[Pacemaker] postponed execution of operations

2011-09-08 Thread Thilo Uttendorfer
Hello, I have sometimes failed resoucres in a heartbeat/pacemaker/drbd cluster. It seems that it happens randomly. The log file for such a resource looks like this (I did a grep on "34401" in this example): Sep 7 13:28:13 server-v2 lrmd: [25059]: debug: on_msg_perform_op: add an operation op

[Pacemaker] crm_mon -n -1 : Command output format

2011-09-08 Thread manish . gupta
Hi, I am using crm_mon -n -1 command to parse resources status. Sometime format is changed due to that I am getting unexcepted output on my backend programme. Please anyboby can help me to know all the excepted possible output format of crm_mon -n -1 command output. General format of outpu

[Pacemaker] Concurrent runs of 'crm configure primitive' interfering

2011-09-08 Thread John Spray
Hi, I have some scripts which configure resources across a number of nodes in a cluster. I'm finding that when more than one "crm configure primitive" invokation is run at the same time, they sometimes interfere with each other: e.g. when adding resource A and B concurrently, I sometimes end up w

Re: [Pacemaker] Configuring Clusterstack on Scientifc Linux 6

2011-09-08 Thread Vadim Bulst
Am 08.09.2011 15:31, schrieb Marco van Putten: On 09/08/2011 11:08 AM, Vadim Bulst wrote: Hi all, I'd like to build a 10-Node Cluster based on ScientificLinux 6 with Corosync and Pacemaker. On my test-installation in the cluster-glue packages I didn't find any stonith-components . Do I have to

Re: [Pacemaker] Configuring Clusterstack on Scientifc Linux 6

2011-09-08 Thread Marco van Putten
On 09/08/2011 11:08 AM, Vadim Bulst wrote: Hi all, I'd like to build a 10-Node Cluster based on ScientificLinux 6 with Corosync and Pacemaker. On my test-installation in the cluster-glue packages I didn't find any stonith-components . Do I have to install any more packages? In an opensuse-instal

Re: [Pacemaker] minimizing cluster-glue dependencies

2011-09-08 Thread Andrew Beekhof
2011/9/8 Pádraig Brady : > On 09/08/2011 01:18 AM, Andrew Beekhof wrote: >> Sorry, but there's just no way anything like this is going to be >> accepted in fedora, rhel or upstream. >> If the packaging of cluster-glue-libs is too granular, the correct >> approach is to create additional subpackages

[Pacemaker] Configuring Clusterstack on Scientifc Linux 6

2011-09-08 Thread Vadim Bulst
Hi all, I'd like to build a 10-Node Cluster based on ScientificLinux 6 with Corosync and Pacemaker. On my test-installation in the cluster-glue packages I didn't find any stonith-components . Do I have to install any more packages? In an opensuse-installation, there is a directory called /usr

Re: [Pacemaker] minimizing cluster-glue dependencies

2011-09-08 Thread Pádraig Brady
On 09/08/2011 01:18 AM, Andrew Beekhof wrote: > Sorry, but there's just no way anything like this is going to be > accepted in fedora, rhel or upstream. > If the packaging of cluster-glue-libs is too granular, the correct > approach is to create additional subpackages - not to copy half of the > pr