Ask Your Question

Best practice for dividing node groups

asked 2013-01-22 11:16:07 -0600

empr gravatar image

updated 2013-01-22 13:39:33 -0600

llowder gravatar image


We have a group of about 200 web servers, all sharing the same apache configuration file. What would you guys recommend as the best solution for applying change to a group of nodes at a time?

I was thinking of something like:

source => [ "puppet://$server/apache/$group/apache.conf", "puppet://$server/apache/apache.conf", ], sourceselect => first

Is this a good idea?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-01-22 11:57:16 -0600

Rather than try to stagger rolling out config changes in code, I would use some sort of orchestration tool (be it mcollective, func or ssh in a for loop) to disable puppet on all the nodes, then use the same orchestration tool to apply the change to n nodes at a time.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-01-22 11:16:07 -0600

Seen: 151 times

Last updated: Jan 22 '13