February 11, 2012

XENServer: Simple Virtualization Solution for Small Businesses

Over the past few years, I’ve become a big fan of Virtualization technologies like VMWare, VirtualBox, Xen, Microsoft Hyper-V, etc. So much so that I moved the majority of our clients to virtual server solutions.

On the desktop, I tend to use VirtualBox from Sun. It seems to perform the best for both Windows and Linux, but does not contain (on Windows) many “enterprise” level features found in XEN and VMWare Server.

I initially used VMWare Server to setup numerous VMs for software and platform integration testing and other fancy stuff like that.  I still use VMWare Player for a couple VMs I have left from the past, but VirtualBox is my favorite for desktop testing.

When it came to XenServer, I did not have much experience with it since I *thought* it was more of a IT Backendish type of Virtualization software and more arcane (CLI Only). Perhaps it was at one time.  Now I’m no stranger to the command line interface, but still like a nice interface to be able to “see” all the settings right in front of me.

But regardless of my misconception, I decided to download XenServer and install it on one of my spare test boxes. XenServer is full virtualization host “OS” that you install and all the guest machines are run inside it.

I won’t go through all the minute details, but XenServer was a breeze to install, only asking basic questions and the IP to assign to the server. It’s best to put it on a decent machine with lots of hard drive space, plenty of RAM and processor power. Having virtualization extensions on the CPU is a BIG plus and allows you to run Windows VMs.

On older machines, like my old Pentium D Dell server, that do not have virtualization extensions, are not able to run Windows virtual machines.  The Linux (Ubuntu in my case) VMs worked just fine without them.

For Windows VMs, I used a newer Quad Core Phenom box and put 4 Windows Server 2003′s (by cloning them) on it by using the VMWare to XEN conversion program.  It was a little buggy getting the image converted, but the Citrix XEN forums helped quite a bit.

Overall, I’ve been extremely happy with the performance of XenServer and when it comes to testing, I don’t think I’ll go back to desktop type virtualization solutions like VirtualBox (big learning curve for advanced CLI functionality) and VMWare Server (which has a crappy, buggy web interface, the last time I used it).  They also require you to already have an existing full blown host OS, at least under Windows.

To manage the servers, there is a desktop application called XenCenter you can use to connect remotely to one or more XenServers.  It allows you to manage all aspects of your XenServer(s) even allowing you to easily upload, install, snapshot, clone and even do live migrations of VMs between XenServers.

One of my favorite features was the ability to create “templates” of a machine so you can easily spin up a new one from the template.  It’s always there and you can have many different variations of a server for example, like a clean server install, one with IIS & ASP.NET configured and yet another with a full custom configuration.  Just use the template, create a new VM from it, be sure to change the default IP so it doesn’t conflict with an existing machine and you’re good to go.

There are some sites out there you can google that have XEN ready images you can upload through the XenCenter software into the server and boot.

XenServer is an OS+Virtualization solution all-in-one and helps you get the most out of your machines.

My New Provider… SliceHost.com!

I’ve been moving my blogs and the other’s I host through a lot of transitions lately after having a HORRIBLE experience with GoDaddy and then Compute Cycle concerns with Mosso.com.

Mosso’s new compute cycles are heavily counting WordPress and other DB driven site hits.  5 relatively low hit blogs, ~150,000 TOTAL hits, were taking up as many Compute Cycles as one of my non-DB driven sites getting > 2,500,000 hits with lots of graphics.

I still like Mosso and most of my sites are still using email on them, but a bit more predictable monthly bill is nice.

So I happened to run across SliceHost.com yesterday… The site is simple and clean and I was impressed at the speed of their own website. Some of the hosting providers I find while searching around have sluggish sites, which really makes me question their server/network capacity and so on.

Here is their basic blurbage from the front page of their site.

BUILT FOR DEVELOPERS

We’re just like you. Sick of oversold, underperforming, ancient hosting companies. We took matters into our own hands. We built a hosting company for people who know their stuff. Give us a box, give us bandwidth, give us performance and we get to work. Fast machines, RAID-10 drives, Tier-1 bandwidth and root access. Managed with a customized Xen VPS backend to ensure that your resources are protected and guaranteed.

  • No contracts, no setup fees.
  • Upgrade, downgrade, add a slice or remove a slice anytime.
  • Billing is monthly, cancel at anytime.
  • Payments of $240 or more receive a 10% credit.
  • Full root access and rebooting
  • Choice of Linux distro
  • Dedicated IP address and Tier-1 redundant bandwidth
  • RAID-10 disk storage
  • Reserved RAM
  • Guaranteed CPU share and more when available
  • 4-core servers running Xen virtualization instances
  • Slicehost management portal for reboots and software installs
  • Mobile management portal for smartphones
  • Ajax console access
  • Bootable rescue mode
  • Machines running with fixed usage limits, below full capacity

So I decided to go ahead and give them a try and signed up for a 256mb Ubuntu 8.04 Hardy “Slice”.  That slice is a virtual machine running on a nice large powerful server.  For $20/mo I get a VM with 256 RAM, 10GB space, 100GB bandwidth.

Some may think that’s so little, but it’s plenty to run a quite a large handful of decent sized WordPress blogs or other similiar CMS systems.  10gb is plenty for people who aren’t uploading massive uncompressed images, videos and other media.  100gb is also good especially if your web server is using mod_deflate to compress output.

Provisioning only took like 5 minutes, it was assigned a static IP and a default (hard) random root password that I went in and changed to my harder password.

I ran the apt-get install commands I used to get the lighttpd setup running on it like in my post back in April.

Basically in about 30 mins I was setup, I went ahead and moved over idude.org here and then 5 of my other friend’s blogs and am in a “testing phase” now.

Back to SliceHost…

I really like their control panel, it is very simple and sweet and has pretty much everything you need to manage your VMs.  The backup is very simple and can be automated to daily as well as a weekly. These backups are FULL VM snapshots to take your entire machine back to a previous state.

A Unique feature is an AJAX powered console to your server.  I don’t think it really full supports CTRL functions and stuff, but it’s enough to change some permissions, delete some stuff, create new folders, etc.

If you outgrow the 256mb/10gb/100gb Slice, you can scale it up, without losing data and minimal downtime, up to a 4096mb/160gb/1600gb Slice, which is 16x the power/space at only 14x the cost.  ($280)

There are also nice stats to show CPU use, CPU time, disk I/O, and network I/O.    You can do soft/hard reboots as well plus much more.

A few months ago, I had a VM of about the same size at GoDaddy running CENTOS 4 (only Linux option at the time) and it was horribly sluggish and had all kinds of “default” crap on it.  This Ubuntu install on SliceHost is virtually a base install allowing me much more flexibility over what goes on it.

The performance of it was also generally lightning fast.  I’ve used Ubuntu directly on a powerful server and it appeared just as responsive both in the console running commands and hitting the sites remotely.

Network speed was excellent as well… Got 16mbps uploading some files to it, which again, isn’t bad for a VM.

One last thing.  SliceHost is running out of St. Louis.  After pinging it from a web-based “multiping” site, it got excellent low latency from all parts of the country, as compared to hosts I’ve used on either the left or east coast, due to it’s central location.

More updates will follow as more is experienced.  I think I’ve finally found a long term home for my Linux sites.

 

If you are interested in signing up, click here!