Skip to content

Commit 68c9409

Browse files
Merge pull request rabbitmq#731 from bogdando/bug/1567355
Stop a rabbitmq pacemaker resource when monitor fails
2 parents b4da78a + 01dcd2b commit 68c9409

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/rabbitmq-server-ha.ocf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1479,6 +1479,7 @@ get_monitor() {
14791479

14801480
if [ -n "$master_name" ]; then
14811481
ocf_log info "${LH} master exists and rabbit app is not running. Exiting to be restarted by pacemaker"
1482+
stop_server_process
14821483
rc=$OCF_ERR_GENERIC
14831484
fi
14841485
fi

0 commit comments

Comments
 (0)