Chef HA storage attach failed


#1

hi

. I have setup all the configuration sucessfully of setup High Availability: DRBD but when run
chef-server-ctl stop keepalived and chef-server-ctl ha-status. unable to get expected result means failover is not happening.

log file /var/log/opscode/keepalived/cluster.log getting below error.

Cannot become drbd primary!
Thu, 30 Nov 2017 17:20:13 +0000: HA storage attach failed.

Please suggest.


#2

Manoj,

From the look of it, it appears you are trying to use a deprecated HA https://docs.chef.io/server_high_availability.html. This configuration has been unsupported and discouraged for some time. The newer HA, which is commercial only, is https://docs.chef.io/install_server_ha.html.

Cheers,