[Pacemaker] cluster doesn't failover

Dejan Muhamedagic dejanmm at fastmail.fm
Mon Nov 2 13:37:05 UTC 2009


Hi,

On Sat, Oct 31, 2009 at 10:27:23AM +0100, Lars Ellenberg wrote:
> On Sat, Oct 31, 2009 at 03:01:01AM +0100, Thomas Schneider wrote:
> > Hi
> > 
> > Thanks for your answer, i send the message on drbd list,
> > May you can take a look at the log,
> > 
> > Thanks
> > 
> > Thomas Schneider
> > 
> 
> answered on drbd list already, but
> here again:
> 
> <snip of ugly line wrapped logs>
> 
> > Oct 31 02:47:07 storage02 kernel: [419459.283186] block drbd0: helper command: /sbin/drbdadm fence-peer minor-0 exit code 4 (0x400)
> > Oct 31 02:47:07 storage02 kernel: [419459.283186] block drbd0: fence-peer helper returned 4 (peer was fenced)
> > Oct 31 02:47:07 storage02 kernel: [419459.283186] block drbd0: role( Secondary -> Primary ) pdsk( DUnknown -> Outdated ) 
> > Oct 31 02:47:07 storage02 kernel: [419459.343187] block drbd0: Creating new current UUID
> > Oct 31 02:47:07 storage02 lrmd: [23822]: info: RA output: (drbd_nfs:0:promote:stdout) 
> > Oct 31 02:47:08 storage02 crmd: [23825]: info: process_lrm_event:
> >	LRM operation drbd_nfs:0_promote_0 (call=12, rc=0, cib-update=42, confirmed=true)
> >	complete ok
> 
> So DRBD gets promoted just fine.
> 
> > > I can migrate the resource between the to node, but the problem is when i
> > > make a hard power-off of server01 ( the server where is running the
> > > resource) the second server (server02) doesn't make failover. (the
> > > resource doesn't start)
> > > May you can take a look to my config file in the following
> 
> We do people always assume that it is DRBDs fault if something
> does not go as expected ;)

Because that's always my first guess, though it's not really
about drbd, but all resources :)

> > Really hard to say without logs.
> 
> Not so hasty, Dejan ;)
> 
> Have a guess again: why would storage02 not start the resource "nfs"?
> 
> Hint:
> > > location cli-standby-nfs nfs \
> > >         rule $id="cli-standby-rule-nfs" -inf: #uname eq storage02.myriapulse.local

:D

Thanks,

Dejan

> Cheers,
> 
> -- 
> : Lars Ellenberg
> : LINBIT | Your Way to High Availability
> : DRBD/HA support and consulting http://www.linbit.com
> 
> DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
> 
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker




More information about the Pacemaker mailing list