Clean the DET file
- Login to each vRA node in the cluster through SSH.
- Run this command to clean the DET files:
cd /var/lib/rabbitmq/mnesia/rabbit@<NodeName>/
mv recovery.dets recovery.dets.bak
- Start RabbitMQ by running this command:
/etc/init.d/rabbitmq-server start
Note: If above steps do not start the RabbitMQ service, then reset the RabbitMQ cluster.
Resetting the RabbitMQ cluster
- Run this command on both nodes:
vcac-vami rabbitmq-cluster-config reset-rabbitmq-node command on both nodes.
- Run this command on the first node:
vcac-vami rabbitmq-cluster-config set-cluster-node command on the first node.
- Run this command on the first node:
vcac-vami rabbitmq-cluster-config generate_join_cluster_variables
Note: Make a note of username, password, cookie, host, and use_longname.
- Run this command on the second node:
vcac-vami rabbitmq-cluster-config join-cluster username password cookie host use_longname
Note: username/password/cookie/host/use_longname are the values from the output from step #3.