On Fri, Mar 23, 2012 at 6:07 PM, Lajos Pajtek <lajospaj...@yahoo.com> wrote:
>
>
> Hi,
>
> I am building a two-node, active-standby cluster with shared storage. I think 
> I got the basic primitives right, but fencing, implemented using SCSI 
> persistent reservations, gives me some headache.First, I am unable to get 
> stonith:fence_scsi work on RH/CentOS 6. (Using the sg_persist utility I am 
> able to register keys, etc so that's not the problem.)

Any specific reason for not using IPMI? That's practically ubiquitous,
and pretty much always works.

> This made me think about the fact that conceptually SCSI fencing should be 
> resource-level fencing, not node-level fencing. The other node is not powered 
> down or rebooted so perhaps I shouldn't be using stonith at all. Currently I 
> think about having stonith-enabled="false" and I am writing a master-slave 
> resource agent script to manage the SCSI persistent reservations in case of 
> fail-over.

That idea of such a resource agent is fine, but please don't write one
from scratch. Instead, expand on this one:

https://github.com/nif/ClusterLabs__resource-agents/blob/master/heartbeat/sg_persist
That one's off to a good start, but the original author never had time
to finish it.

Mind you; you'll likely still want STONITH, even if you use the sg_persist RA.

Hope this helps.
Cheers,
Florian

-- 
Need help with High Availability?
http://www.hastexo.com/now

_______________________________________________
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