<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hi All,<o:p></o:p></p><p class=MsoNormal>I am setting up a new cluster using RHEL6, pacemaker-1.1.2-7 and corosync-1.2.3-21. So far everything works as expected including fencing via Dell DRAC cards but I wish to use SCSI reservations, preferably SCSI-3 persistent reservations but I am not sure on the configuration or even what to install to achieve this.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’ve installed the Redhat fence-agents package which includes fence_scsi. fence_scsi uses sg_persist (from the sg3_utils package) which is SCSI-3 only. Now, if you check the Redhat documentation:<o:p></o:p></p><p class=MsoNormal><a href="http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Configuration_Example_-_Fence_Devices/SCSI_requirements.html">http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Configuration_Example_-_Fence_Devices/SCSI_requirements.html</a><o:p></o:p></p><p class=MsoNormal>It states the SCSI fencing requires LVM2 cluster volumes so I install the lvm2-cluster package (which depends on openais, modcluster and cman!) but cannot start clvmd:<o:p></o:p></p><p class=MsoNormal>[root@cluster1 ~]# /etc/init.d/clvmd start<o:p></o:p></p><p class=MsoNormal>Starting clvmd: clvmd could not connect to cluster manager<o:p></o:p></p><p class=MsoNormal>[root@cluster1 ~]# tail -1 /var/log/messages<o:p></o:p></p><p class=MsoNormal>May 5 17:16:32 cluster1 clvmd: Can't open cluster manager socket: No such file or directory<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>So I assume clvmd is trying to connect to cman/modcluster/rgmanager or something and that I am going about this totally the wrong way. I guess I need an OCF resource agent for SCSI-3 persistent reservations, correct?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I did see this message:<o:p></o:p></p><p class=MsoNormal><a href="http://www.gossamer-threads.com/lists/linuxha/dev/71556">http://www.gossamer-threads.com/lists/linuxha/dev/71556</a><o:p></o:p></p><p class=MsoNormal>Anyone used this RA in a production system?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Although I have fencing via the DRAC cards, I don’t feel super confident about this method when using a shared LUN. Do others feel the same?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>How have other people approached the problem of ensuring data consistency when using shared storage with Pacemaker/Corosync? SFEX?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks in advance,<o:p></o:p></p><p class=MsoNormal>Max Williams<o:p></o:p></p></div><BR>
________________________________________________________________________<BR>
In order to protect our email recipients, Betfair Group use SkyScan from <BR>
MessageLabs to scan all Incoming and Outgoing mail for viruses.<BR>
<BR>
________________________________________________________________________<BR>
</body></html>