On 31 Jan 2014, at 2:15 am, Michael Monette <mmone...@2keys.ca> wrote:

> Hello,
> 
> I am coming up short in my searches, but I don't know exactly what I am 
> searching for, hoping someone could point me in the right direction.
> 
> I have Pacemaker setup in active/passive on my Email server. The systems are 
> in sync using DRBD.
> 
> When there is a failure on node-1, everything fails over to node-2 and vice 
> versa. Everything actually works great. 
> 
> I have the mail servers sitting behind a proxy, which is also the MTA. The 
> problem is, whenever the mailstores failover, there is a persistent 
> connection going from the Proxy -> Mailstore that breaks, and any 
> incoming/outgoing mail cannot be delivered even though the email server is 
> back up. To fix this, I need to SSH into the proxy and restart the proxy 
> services to re-establish that persistent connection. 

You could create a new resource (script + definition in pacemaker) which does 
the ssh part in it start action (and set up a constraint the forces the new 
resource to restart when the MTA does).
Or you could bring the proxy into the cluster and have the proxy services 
managed by pacemaker.

> 
> Is there any way to include this as part of the failover in PaceMaker?
> 
> Something like:
> 
> <**Failure occured on mail-1**>
> mount DRBD resources on mail-2
> Assign the failover-ip to mail-2
> Start the email server on mail-2
> SSH into the proxy and restart the proxy service (From mail-2 using keys)
> 
> I am researching ways within the application itself to fix this problem, but 
> no luck yet. 
> 
> Thanks for any help,
> 
> Mike
> 
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker@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://bugs.clusterlabs.org

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
Pacemaker mailing list: Pacemaker@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://bugs.clusterlabs.org

Reply via email to