Two Virtualbox Installations on one Host?

Discussions related to using VirtualBox on Linux hosts.
Post Reply
kentborg
Posts: 4
Joined: 30. May 2008, 17:06

Two Virtualbox Installations on one Host?

Post by kentborg »

This is a question pertaining to server consolidation using Virtualbox.

Is it possible to have two installations of Virtualbox on a single host?

Why do this? Upgrade fears on servers! It would be nice to install a new Virtualbox version and just try one test guest to see if it works. OK, it seems work, reboot another guest under the new Virtualbox installation, etc.

It seems prudent to move multiple guests to a new Virtualbox version one at a time. Is this possible? (It is easy with Qemu...)


Thanks,

-kb
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post by TerryE »

Sadly not. On Windows VBox uses COM and looks up the VirtualBox.VirtualBox COM resource. Likewise on Linux all the key drivers do not embed version numbers in their names. So you'd really need to run the different versions in different VMs. Bugger, you can't do that either!! :lol:
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
sandervl
Volunteer
Posts: 1064
Joined: 10. May 2007, 10:27
Primary OS: MS Windows Vista
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux, Solaris

Post by sandervl »

It's only possible when you reinstall the drivers and reregister the COM components every time you switch the version. Depending on which versions you try, you might also run into configuration file incompatibilities. (when going from a newer to an older version of VBox)
kentborg
Posts: 4
Joined: 30. May 2008, 17:06

Linux Host: Willing to Hack

Post by kentborg »

I am running Virtualbox on a Linux (Ubuntu) host and am willing to do some hacking if it isn't too ugly.

For example, might I stick to the open source version and pass some magic environment variable to the compile? Think about it: Are the developers who work on Virtualbox not able to easily switch between versions when chasing some bug?


Thanks,

-kb, the Kent who really doesn't want to have to reboot every guest, all at once, into a new Virtualbox version and *hope* they will all be happy.
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post by TerryE »

You have four issues to address
  • Making pathing to binaries, shares, .VirtualBox hierarchy, etc. version relative
  • The TAP device driver is version specific
  • The XPCOM implementation and socket
  • Host/guest interoperabilty
But if you have access to the source, you can do what you are capable of doing.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Post Reply