OpenVZ alongside VirtualBox
  • Hello,

    Has anyone tried OpenVZ and Virtualbox on same distribution. Lemme explain. I install a Linux distro (e.g. CentOS6) with OpenVZ (for Debian/SUSE containers for example) and on the same CentOS I have VirtualBox (or VMWare) for Windows (e.g. to install Photoshop/Fireworks or to install different images of Internet Explorer - 7, 8, 9)

    This will be a perfect development/testing environment for a Front-end/Back-end Developer like me. I do not have a machine to test this. At office I'm afraid I can't do this - if something goes wrong, I'll lose all my works /or would take much time to restore/re-install everything.

    Anyone with some experience on this ?
  • Not me, @nadim.

    Google can be very useful sometimes :-) I've just found about OpenNode (via a post on the OpenVZ forum).

    OpenNode looks like what you are looking for: running OpenVZ and KVM (for virtualisation) at the same time. One person also managed to do that by compiling the KVM module while running the OpenVZ kernel.

    As for VirtualBox or VMWare instead of KVM, any reason why? I've been using KVM for some time now and it works really well!
  • @Avinash. Thanks for the OpenNode link. Looks great. No particular reason to like VBox/VMWare instead of KVM. Just wanted to try this : http://www.webupd8.org/2011/09/test-websites-in-internet-explorer-9-8.html

    In my office, we have Proxmox installed in which we have several OpenVZ containers (Debians mainly) and 1 Windows Web Server 2008 running on KVM/QEMU. I cannot "mess" with the development server; but I can install/test on my machine. I already have several OpenVZ containers on my local machine (BTW, my machine is a CentOS 6 x64). I'm afraid if i install VirtualBox, OpenVZ may stop working (VirtualBox will perhaps use a different Kernel.. dunno really ?)

    But the better solution is, as you said and discussed yesterday with my boss, to have KVM. Time permitting, I'll have a go and perhaps share my experience here with you all.
  • Great. Don't hesitate to tell us about it!
  • Hello,

    Just a quick comment. I have OpenVZ + VirtualBox running on CentOS 6 (64bit) here in office. Was straight-forward to install. Simple steps (in order):

    1. Install CentOS (was already here quite a while)
    2. Install OpenVZ kernel (2.6.32-042stab037.1 x86_64)
    3. Install VirtualBox

    BTW the IE images from M$ s**k - More than 13GB wasted downloads.

    Nadim

    P.S. : Also at home i have Mint (Lisa). Have tried LXC and it worked quite well (though there aren't much documentation available). Will try OpenVZ on Mint and try to update this thread later.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!