<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF"><p>With the node in standby (just one is online in this example, but
another is configured), I then set up the resources:<br></p>
<p><tt>pcs node standby</tt><tt><br>
</tt><tt>pcs resource create gluster_data ocf:heartbeat:Filesystem
device="/dev/cl/lv_drbd" directory="/gluster" fstype="xfs"</tt><tt><br>
</tt><tt>pcs resource create glusterd ocf:glusterfs:glusterd</tt><tt><br>
</tt><tt>pcs resource create gluster_vol ocf:glusterfs:volume
volname="test_logs"</tt><tt><br>
</tt><tt>pcs resource create test_logs ocf:heartbeat:Filesystem \</tt><tt><br>
</tt><tt> device="localhost:/test_logs"
directory="/var/log/test" fstype="nfs" \</tt><tt><br>
</tt><tt>
options="vers=3,tcp,nolock,<wbr>context=system_u:object_r:<wbr>httpd_sys_content_t:s0"
\</tt><tt><br>
</tt><tt> op monitor OCF_CHECK_LEVEL="20"</tt><tt><br>
</tt><tt>pcs resource clone glusterd</tt><tt><br>
</tt><tt>pcs resource clone gluster_data</tt><tt><br>
</tt><tt>pcs resource clone gluster_vol ordered=true</tt><tt><br>
</tt><tt>pcs constraint order start gluster_data-clone then start
glusterd-clone</tt><tt><br>
</tt><tt>pcs constraint order start glusterd-clone then start
gluster_vol-clone</tt><tt><br>
</tt><tt>pcs constraint order start gluster_vol-clone then start
test_logs</tt><tt><br>
</tt><tt>pcs constraint colocation add test_logs with FloatingIp
INFINITY</tt><br>
</p>
<p><br></p></div></blockquote><div>Out of curiosity, did you write it or you found those commands somewhere else?</div></div></div></div>