OpenVZ - Life Migration with Bindmounts?

udo

Distinguished Member
Apr 22, 2009
5,977
199
163
Ahrensburg; Germany
Hi,
is it's possible to do life-migration with an openvz-client that use bindmounts?
I think about such a scenario:
A two node cluster also with drbd.
On top on the drbd a clusterfilesystem mountet on both nodes (with bindmounts to the openvz-client).
An nfs-mount also mountet on both nodes and with bindmount to the openvz-client.

If the life migration don't work, can i use offline migration without handwork on the target to mount the disks again? Also only stop, migrate, start?

Udo

PS: I can't try it, because my two servers are running 2.6.32 at this time (no openvz).
 
Hi,
is it's possible to do life-migration with an openvz-client that use bindmounts?
I think about such a scenario:
A two node cluster also with drbd.
On top on the drbd a clusterfilesystem mountet on both nodes (with bindmounts to the openvz-client).
An nfs-mount also mountet on both nodes and with bindmount to the openvz-client.

I dont think this is a good idea - at least it is not tested by many people.

If the life migration don't work, can i use offline migration without handwork on the target to mount the disks again? Also only stop, migrate, start?

vzmigrate also copies the '<vmid>.mount' scripts, so that should work.