- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Re: Change hostname and IP address on Chef server
- Date: Mon, 2 Jan 2012 11:37:38 -0700
On Monday, January 2, 2012 at 8:44 AM, Steffen Gebert wrote:
>
> It turned out to be faster to just set up the chef server again. Would
>
> be nice if there was an easy way to change the hostname....
>
>
>
>
>
Ouch, I have to do the change the DNS name of our server within the next
>
few days, too :-(
>
>
We're running just a hand full of clients at the moment, so manually
>
changing the address on client side would be no problem. But when I can be
>
sure that the server itself will not start anymore, I'm not sure, how to
>
proceed.
>
>
Is there an "official" recommendation? Is there an easy way to dump all
>
data and restore it after new installation?
Arthur was actually very close, the last remaining hurdle was to reconfigure
RabbitMQ with the right username, password and vhost. The chef-server
cookbook shows how to do this:
https://github.com/opscode/cookbooks/blob/master/chef-server/recipes/rabbitmq.rb#L56-69
The RabbitMQ docs explain that this happens because the config database is
stored in a directory named after the system's hostname[1]; I'm not sure why
RabbitMQ works this way.
--
Dan DeLeo
1.
http://www.rabbitmq.com/ec2.html#issues-hostname
Archive powered by MHonArc 2.6.16.