<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:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
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";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hi,<o:p></o:p></p><p class=MsoNormal> I’m working with SLES 11 SP3 and pacemaker 1.1.10-0.15.25<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’m looking to define constraints that can allow multiple NFSV4 filesystem/exports to be started concurrently (they belong to the same LVM). I also have multiple access points. My model looks like this:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-left:1.0in'> |---- FS1 ------ Exportfs1<o:p></o:p></p><p class=MsoNormal style='margin-left:1.0in'> |<o:p></o:p></p><p class=MsoNormal style='margin-left:1.0in'> |----FS2 -------Exportfs2<o:p></o:p></p><p class=MsoNormal style='margin-left:1.0in'> |<o:p></o:p></p><p class=MsoNormal style='margin-left:1.0in'> |----FSn -------Exportfsn<o:p></o:p></p><p class=MsoNormal style='margin-left:1.0in'> |<o:p></o:p></p><p class=MsoNormal> rootfs---LVM1-- |---IP1<o:p></o:p></p><p class=MsoNormal style='margin-left:1.0in'> |<o:p></o:p></p><p class=MsoNormal style='margin-left:1.0in'> |---IPn<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Essentially, rootfs starts first and then the LVM. After the LVM, I’m looking to start the filesystems and IPs next. Once each filesystem is started then the export that belongs to it. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’d like to do this since I’m using NFSV4 and the Gracetime and leasetime (I have set to 10 seconds) cause increasingly long stop times on failover.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I managed to define the above using individual colocations and order constraints, but was wondering if there was a more concise definition that would work. My system may support many LVMs and many shares/exports per LVM, manageability may get out of control. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>My constraints look like this:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>colocation c2 inf: ( fs1 fs2 ip1 ) lvm1<o:p></o:p></p><p class=MsoNormal>colocation c3 inf: fs1 exportfs1<o:p></o:p></p><p class=MsoNormal>colocation c4 inf: fs2 exportfs2<o:p></o:p></p><p class=MsoNormal>order NFS-order1 inf: lvm1 fs1 exportfs1<o:p></o:p></p><p class=MsoNormal>order NFS-order2 inf: lvm1 fs2 exportfs2<o:p></o:p></p><p class=MsoNormal>order NFS-order3 inf: exportfs lvm1:start<o:p></o:p></p><p class=MsoNormal>order NFS-order4 inf: lvm1 ip1<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The XML version is<o:p></o:p></p><p class=MsoNormal><span style='font-family:"Courier New"'><rsc_colocation id="c2" score="INFINITY"><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> <resource_set id="c2-0" sequential="false"><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> <resource_ref id="fs1"/><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> <resource_ref id="fs2"/><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> <resource_ref id="ip1"/><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> </resource_set><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> <resource_set id="c2-1"><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> <resource_ref id="lvm1"/><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> </resource_set><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> </rsc_colocation><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> <rsc_colocation id="c3" score="INFINITY" rsc="fs1" with-rsc="exportfs1"/><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> <rsc_colocation id="c4" score="INFINITY" rsc="fs2" with-rsc="exportfs2"/><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> <rsc_order id="nfssrv_order" score="INFINITY" first="nfsserver" then="root_exportfs"/><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> <rsc_order id="NFS-order3" score="INFINITY" first="root_exportfs" then="lvm1" then-action="start"/><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> <rsc_order id="NFS-order1" score="INFINITY"><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> <resource_set id="NFS-order1-0"><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> <resource_ref id="lvm1"/><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> <resource_ref id="fs1"/><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> <resource_ref id="exportfs1"/><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> </resource_set><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> </rsc_order><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> <rsc_order id="NFS-order2" score="INFINITY"><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> <resource_set id="NFS-order2-0"><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> <resource_ref id="lvm1"/><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> <resource_ref id="fs2"/><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> <resource_ref id="exportfs2"/><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> </resource_set><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> </rsc_order><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> <rsc_order id="NFS-order4" score="INFINITY" first="lvm1" then="ip1"/><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>Diane Schaefer<o:p></o:p></span></p></div></body></html>