[DRBD-user] VERY easy to use script for kvm/drbd/ha

Rasto Levrinc rasto.levrinc at linbit.com
Sat Jun 4 18:53:20 CEST 2011

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.

On Thu, June 2, 2011 9:43 am, joukoy wrote:
> I posted this to linux-ha, but maybe this is better place?
> I am trying to find easy-to-use distribution and/or tool for managing
> cluster with: - 2 hosts
> - drbd replication between hosts
> - HA for virtual machines & drbd
> But can't find anything that really fits my requirements, so I created a
> script...
> Now I have Scientific Linux 6 x86_64 installed in 2 identical machines
> with this configuration: - Gigabit ethernet between hosts
> - KVM virtualization
> - Pacemaker/Corosync, configured with DRBD-MC
> - LVM volume group, named "vg01" with free space for VM's
> - public key authentication, so I can run commands in both hosts
> When I run my script with "create" parameter, it will do the following:
> - Ask name for new virtual machine (GUI with zenity :) )
> - Ask disk size for VM
> - Create logical volume in both hosts
> - setup DRBD replication for volumes
> - Create new VM and configure it to use /dev/drbd? as harddisk
> - Open Virtual Machine Manager so user can modify settings for VM
> - Configure cluster to take care of drbd & VM

You should be able to all that with DRBD:MC. Well, the LVM part is
available if you are LINBIT customer.


: Dipl-Ing Rastislav Levrinc
: DRBD MC http://oss.linbit.com/drbd-mc/
: DRBD/HA support and consulting http://www.linbit.com/
DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.

More information about the drbd-user mailing list