<div dir="ltr"><div>i don't know if is this the problem, but this colacation are wrong<br><br>colocation c_g_premount_on_drbd_meta inf: ms_drbd_meta:Master g_premount g_postmount<br><br></div>it should be<br><br>colocation c_g_premount_on_drbd_meta inf: g_premount g_postmount ms_drbd_meta:Master <br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/1 David Dunsmore <span dir="ltr"><<a href="mailto:david.dunsmore@seebyte.com" target="_blank">david.dunsmore@seebyte.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
I am having issues where a resource in a master/slave relationship is never being promoted, I was hoping someone could help guide me to where I'm going wrong.<br>
<br>
I am using the crm shell to configure, with the following settings:<br>
<br>
[root@nas2_gri1 ~]# crm configure show<br>
node nas1 \<br>
attributes standby="off"<br>
node nas2_gri1 \<br>
attributes standby="off"<br>
# Define all resources to run on the cluster<br>
primitive ClusterIP ocf:heartbeat:IPaddr2 \<br>
params ip="10.10.50.159" cidr_netmask="24" \<br>
op monitor interval="30s"<br>
primitive MetaFS ocf:heartbeat:Filesystem \<br>
params device="/dev/drbd0" directory="/meta" fstype="ext3"<br>
primitive ShareFS ocf:heartbeat:Filesystem \<br>
params device="/dev/mapper/data-logs" directory="/mnt/data" fstype="none"<br>
primitive drbd_meta ocf:linbit:drbd \<br>
params drbd_resource="meta" \<br>
meta target-role="Master" \<br>
op monitor interval="30s" role="Master" \<br>
op monitor interval="100s" role="Slave"<br>
primitive iscsi lsb:iscsi-target<br>
primitive lsyncd lsb:lsyncd \<br>
op monitor interval="5s" \<br>
meta is-managed="false" target-role="Stopped"<br>
primitive lvmdata ocf:heartbeat:LVM \<br>
params volgrpname="data"<br>
primitive nfs lsb:nfs<br>
primitive nfslock lsb:nfslock<br>
primitive openfiler lsb:openfiler<br>
primitive rsyncd ocf:heartbeat:rsyncd \<br>
params conffile="/etc/rsync-daemon.<u></u>conf"<br>
primitive samba lsb:smb<br>
group g_postmount openfiler samba nfs nfslock lsyncd<br>
# Group items together<br>
group g_premount MetaFS ClusterIP iscsi<br>
ms ms_drbd_meta drbd_meta \<br>
meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" notify="true" target-role="Master" is-managed="true"<br>
clone clone_ShareFS ShareFS \<br>
meta target-role="Started" clone-node-max="1"<br>
clone clone_lvm lvmdata \<br>
meta target-role="Started" clone-node-max="1"<br>
clone clone_rsyncd rsyncd \<br>
meta target-role="Started" clone-node-max="1"<br>
# Specify where resources should run<br>
colocation c_g_premount_on_drbd_meta inf: ms_drbd_meta:Master g_premount g_postmount<br>
# Specify the order in which resources run<br>
order o_all inf: ms_drbd_meta:promote g_premount clone_lvm clone_ShareFS clone_rsyncd g_postmount<br>
property $id="cib-bootstrap-options" \<br>
no-quorum-policy="ignore" \<br>
stonith-enabled="false" \<br>
dc-version="1.1.2-<u></u>c6b59218ee949eebff30e837ff6f38<u></u>24ed0ab86b" \<br>
cluster-infrastructure="<u></u>openais" \<br>
expected-quorum-votes="2" \<br>
last-lrm-refresh="1383299108"<br>
rsc_defaults $id="rsc-options" \<br>
resource-stickiness="100"<br>
<br>
<br>
The resource I am having problems with is my master/slave ms_drbd_meta<br>
<br>
Any help would be appreciated,<br>
<br>
-- <br>
David Dunsmore<br>
Development Engineer<br>
<br>
SeeByte<br>
<br>
Tel: <a href="tel:%2B44%20%280%29%20131%20447%204200" value="+441314474200" target="_blank">+44 (0) 131 447 4200</a> (ext. 186)<br>
e-mail: <a href="mailto:david.dunsmore@seebyte.com" target="_blank">david.dunsmore@seebyte.com</a><br>
web: <a href="http://www.seebyte.com" target="_blank">www.seebyte.com</a><br>
<br>
| SeeByte Ltd, a company registered in Scotland with the company<br>
| number SC194014 and whose registered office is Orchard Brae<br>
| House, 30 Queensferry Road, Edinburgh, EH4 2HS, Scotland, UK<br>
<br>
| This message is confidential and may be privileged. If it is not for<br>
| you please inform us then delete it. If the content is not about the<br>
| business of the company or its clients then the message is neither<br>
| from nor sanctioned by SeeByte Limited.<br>
<br>
______________________________<u></u>_________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/<u></u>mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/<u></u>doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera
</div>