<div dir="ltr">Hi,<div><br></div><div>hope you guys can help me,</div><div><br></div><div>we have builded up a rabbitmq cluster using pacemaker resource called rabbitmq-cluster.</div><div>everything works as exptected till for maintenance reason, we shutted down the entire cluster gracefully.</div><div>at the startup we noticed all the user and permissions were dropped and probably also the quorum queues.</div><div>So investigating the resource agent (rabbitmq-cluster), i find out it callss this wipe function</div><div><br></div><div>rmq_wipe_data()<br>{<br>        rm -rf $RMQ_DATA_DIR > /dev/null 2>&1 <br>}<br></div><div><br></div><div>when the first start function is called </div><div><br></div><div>rmq_start_first()<br>{<br>    local rc<br><br>    ocf_log info "Bootstrapping rabbitmq cluster"<br>       rmq_wipe_data<br> rmq_init_and_wait<br>     rc=$?<br></div><div><br></div><div>So probably when all the cluster is fired up by pacemaker all the rabbitmq istances are wiped out.</div><div><br></div><div>the rabbitmq-cluster is quite old (3-4yo) and probably didnt take into account quorum queues which are presistent, so a full wipe is not acceptable.</div><div><br></div><div>So i moved to the RA called rabbitmq-server-ha which is quite huge and big script but im a bit lost because i notice also this one seems cleans mnesia folder.</div><div><br></div><div>So the third and last one is the RA rabbitmq-server  which seems simple resoruce but not manage cluster status but only simple actions like start stop etc.</div><div>i could probably build the cluster using this one + rabbitmq.conf file where i defined cluster istances, something like this.</div><div><a href="https://www.rabbitmq.com/docs/cluster-formation#peer-discovery-classic-config">https://www.rabbitmq.com/docs/cluster-formation#peer-discovery-classic-config</a><br></div><div><br></div><div>so im a bit lost because seems there is no easy way to build up a rabbitmq cluster using pacemaker.</div><div><br></div><div>can you guys help me heading on the correct way?</div><div><br></div><div>thanks</div><div><br></div><div>Damiano</div><div><br></div><div><br></div><div><br></div><div><br></div></div>