DRBD/Corosync/Pacemaker/MySQL on Ubuntu 12.04 LTS?

Hi -

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

To get over that one, switch to the pv-grub kernel:

https://library.linode.com/custom-insta … 04-precise">https://library.linode.com/custom-instances/pv-grub-howto#sph_ubuntu-12-04-precise

However, you'll find there are a couple things missing from the ubuntu 12.04 virtual kernel you have to add:

https://bugs.launchpad.net/ubuntu/+sour … ug/1155149">https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1155149

Also, if you got to where I did, and you switch kernels, purge the open-iscsi package as well.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct