Thanks for the PVE 6.4 release! The Live-Restore feature is especially interesting to me, because I've always looked for ways to make the restore faster in order to keep disaster recovery times a minimum.
Situation:
When using the former restore mode (full restore), I was used to change the number of vCPUs before starting the VM:
Can I somehow use Live-Restore on my backup Node without decreasing the VM's number of vCPUs on the main Node? Maybe somehow tell the live-restore application to change the number of vCPUs before actually starting it?
Situation:
- Main Node has 16 cores / 32 threads
- VM 101 has 32 vCPUs, because the database profits from multithreading
- Main Node has a cron job to backup the VM every 15 minutes to a local PBS datastore.
2,17,32,47 * * * * root vzdump 101 --mailnotification failure --mode snapshot --mailto xx@yy.de --storage local101 --quiet 1
- Backup Node has 4 cores / 8 threads
- Backup Node has a PBS datastore sync job every 15 minutes (which starts a few minutes later) to sync the remote datastore to the local SSDs (new VM id: 103).
- I've tried to Live-Restore the VM on the backup Node and encountered the following error:
Code:
new volume ID is 'localdata2tbssd:vm-103-disk-0'
rescan volumes...
VM is locked (create)
Starting VM for live-restore
An error occured during live-restore: MAX 8 vcpus allowed per VM on this node
error before or during data restore, some or all disks were not completely restored. VM 103 state is NOT cleaned up.
TASK ERROR: live-restore failed
When using the former restore mode (full restore), I was used to change the number of vCPUs before starting the VM:
sed -i 's/cores: 32/cores: '"$(nproc --all)"'/' /etc/pve/qemu-server/103.conf
Can I somehow use Live-Restore on my backup Node without decreasing the VM's number of vCPUs on the main Node? Maybe somehow tell the live-restore application to change the number of vCPUs before actually starting it?