[Pacemaker] Two node cluster and no hardware device for stonith.

Andrea a.bacchi at codices.com
Tue Jan 27 16:55:04 UTC 2015


emmanuel segura <emi2fast at ...> writes:

> 
> please show your configuration and your logs.
> 
> 2015-01-27 14:24 GMT+01:00 Andrea <a.bacchi at ...>:
> > emmanuel segura <emi2fast <at> ...> writes:
> >
> >>
> >>
> >> if you are using cman+pacemaker you need to enabled the stonith and
> > configuring that in you crm config
> >>
> >>
> >> 2015-01-27 14:05 GMT+01:00 Vinod Prabhu
> > <pvinod.mit at ...>:
> >> is stonith enabled in crm conf?
> >>
> >
> > yes, stonith is enabled
> >
> > [ONE]pcs property
> > Cluster Properties:
> >  cluster-infrastructure: cman
> >  dc-version: 1.1.11-97629de
> >  last-lrm-refresh: 1422285715
> >  no-quorum-policy: ignore
> >  stonith-enabled: true
> >
> >
> > If I disable it, stonith device don't start
> >
> >
> >>
> >> On Tue, Jan 27, 2015 at 6:21 PM, emmanuel segura
> > <emi2fast at ...> wrote:When a node is dead
> > the registration key is removed.
> >
> > So I must see 2 key registered when I add fence_scsi device?
> > But I don't see 2 key registered...
> >
> >

Sorry, I used wrong device id.
Now, with the correct device id, I see 2 key reserved


[ONE] sg_persist -n --read-keys
--device=/dev/disk/by-id/scsi-36e843b60f3d0cc6d1a11d4ff0da95cd8
  PR generation=0x4, 2 registered reservation keys follow:
    0x4d5a0001
    0x4d5a0002


Tomorrow i will do some test for fencing...

thanks
Andrea








More information about the Pacemaker mailing list