3.1.0beta Teleportation

Postings relating to old VirtualBox pre-releases
bytejumper
Posts: 2
Joined: 11. Nov 2009, 16:16
Primary OS: OpenSolaris 11
VBox Version: OSE other
Guest OSses: XP, XP 64, 2003,2003 64, Vista, 2008, Windows 7, win 7 64bit, ubuntu, redhat

3.1.0beta Teleportation

Post by bytejumper »

One of the features listed in 3.1.0 is Teleportation. How exactly do we "test" this out. I don't see any options in the software or the manual regarding this. This is a great concept and i'd like to try it out. Thanks.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: 3.1.0beta Teleportation

Post by Sasquatch »

Did you bother to read the sticky here? It explains what it is and how it works. It's the same idea as on Xen. Both Hosts must have the machine registered and a common location need to be available.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Technologov
Volunteer
Posts: 3342
Joined: 10. May 2007, 16:59
Location: Israel

Re: 3.1.0beta Teleportation

Post by Technologov »

See Introduction to teleporting (aka Live Migration):
http://forums.virtualbox.org/viewtopic.php?f=15&t=24419
nike
Posts: 47
Joined: 7. Jul 2008, 00:00
Primary OS: Ubuntu 8.04
VBox Version: PUEL
Guest OSses: OS/2 1.2, Windows 3.11, OSX
Location: SPB
Contact:

Re: 3.1.0beta Teleportation

Post by nike »

Python shell in the trunk have 3 commands designed to simplify teleportation set up and operations:
- openportal: will prepare and start VM (hopefully correctly configured) to become teleportation target
- closeportal: will undo changes made by openportal
- teleport: will teleport currently running VM to given host:port
liangsuilong
Posts: 45
Joined: 19. Jun 2009, 14:34
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: Ubuntu, Windows XP, Fedora Rawhide

Re: 3.1.0beta Teleportation

Post by liangsuilong »

Teleportion looks very well. But I have some important question to ask.

Can I move a two-virtual-processor VM from a phyical machine which has VT to a physical machine which has no VT. Is it OK.? Will it crash when VM finish migration?

Another question is whether Virtualbox provide a GUI tool for teleportion. I know virt-manager in Fedora 12 can migrate the VM from one machine to another machine. You just need to click the mouse.

VirtualBox Web Console is quite suitable for remote management, especially for teleportion. Just hope it will be merged into VirtualBox mainline soon.
Technologov
Volunteer
Posts: 3342
Joined: 10. May 2007, 16:59
Location: Israel

Re: 3.1.0beta Teleportation

Post by Technologov »

liangsuilong :

You cannot run SMP guests (=two-virtual-processor VM) without VT. So you cannot migrate those guests either.
sandervl
Volunteer
Posts: 1064
Joined: 10. May 2007, 10:27
Primary OS: MS Windows Vista
VBox Version: PUEL
Guest OSses: Windows, Linux, Solaris

Re: 3.1.0beta Teleportation

Post by sandervl »

liangsuilong wrote:Teleportion looks very well. But I have some important question to ask.

Can I move a two-virtual-processor VM from a phyical machine which has VT to a physical machine which has no VT. Is it OK.? Will it crash when VM finish migration?

Another question is whether Virtualbox provide a GUI tool for teleportion. I know virt-manager in Fedora 12 can migrate the VM from one machine to another machine. You just need to click the mouse.

VirtualBox Web Console is quite suitable for remote management, especially for teleportion. Just hope it will be merged into VirtualBox mainline soon.
The settings of both source and target VMs have to match. That includes VT.

GUI integration may or may not be included in 3.1. (if not, then later)
Bernd Hohmann
Posts: 22
Joined: 16. Apr 2009, 10:09
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: XP

Re: 3.1.0beta Teleportation

Post by Bernd Hohmann »

sandervl wrote:GUI integration may or may not be included in 3.1. (if not, then later)
Will there be a feature that VBox can move/copy the VM-Images too during teleport? We have many servers and VMs but no NAS/SAN for performance (and money reasons).

Bernd
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: 3.1.0beta Teleportation

Post by Sasquatch »

Bernd Hohmann wrote:
sandervl wrote:GUI integration may or may not be included in 3.1. (if not, then later)
Will there be a feature that VBox can move/copy the VM-Images too during teleport? We have many servers and VMs but no NAS/SAN for performance (and money reasons).

