Thanks for the quick response. Do you think it's more sensible to run 
cluebringer on each postfix box? My current design has two dedicated boxes for 
cluebringer. Is this overkill?

Thanks

From: [email protected] [mailto:[email protected]] 
On Behalf Of Nigel Kukard
Sent: 04 March 2011 10:10
To: [email protected]
Subject: Re: [policyd-users] Highly Available Cluebringer

On 03/04/11 08:29, Ian Mordey wrote:
Hi there
Has anyone got any information/experience with setting up cluebringer in a 
highly available environment? Active/Passive or Active/Active is fine by me.

I was thinking about having two dedicated cluebringer servers connected to the 
same DB server and using something like keepalived and VRRP for a virtual IP 
that moves over to the second box in the event of failure.  Will this be 
enough? I assume all the policies and quotas will be read from the database and 
everything will just carry on as normal.

I'd guess if you have users processing millions of messages a day then this 
must be more than one server. Is there any options in Postfix to pool the 
servers? Something like:

check_policy_service inet:10.10.10.1:10031 inet:10.10.10.2:10031

Then tweak the timeout to be low enough for it to retry the second server 
fairly quickly?


cluebringer can be load balanced, either with multiple multi-master DB's 
running a cluebringer each, or the db's being load balanced with cluebringer 
running on each mailserver/clsuter

If you have any problems while doing this, let me know ... the only issue we 
are aware of is a race condition on db insert when two records get inserted at 
the same time, I'd say one more report of this affecting a setup would push 
this to high priority and get it resolved within a few days rather than just 
looming around waiting for 'the correct' solution to pop up in my head :D

-N
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to