Information Technology Reference
In-Depth Information
5.5.7 Live Migration of a Guest
Beginning with version 3.1, VirtualBox includes a feature called teleportation
that allows a guest machine to move from one host to another while the guest
machine is running. Except for some rare cases, the source and destination hosts
need not run the same operating system or even the same type of hardware. In
other words, you can migrate a guest running on an Oracle Solaris host to a
Linux or Windows host.
The following steps are required to migrate a guest machine:
1. Ensure there is a TCP/IP network connection between the source and target
hosts. The migration will occur over a TCP connection.
2. Configure the original guest to use some sort of shared storage (NFS, SMB,
CIFS, or iSCSI) for all of its disk, CD-ROM, and floppy images.
3. On the target system, create a guest configuration that exactly matches the
hardware settings (e.g., processor, memory, network) of the guest that is
currently running on the source host.
4. On the target host, the guest machine must start listening for a teleportation
connection request instead of actually starting. The VBoxManage modifyvm
--teleporter command will perform this task.
5. Start the guest machine on the target host. Instead of starting, it will display
a progress bar while waiting for the teleportation request from the source.
6. Initiate the live migration by issuing a VBoxManage controlvm teleport
command on the source host system.
In this example, a guest machine named Solaris10 migrates from a host
named source to one named target . The Solaris10 guest configurations on
both hosts meet the guidelines listed above. On the target, place Solaris10 in
teleportation mode and start it. Because it is not currently in use, port 6000 will
be used for the teleportation connection.
target% VBoxManage modifyvm Solaris 10 --teleporter on \
--teleporter 6000
target% VBoxManage startvm Solaris10
On the host source where the guest Solaris10 is currently running, initiate
the live migration with the following command:
source% VBoxManage controlvm Solaris10 teleport --host source \
--port 6000
 
 
Search WWH ::




Custom Search