P
pieterg
Guest
Hello,
I 'm trying to create the following setup with proxmox 1.5 (pve-manager/1.5/4660).
I want to use a samba fileserver on two different locations both accessing (r/w) the same drbd-disk (primary/primary setup), so I created:
pve-node1 (kernel 2.6.32-1-pve) with vm-samba1 (kvm debian 5.0.4 32-bits)
pve-node2 (kernel 2.6.32-1-pve) with vm-samba2 (kvm debian 5.0.4 32-bits)
drbd 8.3.7 configured on pve-node1 and pve-node2 with ocsf2 and lvm
lvm vg added as shared storage
both vm-samba1 and vm-samba2 need to use same drbd disk (primary/primary with ocfs2+lvm).
I can create the logical volume vm-10x-disk-1 on volume group drbd_vg on pve-node1 for vm-samba1, but I don't see how I can also use the same disk as disk on vm-samba2 on pve-node2.
I this supported?
Or should I create a different lvm volumegroup with a single (non-drbd) disk in it on both pve-nodes and configure the drbd-setup within the vm-samba1 and vm-samba2 virtual machines?
Help is appreciated about what's the best setup.
Thanks in advance,
Pieter
I 'm trying to create the following setup with proxmox 1.5 (pve-manager/1.5/4660).
I want to use a samba fileserver on two different locations both accessing (r/w) the same drbd-disk (primary/primary setup), so I created:
pve-node1 (kernel 2.6.32-1-pve) with vm-samba1 (kvm debian 5.0.4 32-bits)
pve-node2 (kernel 2.6.32-1-pve) with vm-samba2 (kvm debian 5.0.4 32-bits)
drbd 8.3.7 configured on pve-node1 and pve-node2 with ocsf2 and lvm
lvm vg added as shared storage
both vm-samba1 and vm-samba2 need to use same drbd disk (primary/primary with ocfs2+lvm).
I can create the logical volume vm-10x-disk-1 on volume group drbd_vg on pve-node1 for vm-samba1, but I don't see how I can also use the same disk as disk on vm-samba2 on pve-node2.
I this supported?
Or should I create a different lvm volumegroup with a single (non-drbd) disk in it on both pve-nodes and configure the drbd-setup within the vm-samba1 and vm-samba2 virtual machines?
Help is appreciated about what's the best setup.
Thanks in advance,
Pieter