VirtualBox

source: vbox/trunk/doc/manual/en_US/dita/topics/teleporting.dita@ 107390

最後變更 在這個檔案從107390是 107390,由 vboxsync 提交於 2 月 前

Docs: bugref:10705. bugref: 10829. The docs build has been modified to split generated refentry dita files and the user manual files and the following commits from doc's team git repo has been applied:

0946136c74dda0483704db891345cb39548b4e28 Started consolidating known issues and troubleshooting information
845b847e6a8e778b38a57867e25ee5e086a73800 Added individual topics for list of known issues, integrated into Troubleshooting section.
bb574836aac775889bd61e4a72f489617fcb7d18 Removed EFI firmware from experimental features for 7.2
6d2e68b244869991e713d170ecd239739d99ba56 Moved known issues into Known Issues section
e2630c896561587718b5c3197c384a38d07014d5 Merge branch 'VBP-1461_experimental-features' into 'main'
0512e2cce51f49ccdc56f3381a2a0c924f2bd278 Feedback on known issues
a77d6c980f6ff5cad9d32b2fb9290990093a03fa Restructured host and guest OS topics
988af5cc9628f5de0806531bc98686f691a911fd Updates with feedbback from Jacob
982a61c9f25b22b745ec483e763e3d88efe59c40 Included feedback from Jacob
93181c8c6cc2d9a26bcccb1145cb0423c0d9f4c9 Updated known issues with feedback from Klaus
8bc369561c383f09b409fe5e44f507440b3735fb Created Legacy Guest OS section
d7932f55accdab7a03666302d58b8c941cd48be2 Moved known issues to more appropriate places for the info
2a4aa094ba8a7ac6894d2a777316eabf41746580 Further moving of known issues
baeabd5308c5519a4dc26b4197be9b00e419a85a Updated links to cli_topics

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 5.0 KB
 
1<?xml version='1.0' encoding='UTF-8'?>
2<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
3<topic xml:lang="en-us" id="teleporting">
4 <title>Teleporting</title>
5
6 <body>
7 <p><ph conkeyref="vbox-conkeyref-phrases/product-name"/> supports <i>teleporting</i>. Teleporting is moving a
8 virtual machine over a network from one <ph conkeyref="vbox-conkeyref-phrases/product-name"/> host to another,
9 while the virtual machine is running. This works regardless of the host operating system that is running on the
10 hosts. You can teleport virtual machines between Oracle Solaris and macOS hosts, for example. </p>
11 <p>Teleporting requires that a machine be currently running on one host, which is called the <i>source</i>. The host
12 to which the virtual machine will be teleported is called the <i>target</i>. The machine on the target is then
13 configured to wait for the source to contact the target. The machine's running state will then be transferred from
14 the source to the target with minimal downtime. </p>
15 <p>Teleporting happens over any TCP/IP network. The source and the target only need to agree on a TCP/IP port which
16 is specified in the teleporting settings. </p>
17 <p>At this time, there are a few prerequisites for this to work, as follows: </p>
18 <ul>
19 <li>
20 <p>On the target host, you must configure a virtual machine in <ph
21 conkeyref="vbox-conkeyref-phrases/product-name"/> with exactly the same hardware settings as the machine on
22 the source that you want to teleport. This does not apply to settings which are merely descriptive, such as
23 the VM name, but obviously for teleporting to work, the target machine must have the same amount of memory and
24 other hardware settings. Otherwise teleporting will fail with an error message. </p>
25 </li>
26 <li>
27 <p>The two virtual machines on the source and the target must share the same storage, hard disks as well as
28 floppy disks and CD/DVD images. This means that they either use the same iSCSI targets or that the storage
29 resides somewhere on the network and both hosts have access to it using NFS or SMB/CIFS. </p>
30 <p>This also means that neither the source nor the target machine can have any snapshots. </p>
31 </li>
32 </ul>
33 <p>To configure teleporting, perform the following steps: </p>
34 <ol>
35 <li>
36 <p>On the <i>target</i> host, configure the virtual machine to wait for a teleport request to arrive when it is
37 started, instead of actually attempting to start the machine. This is done with the following
38 <userinput>VBoxManage</userinput> command: </p>
39 <pre xml:space="preserve">VBoxManage modifyvm <varname>targetvmname</varname> --teleporter on --teleporter-port <varname>port</varname>
40 </pre>
41 <p><varname>targetvmname</varname> is the name of the virtual machine on the target host and <varname>port</varname> is a TCP/IP port number to be used on both the source and the target hosts. For example, use 6000. See <xref href="../cli_topics/vboxmanage-modifyvm.dita"/>. </p>
42 </li>
43 <li>
44 <p>Start the VM on the target host. Instead of running, the VM shows a progress dialog, indicating that it is
45 waiting for a teleport request to arrive. </p>
46 </li>
47 <li>
48 <p>Start the VM on the <i>source</i> host as usual. When it is running and you want it to be teleported, issue
49 the following command on the source host: </p>
50 <pre xml:space="preserve">VBoxManage controlvm <varname>sourcevmname</varname> teleport --host <varname>targethost</varname> --port <varname>port</varname>
51 </pre>
52 <p>where <varname>sourcevmname</varname> is the name of the virtual machine on the source host, which is the machine that is currently running. <varname>targethost</varname> is the host or IP name of the target host on which the machine is waiting for the teleport request, and <varname>port</varname> must be the same number as specified in the command on the target host. See <xref href="../cli_topics/vboxmanage-controlvm.dita"/>.</p>
53 </li>
54 </ol>
55 <p>For testing, you can also teleport machines on the same host. In that case, use localhost as the hostname on both
56 the source and the target host. </p>
57 <note>
58 <p>In rare cases, if the CPUs of the source and the target are very different, teleporting can fail with an error message, or the target may hang. This may happen especially if the VM is running application software that is highly optimized to run on a particular CPU without correctly checking that certain CPU features are actually present. <ph conkeyref="vbox-conkeyref-phrases/product-name"/> filters what CPU capabilities are presented to the guest operating system. Advanced users can attempt to restrict these virtual CPU capabilities with the <userinput>VBoxManage modifyvm --cpuid-portability-level</userinput> command. See <xref href="../cli_topics/vboxmanage-modifyvm.dita"/>.</p>
59 </note>
60 </body>
61
62</topic>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette