Ask Your Question
1

Best practice for dividing node groups

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

empr gravatar image

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

llowder gravatar image

Hi,

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
1

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

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

Stats

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

Seen: 145 times

Last updated: Jan 22 '13