Thread: Ubuntu Virtual Servers? ANyone tried?

  1. #1
    POeT GuY Matus's Avatar
    Join Date
    Feb 2008
    Location
    Bz
    Posts
    235

    Ubuntu Virtual Servers? ANyone tried?

    We have 5 servers on 5 different machines. File, Print, Database,Ldap, and a backup server. We got a nice heavy duty machine,. Planning on running all 5 servers on that one machine, each virtually...

    Is it possible? Has anyone tried before? btw can virtual box be ran solely terminal wise, no GUI? I've never tried that before...
    PoEms R InsPiRatiOns of LIfE ExpErienCes!!


  2. #2
    POeT GuY Matus's Avatar
    Join Date
    Feb 2008
    Location
    Bz
    Posts
    235
    Planning on running Ubuntu 8.04 64 bit Server edition. I don't think Lucid is stable to be trying it out ... Suggestions?
    PoEms R InsPiRatiOns of LIfE ExpErienCes!!


  3. #3
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by Matus
    Planning on running all 5 servers on that one machine, each virtually...

    Is it possible?
    I lack any kind of expertise at virtualisation, so I would not venture more than "yes" as a guess. Nonetheless, shouldn't the backup server be physically separate from the rest?

    Quote Originally Posted by Matus
    Planning on running Ubuntu 8.04 64 bit Server edition. I don't think Lucid is stable to be trying it out ... Suggestions?
    Perhaps you should reconsider Lucid in view that Ubuntu 10.04.1 is available?
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  4. #4
    POeT GuY Matus's Avatar
    Join Date
    Feb 2008
    Location
    Bz
    Posts
    235
    Quote Originally Posted by laserlight View Post
    I lack any kind of expertise at virtualisation, so I would not venture more than "yes" as a guess. Nonetheless, shouldn't the backup server be physically separate from the rest?


    Perhaps you should reconsider Lucid in view that Ubuntu 10.04.1 is available?
    True enough, perhaps the backup can be taken from the 5. will take that into consideration, im still googlng for maybe examples people have tried. Yea I did consider the Ubuntu Lucid, but as I've seen many bugs with the desktop. I think I'd stick to hardy for the time being
    PoEms R InsPiRatiOns of LIfE ExpErienCes!!


  5. #5
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    Note that you will need an a lot better machine than if you just run the 5 services in one OS. RAM is the most important. Virtual machines waste a lot of memory (duplicated OS footprint, each VM managing its own, etc). For 5 VMs, assuming the servers all have negligible load, you'll probably want at least 4GB.

    With that many VM running you will probably run into CPU performance issues also (all the switching).

    Running 3 VMs idle brings my machine (Core 2 Duo with 4GB RAM) to its knees.

  6. #6
    POeT GuY Matus's Avatar
    Join Date
    Feb 2008
    Location
    Bz
    Posts
    235
    Quote Originally Posted by cyberfish View Post
    Note that you will need an a lot better machine than if you just run the 5 services in one OS. RAM is the most important. Virtual machines waste a lot of memory (duplicated OS footprint, each VM managing its own, etc). For 5 VMs, assuming the servers all have negligible load, you'll probably want at least 4GB.

    With that many VM running you will probably run into CPU performance issues also (all the switching).

    Running 3 VMs idle brings my machine (Core 2 Duo with 4GB RAM) to its knees.
    I think hardware wise, no prob we can get enough ram and stuff. Tho i know still might run into probs like u say, but still wud love to try. just a quick question, do you know what tutorials wud b best to follow, or best said do u know if there are any ?
    PoEms R InsPiRatiOns of LIfE ExpErienCes!!


  7. #7
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    Quote Originally Posted by cyberfish View Post
    Note that you will need an a lot better machine than if you just run the 5 services in one OS. RAM is the most important. Virtual machines waste a lot of memory (duplicated OS footprint, each VM managing its own, etc). For 5 VMs, assuming the servers all have negligible load, you'll probably want at least 4GB.
    If you use VMWare ESXi it should reduce the amount of memory duplication, since it has some way of removing duplicate pages of memory and only keeping 1 copy that's shared between all the OS's that reference it. If all the VM's are the same OS, a lot of their memory blocks should be the same.
    But still, for 5 VM's I'd probably shoot for at least 4GB if not more.
    "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008

    "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010

  8. #8
    In my head happyclown's Avatar
    Join Date
    Dec 2008
    Location
    In my head
    Posts
    391
    I think 5 VMs would require a quad core and at least 8 Gb ram for smooth operation.

    Edit: And Virtualbox is awesome. I use it to run Windows 7 in Ubuntu and vice versa. So easy to use, just click and install the guest OS. An excellent piece of free software.
    Last edited by happyclown; 09-28-2010 at 07:08 PM.
    OS: Linux Mint 13(Maya) LTS 64 bit.

  9. #9
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    Why are you doing this? Really, why are you going the virtualization root?

    Have you considered lighter virtualization (lighter than "Virtual Box")?

    I'm running twelve servers through virtualization and about 30 virtual machines of various sorts on a single quad board with eight GiB of RAM. It isn't at all difficult if you have experience administering the server stack for whatever you are doing.

    How much processor and RAM you actually need depend on the software running on the VM and how the VM software manages resources. For example, if you are only running a local LDAP for a small company, you could probably get by with a 80 MiB slice with the right software stack.

    And you can of course combine different virtualization for different focus. I have a 20 MiB slice running a tiny HTML server in a container for purely static pages and a 1500 MiB slice running on a "Virtual Box" instance for the fancy stuff.

    Most importantly though, the security of virtualization is myth. You are still going to have to manage a lot of stuff even if your FILE server is supposedly isolated from the backup server. If you can hire a really good security administrator to configure your new box to run all the servers from real hardware, you'll probably be a lot better off.

    Soma

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 48
    Last Post: 09-26-2008, 03:45 AM
  2. Need help with Apache virtual servers
    By joeprogrammer in forum Tech Board
    Replies: 5
    Last Post: 09-27-2006, 05:45 AM
  3. Program with Shapes using Virtual Functions
    By goron350 in forum C++ Programming
    Replies: 12
    Last Post: 07-17-2005, 01:42 PM
  4. C++ XML Class
    By edwardtisdale in forum C++ Programming
    Replies: 0
    Last Post: 12-10-2001, 11:14 PM
  5. Exporting Object Hierarchies from a DLL
    By andy668 in forum C++ Programming
    Replies: 0
    Last Post: 10-20-2001, 01:26 PM