Skip to content

two node cluster sharing logical volumes for kvm guests using ubuntu 10.04 with clvm and openais

October

apt-get install openais clvm
set locking type to 3 in /etc/lvm/lvm.conf
service corosync stop
aisexec (-f)
clvm -I openais -d2 (debugs to syslog, use -d1 for stdout)

if using san multipathing for fiber cards, install mutipath-tools and run multipath -ll (reboot if nothing present after adding volumes to san) then look for your wwn under /dev/mapper, pvcreate /dev/mapper/your-wwn# to ready lun

From → linux, virtualization

One Comment
  1. Siegfried permalink

    Thanks, tried forever to start aisexec but got message about socket in use, stopping corosync service was the key.

Leave a comment