[chef] Re: Re: Re: Re: Can I have multi chef server instances running on the same host?


Chronological Thread 
  • From: Dikang Gu < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Can I have multi chef server instances running on the same host?
  • Date: Fri, 6 Nov 2009 14:47:16 +0800
  • 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=WEOv5sYLOPFHnhpHHCu0R5Jdxv/Y1QtgPgYhXqlAJg0IZqcJ7/E5y0hwpVG070jh79 UHNsGqGJ3FcRBO4cdQk/LNS7Mj8zq98uQtlh+YkOZ3cS+cWD4qn+ekX/ZGUkVsAP9AEq kPrhEtwhQby3hbTqiBMMTpBsaVk2j+s/q1MSM=

Thanks Adam! it woks!

And I have another question (sorry to disturb you so many times...)

After the configuration, what's the command line I should use to start another chef server instance? Because the port 4000 and 4001 have been used, how could I assign new ports for the new chef server instance?

Thanks very much for your help!
Dikang


On Fri, Nov 6, 2009 at 1:05 PM, Arjuna Christensen < "> > wrote:
Hello,

On 6/11/2009, at 6:03 PM, Dikang Gu wrote:

Hi Adam,

Thanks very much for your information.

But I could not find the couchdb_database config option in my /etc/chef/server.rb... Is it because that it is not supported in my current version (0.7.12)?

It most certainly is supported in Chef 0.7.12, Just add the line:
couchdb_database "foo"
The other default configuration options are in this file: http://github.com/opscode/chef/blob/master/chef/lib/chef/config.rb#L102-104

Perhaps it is time for a configuration reference wiki page =)

Thanks
Dikang

On Fri, Nov 6, 2009 at 3:36 AM, Adam Jacob < " target="_blank"> > wrote:
On Wed, Nov 4, 2009 at 10:09 PM, Dikang Gu < " target="_blank"> > wrote:
> and they will not share each other's data?

Sure.  What you'll need to do is alter the couchdb_database config
option in /etc/chef/server.rb for each separate environment.  You'll
also want to set up separate stomp queues if you are using the
indexer.

Adam

--
Opscode, Inc.
Adam Jacob, CTO
T: (206) 508-7449 E: " target="_blank">

<server.rb>

-- 
Arjuna Christensen, Software Development Engineer
Opscode, Inc.
E:  " target="_blank">





Archive powered by MHonArc 2.6.16.

§