LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-17-2015, 12:59 PM   #1
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 473

Rep: Reputation: 29
Can virtualbox run live guest servers?


hi guys,

just a quick one on virtualbox...

could i have centos 7 running virtual box...then host another 3 vm's on it that are running live at the same time?
or is this best for vmware?

i would like centos 7
then another centos7 vm
debian vm
slackware vm (headless)

its a i5 with 8gb RAM...the vm's wont be doing much work,prob ssh into each to setup things and experiment
maybe run a couple of small wordpress web sites...nothing drastic...

any advice on the best way to get this result?
 
Old 04-17-2015, 01:05 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,453

Rep: Reputation: 2050Reputation: 2050Reputation: 2050Reputation: 2050Reputation: 2050Reputation: 2050Reputation: 2050Reputation: 2050Reputation: 2050Reputation: 2050Reputation: 2050
Sure, I have 5 VMs running 24/7 in VirtualBox on one of my CentOS 6 servers at work (mix of Debian, CentOS 6, and CentOS 7), 3 running 24/7 on my CentOS 6 server at home (Debian, CentOS 7, and Windows 7), 2 running 24/7 on my OpenSUSE laptop at home (Debian, CentOS 7), and 1-2 dotted here and there on other machines. RAM is going to be your biggest concern with only 8 GB. Keep each VM below 1-1.5 GB and don't do anything crazy on the host and you should be alright.

Last edited by suicidaleggroll; 04-17-2015 at 01:07 PM.
 
Old 04-17-2015, 03:16 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 16,346

Rep: Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376
I'll agree that 8G puts you kind of slim but if you configure them and use swap file to help out it should work. The more modern VM's have great support for allocating ram on newer hardware. It is possible to overprovision on some vm's.

As suicidaleggroll notes you can run many vm's. The number is limited based on each product but it is pretty big for most soho uses.

I'd think that you could limit ram use a bit by limiting window managers on servers.

It may be that a more resource hungry distro could run things like nginx server or what not. DSL is supposed to run xammp.
 
Old 04-17-2015, 03:48 PM   #4
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 473

Original Poster
Rep: Reputation: 29
does the standard virtualbox software come with this capability or do you have to get a "pro" version to accomplish this?

another user on a different forum said this:

"Hosting multiple VM's on the same machine is best done with dedicated software, Hyper-V (MS) and ESXI (VmW) are the big gorillas in this area.That would be my recommendation."

would enterprises ever use virtualbox...or am i better off learning to use ESXI or Hyper-V...although i dont know how practical it would be as it prob costs mega $$$$$$$$$$$$$$$$$$$$

ps"i can easily upgrade to 16GB RAM,no bother"

thanks for the input...
 
Old 04-17-2015, 04:04 PM   #5
Habitual
LQ Addict
 
Registered: Jan 2011
Posts: 8,238
Blog Entries: 11

Rep: Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287
Quote:
Originally Posted by sigint-ninja View Post
i can easily upgrade to 16GB RAM,no bother"
I have 16G of RAM and I have 2/3/4 open all day most days without issue.
 
Old 04-17-2015, 04:06 PM   #6
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,453

Rep: Reputation: 2050Reputation: 2050Reputation: 2050Reputation: 2050Reputation: 2050Reputation: 2050Reputation: 2050Reputation: 2050Reputation: 2050Reputation: 2050Reputation: 2050
The standard VirtualBox handles it just fine.
 
Old 04-17-2015, 04:39 PM   #7
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 473

Original Poster
Rep: Reputation: 29
thanks you guys...im off to go and play...
 
Old 04-17-2015, 09:42 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 16,346

Rep: Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376Reputation: 2376
There are plenty of choices. The choices for your hardware limit in some small way the choices. Normally the so called big iron stuff runs on dedicated servers that have special modern features to more closely integrate virtual and physical. That integration is how they tend to improve speeds.

Virtualbox is a stand alone item. Used on a server and maybe even under Solaris as a host it does well against many commercial products. I'd think that most would consider it a home to maybe middle sized project use. (that is just my guess) One could use it on anything. Commercial products offer some impressive features not found in virtualbox.

There are plenty of other free and commercial products to consider if you want but I'd suggest that you start with virtualbox and learn how the common tasks are done. Then move up to other if you wish.
 
Old 04-19-2015, 11:11 AM   #9
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
If your interest is just in running multiple servers, you also might look into Linux containers (LxC or Docker). They are a much more lightweight alternative to running lots of VMs on a single machine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
virtualbox won't run prog on ubutu guest mac host gav251 General 2 11-14-2013 07:16 AM
[SOLVED] Debian v6.0 - squeeze host with VirtualBox - run Windows XP as guest? larrym82 Linux - Virtualization and Cloud 6 12-26-2011 11:52 AM
Smallest linux live distribution for virtualbox to run under windows cola Linux - Distributions 4 12-17-2010 01:39 PM
LXer: Install Guest additions and run fullscreen mode on VirtualBox Guest OS | Linux LXer Syndicated Linux News 0 01-17-2010 05:30 PM
Xorg consumes too much CPU when SXCE is run as a VirtualBox guest crisostomo_enrico Solaris / OpenSolaris 1 01-29-2009 02:21 PM


All times are GMT -5. The time now is 02:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration