Resetting a RabbitMQ cluster in vRealize Automation 7.x
search cancel

Resetting a RabbitMQ cluster in vRealize Automation 7.x

book

Article ID: 325905

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

This article provides steps to reset a RabbitMQ cluster in vRealize Automation 7.x

Environment

VMware vRealize Automation 7.x

Resolution

Clean the DET file

  1. Login to each vRA node in the cluster through SSH.
  1. Run this command to clean the DET files:
cd /var/lib/rabbitmq/mnesia/rabbit@<NodeName>/
mv recovery.dets recovery.dets.bak
  1. 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

  1. Run this command on both nodes:
vcac-vami rabbitmq-cluster-config reset-rabbitmq-node command on both nodes.
  1. Run this command on the first node:
vcac-vami rabbitmq-cluster-config set-cluster-node command on the first node.
  1. 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.
  1. Run this command on the second node:
vcac-vami rabbitmq-cluster-config join-cluster username password cookie host use_longname

Noteusername/password/cookie/host/use_longname are the values from the output from step #3.