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.
 

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!