[Pacemaker] DRBD active/passive on Pacemaker+CMAN cluster unexpectedly performs STONITH when promoting

Digimer lists at alteeve.ca
Thu Jul 3 07:58:52 EDT 2014


On 03/07/14 07:47 PM, Giuseppe Ragusa wrote:
>  >
>  > > }
>  > > handlers {
>  > > fence-peer "/usr/lib/drbd/rhcs_fence";
>  > > }
>  > > }
>  > >
>  > >
>  > rhcs_fence is wrong fence-peer utility. You should use
>  > /usr/lib/drbd/crm-fence-peer.sh and
>  > /usr/lib/drbd/crm-unfence-peer.sh instead.
>
> But my understanging (probably wrong) was that the fence-peer handler is
> meant to be called for STONITH, not for "usual" promotions/demotions
> to/from Primary/Secondary.
>
> If I use the aforementioned pair of handlers (crm-*.sh) for
> fence/unfence, do I still get STONITH behavior for "split brain cases"?
>
> Many thanks for your suggestion!
>
> Regards,
> Giuseppe

Correct. The 'rhcs_fence' handler passes fence calls on to cman, which 
you have set to redirect on to pacemaker. This isn't what it was 
designed for, and hasn't been tested. It was meant to be an updated 
replacement for obliterate-peer.sh in cman+rgmanager clusters directly 
(no pacemaker).

Cheers

-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without 
access to education?




More information about the Pacemaker mailing list