Slashdot Mirror


An Overview of Virtualization Technology

Jane Walker writes to tell us that TechTarget has a short writeup on virtualization and some of the ins and outs of using this technology effectively. From the article: "Virtualization is a hot topic in the enterprise space these days. It's being touted as the solution to every problem from server proliferation to CPU underutilization to application isolation. While the technology does indeed have many benefits, it's not without drawbacks."

30 of 147 comments (clear)

  1. Good reading until the end by tinkertim · · Score: 5, Insightful

    From TFA:
    >>>>>
      Novell is investing lots of effort in optimizing Xen specifically for running a virtualized copy of NetWare on top of Linux. The company's goal is to provide its customers with a migration path over to the Linux platform without giving up NetWare.
    >>>>>

    One of the many un-sung uses for Xen is a swiss army SAN. I'm glad to see someone touch on this.

    >>>>>
    If you want to use Linux as your host OS, you'll definitely have to go with VMware.
    >>>>>

    That wasn't so cool. I appreciate the fact that there are just too many products available to touch on everything in one short summary article / writeup, and while the majority of the article was informative even to the lay person, you need to end a sentence like that with a 'Because .... [summary]'. That's a really broad and sweeping statement to make.

    Or perhaps even "I recommend VMWare" would have been better.

    It looks like the author lost interest in what they were writing near the end of the article. They talk about IRC or newsgroups being the only support options available for OS products [another sweeping statement], however have you checked out the wiki at xensource.com lately?

    Just seems like TFA lost coherency after 'What's best?' It went from really informative to misleading rather quickly. If your going to go to a virtualized platform you owe it to yourself to spend a month trying each candidate to see what works best for you, not the author of whatever article you read :) This is not a pro Xen rant but I'd like to point out that it does install effortlessly on most Debian systems in under an hour, the TFA sort of indicated otherwise.

    1. Re:Good reading until the end by IO+ERROR · · Score: 4, Informative

      Looks like you took at least one of those quotes out of context. Here's the context:

      If you're a developer looking for a flexible way to test your application in multiple environments, you'll probably want to go with either Virtual PC or VMware Workstation. If you want to use Linux as your host OS, you'll definitely have to go with VMware.

      Virtual PC doesn't run on a Linux host, so you'll definitely have to go with VMware.

      --
      How am I supposed to fit a pithy, relevant quote into 120 characters?
    2. Re:Good reading until the end by Torne · · Score: 3, Informative

      You can't run Xen on Linux - Xen is a freestanding hypervisor that runs directly on the metal. So, the statement in the article seems perfectly reasonable. (this is, incidentally, one of the (numerous) advantages of Xen over VMWare in the performance stakes - being able to control the hardware directly instead of having to mess around with what the host OS will let you do is quicker).

      Every OS on a Xen system is a guest OS. Some of them just have permission to create new OS instances, or access particular bits of real hardware directly.

    3. Re:Good reading until the end by Hercynium · · Score: 3, Informative
      Xen is a freestanding hypervisor that runs directly on the metal.
      I feel I should get a little pedantic with this statement. Xen, specifically, is a modification of the linux kernel that provides hypervisor capabilities for the host OS (Linux) and integration with the guest OSes. Xen's host components can't run directly on the metal, like VMWare ESX can. It needs the rest of the linux (I can't remember if it's been ported into other kernels) kernel to provide hardware access. Also, Xen requires (until pacifica, et al) that the guest OS kernels be modified to integrate with the host's hypervisor layer. Without that, Xen does nothing. (VMWare ESX does not require a modified guest OS)

      So, if you think of a Xen-enabled linux kernel as Xen, you're right. But I see it as a seperately developed, ported, and integrated extension that requires a kernel to operate. Again - I believe there are efforts to get it running inside other kernels, but I don't remember.

      On second thought - someone fill me in here - I'm guessing that VMWare ESX probably runs as part of some ther's OSes HAL, but of course they don't say so in the sales pitch...

      *disclaimer* -- While I really like VMWare's product for functionality and ease-of-use, for performance I'd go with Xen. I'm currently involved with a project at my company to virtualize as much of our datacenter as possible, and I've been pitching Xen to the group, over VMWare, provided XenSource's product lives up to it's marketing specs.
      --
      I'm done with sigs. Sigs are lame.
    4. Re:Good reading until the end by tinkertim · · Score: 5, Informative

      Correct. I work with Xen daily and most of my products and services are built around it. One of which is a replacement for Virtuozzo for the purposes of maximizing and isolating resources or web hosting companies.

      Xen augments the kernel, it does not replace it. The Xen hypervisor then interacts with the host (dom-0) kernel.

      dom-u (guest) images can then boot using any kernel modified to interact with the Xen hypervisor. Currently we play with:

      Debian (Sarge)
      FC4
      CentOS 4
      NetBSD

      As dom-u's (guest) OS's.

      We have also enjoyed some success but not 100% stability bringing Win2k3 up as a dom-u.

      I have deployed clusters that use Xen as a management layer and I can tell you, it *does* live up to its marketing specs. Xen's bridging is the fastest most efficient layer available, bar none. Its also a wonderful tool in helping to integrate a centralized storage area network into any size network and let people keep all of the protocols they like.

      A *very* good source of information about Xen, what it does, how it does it is available on the option-c wiki (Here) , they also have some ready to go Debian installers that make installation quite easy (apt-get able).

      Xen + OpenSSI is another fantastic combination if you take the time to really understand the networking possiblities and set it up appropriately. Good luck with the bean counters .. the price is right :)

    5. Re:Good reading until the end by yuriismaster · · Score: 2, Interesting

      Close... but here's the difference between Xen and VMWare ESX:

      Xen does 'para-virtualization', wherein it virtualizes MOST of the hardware, but allows some passthrough to the bare metal. This requires virtualization-aware kernels and modifications to some software, perhaps. Since it's a 'lighter' application than the ESX server, it should run a bit faster.

      VMWare does a full virtualization of every hardware component, like most other virtualization products (Virtual Server 2k3, Virtual PC, VMWare Workstation (I'm sure there are others, and I really don't know the field that much), so there is no requirement for the guest OS's (besides x86 and support for the 'VMWare Hardware', which is rather standard). VMWare provides the VMWare Tools package to Windows and Linux servers to enable better communication with the 'hypervisor' kernel, increasing network utilization, etc. However, it is very possible to run other OS's using the standard drivers.

      Basically, if you're really going for the speed and don't mind the extra leg-work to get a working kernel in Xen, it should be faster. Since we have to run Windows 2003 servers, and really don't have the staff to hack around the kernels (not to mention already bought support for ESX), ESX runs beautifully for us.

  2. Psst. btw by BadAnalogyGuy · · Score: 4, Informative

    Microsoft has made their server virtualization software available for free.

    http://www.microsoft.com/windowsserversystem/virtu alserver/software/default.mspx

  3. Shameless plug by digitalhermit · · Score: 2, Interesting

    In South Florida tomorrow (Thursday), a dorky looking guy will be presenting an introduction to Xen talk. Check http://www.flux.org/ for details.

  4. Windows Licence Issues. (wrt. Virtulization) by Domini · · Score: 5, Informative

    One thing the article does not speak about is licensing issues when using Virtulization. For instance MS has some twists and turns...

    For instance:

    One needs 2 different licenses if you run XP in XP.
    You can run 4 instances of Windows Server for free in Windows Virtual Server.
    You can run one copy of an older windows for free in Windows Vista.
    (You can read more about this on the MS site...)

    For Windows XP General Purpose license User Rights:

    http://www.microsoftvolumelicensing.com/userights/ PUR.aspx

    Download and read document, section "Microsoft Desktop Operating Systems" which reads:

      I) Installation and Use Rights.
        a) You may install up to two copies of the software on one device.
        b) Except as provided in Section II.a and II.b below, only one user may use the software at a time.
        c) You may run a prior version in place of the licensed version for either or both of the copies.
        d) You may only use the copies on the device on which you first install them.
        e) You may use the software on up to two processors on that device at one time.

    Thus this means that I can install and use XP as Bootcamp native and Parallels VM guest using only one license.

    yay!

  5. Re:previous hot topic: virtual reality by Ohreally_factor · · Score: 2, Funny

    It's for this reason that virtualization is mostly hype, and won't be accepted in the enterprise. IT departments have better things to do with their budgets than to buy fancy VR goggles and data gloves for their admins.

    --
    It's not offtopic, dumbass. It's orthogonal.
  6. Re:Psst. btw by Decker-Mage · · Score: 4, Insightful

    With VMWare Server (ex-GSX) switching to free status, frankly I don't think they had a choice. I've been working with, and beta-testing for years, with both and the VMWare product still wins in my opinion. No win situation for MS.

    --
    "[I]t is a wise man who admits the limits of his knowledge or skill, and that pretending either causes harm." --Terry Go
  7. Re:Psst. btw by LarsWestergren · · Score: 3, Insightful

    Psst yourself.

    You have to pay for the OS to run the virtualisation server on, you have to register to download it, and then you have to follow the usual licences- i.e (From MS own Virtual Server 2005 Technical Overview White Paper):
    * you may not transfer original OEM server licenses from one computer to another,
    * Each installed copy of Windows Server must be separately licensed. This means, for example, that if you are setting up four virtual machines within Virtual Server 2005 to run one instance of Windows 2000 Server and three instances of Windows NT Server 4.0 concurrently, you will need one Windows 2000 Server license and three Windows NT Server 4.0 licenses, in addition to the Windows Server 2003 host license running Virtual Server 2005.
    * Each additional licence such as for IIS or databases have to be paid for each virtual machine... and so on.

    Yeah, that sounds like an awesome deal.

    --

    Being bitter is drinking poison and hoping someone else will die

  8. Re:previous hot topic: virtual reality by Decker-Mage · · Score: 3, Insightful
    If you play in the Enterprise space, virtuationization can be a god-send, just on the basis of server consolidation alone. Where I play, systems security from SMB to Enterprise, I've been doing some interesting work on developing bastions (no relation to the Linux setup with the same name, think the Military Engineers Vauban and Michelangelo) that I think will play well once fully worked out. Heck, even on a consumer machine, if all internet work is done in a VM, you cut the risk of infection by a wide margin. Those are just a three sample ways to go with this technology. Virtuationzation just gives you more interesting capabilities.

    Just my $.02

    --
    "[I]t is a wise man who admits the limits of his knowledge or skill, and that pretending either causes harm." --Terry Go
  9. Re:Strange by Malor · · Score: 4, Interesting

    Yeah, I was thinking the same thing. This article would have been interesting, say, 18 months ago... but with VT and Pacifica, things are different now. Without at least mentioning those, it's not very useful.

    Anyone have a pointer to a good writeup on the differences between VT, Pacifica, and regular old software virtualization?

  10. Netscaping by Savage-Rabbit · · Score: 4, Insightful

    Microsoft has made their server virtualization software available for free.

    Isn't this the opening phase of what Computer Business Review calls 'Netscaping' the competition? I wonder if that word will ever make it's way into the Microsoft system spelling dictionaries?

    --
    Only to idiots, are orders laws.
    -- Henning von Tresckow
    1. Re:Netscaping by BadAnalogyGuy · · Score: 2, Funny

      Well, to really be Netscaping, VMWare would have to put out a completely unusable version 4.

  11. Application Virtualization by cheeseflandan · · Score: 2, Interesting

    FTA: "If you're trying to solve one of the server-based issues like consolidation or application isolation, you'll want to go with a server solution"

    Hmm - I think there are a few vendors who'd disagree with that.. Softricity, Altiris, Citrix, Wise to name a few..

    1. Re:Application Virtualization by scapaman · · Score: 3, Interesting

      I don't know. I work in this field, and see people dropping those technologies and moving to virtualisation. Now that hardware is powerful enough to support it, why not just roll out 32 desktop XP images with all apps installed, rather than dicking about trying to get an app installed on Citrix or Softricity?

  12. Re:Psst. btw by Decker-Mage · · Score: 2, Interesting

    Your MS licensing information is out of date. They've changed the way they handle Server 2003. Furthermore, you don't have to use Server 2003 as your base OS for VS 2005. I was using XP Pro SP2, Win'2K Server and Advanced Server, as well as Server 2003 Enterprise during the betas for both VS 2005 and VS 2005 R2. All worked just fine. Actually, I got the best performance from Win'2K AS after I really locked down the services running although that may be somewhat biased as I really know AS best and I didn't lockdown Server 2003 Enterprise. The improved memory model for Enterprise just might give it the edge if it were similarly configured.

    --
    "[I]t is a wise man who admits the limits of his knowledge or skill, and that pretending either causes harm." --Terry Go
  13. Re:Psst. btw by dc29A · · Score: 2, Interesting

    I virtualized a Windows NT4 IIS server running an ASP application with some VB COM components, VMWare ESX is incapable of running it without insane CPU usage. A one CPU physical server is running at about 30 tx/sec with 15% CPU usage, a virtual server inside ESX is getting 90% CPU usage with barley 5tx/sec, the VMWare host itself is at 65% CPU usage with 4 CPUs.

    VMWare seems unable to deal with many object creations and many context switches, the application basically creates a COM object, deals with it and deletes it, very simple logic. A bit disappointing that VMWare is taking such a huge hit.

  14. what a horrible article by jnf · · Score: 5, Informative

    Seriously, how did this make it on /.? The article is only a few paragraphs long, doesn't really even touch on hardware virtualization support or why its necessary (because virtualization currently sucks under 'normal' intel architecture). It even refers to qemu as virtualization, which its not, its an emulator. It mentions the program once then never touches on it again. It never explains why a person might want to use bochs or qemu even though its much slower than vmware/virtual pc. it doesn't touch on parallels or any other software out there.

    Even more it doesn't even explain why the suggestions it makes are made. This article is basically a badly written advertisement for vmware or virtual pc.

  15. The article is an outdated joke. by bigtallmofo · · Score: 4, Interesting

    I agree with you and even take it a step further. The article could not be more plain in that even though it was dated 4/7/2006, it did not take events of the last month into account which makes it totally useless in my opinion.

    Three major announcements in the last month have radically changed server virtualization and made the article obsolete:

    1. VMWare renamed GSX to Virtual Server and made it free.
    2. Microsoft made their Virtual Server free.
    3. Microsoft announced support for certain Linux distributions in their Virtual Server product.

    The parts of the article that show it's obsolete in light of the above facts:

    An open source solution will win the cost battle almost every time
    If you want to use Linux as your host OS, you'll definitely have to go with VMware.

    Also, for my own personal review - I'm a pretty heavy Microsoft user and was excited about them making Virtual Server free. Evaluating VMWare's free product against Microsoft makes Microsoft look pretty unpolished though. For instance, compare VMWare's P2V application to convert Physical to Virtual servers against Microsoft's offering which requires having a spare server lying around which must run Windows Server 2003 Enterprise with Automated Deployment Services. Give me a break - the cost becomes so prohibitive it's not even worth it. Microsoft may get there but right now their product looks like what it is - a bunch of things hastily thrown together. VMWare's products have coherence.

    --
    I'm a big tall mofo.
  16. Uses of virtualization for servers by mpcooke3 · · Score: 5, Informative

    I have been using a few Xen based virtual servers from a commercial company recently - I used to manage physical machines. Here are some of my thoughts:

    Advantages:
    * Low performance overhead of Xen compared to other virtual solutions, and full OS level access as if it was a normal server.
    * The cost of a hosted Xen solution is very low given that the hardware is usually managed.
    * Reduced/No trips to the data center to replace hard disks etc,
    * From the provider i use you can also reinstall the OS, snapshot and restore snapshots over a web interface and get access to the console. These are features you can set up in your own data center but most people never get round to.
    * Quicker turn around if you need new servers, since normally they already have the spare hardware it's 1 or 2 days to get a new server set up rather than 1 to 2 weeks to order, install and configure it.
    * You could do loadbalancing over several Xen Virtual hosts on physically separate machines very cost effectively. This would also mitigate against the variable performance on different Xen hosts if you used a dynamic weighting loadbalancer.

    Disadvantages:
    * Sometimes other users on the Xen system cause problems, or the server is restarted due to Xen related problems. This hasn't happened that often but you wouldn't currently run a system that needed 99.999% availability on a XEN virtual host if the system is vulnerable to a single server going down.
    * You never know quite what your worst case performance is going to be like.
    * If your system doesn't scale laterally (more servers) but only by buying a more powerful single server (some databases for example) then the Xen virtual hosting is not cost efficient.

  17. CoLinux by radarsat1 · · Score: 4, Interesting

    I noticed that whenever virtualization comes up, no one ever mentions CoLinux. I've tried it once and was quite impressed. It takes a different approach entirely--rather than running in a virtualized environment, it is actually a port of the Linux kernel to run as a Windows process. (Some hardware is virtualized by this method, however, such as the network interface.) Are there any advantages to this approach? In terms of reliability, speed, etc.?

    Just curious.

  18. Re:I think we've heard this before by ratboy666 · · Score: 2, Interesting

    Consolidation technology IS important. And it is "taking off".

    Servers are more powerful now. If a company decides to consolidate physical resources (to save A/C, power, rack space, buildings), they can certainly "vertically stack" applications that used to run on multiple servers onto a single server.

    However, if this is done with old-hat technology, the system becomes very difficult to manage. For example, I just worked on a 4 way Opteron with 8GB of memory. The NORMAL process list was 1800 lines long!

    So, containers are used to segregate the machine into more managable units.

    The uptake for this may seem slow, because the clients interested in this have to replace existing gear and facilities. We are talking about major facilities: one client has 7000 assorted Unix, spread across 6 datacenters to be consolidated into 1000 servers at 2 datacenters; another has 10,000 Solaris servers. It takes years to migrate these installations.

    Ratboy.

    --
    Just another "Cubible(sic) Joe" 2 17 3061
  19. Overall Management by Khan · · Score: 2

    I think what makes VMware stand out from all of the rest is Virtual Center and what it brings to the table. Being able to manage ALL of your VM servers hosted on ALL of your ESX servers is a huge plus. And while this version of Virtual Center absolutely has is shortcomings, the next version of both VC and ESX are really going to raise the bar from what I've seen. The mainframe has come full circle.

    --

    "Klaatu, verada, necktie!" -Ash

  20. Performance on virtualized servers by pnuema · · Score: 2, Interesting
    I'm a performance tester who has had to completely reinvent how we do business thanks to virtualization. How do you give assurances to an application that they will perform adequately in a virtual environment when by definition performance will always be dynamic?

    The primary approach we have had to take was to stop looking at whether an app will perform on a virtual machine, and start looking at whether or not it will be cost effective for the app to perform virtually (in general, apps that will perform in the physical world can be made to perform in the virtual world if you throw enough resources at them).

    It's an interesting problem. We found that our company's big push into virtualization had to be scaled back a bit - not every server is truly a good candidate for virtualization.

    1. Re:Performance on virtualized servers by kma · · Score: 3, Interesting

      I'm a performance tester who has had to completely reinvent how we do business thanks to virtualization. How do you give assurances to an application that they will perform adequately in a virtual environment when by definition performance will always be dynamic?

      VMware ESX Server provides proportional-share guarantees for CPU, memory, network and storage performance. I.e., if you always want 50% of a CPU, or 200% of 2 CPUs, or 75% of the bandwidth of a gigE nic, etc., that can be arranged.

      HTH,
      Keith (vmware employee)

  21. Re:Which is missing a QEMU trick by Cytlid · · Score: 3, Insightful

    I've been working with VMWare and virtual servers for a while now (Xen still won't run on my main workstation at home, some ACPI problem or whatnot), but I was really amazed at QEMU. I never really tried it until I read this month's issue of LinuxJournal (all about Virtualization!) ... some of the Xen and VMWare stuff I was already familiar with.

    QEMU's ability to emulate other CPUs is invaluable. You can emulate a MIPS architecture and test your favorite Linksys firmware (I believe the OpenWRT guys already do this). I would really like the m68k emulation to stabalize so I can run old Amiga stuff (or try linux on m68k). Or emulate an ARM processor , drop a PocketPC firmware on it, and test drive Windows Mobile software (or porting Linux to those devices). The possibilities are endless.

    --
    FLR
  22. Re:I think we've heard this before by LurkerXXX · · Score: 4, Insightful
    A virtualisation solution running on Windows with, say 5 instances of Windows. That's 6 copies of patches to apply, resulting in at least 11 reboots (1 for each instance and 1+5 for the primary OS).

    6 copies of patches to apply? Um no. Any admin working with that kind of setup SHOULD know about WSUS server and be rolling out patches (after he's evaluated them on a test rig to make sure they don't break any of his company-specific software) automatically.

    And no, it's not 11 reboots. That's a really really dumb way to do it. You set a group policy to prevent the machines from automatically rebooting after patch installation. When it's time for the scheduled maintenence you shut down all the VM's, reboot the host OS, then crank back up the VMs. That's a total of 6 reboots for 6 windows machines.

    Virtualisation is a fun toy and may be a useful tool if you're a multi-platform developer. But it does not seem to be a serious enterprise solution for the datacenter.

    Virtualization IS a serius enteprise solution. Lots and lots of us have it in production. Then again, we know a bit about the field and don't patch every machine by hand and do unneccessary reboots.

    The cost savings are real if you hire someone competent to run the machines.