Re: chef + vlad/capistrano?


Chronological Thread 
  • From: David Balatero <dbalatero@gmail.com>
  • To: chef@lists.opscode.com
  • Subject: Re: chef + vlad/capistrano?
  • Date: Mon, 9 Mar 2009 09:37:40 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=BAPtKgIwiWQdwMjRxn+wj55Pwr8JG6Kylxc4V9mAwItvliO18Vo084Nt3LppRmomjV kTtmb3ZYJORgg8NVYT3JW//0pwtu/WJe6Mi5MXAd1kN5BGPh1arbrVufzokWjhQ0sVcp ZjaxjSIVwsNEeEW4mTdPGabjTvw97/uYxDH1g=

Correct me if I'm wrong, but this seems simple and reasonable enough -- the next part would be dynamically booting machines based on load.

On Mon, Mar 9, 2009 at 5:53 AM, Michal Frackowiak <michalf@wikidot.com> wrote:
Hi there,

we are also looking at Chef + Capistrano deployment for a scalable cluster of servers (in EC2) and we are puzzled about Chef and Capistrano working together. So far we came with a set of cookbooks that configure our servers and Chef really is working great here.

Our first idea is as follows:

1. New instances (nodes) register to chef-server first and get their configuration from there, depending on their type (app, web, worker, db etc). Role is passed as an attribute. We can launch new instances by Capistrano tasks.
2. Capistrano pulls list of :app, :web, :db servers dynamically from chef-server (or another registration server, iClassify?) through the role defer option.
3. We can run cap tasks on the cluster.

Obviously we want to add :app, :web or :worker on-the-fly, possibly with one or two commands, and later move to auto-scaling solutions.

I am not sure if this is an optimal design, and I am sure you already have an idea how Chef and Capistrano would eventually work. Any advice, ideo or a hint would be highly appreciated.

Thanks,

Michal


On Mar 2, 2009, at 5:31 PM, Adam Jacob wrote:

Long term, I believe we will get to a place where tools like Vlad and
Cap are orchestrating Chef Resources in real time, rather than
directly modifying the system.

---------------
Michal Frackowiak
COO of Wikidot Inc.
michalf@wikidot.com
http://michalfrackowiak.com

Wikidot Inc.
Pl. Sw. Katarzyny 9
87-100 Torun
POLAND
Phone: +48564754757
Fax: +48564754756
http://www.wikidot.com/company





Archive powered by MHonArc 2.6.16.

§