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

Dietmar Maurer dietmar at proxmox.com
Mon Sep 1 12:35:23 CEST 2008


 
Just use the vzmigrate script. Why do you need
the web interface for that?


> -----Ursprüngliche Nachricht-----
> Von: pve-user-bounces at pve.proxmox.com 
> [mailto:pve-user-bounces at pve.proxmox.com] Im Auftrag von 
> Lorenzo Quatrini
> Gesendet: Montag, 01. September 2008 12:06
> An: pve-user at pve.proxmox.com
> Betreff: [PVE-User] vzmigrate: add --remove-area no
> 
> 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?
>




More information about the pve-user mailing list