- From: Bryan Berry <
>
- To:
- Subject: [chef] Re: Re: Re: Chef Orchestration
- Date: Tue, 23 Oct 2012 14:58:11 +0200
you could do that with knife exec
You don't really need orchestration as the operation completed on each
node is not dependent on the state of other nodes
http://wiki.opscode.com/display/chef/Knife+Exec
On Tue, Oct 23, 2012 at 2:54 PM, Mark Pimentel
<
>
wrote:
>
I get the release flag part as I have considered doing that as a trigger
>
point to trip the deployment.
>
I was looking for some way to manage an upgrade of an agent on 100+ nodes
>
that depend on whether the agent is running a job or not. So if running a
>
job, wait, otherwise shutdown, upgrade, start.
>
>
As for zookeeper, while I have taken a look, is there anything lighter
>
weight? Zookeeper seems like quite the application.
>
>
Any suggestions would be greatly appreciated.
>
>
Thanks.
>
>
>
On Mon, Oct 22, 2012 at 6:25 PM, Peter Donald
>
<
>
>
wrote:
>
>
>
> Hi,
>
>
>
> On Tue, Oct 23, 2012 at 4:52 AM, Mark Pimentel
>
> <
>
>
> wrote:
>
>>
>
>> Just curious to know if anyone is using chef to do multi-node deployment
>
>> orchestration.
>
>>
>
>> If so, how are you conducting the orchestration?
>
>>
>
>> What other non-chef tools are you using for the orchestration?
>
>
>
>
>
> When we need to do a multi-node release we typically;
>
> * flip the release flag wherever that may be (typically this means
>
> updating a data bag item with a new version)
>
> * each release is broken into several stages, for each stage we
>
> - perform a search to return a list of nodes to converge
>
> - converge a batch of nodes from the list of nodes until there are none
>
> left to converge
>
>
>
> if any converge fails we have a semi-adhoc process semi automated process
>
> of roll back and correct which usually just means reverting the data bag
>
> item and re running the release.
>
>
>
> We currently drive this from jenkins and had planned to use rundeck but
>
> never quite got around to it.
>
>
>
> --
>
> Cheers,
>
>
>
> Peter Donald
>
>
>
>
>
--
>
Thanks,
>
>
Mark
Archive powered by MHonArc 2.6.16.