On Nov 29, 2009, at 6:43 AM, Ohad Levy wrote:

>
>
> On Sun, Nov 29, 2009 at 6:31 AM, Christian Hofstaedtler <[email protected]>  
> wrote:
>  load sharing
> and/or
>  fault tolerance
>
> And both of these things are currently very complicated to do as
> long as the client has only one hostname to talk to.
>
> Why not change this?
>
> +1 - I think its acceptable for each client to connect to one server  
> and keep on using that server for its whole "puppet run".

I agree, although I'd simplify it and say, any connection mechanism  
should be connected to the server selection mechanism such that  
certain failures result in a reselection.

> a simple solution might be to implement a DNS SRV record (e.g. like  
> LDAP)  which allows the client to decide to which puppetmaster he  
> would like to connect to.
> this in time could be enhanced to get the server load etc (so it  
> could try to use another server or to wait for a while).

I agree, although this involves building, essentially, a server  
selection subsystem, which anyone who uses the server name would use  
to pick the server.  We can expand it over time, but I'd certainly  
like to start simply - support a list, and pick a new one if the  
current one starts throwing errors.

> I would be happy not to add any additional depedencies (even though  
> memcache is acceptable) - a specially a database, e.g. if I have 5  
> locations where i need HA + load sharing, i don't want to end up  
> maintaining 5 set of clusters.


I agree, and that was certainly one of my concerns.

-- 
Do you realize if it weren't for Edison we'd be watching TV by
candlelight? -- Al Boliska
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com

--

You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.


Reply via email to