I want to be able to scale up different types of nodes both quickly and 
moderately quickly, AUTOMATICALLY WITH NO USER INPUT, with Puppet doing the 
configureation.

My idea so far is:

A/ There are several nodes of each type sleeping, enough per type to last 
15 minutes of normal to abnormally high peak loads.

B/ There is a base Amazon image that I create for each node type, with 
Puppet on it stored, in case the load continues or business does :-)

C/ The system detects that the average load is increasing, or the short 
term load is getting excessive. A new instance is made from the correct 
type of instance, AND HERE:S the STICKY PART, the launching of the istance 
includes installing a unique cert on the instance for puppet, and also 
storing that cert/key in the puppet master (puppetmasters). Whomever needs 
to of the agent or puppetmaster contacts first and the new instance is 
under puppet control. 

D/ Whatever algorithm is needed to wait till things have calmed down, or 
immediately do an update using a catalog is to be determined (TBD).

E/ When the load is gone, the newer instance goes to sleep with the older 
instances.

F/ If the load average stays down, or to update the OS on older instances, 
the older instances are woken up  one at a time, their contents switched to 
a new node (or they are just retired if there is a lot of reduncy), the 
node is destroyed, a new node is created from the correct Amazon image, it 
is updated using it's catalog, and then any contents needed to function are 
pushed to it, and then it is put to sleep.

How does this sound? Is it possible? Also, I read somewhere that updating 
the OS of a puppet node requires COMPLETELY REMOVING PUPPET, EVERYTHING, 
doing the update, then putting puppet back on. Is this really true? Any 
automated way to do this?

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/b96e8c65-2b8f-4d4a-a6f5-ff132377c4ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to