Results 1 to 18 of 18
  1. #1
    Join Date
    Feb 2010
    Location
    Inside a VPS
    Posts
    346

    Setup VPS under OpenVZ VPS. Is it possible ?

    I have a question.

    Can we setup a VPS inside a OpenVZ vps ? If can't, why ?

    Any comment will be appreciated.

    Thank you.

  2. #2
    Join Date
    Aug 2009
    Location
    Los Angeles
    Posts
    3,338
    No you can't setup a VPS inside a VPS,
    QuadraNet Enterprises | Providing Secure Infrastructure Solutions to modern businesses since 2001.
    QuadraNet is a globally recognized cloud solution provider ​with the Best-in-class responsive 24x7 customer support.​
    Locations: Los Angeles, Miami, Dallas, New Jersey, Chicago, Atlanta, Seattle & Amsterdam.
    Andrew Moore andrew.moore@quadranet.com Visit https://www.QuadraNet.com

  3. #3
    Join Date
    Feb 2010
    Location
    Inside a VPS
    Posts
    346
    Why?
    I've heard that it can install OpenVZ inside a XEN.

  4. #4
    Join Date
    Mar 2009
    Location
    Austin, TX
    Posts
    935
    Yes, I've done it before. It was a honeypot for HyperVM/Kloxo exploit testing right after the vaserv incident. It was an OpenVZ CT0 under a Xen HVM VPS.


    However, to your very first question, the answer is no. It's not possible to setup a VPS within an OpenVZ VPS. VZ is technically a glorified jail/container.

  5. #5
    Join Date
    Dec 2007
    Location
    Indiana, USA
    Posts
    19,196
    Being that you can run your own kernel in a Xen VPS I wouldn't see why it wouldn't be possible but I've never tried... In an OpenVZ VPS it would definitely not be possible as you would basically be sharing the system kernel.
    Michael Denney - MDDHosting.com - Proudly hosting more than 37,700 websites since 2007.
    Ultra-Fast Cloud Shared and Pay-By-Use Reseller Hosting Powered by LiteSpeed!
    cPanel • Free SSL • 100% Uptime SLA • 24/7 Support
    Class-leading support that responds in minutes, not days.

  6. #6
    Join Date
    Feb 2010
    Location
    Inside a VPS
    Posts
    346
    Thanks for the replies.

    What are other virtualizations which can be used to run vps under it?

  7. #7
    Join Date
    Oct 2007
    Location
    United States
    Posts
    1,182
    Quote Originally Posted by eSupun View Post
    Thanks for the replies.

    What are other virtualizations which can be used to run vps under it?
    You can run "VPS's" under a VMWare infrastructure if you really wanted you.
    www.opticip.com - Optic IP LLC

  8. #8
    Join Date
    Feb 2010
    Location
    Inside a VPS
    Posts
    346
    Ok. Now i see why it is impossible. Thanks for you all here commented.

  9. #9
    Join Date
    Feb 2010
    Location
    Colorado
    Posts
    58
    A vm inside a vm is a really bad idea. It will be very slow, and it will use up a lot more cpu.

  10. #10
    Join Date
    Mar 2010
    Location
    Ireland
    Posts
    412
    Hi,
    To answer your initial question:
    yes it is possible
    now the other question is is it usable and the answer to that one is no, not really.
    It can be done but rather as a scientific project/proof of concept than any real life situation.
    European Xen based VPS Hosting
    Linux VPS Hosting | 1Gb Uplink
    Wide range of distribution and turn-key applications available.

  11. #11
    Join Date
    Aug 2004
    Location
    Shanghai
    Posts
    1,475
    I do not agree with Wamoc and webangel_ie.

    What we are all talking about here is called "Nested virtualization". In fact, there was a talk at the last Xen Summit in Shanghai about it. There's a Chinese programmer, I guess that is working for Intel, that did some very nice work for nested virtualization. What happens with Xen, is that the hypervisor is aware of the fact that a virtual machine is running in a virtual machine. You continue to have the illusion of nested virtualization, while the hypervisor in fact talk directly to the VM inside the VM.

    The result with what did Qing He is that performances are not as bad as you may think. I would advise you to run the very latest Xen kernel though (4.0.0 or even the latest hg, as there has been some recent (few days ago) patches sent by Qing He on the xen-devel list).

    Slides: http://www.xen.org/files/xensummit_i...ested-virt.pdf
    Video: http://www.xen.org/media/Movies/XenS...ualization.MTS (1.1 GB HD format)

    In the slides, Qing He explains very well that there is no reason that nested virtualization would run so slow. Technically, he got some very good points.

    Note that the only thing that is possible is to run a domU inside a dom0 inside a dom0 (in other words, it's not possible to do HVM inside HVM, if I understood correctly). I did try all this, and it does work.

    Thomas
    GPLHost:>_ open source hosting worldwide (I'm founder, CEO & official Debian Developer)
    Servers & our leading control panel and our Xen VPS hosting, which are already included in Debian and Ubuntu
    Available in: Kuala Lumpur, Singapore, Sydney, Seattle, Atlanta, Paris, London, Barcelona, Zurich, Israel

  12. #12
    Join Date
    Feb 2010
    Location
    Inside a VPS
    Posts
    346
    Quote Originally Posted by gplhost View Post
    I do not agree with Wamoc and webangel_ie.

    What we are all talking about here is called "Nested virtualization". In fact, there was a talk at the last Xen Summit in Shanghai about it. There's a Chinese programmer, I guess that is working for Intel, that did some very nice work for nested virtualization. What happens with Xen, is that the hypervisor is aware of the fact that a virtual machine is running in a virtual machine. You continue to have the illusion of nested virtualization, while the hypervisor in fact talk directly to the VM inside the VM.

    The result with what did Qing He is that performances are not as bad as you may think. I would advise you to run the very latest Xen kernel though (4.0.0 or even the latest hg, as there has been some recent (few days ago) patches sent by Qing He on the xen-devel list).

    Slides: http://www.xen.org/files/xensummit_i...ested-virt.pdf
    Video: http://www.xen.org/media/Movies/XenS...ualization.MTS (1.1 GB HD format)

    In the slides, Qing He explains very well that there is no reason that nested virtualization would run so slow. Technically, he got some very good points.

    Note that the only thing that is possible is to run a domU inside a dom0 inside a dom0 (in other words, it's not possible to do HVM inside HVM, if I understood correctly). I did try all this, and it does work.

    Thomas
    Thank you very much for this nice comment. It helped me with my project.

  13. #13
    Join Date
    Mar 2010
    Location
    Ireland
    Posts
    412
    I just thought we were talking about deployment-ready solutions
    European Xen based VPS Hosting
    Linux VPS Hosting | 1Gb Uplink
    Wide range of distribution and turn-key applications available.

  14. #14
    Join Date
    Feb 2010
    Location
    Inside a VPS
    Posts
    346
    Do we have to set unique ip to each vps? Can't we share the ip?

  15. #15
    Join Date
    Mar 2010
    Location
    Ireland
    Posts
    412
    you can do port forwarding form one ip as always so different vps have different ports assigned but it wouldn't be possible to have two web servers listening on port 80 within the single ip (probably https is better example because http can be achieved with layer7 firewall and or http proxy)
    European Xen based VPS Hosting
    Linux VPS Hosting | 1Gb Uplink
    Wide range of distribution and turn-key applications available.

  16. #16
    Join Date
    Apr 2007
    Posts
    652
    Quote Originally Posted by LinuxFugleman View Post
    No you can't setup a VPS inside a VPS,
    You are very much incorrect.
    Justin Yancey | Northern Virginia & District of Columbia | https://www.linkedin.com/in/justinyancey

  17. #17
    Join Date
    Feb 2010
    Location
    Inside a VPS
    Posts
    346
    Quote Originally Posted by webangel_ie View Post
    you can do port forwarding form one ip as always so different vps have different ports assigned but it wouldn't be possible to have two web servers listening on port 80 within the single ip (probably https is better example because http can be achieved with layer7 firewall and or http proxy)
    what do you mean by "layer7 firewall and or http proxy" ?

  18. #18
    Join Date
    Mar 2010
    Location
    Ireland
    Posts
    412
    layer7 for linux http://l7-filter.sourceforge.net/protocols
    mod_proxy for apache http://httpd.apache.org/docs/1.3/mod/mod_proxy.html
    both of them allow you to control to some degree where http protocol connects based on the hostname rather than ip address so you can have different sites on different boxes.
    European Xen based VPS Hosting
    Linux VPS Hosting | 1Gb Uplink
    Wide range of distribution and turn-key applications available.

Similar Threads

  1. Setup Dedicated for VPS, OpenVZ
    By simdm80 in forum Dedicated Server
    Replies: 1
    Last Post: 03-04-2010, 09:38 PM
  2. 50 % openvz and xen vps Immediate setup big ram and HD
    By Up2vps in forum VPS Hosting Offers
    Replies: 5
    Last Post: 02-14-2010, 09:58 AM
  3. Replies: 5
    Last Post: 01-11-2009, 02:44 PM
  4. Replies: 5
    Last Post: 12-16-2008, 01:03 AM
  5. OpenVZ VPS | Free cPanel VPS License | Free Setup
    By comforthost in forum VPS Hosting Offers
    Replies: 0
    Last Post: 07-25-2008, 10:22 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •