LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 01-23-2012, 01:06 PM   #1
Nick_C
Member
 
Registered: Jan 2012
Location: London, England, UK
Distribution: CentOS 6, CentOS 7
Posts: 299

Rep: Reputation: Disabled
Which Linux for KVM virtualization host


Hi All,

Can anyone advise me which particular Linux distribution is most suited to acting as a KVM virtualization host. Last time I experimented with this was over two years ago so I guess things have changed a bit since then.

This will be on my main development/test workstation and will therefore be hosting various Windows and Linux virtualized partitions on the same physical machine as the KVM server host. About the only unusual requirement I have is to be able to use an nVidia dual-screen setup within the virtualized operating systems.

I have just created a test server using Microsoft Hyper-V and discovered the following items do not work as hoped for:
Dual screen - no support for this via Hyper-V
Audio - no audio except a half workaround using remote desktop
USB - no USB passthrough
SCSI tape streamer - no SCSI passthrough so no way of using SCSI connected tape drives from any of the virtual operating systems

As for which brand of Linux these are my thoughts so far:
Fedora - ok but has problems with nVidia dual-screen driver
CentOS - reputedly very stable but no cut-down version available.
Ubuntu - very low footprint version available but not sure about its general virtualization capabilities.

Any suggestions.

Thanks,
 
Old 01-23-2012, 03:49 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
CentOS 6 would be a safe bet. Not sure what you really mean by "cut down" here, you can run it with a minimal installation easily enough, but there's precious little benefit really in striving to make things small for the sake of it.
 
Old 01-24-2012, 05:00 AM   #3
Nick_C
Member
 
Registered: Jan 2012
Location: London, England, UK
Distribution: CentOS 6, CentOS 7
Posts: 299

Original Poster
Rep: Reputation: Disabled
By cut-down I just meant something minimal with the base basics necessary for virtualisation installed, without additional unneeded services etc. Intention being that the small the attack area the safer it will be.
 
Old 01-24-2012, 05:22 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
I know what you mean, but so many people strive for needlessly small installation sizes. Don't install X, don't install apache, don't install Samba, but the underlying system still works the way it does, the kernel is still the same kernel, and ripping out individual modules isn't what CentOS is about, and I don't consider it important in the context ad what you're trying to do.
 
Old 01-24-2012, 05:45 AM   #5
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,177

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
For Linux virtualization I run KVM in Salix XFCE, choosing the Basic installation option. Salix is a clone of Slackware. The Basic installation option is reasonably but not excessively minimalist. Because Slackware does not depart from the upstream developers' intentions you can follow the official documentation without hitting snags along the way. I find that other Linux distributions have a habit of tinkering with upstream releases, presumably to "improve" them. If anything all they do is unnecessarily muddy the water. I would be surprised if the requirements you have could not be met by Slackware or one of its derivatives. I found it very easy to set up KVM on Slackware, and with Software RAID-1 (increased read speed) and LVM (better than image-based) it is blazingly fast. Another advantage of Slackware is that the maintainer does not throw obstacles in your way if you want to update the kernel, or KVM, to the latest upstream version.
 
Old 01-24-2012, 09:26 AM   #6
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Rep: Reputation: 115Reputation: 115
If you're after the bare minimum server distro, you can try out RHEV - there's a free eval program for two months. The hypervisor image is around 100Mb.
http://www.redhat.com/promo/rhev3/tryrhev.html
 
Old 01-24-2012, 03:45 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
I guess you could build what you want at susestudio.com

Hard to beat esxi from vmware.

I forget the other one I wanted to tell about. Darn.

Last edited by jefro; 01-24-2012 at 03:48 PM.
 
Old 01-25-2012, 09:59 AM   #8
Nick_C
Member
 
Registered: Jan 2012
Location: London, England, UK
Distribution: CentOS 6, CentOS 7
Posts: 299

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
I guess you could build what you want at susestudio.com

Hard to beat esxi from vmware.

I forget the other one I wanted to tell about. Darn.
Yea but I want the host server to be on the same machine as the virtual OSs, ESXi is text mode only so does not allow that.
 
Old 01-25-2012, 12:21 PM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
the host IS the machine... it makes no sense to say the vm's aren't on the same machine as the host... they'd have to be floating in mid air or something!

And generally you should never run X on a proper server, if you are, you're doing it wrong!
 
Old 01-25-2012, 02:46 PM   #10
Nick_C
Member
 
Registered: Jan 2012
Location: London, England, UK
Distribution: CentOS 6, CentOS 7
Posts: 299

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
the host IS the machine... it makes no sense to say the vm's aren't on the same machine as the host... they'd have to be floating in mid air or something!

And generally you should never run X on a proper server, if you are, you're doing it wrong!
OK I probably didn't explain this fully. I am building a new main development workstation, this will have the host virtualization partition on it and will also run the virtualised operation systems on the same physical machine. I know not the ideal way of doing it but as this is my development machine that is what I am trying to do.
 
Old 01-28-2012, 04:50 PM   #11
Nick_C
Member
 
Registered: Jan 2012
Location: London, England, UK
Distribution: CentOS 6, CentOS 7
Posts: 299

Original Poster
Rep: Reputation: Disabled
Well finally got CentOS installed and now starting to install VMs. However been a lot more difficult getting this far than I had hoped; had problems seeing NTFS drives, now solved, also can still not get access to windows network. I am beginning to wonder if CentOS is the best Linux distro for what I am doing or would I find the same dificulties with any of them. Would I find something more mainstream like Fedora easier to get working?
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Which is best for Linux KVM virtualization.??? K@te Linux - Virtualization and Cloud 8 05-12-2011 04:17 PM
LXer: KVM Virtualization Performance With Linux 2.6.31 LXer Syndicated Linux News 0 09-22-2009 10:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 02:38 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
Open Source Consulting | Domain Registration