Proxmox VE + DRBD HA Storage

I think I will go back to my first configuration. I tried now to work with ocfs2 on a lvm of two harddisks per node in a primary primary cluster the performance of the vm's is very good. But I got problems with live migration, because both systems mounted the same drbd storage. So if I migrate one machine to the other it seems to work but then after shutting down my vm after migrating , my files of the vm disappeared.

Current migration scripts delete the original data after rsync. Of course, this is not what you want if you have shared storage ;-)

But vzmigrate has an option keep data:

vzmigrate --remove-area no [--online] [-v] destination_address CTID

- Dietmar
 
no, but i guess you can modify qmigrate yourself (just for testing).

the lines:

Code:
eval { run_command (2, "qm destroy $vmid"); };
logmsg (0, "destroy local vm failed") if $@;

needs to be disabled.