Store containers on iSCSI/DRBD storage [message #47207] |
Sat, 21 July 2012 01:31 |
e100
Messages: 3 Registered: July 2012
|
Junior Member |
|
|
I am a Proxmox user and have an idea on using block storage like DRBD or iSCSI for storing OpenVZ containers.
The Proxmox developers suggested that this idea should be implemented in OpenVZ so I am here presenting the idea to see what the OpenVZ community thinks.
The basic idea is:
When creating a new container a volume would be created on the iSCSI or DRBD lvm group.
A new file system would be created on the new volume.
That file system would be mounted and the container created in that new file system.
Whenever the container is stopped the file system would be unmounted
When the container is started the file system would be mounted, then the container started.
During live migration, at the right moment, the file system would be dismounted on the source node, then mounted on the destination node.
That would ensure that the file system is only ever mounted on one node at a time.
Does this seem like a good solution?
|
|
|