[chef] Re: Moving couchdb, validator/webui.pem and cookbooks to a new server


Chronological Thread 
  • From: Cliff Dickerson < >
  • To: "< >" < >
  • Subject: [chef] Re: Moving couchdb, validator/webui.pem and cookbooks to a new server
  • Date: Fri, 9 Mar 2012 08:47:06 +0000
  • Accept-language: en-US

What I did was:

Do couchdb replication to the new chef server (couchdb box) 
Delete the existing couchdb entries for webui and validator pems on the new 
couchdb (there will be duplicates and you have to compare. Had I been better 
at couchdb replication I think I could have filtered those entries out)
Copied over the /etc/chef stuff
Restarted chef
knife index rebuild


one thing to note in the /etc/chef/server.rb

checksum_path      "/var/cache/chef/checksums"

is the location of the actual cookbook files if you arent able to just re 
upload them. 



Cliff Dickerson
c: 213.590.3493

On Mar 8, 2012, at 5:14 PM, Van Fossan,Randy wrote:

> I have been following several threads on the list about backing up and
> restoring couchdb and re-uploading the cookbooks.   However, I need to
> move the couchdb, validator.pem, webui.pem and cookbooks to a new server
> of the same name.  I am migrating from Chef-server running on CentOS 5.7
> to a newly installed Chef-Server running on CentOS 6.2.
> 
> I am pretty sure I know what to do to backup and restore the couchdb.
> What do I need to backup / restore to migrate all the cookbooks and the
> chef-validator pubkey, the validation.pem private key and the webui.pem.
> 
> I think Kallen migrated his keys and the database. 
> 
> Thanks in advance
> Randy
> 
> 




Archive powered by MHonArc 2.6.16.

§