replicated storage for CT HA

ben30

New Member
May 14, 2013
6
0
1
Hi all,

I know that for container HA I must have my containers on a nfs storage. But my question is : why we can't use replicated storage like drbd, or ceph, or sheepdog ? I don't find any info about that.
 
Openvz does have hooks where you could create scripts to mount/unmount filesystems on startup/shutdown etc.

I've had this idea that using the hooks it would be possible to store containers on drbd and maybe ceph/sheepdog too.

Starting a container the hook would
mount the filesystem on drbd volume.

Stopping a container the hook would unmount the filesystem on drbd.

Sounds simple but doing it right and making live migration work without corrupting the filesystem will take some work.

Then you still have the issue that this is a hack to proxmox so you really should integrate this directly into proxmox so the allocation of storage, formatting the new volume etc etc is all transparent to the proxmox user.

Long story short you can not do this because the benefit of doing this is too small when you consider the time involved to implement it.

So much easier to use NFS, if you need HA NFS you can find dozens of HA NFS using DRBD articles on the Internet.
 

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!