Any issues changing the IP Address of the Chef Server?


#1

I have recently reinstalled Chef Server on a machine with the same name as the old one. I built it on a network that I could bootstrap the installation. Now, it is time to migrate the data, shut down the old one and change the IP address of the new box to match the old one.

Are there any issues with RabbitMS-Server, Chef-Solr, etc. that I need to be aware of?

Thanks
Randy


#2

The only problem with moving Chef Servers that we’ve had is with Rabbit.
You’ll probably need to reconfigure Rabbit.

cd /var/lib/rabbitmq/mnesia/rabbit

sudo mv * /tmp
rabbitmqctl add_vhost /chef
rabbitmqctl add_user chef {password} #Password in solr.rb for amqp_pass
rabbitmqctl set_permissions -p /chef chef “." ".” ".*"
sudo /etc/chef$ /etc/init.d/rabbitmq-server start
sudo /etc/init.d/chef-solr-indexer start

On Fri, Mar 9, 2012 at 7:47 AM, Van Fossan,Randy vanfossr@oclc.org wrote:

I have recently reinstalled Chef Server on a machine with the same name as
the old one. I built it on a network that I could bootstrap the
installation. Now, it is time to migrate the data, shut down the old one
and change the IP address of the new box to match the old one.

Are there any issues with RabbitMS-Server, Chef-Solr, etc. that I need to
be aware of?

Thanks
Randy