I didn't see any error in your config, the only thing i seen it's this<br>==========================================================<br>Jun 14 15:35:27 vmhost1 lrmd: [3853]: info: rsc:p_drbd_vmstore:0 monitor[55] (pid 12323)<br>
Jun 14 15:35:27 vmhost1 lrmd: [3853]: info: rsc:p_drbd_mount2:0 monitor[53] (pid 12324)<br>Jun 14 15:35:27 vmhost1 lrmd: [3853]: info: operation monitor[55] on p_drbd_vmstore:0 for client 3856: pid 12323 exited with return code 8<br>
Jun 14 15:35:27 vmhost1 lrmd: [3853]: info: operation monitor[53] on p_drbd_mount2:0 for client 3856: pid 12324 exited with return code 8<br>Jun 14 15:35:31 vmhost1 lrmd: [3853]: info: rsc:p_drbd_mount1:0 monitor[54] (pid 12396)<br>
=========================================================<br>it can be a drbd problem, but i tell you the true i'm not sure<br><br>======================================================<br><a href="http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/s-ocf-return-codes.html">http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/s-ocf-return-codes.html</a><br>
=========================================================<br><br><div class="gmail_quote">2012/6/19 Andrew Martin <span dir="ltr"><<a href="mailto:amartin@xes-inc.com" target="_blank">amartin@xes-inc.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:Times New Roman"><font size="3">Hello,</font><div style="font-size:12pt;font-family:'Times New Roman'">
<br></div><div style="font-size:12pt;font-family:'Times New Roman'">I have a 3 node Pacemaker+Heartbeat cluster (two real nodes and one "standby" quorum node) with Ubuntu 10.04 LTS on the nodes and using the Pacemaker+Heartbeat packages from the Ubuntu HA Team PPA (<a href="https://launchpad.net/%7Eubuntu-ha-maintainers/+archive/ppa" style="font-size:12pt" target="_blank">https://launchpad.net/~ubuntu-ha-maintainers/+archive/ppa</a>). I have configured 3 DRBD resources, a filesystem mount, and a KVM-based virtual machine (using the VirtualDomain resource). I have constraints in place so that the DRBD devices must become primary and the filesystem must be mounted before the VM can start:</div>
<div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1">node $id="1ab0690c-5aa0-4d9c-ae4e-b662e0ca54e5" vmhost1</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1">node $id="219e9bf6-ea99-41f4-895f-4c2c5c78484a" quorumnode \</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> attributes standby="on"</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1">node $id="645e09b4-aee5-4cec-a241-8bd4e03a78c3" vmhost2</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1">primitive p_drbd_mount2 ocf:linbit:drbd \</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> params drbd_resource="mount2" \</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> op start interval="0" timeout="240" \</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> op stop interval="0" timeout="100" \</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> op monitor interval="10" role="Master" timeout="30" \</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> op monitor interval="20" role="Slave" timeout="30"</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1">primitive p_drbd_mount1 ocf:linbit:drbd \</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> params drbd_resource="mount1" \</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> op start interval="0" timeout="240" \</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> op stop interval="0" timeout="100" \</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> op monitor interval="10" role="Master" timeout="30" \</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> op monitor interval="20" role="Slave" timeout="30"</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1">primitive p_drbd_vmstore ocf:linbit:drbd \</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> params drbd_resource="vmstore" \</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> op start interval="0" timeout="240" \</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> op stop interval="0" timeout="100" \</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> op monitor interval="10" role="Master" timeout="30" \</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> op monitor interval="20" role="Slave" timeout="30"</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1">primitive p_fs_vmstore ocf:heartbeat:Filesystem \</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> params device="/dev/drbd0" directory="/mnt/storage/vmstore" fstype="ext4" \</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> op start interval="0" timeout="60" \</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> op stop interval="0" timeout="60" \</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> op monitor interval="20" timeout="40"</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1">primitive p_ping ocf:pacemaker:ping \</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> params name="p_ping" host_list="192.168.1.25 192.168.1.26" multiplier="1000" \</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> op start interval="0" timeout="60" \</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> op monitor interval="20s" timeout="60"</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1">primitive p_sysadmin_notify ocf:heartbeat:MailTo \</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> params email="<a href="mailto:alert@example.com" target="_blank">alert@example.com</a>" \</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> params subject="Pacemaker Change" \</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> op start interval="0" timeout="10" \</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> op stop interval="0" timeout="10" \</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> op monitor interval="10" timeout="10"</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1">primitive p_vm_myvm ocf:heartbeat:VirtualDomain \</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> params config="/mnt/storage/vmstore/config/myvm.xml" \</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> meta allow-migrate="false" target-role="Started" is-managed="true" \</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> op start interval="0" timeout="180" \</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> op stop interval="0" timeout="180" \</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> op monitor interval="10" timeout="30"</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1">primitive stonithquorumnode stonith:external/webpowerswitch \</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> params wps_ipaddr="192.168.3.100" wps_port="x" wps_username="xxx" wps_password="xxx" hostname_to_stonith="quorumnode"</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1">primitive stonithvmhost1 stonith:external/webpowerswitch \</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> params wps_ipaddr="192.168.3.100" wps_port="x" wps_username="xxx" wps_password="xxx" hostname_to_stonith="vmhost1"</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1">primitive stonithvmhost2 stonith:external/webpowerswitch \</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> params wps_ipaddr="192.168.3.100" wps_port="x" wps_username="xxx" wps_password="xxx" hostname_to_stonith="vmhost2"</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1">group g_vm p_fs_vmstore p_vm_myvm</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1">ms ms_drbd_mount2 p_drbd_mount2 \</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" notify="true"</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1">ms ms_drbd_mount1 p_drbd_mount1 \</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" notify="true"</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1">ms ms_drbd_vmstore p_drbd_vmstore \</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> meta master-max="1" master-node-max="1" clone-max="2" clone-node-max="1" notify="true"</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1">clone cl_ping p_ping \</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> meta interleave="true"</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1">clone cl_sysadmin_notify p_sysadmin_notify</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1">location loc_run_on_most_connected g_vm \</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> rule $id="loc_run_on_most_connected-rule" p_ping: defined p_ping</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1">location loc_st_nodescan stonithquorumnode -inf: vmhost1</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1">location loc_st_vmhost1 stonithvmhost1 -inf: vmhost1</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1">location loc_st_vmhost2 stonithvmhost2 -inf: vmhost2</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1">colocation c_drbd_libvirt_vm inf: g_vm ms_drbd_vmstore:Master ms_drbd_tools:Master ms_drbd_crm:Master</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1">order o_drbd-fs-vm inf: ms_drbd_vmstore:promote ms_drbd_tools:promote ms_drbd_crm:promote g_vm:start</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1">property $id="cib-bootstrap-options" \</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> dc-version="1.1.6-9971ebba4494012a93c03b40a2c58ec0eb60f50c" \</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> cluster-infrastructure="Heartbeat" \</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> stonith-enabled="true" \</font></div>
<div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> no-quorum-policy="freeze" \</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="1"> last-lrm-refresh="1337746179"</font></div>
</div><div style="font-size:12pt;font-family:'Times New Roman'"><br></div><div style="font-size:12pt;font-family:'Times New Roman'">This has been working well, however last week Pacemaker all of a sudden stopped the p_vm_myvm resource and then started it up again. I have attached the relevant section of /var/log/daemon.log - I am unable to determine what caused Pacemaker to restart this resource. Based on the log, could you tell me what event triggered this?</div>
<div style="font-size:12pt;font-family:'Times New Roman'"><br></div><div style="font-size:12pt;font-family:'Times New Roman'">Thanks,</div><div style="font-size:12pt;font-family:'Times New Roman'">
<br></div><div style="font-size:12pt;font-family:'Times New Roman'">Andrew</div></div></div><br>_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/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/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera<br>