Desperately Seeking Xen
AlexGr sends us to an excellent article on the state of Xen by Jeff Gould (Peerstone Research). He concludes that the virtualization technology has some maturing to do and will face increasing competition for the privilege of taking on VMWare. Quoting: "What's going on with Xen, the open source hypervisor that was supposed to give VMware a run for its money? I can't remember how many IT trade press articles, blog posts and vendor white papers I've read about Xen in the last few years... The vast majority of those articles — including a few I've written myself — take it as an article of faith that Xen's paravirtualizing technical approach and open source business model are inherently superior to the closed source alternatives from VMware or Microsoft."
Xen only works with specific hardware which I don't have. Sooooo, back to VMware.
Excuse me, but please get off my Pennisetum Clandestinum, eh!
vm ware is feature king at the moment - but competition is a good thing.
If you want to run multiple linux instances on the cheap then xen is the way to go at the moment.
Just yesterday I wrote in my journal asking for VM advice. Sadly it seems none support 3D cards very well.
Trolling is a art,
It seems that VirtualBox.org's product, fully virtualizing a copy of XP on my non-VT machine under a linux host OS, totally runs circles around Xen even on VT hardware as far as performance is concerned. Integration into the host enviroment is also quite beautiful. Why is there seldom a mention of VirtualBox in this arena?
Not just for xen - but if you are interested in virtualization in general. Lots of links to many other products - open and closed. So if you aren't into xen, but still want to know about what is going on in this space (to some extent - they don't even touch the stuff IBM is doing really) then it's worth the time.
It's hard to believe that's how Micronians are made. Why don't we see it right now by having you both kiss one another?
I am also a VMWare fan and was very happy when they released VMWare server for free a while back. I use VMware Server every day to run a Windows XP machine and Ubuntu Server in a virtual networked environment which I develop client/server apps on. It works awesome.. although I long for faster hardware emulation.
I'm rooting for KVM to take over, however it probally needs some time to settle down. Networking is harder to setup, and I've noticed graphical glitches in winXP.
virtual box is basically QEMU with a much better KQEMU component that they developed on their own. This isn't very interesting because this is the same thing as VMWare or any other closed source Ring0-in-Ring1 emulation using polymorphic code.
THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
Personally, I don't give a flying fig about being able to run Windows or windows programs on Linux... there isn't anything I want to do on windows that I can't do on Linux... (note the emphasis, I find everything I need in Linux...)
Donald 'Duck' Dunn: We had a band powerful enough to turn goat piss into gasoline.
If I have to maintain two separate OS's, I'd rather have the outermost OS (host OS) be the one that has the best drivers, the most hardware support. Also, since very few virtualization solutions work with 3D gaming (and even the one that does, it still has large overheads I think), you want your host OS to be the one that has all the games. So, for my purposes anyway, I need Windows as the host OS, and Linux as the guest OS. Xen doesn't run under Windows, only Linux. So that leaves me with either commercial virtualization software, or a few open source projects that haven't matured yet (eg. coLinux).
(granted, having Windows on the outside makes your machine much less secure than the other way around, but personally, I'm more interested in having all my peripherals work the day they're released, and having all my games available)
Operating system virtualization, as used for instance in OpenVZ has far better performance characteristics. This is the way to go at the moment for efficient and low cost data center support of Linux. The problem is that all virtual environments must be using the same kernel, which makes it less useful for software testing.
You can choose to believe the hype or not, as you wish, but I'm using Xen in my production environment, and it's simply fantastic. I've got friends with companies who are doing it as well, and it really changes how you think about administration.
Of course, there are some learning curves. For example, how you manage 3-7 servers is completely different from how you manage 20-30, even if they are all virtual. There's a lot more emphasis on system images, isolating functionality, reproducing configurations. On the other hand, dev environments are so much easier to build-up and tear down.
I just wish the OpenBSD port was in a usable state. The mercurial servers hosting it are often down, and even when they're up, I haven't been able to get a working kernel compiled from the sources (even after doing some of my own bugfixes). And last I saw on the Xen lists, Christoph Egger (the guy doing the OpenBSD port) submitted a security patch related to stack slamming, and the Xen guys were kind of like, "meh, security's not really a priority..."... Oh well, here's to keeping my fingers crossed
what is more desperate is the people that think these highly specialized OSS apps that are not competitive in terms of features/support are going gain any traction in the market place. ha.
Is that Gordon Freeman ruined it.
Then what's the point? What special applications does Linux have that require you to run it in a VM on Windows?
Usually people run Windows in a VM because they have some app that just doesn't exist on Linux, but that can hardly be the problem as most Linux apps are OSS and thus portable to Windows.
Not only that, but I've been running it in a production environment for about a year and I'm about to deploy a HUGE set of servers as VMs using it. Xen beats VMware in one arena: price. If you use the open source version (which I'm doing) it's free. Only VMWare's ESX can compare to Xen. And unlike some people here have been saying, you DON'T need a special processor for Xen unless you plan to virtualize Windows. In my environment, I'm only virtualizing Linux, so I can use regular x86 CPUs dating back to 1998 for Xen. The only exception is the deployment of Zimbra I'm going to do. It requires Redhat Enterprise Linux 4 and NPTL, so I can't run it paravirtualized, it must run HVM which requires the special processors. However, who today isn't getting new hardware with HVM support?
Currently my two Xen servers here at work serve out about four VMs (all paravirtualized on older hardware) for critical and I/O intensive tasks like proxy servers for nearly 1000 machines, or the firewall syslog server for a dual T3 link with about 5000 users behind it sucking the bandwidth dry. So you can't claim it doesn't perform either. Now, if you want point and click administration and an easy set up, then yeah, Xen is behind the times. But performance wise it's leaps and bounds above VMWare. Trust me, I was a VMWare fan before you were in virtualization diapers. And I still am for some applications. But for places where I need something to be cost effective AND give me the features of VMWare ESX, Xen is the ONLY answer.
-"...bad old ideas look confusingly fresh when they are packaged as technology" - Jaron Lanier (Digital Maoism on Edge.o
Another question hanging over Xen performance concerns the availability of paravirtualized drivers for Windows.
This isn't true completely. The problem is you cannot get these drivers by downloading the OpenSource Xen. You MUST buy the XenSource version. If you run Windows on the *complete* open source version, your network throughput is going to suck like you would not believe. You have to use the XenSource version to get the paravirtualized drivers that bring the network performance closer to what it should be. Virtual Iron has a set of drivers also. (which I believe are better than Xen's, but don't hold me to that)
I found a lot of great insight about virtualizing from Xen to VMWare to Virtual Iron and others on this site. http://ian.blenke.com/xen
Xen is FOSS so there is potential for them to catch up and with the nature of FOSS new ideas can be tossed in easier. So when that day comes I'll gladly switch over, it's just not there yet.
While it might be nice if all these things are easy and work well for the hobby crowd, the real money in virtualization is in the enterprise space. Most servers in enterprise environments run 15% max and are refreshed every 3-5 years. The special processor matters less in that case, and the competition is between a mature VMWareESX server (not free), a hardware based IBM and Xen. Microsoft is a surprisingly minior player. VMWareESX server is very good for x86 consolidation and saves customers money, but is very expensive. It is still the best option for Intel based consolidation. Xen has deep penatration in enterprise lab environments. It is just getting the enterprise management tools to move into real production. IBM is very good at virtualization and stability, but on proprietary power and mainframe hardware. Xen will be fine, because the market is very immature, but expect more seamless and non-attrusive virtualization on the desktop.
If you want to get a colorful thread of comments started on slashdot, there are 3 ways to do it with guaranteed results:
1) Say something bad about linux (or about Apple).
2) Say something good about Microsoft (or about Apple).
3) Throw a grenade in the room about Open Source software like this:
The vast majority of those articles -- including a few I've written myself -- take it as an article of faith that Xen's paravirtualizing technical approach and open source business model are inherently superior to the closed source alternatives from VMware or Microsoft.
I'm not making any value judgements here--I'm just amused.
I might know what I'm talkin' about, but then again, this is Slashdot...
Currently my two Xen servers here at work serve out about four VMs
So how many really? Can't you tell?
I'm getting a Macbook soon, and I want to play around with virtual machines on it.
Is it possible to install e.g. Debian as my host OS, apt-get install xen, and then install Mac OS X inside a Xen virtual machine? This computer has a C2D processor, which supports the Intel VT instructions. I'll also do the same with Windows XP and Vista, and Ubuntu.
If it will work, how well? Will it be a transparent install so that X can directly access the 3D acceleration hardware?
Thanks.
Hail Eris, full of mischief...
E pluribus sanguinem
My company is currently using Xen on something like 40 "virtual machines" on 6 "real machines." Works almost flawlessly. Runs heavily-used multi-gigabyte MySQL databases and Java web apps without complaining. You can move virtual machines between real machines while they're under load, with a 6ms delay. If a developer wants to try something weird, go ahead. If you hose the system, I'll just re-image it and have you going again in 5 minutes. There's nothing wrong with Xen at all, if it's done right. It's ready for the datacenter, because we use it now.
The only exception is the deployment of Zimbra I'm going to do. It requires Redhat Enterprise Linux 4 and NPTL
Last I checked, Zimbra runs on Ubuntu 6 just fine.
It depends on what I'm doing. If you weren't trying to be cute, I'd say you were trolling. In reality, it's very common practice to use LVM to clone a filesystem, make some changes to the various files that set IP and hostname as well as other unique host settings and bring up alternate "Test" VMs on a Xen box. So some days I might be running three VMs other days eight or ten. It all depends on what I need to do.
As an aside, I forgot to mention that there are NO other products other than VMWare ESX that offer "live migration" of a running VM from one hardware host to another. That's right... you can take a VM that is running with many users actively using it and move it from one physical box to another with only a few milliseconds down time. The users NEVER notice. The free VMWare server can't do that. Micrsoft's Virtual Server can't do that until they have a hypervisor. And there really isn't anything else that can.
-"...bad old ideas look confusingly fresh when they are packaged as technology" - Jaron Lanier (Digital Maoism on Edge.o
He concludes that the virtualization technology has some maturing to do...
I RTFA and it says very little about the maturity of the actual Xen technology. The article is more a point about several non-related factors;
1.) There is a lack of pretty management interfaces.
True, but these are in the works from Red Hat, Novell, XenSource, and various other ends. Already some of them look pretty promising, but if you are a real admin you don't need them in the first place. There is nothing wrong with using the command line tools to manage your Xen virtual guest environment.
2.) There is a lack of references for companies using Xen.
How does this relate to the viability of the Xen virtualization? Yeah it makes management feel nice and fuzzy that others are using something, but this does not relate to how well the Xen technology performs. I also suspect that like many open source projects, there are many people using it that do not report it. Novell has personally contacted me and my company to ask us to assist in their new paravirtualized Windows drivers initiative and then be a reference for the technology. It seems that at least some companies are moving to address this, at any rate.
3.) There aren't many benchmarks about Xen versus VMWare.
VMWare does not allow benchmarks they do not approve of. It's in that draconian EULA you agreed to by using it.
4.) It's awkward to paravirtualize Windows.
Yes, it is. Novell signed the soul sapping agreement with MS and as such is pushing some paravirtualized drivers for Windows. The article continually talks about woes with Xen on Red Hat. Red Hat didn't sign the agreement and will require some much more intelligent coding to make this happen. It might never happen, so for Windows it's full virtualization with VT (or AMD's equivalent) or bust. Sorry, use SUSE for it or use full virtualization. It's an MS issue not a Xen issue.
5.) MS's new Viridan Virtualization Platform is using paravirtualization as well.
Yep, that should be a testament to the approach versus VMWare. Though it is interesting that VMWare now has a Linux kernel virtualization implementation similar to KVM. It seems VMWare is headed to paravirtualization as well. Obviously Xen did something right.
6.) There is a lot of competition.
True. How again is this relating to Xen as a virtualization technology.
Again, I'm not saying Xen is perfect. It definitely has issues and room to grow. I'm just saying that the article makes little, if any, relevant points to Xen's virtualization technology.
The free VMWare server can't do that. Micrsoft's Virtual Server can't do that until they have a hypervisor. And there really isn't anything else that can.
:) But I suspect you knew that.
Well you can try to do that with Xen if you want, but you might be sorry.
Hopefully the Summer release remedies this situation.
C//
I'm primarily a VMware VI3 user, but I've been starting to do more with Xen lately. I have to say, Xen is very impressive in what it accomplishes. It's very stable, and has the capability to do some really advanced stuff. That being said, it can be a real pain to get some of those advanced features working. For example, running Xen in CentOS 5, I had a server with two NICs, and I wanted to setup a second bridged interface for the second NIC. It took way more effort than it should have to get that working correctly. In ANY VMware product, that's a task that takes, literally, seconds. Another thing I'm working on is getting VMs to auto-boot in a particular order, and wait on another VM to finish booting before the next one starts. Again, a task that's second nature in VMware, but appears to be difficult to implement in Xen.
In the end, it all boils down to management tools. There are no decent centralized tools to manage a farm of Xen servers right now, let alone manage just one host. Virt-manager is very helpful, but extremely limited. And I've looked into some web-based management applications, but none of them are anywhere close to mature enough to deploy in a data center. Xen is still my choice for free Linux virtualization, but they've got a long way to go to even approach VMware.
I have been trying to use Xen at home to test it out and compare it to VMWare, which I've used at work. Once you manage to get Xen clients working, it's fine. It does a good job of running VMs, and can be used to partition resources on a powerful machine.
But, the main problem is the steep learning curve for getting Xen running in the first place. The (python based) management GUIs included with Fedora or Ubuntu are weak at best (although, slowly improving.. the UI in Fedora 7 does manage to make setup easier than the command-line alternative). The ongoing management / monitoring of VMs is okay, but weak in comparison to VMWare.
There are also a lot of little quirks in Xen. Installing Win2k in a client VM required a lot of searching for how to attach an ISO image to a running VM (it's not a simple GUI operation like in VMWare/Parallels/VirtualPC, it requires a terminal command with unintuitive options, which never worked for me.. I finally dug out my CD and got the physical CD drive to attach to the VM). Windows VMs have an odd issue where the mouse pointer is offset form the actual pointer (it's a known issue, and is helped by turning off mouse acceleration in Windows preferences, but it is still a problem). Installing client VMs can be challenging.. Ubuntu feisty wouldn't install until I set the VM as a Solaris client, and after a few other tweaks it finally installed and worked fairly well.
Most of the Xen problems are solvable, after playing with command-line tools, figuring out poorly documented parameters, and lots of googling. At the end of the day, it's one of those "Xen is free, if your time has no value" type things. VMWare Server is probably a better option if you just want it to work for home/free uses. For commercial use, VMWare ESX Server is the way to go. It has simple VM setup for many client OS's, excellent management of large groups os Hypervisors and virtual machines.
The commercial alternative from XenSource (free to use, but limited to 4 VMs; or less restricted versions for increasing $$) offer a better management UI, but are too restricted for my taste. The management app is much better, but not as good as VMWare.. If I'm going to pay for one, I'll go for the best option.
"Just Works" is overstating it quite a bit. Based on my experience, and looking at the other comments here, it's more like Xen "mostly works, after a great deal of learning, googling, and experimenting". Maybe once you've ramped up on it it works well. But, saying it "Just Works" is clearly not the case.
The Xen experience has improved a lot. In Fedora 7, I just had to select the Xen kernel+apps for a package install, and the Xen infrastructure was pretty easily installed. But, getting client VMs running, figuring out the command-line tools and their parameters, and working around quirks too a good deal of effort.
Not enough market share and immature (optional) GUI == Not Ready for Prime Time.
"Oh my. Editable XML configuration files, obscure command line interfaces, grayed out options in the GUI? Thanks, but no thanks. This thing doesn't sound like it's ready for prime time in Data Center USA."
I say if you can't use the command line YOU'RE not ready for "prime time in Data Center USA."
Competition Good, Monopoly Bad.
I stopped reading the article with this quote:
Oh my. Editable XML configuration files, obscure command line interfaces, grayed out options in the GUI? Thanks, but no thanks. This thing doesn't sound like it's ready for prime time in Data Center USA.Are sysadmins at "Data Center USA" morons? "Oh nooo, command line time, I hate that. Oh nooo, my option I want is all grayed out! Help me, help me! Oh I am so sad now."
Deploying vm stuff is not the same as using a word processor. "Data Center USA" is in real trouble if their sysadmins aren't any smarter than regular desktop users.
Loose lips lose spit.
I was a big fan of Xen until I found out it was silently corrupting data. I've only duplicated the problem on an older 3ware card, but I was just about to trash the card, drives, etc. when I discovered that I couldn't duplicate the problem when using a non-xen kernel. Now I'm just waiting for pacifica and ivt solutions to mature before I touch virtualization for anything important.
Umm, assuming zero overhead, even with 10Gb ethernet, you could only move around 7.1 MB in 6 milliseconds.
With Gigabit Ethernet, you can divide that down to well under a megabyte.
While I'm sure your virtual machines are nice toys, they ARE just toys.
Parallels, which is a commercial product, is one of the slickest VM's I've seen for desktop use. No one ever mentions them, either.
2 cents,
QueenB.
HDGary secures my bank
Again, virtualization is for running Windows. Not Linux!
Yeah, sure, there are a few weirdos out there.
For most of us, there is no point in running Linux under Xen. We already gave Linux the native hardware. I guess somebody might want to run a Linux guest on Windows, but that'd be Wrong and is anyway unsupported.
When I want to run a Linux app, I just run it. No problem. When I want to run a Windows app, I need virtualization.
Xen is thus a solution in search of a problem.
If you are running the same OS on each VM on a server, OpenVZ is the best.
Performance is great, good control over resources (with the glaring exception of disk IO operations, which they are working on).
VirtualBox is really nice; I don't know about the performance comparison to Xen, but VirutalBox is a breeze to use and performance is generally pretty good. I've been messing with VM software for about six or seven years and just discovered VirtualBox a few months ago. Before that I had heard of Bochs, Plex86, Xen, VMware, VirtualPC, Parallels, and Qemu (off the top of my head). Where has VirtualBox been hiding?
My grandmother used anecdotal evidence all the time, and she lived to be 120 years old.
For a moment there I thought the submitter mean 'Desperately Seeking Xenu'.
The only reason so far that's stopping me from using Xen is that it doesn't support frequency scaling and other power management of my laptop.
Sticking with VMWare Server for now...
Did you know that "FTW" ("for the win") is a direct translation of "Sieg Heil"?
> As an aside, I forgot to mention that there are NO other products other than VMWare ESX that offer "live migration" of a running VM from one hardware host to another. That's right... you can take a VM that is running with many users actively using it and move it from one physical box to another with only a few milliseconds down time. The users NEVER notice. The free VMWare server can't do that. Micrsoft's Virtual Server can't do that until they have a hypervisor. And there really isn't anything else that can.
Hmm, the Virtuozzo servers I administer actually do that rather well. Virtuozzo has had live migration capability (and dynamic resource allocation) for quite a while now.
Xen saved my former employer a bunch of money and gained then great flexibility and reliability. They use an AoE (ATA over ethernet) SAN so the compute nodes are totally diskless and all of the data and root filesystems are on the SAN. Now they have email, database, web serving, nearly all of their critical functions in a highly available xen-aoe cluster. I am working with them to release all of the codes and configs in production and we are setting up a website at xenaoe.org (not up yet, but soon) to host the project.
Here is something I wrote up about this architecture for the company when the project went live:
What is Xen?
Xen is a free virtualization system similar to VMware but different. It allows us to run multiple servers/operating systems all on one physical piece of hardware while providing isolation between them.
What is AoE?
AoE is a SAN technology. Similar to Fibrechannel (but far less expensive) or iSCSI (but far simpler and more efficient).
What are the advantages of Xen and AoE for our company?
Xen allows us to more efficiently utilize our hardware resources. The majority of cpu power on your average computer goes unused. Even on servers. They just sit there waiting for something to happen. Even if we get a web request every second the time between one request and the next is an eternity for a cpu running at 2 gigahertz. But powerful cpu's are needed for those short bursts of activity. By using Xen to run multiple servers in their own domains (areas of memory) completely isolated from each other on the same physical hardware we can squeeze more utilization out of our existing CPU's/servers. This means we can get by with fewer CPU's, less rackspace, use less power, and require less air conditioning. By encapsulating the servers into this sort of infrastructure it also allows enhanced management capabilities by allowing the administrator (such as myself) to be able to get console access on the server or restart the server while remote instead of having to drive to the datacenter (which in our case is a 30 minute drive down to Kearny Mesa).
AoE allows us to put a bunch of disk in relatively inexpensive and low CPU powered servers on the network and allow the rest of the servers to access it exactly as if the disk were locally installed in that server. This is advantageous because we can now aggregate all of our disk into one system and treat it like a pool of storage where we can dole out an appropriate amount of disk to each server (often only 10 or 20G is needed) instead of having to put in a dedicated 250G disk which is the minimum you can easily buy these days and waste a lot of disk and power to run it.
The combination of Xen and AoE allows us all of the above plus some interesting fault tolerance abilities. There are now two levels of redundancy in our disk systems and an extra level of redundancy in the cpu's also in that if one cpu fails (or the associated motherboard, RAM, or network card) we can easily switch the servers that were hosted on that machine over to another cpu on the network with either zero or very minimal downtime whereas previously that kind of failure would have required me to drive down to the datacenter and shuffle hardware around or buy new hardware to replace the failed system which all takes time and can result in prolonged downtime.
As an aside, I forgot to mention that there are NO other products other than VMWare ESX that offer "live migration" of a running VM from one hardware host to another.
My understanding is that for that to work, you need both the source and destination host server to have access to the same physical disk - either through shared SCSI, fibre channel, iSCSI or similar.
I've looked into the price of VMWare ESX (or VMWare Infrastructure as they now call it). As far as I could gather, if you've got the money for a half-decent small SAN for such live migration, the price of a couple of ESX licenses isn't a huge issue.
Or am I wrong?
Yes, you're wrong. You can set up iSCSI over Gb ethernet using nothing more than a normal Linux box with normal disks.
You can even have a pair of servers with a GigE crossover running NBD to provide 'network RAID 1' of the disks with transparent hot failover.
You're very right about VMWare ESX. We use it in production for a couple thousand users, and I'm still in awe that I can push running VMs from one physical box to another with less than a second of downtime.
You can also use global network block devices with a Linux box as your storage server. In my case here at work we've got a SAN, but we als have budget cuts and we're a non-profit... So I can't afford ESX. At home, well... I just like having enterprise functionality without the cost. :)
-"...bad old ideas look confusingly fresh when they are packaged as technology" - Jaron Lanier (Digital Maoism on Edge.o
ESX pricing is in the multiple-thousands of dollars per machine. Which, if you're putting together a collection of $20k-$30k machines probably isn't that bad.
But it's horribly overpriced for the smaller market. Picture a small company with 4-12 servers in the $3k-$5k range and a $10k SAN unit. They'd like to be able to pool their servers so that if one box goes down due to hardware failure, services continue to be available.
VMWare's pricing makes that a non-starter.
Xen Enterprise pricing is a lot more reasonable for a small/medium business. VMWare only seems interested in the "big iron" shops who have budgets of $500k+ per year to spend on software licenses.
Hell, in a small business, you don't even care if there's a few minutes of downtime. At least, ss long as you can get things back up and running quickly on one of the less-utilized servers.
Wolde you bothe eate your cake, and have your cake?
I agree. It doesn't "just work" by any stretch of the imagination. When it does work, it's great, but there's a whole mess of shell scripts working in the background which don't handle error conditions very well and you often get presented with very cryptic and often quite misleading error messages ("Backend scripts not working" is one of my favorites).
Quote:
>As an aside, I forgot to mention that there are NO other products other than VMWare ESX
> that offer "live migration" of a running VM from one hardware host to another.
Xen does this. I've tested it repeatedly using a Dell blade server enclosure with 1855 and 1955 blades utilizing Qlogic/McData switches and a 3Par Data SAN for shared storage.
Less than a year ago, when I still worked at Amazon.com, Ulrich Drepper from RedHat came and gave a talk. When he heard that we were using Xen in production, he basically said "you guys are crazy, Xen is not stable enough for prime time yet."
Yes it "just works" most of the time. Don't get me wrong -- most of our experiences with it were good. But I was recently talking to a friend who still works there, and they've narrowed down some really hairy bugs that ended up being bugs in Xen. (They know. They have Linux Kernel engineers who are really good at this stuff.)
One of the frustrating things about all of the virtualization stuff is how quickly the products are moving and what feature sets are gained and lost but what products. What was true a few months ago about live migration isn't true anymore.
ESX can do live migration from one physical server to another provided the virtual machine image lives on a shared storage.
Xen can do live migration on a paravirtualized image from one physical server to another provided the image lives on shared storage.
Xen cannot do live migration on a fully virtualized server from one machine to another.
KVM doesn't specify full or para virtualization on their migration page, but it does some sort of live migration, and I'll bet it needs shared storage.
1337
Xen 3.1 supports live migration of hardware-assist VMs just fine.
XenSource's next product release, in beta in a couple of weeks and shipping this summer, includes this.
I was quoted around £12-1400 per machine. Which, considering it allows me to multiply the use I'll get out of a £2500 server by a factor of about 8 or 10, seems to me a good deal.
Though right now I'm using the free server product because I don't have the budget for the SAN (or even to dedicate the tin to a Linux box supporting iSCSI), and without that I don't see the benefit in the expensive product.
I've not seen standalone SAN units at £5000 in the UK - more like £7-10K. But then, US$ price conversion has never been a strong point with most IT suppliers.
Paravirtualization is a way to leverage device drivers in the host OS. Device drivers are usually written for Windows first, and sometimes, for Windows only. As long as this remains the case, Microsoft can take as long as it needs to produce a Windows-hosted paravirtualization that will compete effectively (and unfairly) with Xen. The hypervisor must ultimately control the I/O devices, one way or the other. Even with some future hardware support for virtualized I/O devices, the hypervisor must at least manage which guest OS gets which device, even if the device driver resides in the guest.
The move toward virtualization presents a once-in-a-lifetime opportunity to break Microsoft's grip on the OS. The way to do that is to create open standards for hypervisor interfaces, particularly for embedding device drivers in the hypervisor. Politically, the stakeholders who need to be involved, but do not appear to be, are the PC manufacturers. They have the clout it will take to get device manufacturers to produce device drivers for a new open standard for hypervisor device drivers. What they stand to gain is the ability to at least free themselves from Microsoft's grip on the desktop, and perhaps also to encourage competition in hypervisor products, so that Microsoft is not simply replaced by another monopoly. Just as these manufacturers have some choice in BIOS implementations, they could also have a choice of hypervisor implementations. This would provide many more opportunities for product differentiation.
I call on vendors of both open and closed source virtualization products, and PC manufacturers to start making some open standards now. Otherwise you are going to end up with Microsoft calling the shots - again.
SuperMicro 3U rackmount chassis with 15 hotswap sata bays
Intel core 2 duo @ 2.4ghz E6600
4x500GB drives.
Ubuntu Feisty Server edition for the dom0 (the root/master OS)
Guest operating systems:
- Ubuntu Feisty server edition
- Windows server 2003 standard edition
- more to be added later.
The disk drive i'm giving to windows is a re-sizable LVM2 partition on a software raid 5 array managed by the root domain.
I'd set up a booting, working hard drive and just wanted Xen to be able to run the OS right off the hard drive.
Even asked about it on the mailing list.
Seems that such a configuration is not supported. *shrug*
I'm little surprised no one has mentioned KVM, the Kernel-based Virtual Machine. Its been included in the Linux kernel since 2.6.20 I think.
Its a module which promotes the Linux kernel to a hypervisor, allowing guest VMs to be run. I have Windows XP running as a guest on my Ubuntu machine at home.
It doesn't present my GTS 8800 as a 3D card to the guest OS though (although neither does Xen). It woule be good to know if there is a system which allows a better hardware representation to be presented to the guest OS.
I've got Zimbra running in production on Ubuntu Server (edgy) at a sizable school. Not too difficult and I don't have to go anywhere near rpm dependency hell.
In other news, astrophysicists have announced that they now know what all that dark matter is: it's stupidity.
I just recently embarked to get Zimbra 4.5.* installed on a CentOS 4.5 virtual server. It is indeed possible. Below are my (crude) notes.
I've only been using Xen since RHEL 5 came out. So I'm not an expert. Here are my thoughts on Xen: 1) Hardware cost savings isn't a good as you'd think. For every virtual box, you still need CPU(s), RAM, and harddrive space. i.e. If you've only got X CPUs on in a physical box, you're limited to X-1 virtual boxes assuming just one CPU per virtual box (performance degrades horribly if you start assigning more CPUs than you physically have). The real savings is probably in power consumption, but that only matters if your Google or a Fortune100 company. 2) Don't try to use a GUI on a virtual Linux install. The mouse is horribly broken. RH even admits this in their documentation. 3) The only place to get help is a high traffic email list where your question can easily be lost. Don't even think of asking in the Xen forum unless you're paying Xensource $$$ 4) How-To's are few and far between and often contradictory. 5) WinXP runs extremely well under Xen. I've got 4 in production now. Linux also works fine (I've got 3 in production) as long as you don't need the GUI. 5) #2-#4 will probably work themselves out in the next year or two. 6) Overall in spite of the above problems, Xen is extremely cool and can save your company some resources and make it more productive. It will also only get better as time goes on. If you're not using it, you should at least start to consider it and start testing with some non-critical systems.
Last year we installed many dozens of 1U boxes. At the time, low-power Xeon chips were the best deal. (considering space, performance, and especially heat output) The VIA chips were close.
A big box with virtual machines was completely hopeless in the competition.
It's very simple really. The best virtualization solution for any given problem is the lightest weight solution that can still get the job done. The actual need (other than cool factor) to virtualize the hardware for multiple OSs is not a common one. Most of the time, UML or various patches to create jails under a single Linux kernel are good enough and certainly lighter weight and for some purposes a lot more flexible.
VMware is successful mostly because there is no lighter weight solution for Windows. There is no user mode Windows and I doubt there ever will be. Certainly nobody will be releasing a patchset to partition administrator privileges, IP addresses, etc. on Windows. OTOH, Xen has to compete w/ vserver and UML amongst others. It only gets used when a lighter weight solution just won't do.
That's certainly not a knock on Xen. When it IS necessary, it's good that it's there.