Re: [Pacemaker] pacemaker with cman and dbrd when primary node panics or poweroff

2014-03-11 Thread Andrew Beekhof
On 12 Mar 2014, at 10:56 am, Gianluca Cecchi wrote: > On Wed, Mar 12, 2014 at 12:37 AM, Andrew Beekhof wrote: > >> It was put in when drbd called: >> >> fence-peer "/usr/lib/drbd/crm-fence-peer.sh"; >> >> When and why it called that is not my area of expertise though. >> > > The constraint

Re: [Pacemaker] pacemaker with cman and dbrd when primary node panics or poweroff

2014-03-11 Thread Gianluca Cecchi
On Tue, Mar 11, 2014 at 11:52 PM, Andrew Beekhof wrote: > > On 8 Mar 2014, at 11:31 am, Gianluca Cecchi wrote: > >> I provoke power off of ovirteng01. Fencing agent works ok on >> ovirteng02 and reboots it. >> I stop boot ofovirteng01 at grub prompt to simulate problem in boot >> (for example sys

Re: [Pacemaker] pacemaker with cman and dbrd when primary node panics or poweroff

2014-03-11 Thread Gianluca Cecchi
On Wed, Mar 12, 2014 at 12:37 AM, Andrew Beekhof wrote: > It was put in when drbd called: > > fence-peer "/usr/lib/drbd/crm-fence-peer.sh"; > > When and why it called that is not my area of expertise though. > The constraint put by crm-fence-peer.sh was and I think it was g

Re: [Pacemaker] pacemaker with cman and dbrd when primary node panics or poweroff

2014-03-11 Thread Andrew Beekhof
On 12 Mar 2014, at 10:32 am, Gianluca Cecchi wrote: > On Tue, Mar 11, 2014 at 11:52 PM, Andrew Beekhof wrote: >> >> On 8 Mar 2014, at 11:31 am, Gianluca Cecchi >> wrote: >> >>> I provoke power off of ovirteng01. Fencing agent works ok on >>> ovirteng02 and reboots it. >>> I stop boot ofovir

Re: [Pacemaker] pacemaker with cman and dbrd when primary node panics or poweroff

2014-03-11 Thread Andrew Beekhof
On 8 Mar 2014, at 11:31 am, Gianluca Cecchi wrote: > I provoke power off of ovirteng01. Fencing agent works ok on > ovirteng02 and reboots it. > I stop boot ofovirteng01 at grub prompt to simulate problem in boot > (for example system put in console mode due to filesystem problem) > In the mean

Re: [Pacemaker] pacemaker with cman and dbrd when primary node panics or poweroff

2014-03-07 Thread Gianluca Cecchi
so I fixed the problem regarding hostname in drbd.conf and in name from cluster point of view. ALso configured and verified fence_vmware agent and enabled stonith Changed in drbd resource configuration resource ovirt { disk { disk-flushes no; md-flushes no; fencing resource-and-stonith; } device

Re: [Pacemaker] pacemaker with cman and dbrd when primary node panics or poweroff

2014-03-05 Thread Gianluca Cecchi
On Mon, Mar 3, 2014 at 9:29 PM, Digimer wrote: > Two possible problems; > > 1. cman's cluster.conf needs the ''. > > 2. You don't have fencing setup. The 'fence_pcmk' script only works if > pacemaker's stonith is enabled and configured properly. Likewise, you will > need to configure DRBD to use t

Re: [Pacemaker] pacemaker with cman and dbrd when primary node panics or poweroff

2014-03-03 Thread Digimer
Two possible problems; 1. cman's cluster.conf needs the ''. 2. You don't have fencing setup. The 'fence_pcmk' script only works if pacemaker's stonith is enabled and configured properly. Likewise, you will need to configure DRBD to use the 'crm-fence-peer.sh' handler and have the 'fencing res

[Pacemaker] pacemaker with cman and dbrd when primary node panics or poweroff

2014-03-03 Thread Gianluca Cecchi
Hello, I'm testing pacemaker with cman on CentOS 6.5 where I have drbd resource in classic primary/secondary setup with master/slave config Relevant packages: cman-3.0.12.1-59.el6_5.1.x86_64 pacemaker-1.1.10-14.el6_5.2.x86_64 kmod-drbd84-8.4.4-1.el6.elrepo.x86_64 drbd84-utils-8.4.4-2.el6.elrepo.x8