<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 15 (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:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
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-AU" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-BZ">I’m trying to clone a ocf:heartbeat:Filesystem resource and am getting an error saying “Not configured”. The resource maps a Ceph RBD, and I’ve placed it in a group to map in the correct order etc and it works fine if
placed on a specific node, it’s only when I try to clone that I run into issues.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-BZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-BZ">The intention is that the filesystem will be used to store common data between the nodes for things such as NFS lock information with the nfsserver ocf or SBD Fencing.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-BZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-BZ">Here is a snip from my configuration:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-BZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-BZ">primitive p_fs_rbd_mgt ocf:heartbeat:Filesystem \<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-BZ"> params directory="/mnt/mgt" fstype="xfs" device="/dev/rbd/rbd/mgt-test" fast_stop="no" \<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-BZ"> op monitor interval="20s" timeout="40s" \<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-BZ"> op start interval="0" timeout="60s" \<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-BZ"> op stop interval="0" timeout="60s"<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-BZ">primitive p_rbd_map_mgt ocf:ceph:rbd.in \<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-BZ"> params user="admin" pool="rbd" name="mgt-test" cephconf="/etc/ceph/ceph.conf" \<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-BZ"> op monitor interval="10s" timeout="20s"<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-BZ">group g_rbd_mgt p_rbd_map_mgt p_fs_rbd_mgt<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-BZ">clone clo_stmgt g_rbd_mgt \<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-BZ"> meta globally-unique="false"<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-BZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-BZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-BZ">Perhaps there’s a better way to map shared storage from Ceph on all nodes (I’m open to suggestions), but any help appreciated.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-BZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-BZ">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-BZ">Dan O’Brien<o:p></o:p></span></p>
</div>
</body>
</html>