I can't find a way to start cluster (corosync+pacemaker) at boot time in Debian
I have updated a 2 node cluster with the following configuration on both nodes:
- Debian Wheezy 7.7
- Corosync v2.3.4
- Pacemaker v1.1.12
- Libqb v0.17.1
- Cluster-glue v1.0.12
- Resource-agents v3.9.6
- crmsh v2.1.0
I've installed the cluster software from source following the Compiling_on_Debian guide on Clusterlabs for Jessie.
Before installing I made sure there were no older corosync or pacemaker dependencies.
After all the configuratins I've started both corosync and pacemaker with
/etc/init.d/corosync start /etc/init.d/pacemaker/start
The cluster is up and running, but I can't find a way to start the cluster at boot time
I've tried adding the init.d scripts to runlevels, but I get this response and no effect (no symlinks created) on corosync
root@PC:~# update-rc.d corosync defaults update-rc.d: using dependency based boot sequencing
and this error on pacemaker
root@PC:~# update-rc.d pacemaker defaults update-rc.d: using dependency based boot sequencing insserv: Service corosync has to be enabled to start service pacemaker insserv: exiting now! update-rc.d: error: insserv rejected the script header
What is the correct way to make the cluster run at boot time? What daemon must be started and enabled?
P.s. In my older configuration (corosync 1.4.2 and pacemaker 1.1.7) all I had to do was setting START=yes in /etc/default/corosync, a file that is missing in this new version