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.
-jesseOn 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
From: Jesse Campbell < " target="_blank"> >
Reply-To: " " target="_blank"> " < " target="_blank"> >
Date: Monday, February 11, 2013 10:47 AM
To: chef < " target="_blank"> >
Subject: [chef] Re: Re: Chef11 HA
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,
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:
On Feb 11, 2013, at 7:04 AM, Mark Pimentel wrote:
> Also, how are the cookbooks stored so that we could replicate those also?
bookshlef['data_dir'] = PATH
Currently all cookbook content files are stored as flat files in the data directory.
+ seth
Archive powered by MHonArc 2.6.16.