[Pacemaker] first monitor action after start of ressource fails - ends up in ressource restart

2014-06-16 Thread Bauer, Stefan (IZLBW Extern)
Dear Users/Developers, I'm running a pacemaker/corosync cluster on Debian 7: Pacemaker 1.1.7.1 Corosync 1.4.2-3 Everything is smooth but the first monitor action after the start action on my apache2 ressource fails - hence it ends up in a restart. How can this be avoided? Log attached. Thank

Re: [Pacemaker] pacemaker with CMAN on RHEL 6.5

2014-06-16 Thread Thanachit Wichianchai
Hi Everyone, Thank you very much for your help ! I will follow clusterlabs.org's quickstart guide. :) Thanachit W. On Tue, Jun 17, 2014 at 2:10 AM, emmanuel segura wrote: > So Document examples for redhat 6 made it with Redhat 7 :) > > 2014-06-16 19:58 GMT+02:00 Thanachit Wichianchai < > than

Re: [Pacemaker] Decreasing failover time when running DRBD+OCFS2+XEN in dual primary mode

2014-06-16 Thread Andrew Beekhof
On 13 Jun 2014, at 5:35 pm, kamal kishi wrote: > Hi Andrew, > Checked the logs and I felt OCFS2 taking time to recover, can anyone please > verify my log and confirm if I'm correct. I see: Jun 13 17:48:57 server2 crmd: [1840]: info: do_lrm_rsc_op: Performing key=6:111:0:68dbc62f-5255-4a32-9

Re: [Pacemaker] Actions on "Another DC detected"

2014-06-16 Thread Andrew Beekhof
On 16 Jun 2014, at 4:56 pm, K Mehta wrote: > Hi, >In case stonith is not setup and a two node cluster automatically recovers > from split brain, I get "Another DC detected" message in log file. > > Here are the cluster settings > > Cluster Properties: > cluster-infrastructure: cman > d

Re: [Pacemaker] pacemaker with CMAN on RHEL 6.5

2014-06-16 Thread emmanuel segura
So Document examples for redhat 6 made it with Redhat 7 :) 2014-06-16 19:58 GMT+02:00 Thanachit Wichianchai : > Hi, It is EL 6.5. For Version: 1.1.10-5.el7-9abe687 it is the output posted > in redhat document. -- > https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/

Re: [Pacemaker] pacemaker with CMAN on RHEL 6.5

2014-06-16 Thread Thanachit Wichianchai
Hi, It is EL 6.5. For Version: 1.1.10-5.el7-9abe687 it is the output posted in redhat document. -- https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Configuring_the_Red_Hat_High_Availability_Add-On_with_Pacemaker/ap-configfile-HAAR.html Thank you very much.

Re: [Pacemaker] pacemaker with CMAN on RHEL 6.5

2014-06-16 Thread Digimer
The subject says 6.5, so we need Thanachit to clarify. If EL7, then no, there is no cman. You can use pcsd to form the cluster initially, but also, that version should not attempt to start cman at all, so I am still thinking it is RHEL/CentOS 6. On 16/06/14 12:20 PM, emmanuel segura wrote:

Re: [Pacemaker] pacemaker with CMAN on RHEL 6.5

2014-06-16 Thread emmanuel segura
>From the previous output i seen this "Version: 1.1.10-5.el7-9abe687", so my question is "cman is used on redhat7?" 2014-06-16 18:10 GMT+02:00 Digimer : > You need to setup a skeleton cluster.conf file. You can use the 'ccs' tool, > here is an example (I use for my cluster, adjust the names to sui

Re: [Pacemaker] pacemaker with CMAN on RHEL 6.5

2014-06-16 Thread Trevor Hemsley
And you have to manually copy /etc/cluster/cluster.conf from the first node to the others... On 16/06/14 17:10, Digimer wrote: > You need to setup a skeleton cluster.conf file. You can use the 'ccs' > tool, here is an example (I use for my cluster, adjust the names to > suit): > > ccs -f /etc/clus

Re: [Pacemaker] pacemaker with CMAN on RHEL 6.5

2014-06-16 Thread Digimer
You need to setup a skeleton cluster.conf file. You can use the 'ccs' tool, here is an example (I use for my cluster, adjust the names to suit): ccs -f /etc/cluster/cluster.conf --createcluster an-anvil-04 ccs -f /etc/cluster/cluster.conf --setcman two_node="1" expected_votes="1" ccs -f /etc/clu

Re: [Pacemaker] pacemaker with CMAN on RHEL 6.5

2014-06-16 Thread emmanuel segura
If you are using redhat 7, you sould use corosync+pacemaker as cluster stack 2014-06-16 13:13 GMT+02:00 Thanachit Wichianchai : > Hello Pacemaker guys, > > I am doing a proof of concept of active/passive HA cluster on RHEL 6.5 > Since the customer who I am working for will finally get support f

[Pacemaker] pacemaker with CMAN on RHEL 6.5

2014-06-16 Thread Thanachit Wichianchai
Hello Pacemaker guys, I am doing a proof of concept of active/passive HA cluster on RHEL 6.5 Since the customer who I am working for will finally get support from Red Hat. Therefore, I am trying to comply with Red Hat Documentation. as stated in several places that on RHEL 6.5 - pacemaker is now s

[Pacemaker] Actions on "Another DC detected"

2014-06-16 Thread K Mehta
Hi, In case stonith is not setup and a two node cluster automatically recovers from split brain, I get "Another DC detected" message in log file. Here are the cluster settings Cluster Properties: cluster-infrastructure: cman dc-version: 1.1.10-14.el6_5.3-368c726 no-quorum-policy: ignore st