Hi all/David,
Hi,
Apologies if this is not the correct list - didn't see a user
specific one.
I'm a bit confused regarding what storage options I have regarding the
lockspace directory with my particular setup. I have a 2 node RHCS
cluster with shared iscsi-backed GFS2 storage for the VM disk images -
fairly standard stuff. I am wanting to add Sanlock into the mix, but do
not want to introduce a dependency on NFS for the Lockspace directory.
It is also my understanding from reading various mailing list posts that
it is also not considered good practice to have the Lockspace directory
on the GFS2 storage due to blocked I/O on the GFS2 volume while fencing
is taking place.
I am not sure what my other options are for where to host the Lockspace
directory at. The man page seems to show creating and initializing
storage pools from a SAN, but it's not clear exactly what is being
configured and how configuration, and performance, would differ with it
vs using an NFS directory.
Any help and direction towards what my options are for a 2 node setup
with this is greatly appreciated!
We do something similar in a 2 node DRBD/OCFS2 setup in which the vm
images and the sanlock lockspace reside in the OCFS2 volume. We did a
thorough testing and didn't run into any major problems with fencing.
Problematic are of course all split-brain situations. The setup has now
ran since over a year. AFAIK OCFS2 handles fencing in a different
way than GFS2 so I don't know if this really helps you.
You could take a look at virtlockd which was included into libvirt
1.0.1. It is perhaps sufficient to your needs and doesn't need a
lockspace.
See:
http://www.redhat.com/archives/libvir-list/2011-July/msg00337.html
Cheers
David
Thanks!
_______________________________________________
sanlock-devel mailing list
sanlock-devel(a)lists.fedorahosted.org
https://
>
lists.fedorahosted.org/mailman/listinfo/sanlock-devel