The only documentation I know of is:
http://reductivelabs.com/trac/puppet/wiki/PuppetScalability
It's not really what you're after but someone on the list is bound to do
something similar. Peoples?
Regards
James Turnbull
- --
Author of:
* Pulling Strings with Puppet
(http://www.amazon.com/gp/product/1590599780/)
* Pro Nagios 2.0
(http://www.amazon.com/gp/product/1590596099/)
* Hardening Linux
(http://www.amazon.com/gp/product/1590594444/)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJT44C9hTGvAxC30ARAinVAKCsirDS1efGFOSghO82hsOUeNjqxACg0gvi
wMTKw3OmufR0cuzJQBnW6Vc=
=uXQJ
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The only documentation I know of is:
Eric Singer wrote:
> Hi,
> I'm the UNIX systems administrator at the company I work for and we're
> in the planning stage of setting up LDAP and Puppet servers. For
> high availability we're current thinking about dedicating two of our
> lower end Linux servers for the LDAP implementation and I'm thinking
> both servers should be Puppet Master servers as well. One server
> being primary and the other is seconday which is ready to pick up
> incase the other fails.
>
> LDAP doesn't appear to need any special cluster failover software to
> perform this kind of primary with secondary backup setup, but I can't
> find any mention of high availability setups with the Puppet Master
> server.
http://reductivelabs.com/trac/puppet/wiki/PuppetScalability
It's not really what you're after but someone on the list is bound to do
something similar. Peoples?
Eric Singer wrote:
> both servers should be Puppet Master servers as well. One server
> being primary and the other is seconday which is ready to pick up
> incase the other fails.
>
The only documentation I know of is:
http://reductivelabs.com/trac/puppet/wiki/PuppetScalability
It's not really what you're after but someone on the list is bound to do
something similar. Peoples?
Regards
James Turnbull
Since puppet doesn't have a concept of producers and consumers (or master and slaves) already, I would suggest against working yourself into that mindset with respect to scalability - view it as a clustered service and go from there.
>
> Hi,
> I'm the UNIX systems administrator at the company I work for and we're
> in the planning stage of setting up LDAP and Puppet servers. For
> high availability we're current thinking about dedicating two of our
> lower end Linux servers for the LDAP implementation and I'm thinking
> both servers should be Puppet Master servers as well. One server
> being primary and the other is seconday which is ready to pick up
> incase the other fails.
You can probably do this with DRBD and Heartbeat. You want to put
your Puppetmaster's configs, SSL certificates, manifests, etc all on
the DRBD. Let heartbeat swap the DRBD, VIP, and Puppet between the
two as usual.
Adam
How can the state files be shared between servers?
--
Digant C Kasundra <dig...@stanford.edu>
Technical Lead, ITS Unix Systems and Applications, Stanford University
How can the state files be shared between servers?
> If you want to do failover with puppet servers and you are using
> environments, there's a major gotcha that I really should add to that
> page...
>
>
> If a puppet client connects to server A, downloads the compiled
> manifest, and then starts requesting files via the puppet:///
> protocol, and in the middle of all these short lived requests the
> server switches over to Server B, that server doesn't necessarily know
> what environment the client should be using, as that is stored in a
> file on the server.
>
>
> The only feasible solution is to somehow share those state files
> between servers. This may or may not be feasible in your environment
> (no pun intended...)
DRBD.
Adam
Please note... This is not a solution for load balancing. Only one
machine at a time can mount the partition...
>
> I would agree. With DRBD and uCARP almost any service can be made to
> work as a active-passive cluster. It is not for the faint of heart
> tho... Of course if you are managing systems with Puppet you probably
> aren't faint of heart. ;)
>
> Please note... This is not a solution for load balancing. Only one
> machine at a time can mount the partition...
You could even pull this off with DRBD and good old Heartbeat with a
custom init handler.
Adam
Considering a load-balanced environment, it seems this might not be optimal. Perhaps the puppetmaster need the ability to store the state information in a database.
A document database, a-la CouchDB, would be great here.
Adam