Bernd
If you read the actual explanation of the feature here: http://forums.virtualbox.org/viewtopic.php?f=1&t=24424 you would see that it won't happen. They must use the same storage location, accessible by both Hosts in order to teleport the session. It's only the session, so only the actual memory is send to the other machine. As I said before, it's basics is the same as with Xen. You really don't want to send a 40 GB file over the network just to run the VM on a different Host. The actual downtime will be more than the downtime of the Host if it needs maintenance.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Technologov
Volunteer
Posts: 3342
Joined: 10. May 2007, 16:59
Location: Israel

Re: 3.1.0beta Teleportation

Post by Technologov »

Can it migrate across different host OSes ? Say Windows<->Linux or Linux32<->Linux64 ?
klaus
Oracle Corporation
Posts: 1133
Joined: 10. May 2007, 14:57

Re: 3.1.0beta Teleportation

Post by klaus »

Yes, teleportation across platforms is possible.
liangsuilong
Posts: 45
Joined: 19. Jun 2009, 14:34
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: Ubuntu, Windows XP, Fedora Rawhide

Re: 3.1.0beta Teleportation

Post by liangsuilong »

sandervl wrote:
liangsuilong wrote:Teleportion looks very well. But I have some important question to ask.

Can I move a two-virtual-processor VM from a phyical machine which has VT to a physical machine which has no VT. Is it OK.? Will it crash when VM finish migration?

Another question is whether Virtualbox provide a GUI tool for teleportion. I know virt-manager in Fedora 12 can migrate the VM from one machine to another machine. You just need to click the mouse.

VirtualBox Web Console is quite suitable for remote management, especially for teleportion. Just hope it will be merged into VirtualBox mainline soon.
The settings of both source and target VMs have to match. That includes VT.

GUI integration may or may not be included in 3.1. (if not, then later)
Do you mean that teleportation must need VT support? Do we just migrate a VM between two hosts whch have VT support? Should The VM be enabled VT feature too?

Another sample, A VM running on a non-VT host teleports to a VT host. Is it OK? Or a VM disabled VT running on a VT host migrate to a non-VT host? Is it OK too?

Just hope the document about teleportation will be finished soon.
sandervl
Volunteer
Posts: 1064
Joined: 10. May 2007, 10:27
Primary OS: MS Windows Vista
VBox Version: PUEL
Guest OSses: Windows, Linux, Solaris

Re: 3.1.0beta Teleportation

Post by sandervl »

liangsuilong wrote: Do you mean that teleportation must need VT support? Do we just migrate a VM between two hosts whch have VT support? Should The VM be enabled VT feature too?

Another sample, A VM running on a non-VT host teleports to a VT host. Is it OK? Or a VM disabled VT running on a VT host migrate to a non-VT host? Is it OK too?

Just hope the document about teleportation will be finished soon.
No, it's exactly like I said above: the VM settings must match. That means if the source uses VT-x/AMD-V, then the target must use it as well. If it doesn't, then the target can't use it either.
liangsuilong
Posts: 45
Joined: 19. Jun 2009, 14:34
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: Ubuntu, Windows XP, Fedora Rawhide

Re: 3.1.0beta Teleportation

Post by liangsuilong »

sandervl wrote:
liangsuilong wrote: Do you mean that teleportation must need VT support? Do we just migrate a VM between two hosts whch have VT support? Should The VM be enabled VT feature too?

Another sample, A VM running on a non-VT host teleports to a VT host. Is it OK? Or a VM disabled VT running on a VT host migrate to a non-VT host? Is it OK too?

Just hope the document about teleportation will be finished soon.
No, it's exactly like I said above: the VM settings must match. That means if the source uses VT-x/AMD-V, then the target must use it as well. If it doesn't, then the target can't use it either.

Thank you a lot.
Bernd Hohmann
Posts: 22
Joined: 16. Apr 2009, 10:09
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: XP

Re: 3.1.0beta Teleportation

Post by Bernd Hohmann »

Sasquatch wrote:
Bernd Hohmann wrote: Will there be a feature that VBox can move/copy the VM-Images too during teleport? We have many servers and VMs but no NAS/SAN for performance (and money reasons).
[...] You really don't want to send a 40 GB file over the network just to run the VM on a different Host. The actual downtime will be more than the downtime of the Host if it needs maintenance.
Teleporting the whole image has nothing to do with maintenance but with long term loadbalancing which is a typical piece of daily work for an VM admin (just moved 250GB Images around).

Bernd
Post Reply