> 
> >     }
> >     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
                                          
_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to