[chef] Re: Re: Re: Re: Re: Chef11 HA


Chronological Thread 
  • From: Vaidas Jablonskis < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Chef11 HA
  • Date: Mon, 11 Feb 2013 21:29:35 +0000

This might be slightly unrelated to this conversion, but what I wonder what is stored in postgres database? What happens when this database gets corrupted or data is lost, for instance?

Thanks,
Vaidas


On 11 February 2013 19:13, Jesse Campbell < " target="_blank"> > wrote:
My intention was to upload cookbooks to all servers that are replicating that database, hoping that it would check the filesystem for the existence of the checksum files, rather than just looking at the database.

-jesse


On Mon, Feb 11, 2013 at 2:05 PM, Adam Jacob < " target="_blank"> > wrote:
Not going to be an option – the files themselves are stored outside of the database (which makes sense, if you think about the total havoc that would be released if you stored them in the database, even as blobs).

Private Chef has HA built in via DRBD, and its what we recommend to everyone. (HA active/passive, with as many front-end servers as you need.)

Best,
Adam


In chef 10, if the checksum of the uploaded cookbook content was already in the couch database, then the file would not get uploaded to the disk.
Is this the same in chef 11? I'd like to use a replicated database without needing to synchronize the chef bookshelf store.


On Mon, Feb 11, 2013 at 1:17 PM, Seth Falcon < " target="_blank"> > wrote:
Hi Mark,

On Feb 11, 2013, at 7:04 AM, Mark Pimentel wrote:
> Also, how are the cookbooks stored so that we could replicate those also?

The Chef 11 Server uses the bookshelf component to store cookbook content. The default data directory is: /var/opt/chef-server/bookshelf/data. This can be configured via chef-server.rb config as:

bookshlef['data_dir'] = PATH

Currently all cookbook content files are stored as flat files in the data directory.

+ seth







--
Vaidas Jablonskis



Archive powered by MHonArc 2.6.16.

§