DRBD/Corosync/Pacemaker/MySQL on Ubuntu 12.04 LTS?
I'm working on setting up MySQL with DRBD/Pacemaker/Corosync on Ubuntu 12.04 LTS. The Internet appears to have some memory of there being Linode articles for 10.04 LTS that are now scrubbed from the library. I'm getting a couple errors:
First, it is looking for a kernel module when launching the cluster manager:
service cman start
Starting cluster:
Checking if cluster has been disabled at boot… [ OK ]
Checking Network Manager… [ OK ]
Global setup… [ OK ]
Loading kernel modules… FATAL: Module configfs not found.
[FAILED]
I think this module comes from open-iscsi (It looks like this is something that Linode doesn't compile in?), but, here we go with apt-get install open-iscsi:
Starting iSCSI initiator service iscsid [fail]
Setting up iSCSI targets [ OK ]
invoke-rc.d: initscript open-iscsi, action "start" failed.
dpkg: error processing open-iscsi (–configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
open-iscsi
and then I get a message in the syslog:
iscsid: Missing or Invalid version from /sys/module/scsitransportiscsi/version. Make sure a up to date scsitransportiscsi module is loaded and a up todate version of iscsid is running. Exiting…
Anybody have any luck making DRBD work with Linode? Rackspace has a number of tutorials saying how to do it with their Cloud Storage; I remember doing this previously with Linode on 10.04 LTS, but now, building a new cluster, it doesn't appear to work.
2 Replies
However, you'll find there are a couple things missing from the ubuntu 12.04 virtual kernel you have to add: