- From: KC Braunschweig <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Re: Simultaneous software upgrade on multiple nodes
- Date: Thu, 10 Nov 2011 16:30:52 -0800
I haven't tried it myself, but saw this a while back and it looked promising:
https://github.com/websterclay/chef-dominodes
Basically does rolling restarts using a databag to implement locking.
KC
On Thu, Nov 10, 2011 at 4:16 PM, Ian Meyer
<
>
wrote:
>
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
>
> <
>
>
> wrote:
>
>>
>
>> If you use aws ec2 and Trac, I wrote a Trac plugin that does the
>
>> multi-node serial orchestration for push-button deployments:
>
>> http://trac-hacks.org/wiki/CloudPlugin
>
>> 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
>
>> <
>
>
>> SAGE Level IV, Chef Level 0.0.1
>
>>
>
>>
>
>
>
>
Archive powered by MHonArc 2.6.16.