LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-11-2010, 02:55 AM   #1
TL_CLD
Member
 
Registered: Sep 2006
Posts: 366

Rep: Reputation: 45
Slackware as a kvm host for server consolidation


Hey all,

A while ago I started the process of consolidating some of the servers in my business. Things are going well, and ever so slowly I'm getting rid of a lot of old hardware, replacing it with shiny new VM's powered by Slackware 13 and VirtualBox 3.1.2

I have no complaints about this combo. It just works.

But then two things happened:
  1. I had a run-in with some Sun engineers over their VDI solution
  2. Oracle was at the core of a license fee debacle here in Denmark
  3. Oracle bought Sun
I had contacted Sun about their virtual desktop solution, and they willingly setup a test-environment at my offices. Sadly it couldn't really handle my requirements and, to be honest, the Sun VDI software suite was somewhat buggy. I can't afford solutions that don't behave well.

While I was testing Sun VDI, Oracle bought Sun. The Sun people couldn't answer any of my questions in regards to the future of their software (Sun VDI and VirtualBox) now that Oracle owned the IP's, and when I combined this knowledge with the fact that the Sun people more often than not was oblivious as to why their software failed, I started feeling a bit nervous about the future of VirtualBox, both in regards to license fees (Oracle! ARGH!) and technical prowess.

So I started looking around for other virtualization solutions, and naturally kvm (http://www.linux-kvm.org) came up as a possible choice.

I feel safe knowing that kvm is 100% FOSS. I like that it is closely coupled with the Linux kernel. I love that kvm is lean and mean (http://avikivity.blogspot.com/2008/0...code-size.html).

There's very little not to like about kvm.

So I guess the questions are:
  • How do you think a Slackware/kvm combo would fare as the basis for a server consolidation project?
  • Are there any issues I should be aware of in regards to Slackware and kvm?
  • Should I wait for Slackware 13.1, or would 13 do just as well? I'm in no hurry.
  • How is snapshots handled? It appears to be tightly coupled with LVM, with which I have very little experience. Are there other solutions?
All the VM's would run Slackware, if that matters.

Any and all suggestions/advice/ideas are more than welcome.
/Thomas
 
Old 02-11-2010, 08:49 AM   #2
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Quote:
Originally Posted by TL_CLD View Post
So I guess the questions are:
  • How do you think a Slackware/kvm combo would fare as the basis for a server consolidation project?
  • Are there any issues I should be aware of in regards to Slackware and kvm?
  • Should I wait for Slackware 13.1, or would 13 do just as well? I'm in no hurry.
  • How is snapshots handled? It appears to be tightly coupled with LVM, with which I have very little experience. Are there other solutions?
All the VM's would run Slackware, if that matters.
1) Slackware for both KVM hosts and guests works well as servers.

2) No KVM issues specific to Slackware I'm aware of.

3) Slackware stable and current 13 works well with KVM so no need to wait.

4) KVM snapshots are contained in separate files from the main guest containers and don't require LVM. LVM is a requirement for live migration of guests between hosts.

I think you'll find that both Slackware and KVM works well for both the hosts and guests. It helps to have multi-core CPUs, lots of RAM, large HDs and a fast network. Server consolidation brings its own set of challenges that go beyond the underlying hardware and OS. How to manage nearly every aspect of the physical and virtual machines is fair game for rethinking.
 
Old 02-12-2010, 01:06 AM   #3
TL_CLD
Member
 
Registered: Sep 2006
Posts: 366

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by Chuck56 View Post
1) Slackware for both KVM hosts and guests works well as servers.

2) No KVM issues specific to Slackware I'm aware of.

3) Slackware stable and current 13 works well with KVM so no need to wait.

4) KVM snapshots are contained in separate files from the main guest containers and don't require LVM. LVM is a requirement for live migration of guests between hosts.

I think you'll find that both Slackware and KVM works well for both the hosts and guests. It helps to have multi-core CPUs, lots of RAM, large HDs and a fast network. Server consolidation brings its own set of challenges that go beyond the underlying hardware and OS. How to manage nearly every aspect of the physical and virtual machines is fair game for rethinking.
Thank you for your reply Chuck56.

It's good to hear that Slackware+kvm is a solid combo. That means I only have to learn one new technology.

I'm going very slow with this consolidation project. One server at a time, lots of testing and no rushing. Slow and steady.

In regards to network, I've already benefited from virtualizing my PostgreSQL server and one of my custom apps. In the old setup, the custom app pulled a decent amount of data over the network from the PostgreSQL server. This is no longer the case, as it now connects to the PostgreSQL server over a dedicated internal network. It is MUCH faster, and it keeps the load out of my "regular" network. Hopefully something similar can be achieved with kvm.

I look forward to playing around with kvm, and hopefully it can both live up to my requirements and remain FOSS.

/Thomas
 
  


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
KVM: How to set up a private network between guests and the host kenneho Linux - Virtualization and Cloud 1 01-17-2010 11:19 AM
kvm networking with a wireless dhcp host extendedping Linux - Virtualization and Cloud 7 11-23-2009 04:29 AM
Using wicd on Slackware 12.2 doesn't register host name with DNS server lord_beavis Linux - Networking 4 10-19-2009 12:45 PM
Can't Ping Linux KVM from Other Machines on Host Subnet newmanium2001 Linux - Networking 5 05-19-2009 08:01 AM
LXer: EBS implements Novell SUSE Linux as foundation for major server consolidation project LXer Syndicated Linux News 0 02-15-2007 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:00 AM.

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