<br><br><div class="gmail_quote">On Fri, Apr 8, 2011 at 5:32 PM, Adam Reiss <span dir="ltr"><<a href="mailto:Adam.Reiss@qlogitek.com">Adam.Reiss@qlogitek.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal">Good morning all!</p><p class="MsoNormal"> </p><p class="MsoNormal">I was hoping I could ask this group a question, as I’ve run into a snag in setting up HA/Pacemaker & Postfix. </p>
<p class="MsoNormal"> </p><p class="MsoNormal">I’m quite new to setting up HA, so please bear with me. <span style="font-family:Wingdings">J</span></p><p class="MsoNormal"> </p><p class="MsoNormal">I’ve setup the Heartbeat with the shared IP, and it responds on the network.</p>
<p class="MsoNormal"> </p><p class="MsoNormal">When I try and setup Postfix using the resource agent, Pacemaker seems to be having a hard time recognizing that Postfix was started. </p></div></div></blockquote><div><br></div>
<div>Pacemaker only realizes what the agent tells us.</div><div>So if Pacemaker doesn't know postfix is started then the agent is broken or misconfigured somehow.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"> I confirmed that postfix IS indeed running on restart. It’s being started BY Pacemaker, since I’ve removed the startup from ntsysv.</p><p class="MsoNormal">
</p><p class="MsoNormal">I’ve included everything I can think of to try and help.</p><p class="MsoNormal"> </p><p class="MsoNormal">Thank you in advance for your assistance!!</p><p class="MsoNormal"> </p><p class="MsoNormal">
</p><p class="MsoNormal"> </p><p class="MsoNormal">Heartbeat: 3.0.3-2.3.el5</p><p class="MsoNormal">Pacemaker: 1.0.10-1.4.el5</p><p class="MsoNormal">Postfix: 2:2.3.3-2.1.el5_2</p><p class="MsoNormal">CentOS: 5.5 (Final) Linux <a href="http://AFPMLVOPE2.ql.com" target="_blank">AFPMLVOPE2.ql.com</a> 2.6.18-194.32.1.el5 #1</p>
<p class="MsoNormal"> </p><p class="MsoNormal">Active / Passive</p><p class="MsoNormal">No Quorum</p><p class="MsoNormal"> </p><p class="MsoNormal">[root@AFPMLVOPE2 heartbeat]# crm configure show </p>
<p class="MsoNormal">node $id="08090224-3c46-4ef7-829c-9aeea0ed8b49" <a href="http://afpmlvope2.ql.com" target="_blank">afpmlvope2.ql.com</a></p><p class="MsoNormal">node $id="6b10abd3-e2d5-4e47-8ffd-d75629bb0e1d" <a href="http://afpmlvope4.ql.com" target="_blank">afpmlvope4.ql.com</a></p>
<p class="MsoNormal">primitive AFPMLVOPEHA ocf:heartbeat:IPaddr2 \</p><p class="MsoNormal"> params ip="172.16.XXX.XXX" cidr_netmask="32" \</p><p class="MsoNormal"> op monitor interval="30s"</p>
<p class="MsoNormal">primitive postfix ocf:heartbeat:postfix \</p><p class="MsoNormal"> params binary="/usr/sbin/postfix" config_dir="/etc/postfix"</p><p class="MsoNormal">property $id="cib-bootstrap-options" \</p>
<p class="MsoNormal"> dc-version="1.0.10-da7075976b5ff0bee71074385f8fd02f296ec8a3" \</p><p class="MsoNormal"> cluster-infrastructure="Heartbeat" \</p><p class="MsoNormal"> stonith-enabled="false"</p>
<p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal">Output from crm_mon</p><p class="MsoNormal"> </p><p class="MsoNormal">============</p><p class="MsoNormal">Last updated: Fri Apr 8 09:53:55 2011</p>
<p class="MsoNormal">Stack: Heartbeat</p><p class="MsoNormal">Current DC: <a href="http://afpmlvope2.ql.com" target="_blank">afpmlvope2.ql.com</a> (08090224-3c46-4ef7-829c-9aeea0ed8b49) - partition</p><p class="MsoNormal">
with quorum</p><p class="MsoNormal">Version: 1.0.10-da7075976b5ff0bee71074385f8fd02f296ec8a3</p><p class="MsoNormal">2 Nodes configured, unknown expected votes</p><p class="MsoNormal">2 Resources configured.</p><p class="MsoNormal">
============</p><p class="MsoNormal"> </p><p class="MsoNormal">Online: [ <a href="http://afpmlvope2.ql.com" target="_blank">afpmlvope2.ql.com</a> <a href="http://afpmlvope4.ql.com" target="_blank">afpmlvope4.ql.com</a> ]</p>
<p class="MsoNormal"> </p><p class="MsoNormal">AFPMLVOPEHA (ocf::heartbeat:IPaddr2): Started <a href="http://afpmlvope2.ql.com" target="_blank">afpmlvope2.ql.com</a></p><p class="MsoNormal"> </p><p class="MsoNormal">
Failed actions:</p><p class="MsoNormal"> postfix_start_0 (node=<a href="http://afpmlvope4.ql.com" target="_blank">afpmlvope4.ql.com</a>, call=4, rc=1, status=complete): unk</p><p class="MsoNormal">nown error</p><p class="MsoNormal">
postfix_start_0 (node=<a href="http://afpmlvope2.ql.com" target="_blank">afpmlvope2.ql.com</a>, call=4, rc=1, status=complete): unk</p><p class="MsoNormal">nown error</p><p class="MsoNormal"> </p><p class="MsoNormal">
</p><p class="MsoNormal">[root@AFPMLVOPE2 Operations]# /usr/sbin/ocf-tester -n postfix /usr/lib/ocf/resource.d/heartbeat/postfix; echo $?</p><p class="MsoNormal">Beginning tests for /usr/lib/ocf/resource.d/heartbeat/postfix...</p>
<p class="MsoNormal">* rc=7: Monitoring an active resource should return 0</p><p class="MsoNormal">* Your agent does not support the notify action (optional)</p><p class="MsoNormal">* Your agent does not support the demote action (optional)</p>
<p class="MsoNormal">* Your agent does not support the promote action (optional)</p><p class="MsoNormal">* Your agent does not support master/slave (optional)</p><p class="MsoNormal">* rc=1: Start failed</p><p class="MsoNormal">
Aborting tests</p><p class="MsoNormal">1</p><p class="MsoNormal"> </p><p class="MsoNormal">Maillog</p><p class="MsoNormal"> </p><p class="MsoNormal">Apr 8 10:08:46 AFPMLVOPE2 postfix/postfix-script: fatal: usage: postfix start (or stop, reload, abort, flush, check, set-permissions, upgrade-configuration)</p>
<p class="MsoNormal">Apr 8 10:08:47 AFPMLVOPE2 last message repeated 2 times</p><p class="MsoNormal">Apr 8 10:08:47 AFPMLVOPE2 postfix/postfix-script: starting the Postfix mail system</p><p class="MsoNormal">Apr 8 10:08:47 AFPMLVOPE2 postfix/master[3924]: daemon started -- version 2.3.3, configuration /etc/postfix</p>
<p class="MsoNormal">Apr 8 10:08:47 AFPMLVOPE2 postfix/postfix-script: fatal: usage: postfix start (or stop, reload, abort, flush, check, set-permissions, upgrade-configuration)</p><p class="MsoNormal">Apr 8 10:08:48 AFPMLVOPE2 last message repeated 3 times</p>
<p class="MsoNormal">Apr 8 10:08:48 AFPMLVOPE2 postfix/postfix-script: fatal: the Postfix mail system is already running</p><p class="MsoNormal"> </p><p class="MsoNormal"><img width="624" height="106" src="cid:image001.png@01CBF5D2.FAB16C60"></p>
<p class="MsoNormal"> </p></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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a><br>
<br></blockquote></div><br>