dtc-xen_migrate

Langue: en

Version: 364135 (ubuntu - 25/10/10)

Section: 8 (Commandes administrateur)

NAME

dtc-xen_migrate - migrate a VPS to another Xen server

SYNOPSIS

LOCAL_VPS_ID DESTINATION_HOSTNAME [ DEST_VPS_ID ]

DESCRIPTION

dtc-xen_migrate This shell script is a part of the dtc-xen package that is to be used by the dtc panel to manage a Xen VPS server. Note that you need rsync in both the source and the destination dom0.

This script is used to move the content of a Xen virtual machine (VM) managed with dtc-xen to another Xen server of the same type. The VM destination will first be prepared, then the local VM will be shut down, then it's content will be transfered over using rsync.

Note that this is NOT a live migration, and down time of approximatively the time needed for the rsync will occure.

PARAMETERS

LOCAL_VPS_ID The DTC-Xen id of the VM, from 00 to 99.

DESTINATION_HOSTNAME Destination Xen server hostname to migrate to.

DEST_VPS_ID Destination DTC-Xen id of the VM, from 00 to 99.

EXAMPLE

dtc-xen_migrate 19 alpha.example.com 21

This will migrate the content of xen19 on the local machine to the destination server alpha.example.com using xen21 as VM name.

SEE ALSO

dtc_reinstall_os(8), dtc_kill_vps_disk(8)