LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 04-18-2010, 11:05 AM   #1
fdeak
LQ Newbie
 
Registered: Jan 2007
Distribution: Slackware-14.0, Slackware-current
Posts: 21

Rep: Reputation: 2
Need an advice: best virtualisation for 24x7 LAMP (joomla) server


Hello slackware users,

My task is to set-up a dedicated LAMP server to host a site with joomla (this is basically LAMP + joomla which is a PHP-based content management system). Beside the basic web content, the site will hold a large amount of sample videos and similar large files (2TB on a RAID is available a lot of them will be used).

I googled a lot, and I read a lot about all the virtualisation solutions such as kvm, xen, virtualbox, vmware, openvz and vserver, I more or less understand their properties, but I cannot decide which one to choose.

I tried a few of them but I have no experience about its long term usage, stability etc.

In short I need an advice from people who successfully running real-word sites with some virtualisation solution. Basically I would like to know which one to use for the more robust, stable server.

Only read further if you have a similar system.

I would like to use some kind of virtualisation solution for the joomla server, because
  • I have no trust in such systems, so if it is hacked I will just recover from a backup (or reinstall) the guest, but I do not need to go to the server-park. (after it, I have to find out how it was hacked)
  • perhaps later we would like to use some other services which is also good if they are separated

I would like to use Slackware as a host and a guest.

I would like to put one file-system to the large raid array, and share it among the virtual-servers if it is possible (there is only one server now but there could be more with different applications). Or do I need to use lvm on the raid for the different servers?

Here is what I think:
  • Because I want to "run linux on linux", first I thought that a container based solution (vserver, openvz) is perfect for the job, because of the low overhead and because I can use the whole file system for the storage, and I can share free space with other services in the future. The problem is vserver and openvz are big patches for the kernel, but I would like to change slackware as small as possible. So I would like to stay with the kernel of slack-13.0. openvz does not even support 2.6.29 while vserver is, but I have to compile a new patched kernel. So the the options here are to use a different kernel with openvz, or use the same but patched kernel with vserver.
  • Another option is to use "real" virtualisation solutions such as kvm, xen, virtualbox and vmware. It seems that kvm is the future, because it is already in the official kernel and "powered" by Red Hat, so it will be well supported. I likely will choose kvm.

As i wrote I tried a few of them but I have no experience about its long term usage, stability, so I want here about which one is used in real word servers, what kind of problems (stability) they have, etc.?

Thanks for your time,
fdeak

Last edited by fdeak; 04-18-2010 at 12:45 PM.
 
Old 04-18-2010, 02:00 PM   #2
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
I've been using KVM and software RAID with Slackware guests on Slackware hosts for a couple years to host LAMP and Sendmail systems. This setup works very well for me from a stability and robustness perspective.
 
Old 04-20-2010, 04:02 PM   #3
fdeak
LQ Newbie
 
Registered: Jan 2007
Distribution: Slackware-14.0, Slackware-current
Posts: 21

Original Poster
Rep: Reputation: 2
Thanks Chuck56!
Are you using the default kernel? And if yes, are you using kvm modules from the slackware kernel or a newer one from the kvm site?

One answer for this question means that only a few people use slackware for this kind of purpose or the question was wrong?

fdeak
 
Old 04-20-2010, 04:13 PM   #4
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Quote:
Originally Posted by fdeak View Post
Thanks Chuck56!
Are you using the default kernel? And if yes, are you using kvm modules from the slackware kernel or a newer one from the kvm site?
I use the default kernel of Slackware 13 and add the most recent kvm-kmod and qemu-kvm. I used the stock kvm modules for a while but the kvm project releases updates rapidly enough to justify installing kvm-kmod.

The kvm setup works better for me than when I used VMWare Server 1.x a couple years ago.
 
Old 04-21-2010, 12:40 AM   #5
TL_CLD
Member
 
Registered: Sep 2006
Posts: 366

Rep: Reputation: 45
I started testing KVM a couple of months ago, and am now running 8 Windows XP guests (all in daily use by different people) and 2 Slackware guests (test servers). I'm using the latest kernel from kernel.org (oldconfig with the generic Slackware config) and qemu-kvm from their development Git repository. The official qemu-kvm version worked well with the Slackware guests, but had time drift problems with the Windows guests.

I'm using raw images for all the guest disks, and these are located on a RAID1 setup (5 disks, two groups of 2 disks and 1 shared spare) using EXT4. The Windows guests are all running in snapshot mode, for easy rollback when users mess up Windows.

The Windows guests are using plain rtl8139 for network and IDE for disks, and the Linux guests are using virtio for network and IDE for disks. I have tested virtio for disks also, but I found it lacking in performance (sort of choppy, irregular performance). Network for all guests is setup using taps, so each guest have its own "real" IP number on the LAN.

I do not use libvirt, but plain qemu-kvm.

So far I've been VERY pleased with KVM. It performs a lot better than Virtualbox and VMware (the only other options I've tried). It is a bit rough around the edges in the UI department, but I'm sure that will improve over time. Stability is great (I've not had a single crash since I started testing it), and I personally like how easy it is to get up and running.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Joomla! 1.5: A User's Guide plus Fundamentals of Joomla! Video LXer Syndicated Linux News 0 10-26-2009 11:00 AM
Hardware recommendations to run squid proxy 24x7 dennisbrain57 Linux - Newbie 1 06-24-2009 05:55 PM
XAMPP server and Joomla is not running farid_lmu Linux - Server 8 04-22-2009 05:41 AM
joomla cant detect mysql server farid_lmu Linux - Server 6 03-04-2009 08:12 AM
Virtualisation advice i_nomad Linux - Software 1 02-12-2009 08:11 AM

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

All times are GMT -5. The time now is 04:55 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