DRBD OpenVZ

filip.havlicek

New Member
Nov 7, 2014
4
0
1
Hello,

I have already set up LVM DRBD step by step from: http://pve.proxmox.com/wiki/DRBD

Everything works OK for KVM VMs.

But I need to set up DRBD for OpenVZ, how can I do that? I found this TUTORIAL, but I did not understand it.

I have created logical device /dev/drbdvg2/openvz with filesystem ext4 with 170GB (drbdvg2 has about 220GB)?

Then I mounted this device to /root/openvz on NODE1 and created this new storage (webgui Central ->Storage ->Add ->Directory (path to /root/openvz) - everything is OK - when I tried to create openvz container, I saw new storage for openvz.

But how to replicate this to NODE2 when I have not mounted logical device /dev/drbd g2/openvz to /root/openvz?

Or I missed something?
Here is image with some setting (dont look at size of PVE devices I do it wrong at the begging, but its not important yet:
Bez názvu.PNG

Thanks for your help.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!