I am trying set up Chef 12 High Availability as delineated in the Chef
I am creating 3 instances in ec2.
- Primary Backend
- Secondary Backend
- Primary Frontend
On the primary backend I am adding a second IP to eth0. This will be my VIP
IP. I configure it to allow it to move to the secondary if it needs to.
My chef-server.rb looks like this:
ha[‘provider’] = 'aws’
ha[‘aws_access_key_id’] = 'xxxxxx’
ha[‘aws_secret_access_key’] = 'xxxxxx’
ha[‘ebs_volume_id’] = 'vol-8ef6ae8d’
ha[‘ebs_device’] = ‘/dev/xvdg’
If I paste the HA stuff into /etc/opscode/chef-server.rb on the primary
backend and then run chef-server-ctl reconfigure the process dies with
If I leave the HA config out and run chef-server-ctl reconfigure the
process completes but obviously I do not have HA.
I am wondering if I did the backend VIP stuff wrong. I thought about using
an EIP but those assume a public IP up front and it doesn’t seem to be the
What the heck am I doing wrong???