OpenVZ Forum


Home » General » Discussions » DRBD?
Re: DRBD? [message #4557 is a reply to message #4556] Fri, 14 July 2006 13:19 Go to previous messageGo to previous message
cdevidal is currently offline  cdevidal
Messages: 24
Registered: June 2006
Location: Jacksonville, FL
Junior Member
wfischer wrote on Fri, 14 July 2006 09:10

yea - just compile and install DRBD's userland tools (you can get the source on www.drbd.org). Ensure that you use the same DRBD version of the userland tools as the DRBD version that is included in the OpenVZ kernel (I think in the OpenVZ kernel is currently drbd 0.7.17 - but check it to be sure).


I've always used precompiled RPMs but perhaps they're not the same version number. Thanks for the warning.

I could also compile SRPMs to match...


wfischer wrote on Fri, 14 July 2006 09:10

Then create a drbd device, and put the /vz filesystem on it (ensure that you run the mkfs.ext3 on the /dev/drbd0 device, not on the lower device like /dev/hda5 or so...).

In our example setup in the paper, we moved the /etc/sysconfig/vz-scripts/ directory and the /etc/sysconfig/vz file also to /vz/cluster/etc/sysconfig/vz-scripts and /vz/cluster/etc/sysconfig/vz (and put symlinks on the original locations). In that way you have the vz config also on the mirrored device.

We will setup a private OpenVZ cluster mirrored by drbd within the next two weeks - I'll try to give a complete documentation on how to setup this on the wiki if I have enough time.


Nifty!

If you don't, I will. I'm working on the same from my end on CentOS 4. I've done it with Heartbeat+DRBD+VMware, now it's time for a "real" virtualization suite Twisted Evil


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Modprobe Qemu accelerator module?
Next Topic: Debian Installer CD with OpenVZ
Goto Forum:
  


Current Time: Wed Oct 01 14:08:32 GMT 2025

Total time taken to generate the page: 0.11876 seconds