[Pacemaker] Pacemaker / Postfix startup problem...

Adam Reiss Adam.Reiss at qlogitek.com
Fri Apr 8 15:32:10 UTC 2011


Good morning all!

 

I was hoping I could ask this group a question, as I've run into a snag
in setting up HA/Pacemaker & Postfix.  

 

I'm quite new to setting up HA, so please bear with me. J

 

I've setup the Heartbeat with the shared IP, and it responds on the
network.

 

When I try and setup Postfix using the resource agent, Pacemaker seems
to be having a hard time recognizing that Postfix was started.  I
confirmed that postfix IS indeed running on restart.  It's being started
BY Pacemaker, since I've removed the startup from ntsysv.

 

I've included everything I can think of to try and help.

 

Thank you in advance for your assistance!!

 

 

 

Heartbeat:  3.0.3-2.3.el5

Pacemaker:  1.0.10-1.4.el5

Postfix:  2:2.3.3-2.1.el5_2

CentOS: 5.5 (Final)  Linux AFPMLVOPE2.ql.com 2.6.18-194.32.1.el5 #1

 

Active / Passive

No Quorum

 

[root at AFPMLVOPE2 heartbeat]# crm configure show


node $id="08090224-3c46-4ef7-829c-9aeea0ed8b49" afpmlvope2.ql.com

node $id="6b10abd3-e2d5-4e47-8ffd-d75629bb0e1d" afpmlvope4.ql.com

primitive AFPMLVOPEHA ocf:heartbeat:IPaddr2 \

        params ip="172.16.XXX.XXX" cidr_netmask="32" \

        op monitor interval="30s"

primitive postfix ocf:heartbeat:postfix \

        params binary="/usr/sbin/postfix" config_dir="/etc/postfix"

property $id="cib-bootstrap-options" \

        dc-version="1.0.10-da7075976b5ff0bee71074385f8fd02f296ec8a3" \

        cluster-infrastructure="Heartbeat" \

        stonith-enabled="false"

 

 

Output from crm_mon

 

============

Last updated: Fri Apr  8 09:53:55 2011

Stack: Heartbeat

Current DC: afpmlvope2.ql.com (08090224-3c46-4ef7-829c-9aeea0ed8b49) -
partition

with quorum

Version: 1.0.10-da7075976b5ff0bee71074385f8fd02f296ec8a3

2 Nodes configured, unknown expected votes

2 Resources configured.

============

 

Online: [ afpmlvope2.ql.com afpmlvope4.ql.com ]

 

AFPMLVOPEHA     (ocf::heartbeat:IPaddr2):       Started
afpmlvope2.ql.com

 

Failed actions:

    postfix_start_0 (node=afpmlvope4.ql.com, call=4, rc=1,
status=complete): unk

nown error

    postfix_start_0 (node=afpmlvope2.ql.com, call=4, rc=1,
status=complete): unk

nown error

 

 

[root at AFPMLVOPE2 Operations]# /usr/sbin/ocf-tester -n postfix
/usr/lib/ocf/resource.d/heartbeat/postfix; echo $?

Beginning tests for /usr/lib/ocf/resource.d/heartbeat/postfix...

* rc=7: Monitoring an active resource should return 0

* Your agent does not support the notify action (optional)

* Your agent does not support the demote action (optional)

* Your agent does not support the promote action (optional)

* Your agent does not support master/slave (optional)

* rc=1: Start failed

Aborting tests

1

 

Maillog

 

Apr  8 10:08:46 AFPMLVOPE2 postfix/postfix-script: fatal: usage: postfix
start (or stop, reload, abort, flush, check, set-permissions,
upgrade-configuration)

Apr  8 10:08:47 AFPMLVOPE2 last message repeated 2 times

Apr  8 10:08:47 AFPMLVOPE2 postfix/postfix-script: starting the Postfix
mail system

Apr  8 10:08:47 AFPMLVOPE2 postfix/master[3924]: daemon started --
version 2.3.3, configuration /etc/postfix

Apr  8 10:08:47 AFPMLVOPE2 postfix/postfix-script: fatal: usage: postfix
start (or stop, reload, abort, flush, check, set-permissions,
upgrade-configuration)

Apr  8 10:08:48 AFPMLVOPE2 last message repeated 3 times

Apr  8 10:08:48 AFPMLVOPE2 postfix/postfix-script: fatal: the Postfix
mail system is already running

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20110408/d12cd7f9/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 80756 bytes
Desc: image001.png
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20110408/d12cd7f9/attachment-0003.png>


More information about the Pacemaker mailing list