[PVE-User] vzmigrate: add --remove-area no

Lorenzo Quatrini lorenzo at gmk.it
Mon Sep 1 12:05:36 CEST 2008


Hi list,
I would like to know if there is a way to add the --remove-area no (and maybe
--keep-dst) optnios to the vzmigrate command, so that it leaves a copy of the
vm on the old node.

I tried to modify /usr/share/perl5/PVE/ConfigServer.pm but it doesn't work:

*** ConfigServer.pm.orig        2008-09-01 11:46:56.000000000 +0200
--- ConfigServer.pm     2008-09-01 11:39:04.000000000 +0200
***************
*** 970,975 ****
--- 970,976 ----

        @cmd = (@$remcmd, '/usr/sbin/vzmigrate');
        push @cmd, '--online' if $online;
+         push @cmd, '--remove-area no --keep-dst -v';
        push @cmd, $targetip;
        push @cmd, $veid;



How can I do to have a copy of the vm on the old server to speedup things on
subsequent migrations?

TIA

--
Regards
Lorenzo Quatrini



More information about the pve-user mailing list