On 4/11/07, Rob Sterenborg <[EMAIL PROTECTED]> wrote: > > I'm not sure if this has been discussed before, because searching for > > things like "server" is not exactly a narrow search. > > > > Anyhow, I have two systems on which I run PolicyD. > > > > On the first, it was a simple setup: > > > > Postfix > > Policyd > > MySql > > --- all on one box (along with MailScanner too but that's not > relevant) > > > > Adding the second box, I read that I should simply change the policyd > > ... > > > Now, if #1 goes down, #2 can still send mail (the fail-safe mode). If > > #2 goes down, #1 doesn't care since he already has everything he > > needs to be able to send mail. > > > > Has anyone else used such a configuration? Is there an even better > > configuration than what I'm doing? > > What we have is 2 identical servers running Postfix, MySQL and Policyd. > Each server uses it's local MySQL and Policyd. > We turned on MySQL Dual Master Replication (please read up on the > subject if you're going to do things like that) for the Policyd database > so that both servers share the same Policyd information. If one server > goes down, the other can take over instantly with the same information. > Both servers are in use so if a server would go down, one server would > get the load of the other too, but we have sufficient hardware specs to > take that hit. > There is a catch when one server really does go down: MySQL replication > doesn't work anymore. You'll have to get the databases in sync again and > that can be a pain if you don't know how. >
Thanks for your informative reply. I'm off to go read up on MySQL Dual Master and replication. Regards, Angelo ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ policyd-users mailing list policyd-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/policyd-users