Concurrent database connections, forman/puppet

When using Foreman/Puppet is it possible for multiple instances to share
the same back end database?

Reason I'm asking this I'm considering how to set up multiple puppet
masters and use a load balancer to route traffic to the "closest" master
using a multicast VIP. If there are multiple databases I'm concerned that
things will get out of sync.

or am I over thinking this?

··· --

Peter L. Berghold Salty.Cowdawg@gmail.com

http://blog.berghold.net

You can share the same database with Foreman just fine, it's the usual
way to implement a cluster for scaling.

I'd suggest adding a memcached instance and adding the foreman_memcache
plugin too, which Foreman will use for a shared internal cache among all
of your instances. Otherwise you'll have per-host caches which could
get out of sync.

··· On 01/08/14 18:52, Peter Berghold wrote: > When using Foreman/Puppet is it possible for multiple instances to share > the same back end database? > > Reason I'm asking this I'm considering how to set up multiple puppet > masters and use a load balancer to route traffic to the "closest" master > using a multicast VIP. If there are multiple databases I'm concerned > that things will get out of sync. > > or am I over thinking this?


Dominic Cleal
Red Hat Engineering