[Pacemaker] Dovecot Resource agent

Fiorenza Meini fmeini at esseweb.eu
Thu Sep 15 04:50:08 EDT 2011


Il 12/09/2011 15:13, Fiorenza Meini ha scritto:
> Il 12/09/2011 15:00, Florian Haas ha scritto:
>> Ciao Fiorenza,
>>
>> On 2011-09-12 14:45, Fiorenza Meini wrote:
>>> Hi there,
>>> I configured a test cluster for my email system: postfix + dovecot 
>>> (pop3
>>> + imap service).
>>> I have problem to monitor dovecot service (postfix is ok as OCF RA ); I
>>> configured  it as LSB resource and I'm experiencing a strange 
>>> behaviour:
>>> it does not start automatically, for example while starting all the
>>> cluster infrastructure or moving from a node to other node, but when I
>>> from command line give: crm resource start dovecot_res, the service is
>>> started.
>>>
>>> I'm wondering if anyone has configured successfully a RA for dovecot...
>>> Is there an OCF Resource Agent for dovecot ?
>> One was posted to the list not too long ago, but it was implemented in C
>> and there was fairly universal agreement that the code base was too 
>> complex.
>>
>> The contributor has been asked to rewrite in shell which would make the
>> RA much more maintainable.
>>
>> The related thread is here:
>>
>> http://www.gossamer-threads.com/lists/linuxha/dev/71552
>>
>> Cheers,
>> Florian
>>
> Thank for your response.
> I read all the thread before writing in this mailing list.
> I found a shell script as OCF RA for dovecot; it's quite old , I'm 
> going to test it and I'll let you know if it works.
>
> Regards
>
> Fiorenza
>
It was not a Resource Agent, but a service problem: even with ocf ra, 
dovecot version 2 was not started independently. Probably there is 
something on the service I should debug..
I installed dovecot 1.2 and it is managed perfectly by the cluster.

Regards

-- 

Fiorenza Meini
Spazio Web S.r.l.

V. Dante Alighieri, 10 - 13900 Biella
Tel.: 015.2431982 - 015.9526066
Fax: 015.2522600
Reg. Imprese, CF e P.I.: 02414430021
Iscr. REA: BI - 188936
Iscr. CCIAA: Biella - 188936
Cap. Soc.: 30.000,00 Euro i.v.





More information about the Pacemaker mailing list