3 .6.2016 г. 20:33:01 GMT+03:00, Dimitri Maziuk <dmaz...@bmrb.wisc.edu> 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 demote. Best, Vladislav >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 and on the passive: with "send-only" config in >/etc/postfix. > >Off the top of my head it looks like defining two postfix resources >that >both start/stop the same postfix only at different times/on different >nodes should do the trick. Any gotchas I'm not seeing? Better ways to >accomplish it? > >(I know running an MTA that way is not the Approved Way(tm), I have my >reasons for wanting to it like this.) > >TIA _______________________________________________ Users mailing list: Users@clusterlabs.org http://clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org