- From: Adam Jacob <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Re: Can I have multi chef server instances running on the same host?
- Date: Fri, 6 Nov 2009 09:10:26 -0800
You want '-p 4003', or whatever port you want to start merb on for
those instances.
Adam
On Thu, Nov 5, 2009 at 10:47 PM, Dikang Gu
<
>
wrote:
>
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
>
> <
>
>
> wrote:
>
>>
>
>> On Wed, Nov 4, 2009 at 10:09 PM, Dikang Gu
>
>> <
>
>
>> 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:
>
>>
>
>
>
> <server.rb>
>
>
>
> --
>
> Arjuna Christensen, Software Development Engineer
>
> Opscode, Inc.
>
> E:
>
>
>
>
--
Opscode, Inc.
Adam Jacob, CTO
T: (206) 508-7449 E:
Archive powered by MHonArc 2.6.16.