well in the end i would have to add dns healthchecks too to the node
spawning. The puppet /etc/hosts approach just looked nice and easy.
I am on Amazon AWS, but i should be able to to it with nagios and some
scripts


On Tue, Jan 21, 2014 at 2:41 PM, Dirk Heinrichs <d...@recommind.com> wrote:

>  Am 21.01.2014 03:37, schrieb Peter Romfeld:
>
>  I have a cluster where all nodes must use hostnames, so we use
> /etc/hosts. I want to configure autoscaling for this cluster, but my
> biggest problem is the hosts file, so when a new node comes up all other
> nodes need to be notify that the hosts file changed, so the make pull the
> new file.
>
>
> Opposed to what Felix is thinking, my previous message was meant
> seriously. I don't see a trivial solution to your problem that involves
> Puppet and /etc/hosts. You'd need to:
>
> 1) Have the new node update the hosts file that Puppet delivers. What is
> two noeds come up at the same time? You'd need proper locking.
> 2) Puppet agents only run every 30 minutes, so you'll have a delay until
> all other nodes know the new one.
> 3) What happens when a node goes down?
>
> OTOH, what you want to do can be achieved with DHCP and DNS, such that the
> DHCP server updates DNS when a new client comes up.
>
> Bye...
>
>
>     Dirk
> --
>
> *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions
> *Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach
> *Tel*: +49 2226 1596666 (Ansage) 1149
> *Email*: d...@recommind.com
> *Skype*: dirk.heinrichs.recommind
> www.recommind.com
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/52DE1692.1060703%40recommind.com
> .
>
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAKiz-NcgayC4_RZHmBDsPqueE-8hT1HaUk8MftfjNxOmKKzULQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

<<Logo.gif>>

Reply via email to