Hi!

While we're at it: Does specifying a priority implicitly create a start order, 
or ist that just a start preference? Maybe if the sbd is not handled specially, 
it may be a good idea to give sdb a higher priority than anything else, at 
least if you are using priorities, right?

Regards,
Ulrich


>>> Tim Serong <[email protected]> schrieb am 28.11.2011 um 21:47 in Nachricht
<[email protected]>:
> On 11/28/2011 06:54 PM, Muhammad Sharfuddin wrote:
> > is it good/required to create order constraint for sbd resource
> >
> > I am using following fencing resource:
> >
> > primitive sbd_stonith stonith:external/sbd \
> >     meta target-role="Started" \
> >     op monitor interval="3000" timeout="120" \
> >     op start interval="0" timeout="120" \
> >     op stop interval="0" timeout="120" \
> > params
> > sbd_device="/dev/disk/by-id/scsi-360080e50002377b8000002ff4e4bc873"
> >
> > I have following order constraints:
> >
> > order resA-before-resB inf: resA resB symmetrical=true
> > order resB-before-resC inf: resB resC symmetrical=true
> >
> > should I also create another constraint for sbd like:
> >
> > order sbd_stonith-before-resA inf: sbd_stonith resA symmetrical=true
> >
> > please help/suggest.
> 
> No.  The STONITH resource doesn't need to be running in order for your 
> other resources to be operable (hence no need for an order constraint).
> 
> Regards,
> 
> Tim



 

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to