Re: [ClusterLabs] mail server (postfix)

2016-06-06 Thread Dimitri Maziuk
On 06/06/2016 03:04 AM, Vladislav Bogdanov wrote: ... > 5) promote service on nodeB - replace config and internally reload/restart > 6) start VIP on nodeB > > 1-2 and 5-6 pairs may need to be reversed if you bind service to a > specific VIP (instead of listening on INADDR_ANY). Yeah, that could

Re: [ClusterLabs] mail server (postfix)

2016-06-06 Thread Vladislav Bogdanov
05.06.2016 22:22, Dimitri Maziuk wrote: On 06/04/2016 01:02 PM, Vladislav Bogdanov wrote: I'd modify RA to support master/slave concept. I'm assuming you use a shared mail store on your imapd cluster? I want No, I use cyrus internal replication. to host the storage on the same cluster

Re: [ClusterLabs] mail server (postfix)

2016-06-05 Thread Dimitri Maziuk
On 06/04/2016 01:02 PM, Vladislav Bogdanov wrote: > I'd modify RA to support master/slave concept. I'm assuming you use a shared mail store on your imapd cluster? I want to host the storage on the same cluster with mail daemons. I want to a) stop accepting mail, b) fail-over drbd maildirs, then

Re: [ClusterLabs] mail server (postfix)

2016-06-04 Thread Vladislav Bogdanov
3 .6.2016 г. 20:33:01 GMT+03:00, Dimitri Maziuk wrote Sorry for top-post. I'd modify RA to support master/slave concept. I use the same approach to manage cyrus-imapd replicas, passing them different pre-installed config files, depending on operation, start, promote, or

Re: [ClusterLabs] mail server (postfix)

2016-06-04 Thread Digimer
On 04/06/16 01:27 PM, Dmitri Maziuk wrote: > On 2016-06-04 01:10, Digimer wrote: > >> We're running postfix/dovecot/postgres for our mail on an HA cluster, >> but we put it all in a set of VMs and made the VMs HA on DRBD. > > Hmm. I deliver to ~/Maildir and /home is NFS-mounted all over the

Re: [ClusterLabs] mail server (postfix)

2016-06-04 Thread Dmitri Maziuk
On 2016-06-04 01:10, Digimer wrote: We're running postfix/dovecot/postgres for our mail on an HA cluster, but we put it all in a set of VMs and made the VMs HA on DRBD. Hmm. I deliver to ~/Maildir and /home is NFS-mounted all over the place, so my primary goal is HA NFS server. I'd hesitate

Re: [ClusterLabs] mail server (postfix)

2016-06-04 Thread Digimer
On 03/06/16 01:33 PM, Dimitri Maziuk wrote: > Hi all, > > quick question: is anyone running an MTA on an active-passive cluster? > Specifically, I need to do a stop - wait for drbd fs to move over - > update symlinks - then start again -- on both nodes. So that on the > active node the MTA runs

[ClusterLabs] mail server (postfix)

2016-06-03 Thread Dimitri Maziuk
Hi all, quick question: is anyone running an MTA on an active-passive cluster? Specifically, I need to do a stop - wait for drbd fs to move over - update symlinks - then start again -- on both nodes. So that on the active node the MTA runs with "mail gateway" postfix config in /drbd/etc/postfix