When you setup Corosync and Pacemaker with Debian 7.8 there is small bug. When you try to reboot system needs to stop pacemaker first and then Corosync. Otherwise reboot process will freeze. To fix this you need to do free things.
First make sure /etc/init.d/pacemaker has “# Required-Stop: corosync
#!/bin/bash”
### BEGIN INIT INFO
# Provides: pacemaker
# Required-Start: $network corosync
# Should-Start: $syslog
# Required-Stop: corosync $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Starts and stops Pacemaker Cluster Manager.
# Description: Starts and stops Pacemaker Cluster Manager.
### END INIT INFO
After this make sure you:
insserv -vr pacemaker
insserv -vr corosync
insserv -v pacemaker
insserv -v corosync
That is it.
Add your comment