[Pacemaker] Pacemaker / Postfix startup problem...
Raoul Bhatia [IPAX]
r.bhatia at ipax.at
Wed Apr 13 11:58:46 UTC 2011
hi!
i'm the author of the postfix ra and will take a look in the next
days.
please bear with me and nag me, if i'm not replying back to you...
(i'm currently in the middle of some cluster migrations and haven't
got that much time to check the list)
cheers,
raoul
On 04/08/2011 05:32 PM, Adam Reiss wrote:
> 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
>
>
>
>
>
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
--
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc. email. r.bhatia at ipax.at
Technischer Leiter
IPAX - Aloy Bhatia Hava OG web. http://www.ipax.at
Barawitzkagasse 10/2/2/11 email. office at ipax.at
1190 Wien tel. +43 1 3670030
FN 277995t HG Wien fax. +43 1 3670030 15
____________________________________________________________________
More information about the Pacemaker
mailing list