[chef] Re: Re: Re: Re: Simultaneous software upgrade on multiple nodes


Chronological Thread 
  • From: Ian Meyer < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Simultaneous software upgrade on multiple nodes
  • Date: Thu, 10 Nov 2011 19:16:05 -0500

I wrote a knife plugin called "batch" (gem install knife-batch) that is basically knife ssh, with the ability to specify how many servers to operate on at once with a sleep of however long you want in between these batches.

knife batch "role:foo" "command" -B 10 -W 10 (run command on 10 servers at once, with a wait of 10 seconds per batch)

It's pretty handy in cases where the -C option to knife ssh won't fit your needs.

- Ian

On Mon, Oct 24, 2011 at 12:51 AM, Ranjib Dey < "> > wrote:
I'll prefer knife ssh and pass  -C 1 (or 5 or whatever block side i need)
 

On Sun, Oct 23, 2011 at 1:52 AM, Rob Guttman < " target="_blank"> > wrote:
If you use aws ec2 and Trac, I wrote a Trac plugin that does the multi-node serial orchestration for push-button deployments:


It's really just a thin webui wrapper to pychef and boto.

- Rob


On Oct 22, 2011, at 9:55 AM, Brad Knowles wrote:

On Oct 22, 2011, at 3:10 AM, Anton Koldaev wrote:

Let's imagine we have 50 servers with and a distributed web application and we need to upgrade software on all of them. New software requires downtime while upgrade.
If upgrade is performed simultaneously on all servers the application will be totally unavailable for this time. How to avoid it?

I don't have personal experience with it, but other Chef experts I've heard have talked about using "rundeck" to handle the orchestration of things like this.  I would be very interested to hear what your thoughts would be on this software.

--
Brad Knowles < " target="_blank"> >
SAGE Level IV, Chef Level 0.0.1







Archive powered by MHonArc 2.6.16.

§