Sep
11
2008

Microsoft TechNet: Hyper-V release “party”

Okey, so it’s official, Microsoft Hyper-V is out..

To celebrate, Microsoft held a seminar about both Hyper-V and its management applications. As usual, the number of  “we want you to buy this product” words by far exceeded the number of “our technocal solution is cool, but there are a number of improvements we want to include in the next release” sentences. As I am trying to become a good student, I took notes during the whole session (which btw lasted a whole day..).

To recapture some of my previous comments about Hyper-V, please read my previous posts on the subject: 1 & 2.

Comment #1: Just as some news papers already have said; Microsoft are trying to give the impression that they were the one’s who invented virtualization. As I recall, the virtualization techniques and methods first appeared in connection with mainframes in the 70′s and 80′s. The x86 virtualization is mainly a product of VMware after they released their first product and got their first patent in 1998.

Comment #2: “Virtualization should be a service in the operating, it should not try to be the operating system” (quickly translated and somewhat obscurinated by memory loss.). Well, let’s see: We have a virtualization system which is included in the Windows 2008 operating system. When installing Hyper-V, you actually replace the Windows 2008 kernel with a microkernel called HvBoot.sys (the same strategy as Xen is using by the way). Now, how is that different from an operating system as you still have to have the Windows 2008 (which definitively is an operating system) to be able to run virtual systems?
To make matters worse, Microsoft are releasing a Hyper-V server release which is more or less a stripped down version of Windows 2008 with the Hyper-V role and, as I understood it, nothing more. Well, that’s still an operating system in my eyes.

Comment #3: 24/7 is nice, we love systems with more and more 9′s. But how can you make that happen with Hyper-V? VMware have VMotion (live migration without down time) and High-Availability integrated in its virtualization software. Microsoft have something they call quick migration. It transfers your virtual machines to another physical hosts. So far so good. But, the move doesn’t happen live. You have to take your host offline for some 20-30 seconds terminating all the network connections to the hosts. So, how do you enable 24/7 operations with Hyper-V? You take the good old clustering techniques and make some clusters with your virtual machines as members. Yay! Complexity, complexity, complexity!

Comment #4: Now, x86-64 (or x64 as Microsoft says) have been on the marked for quite some time. I might understand why you don’t want to support older 32 bit hosts with your virtualization solution; but please, come up with a good list of reasons for why… There actually might be someone out there who doesn’t require 2Gig RAM for every virtual host.

Comment #5: Microsoft claim that VT (AMD-V and Intel VT) dramatically improves the performance. On the other hand, VMware says that they are better off doing everything in software since the programming APIs are far from good. I’m puzzled.

Comment #6: It feels like a big, nasty crocodile with it’s teeth stuck in my ass: Licensing. Or, L I C E N S I N G. Microsoft have never understood that we want simple terms. We want to spend money on software, hardware and beer, not attorneys. With VMware, you pay for the services you want. Only virtualization? –> ESXi is available for free. Enterprise management? –> Buy Virtual Infrastructure. HA? -> License. DRS? –> License. Backup? –> License. You can’t mess that up.

Now, it’s Microsoft’s turn: You can buy Windows 2008 in three different versions (and probably a lot more, but I don’t bother checking their web page while writing this..): Standard, Enterprise and Datacenter. Standard gives you an opportunity to run 1 virtual machine. Enterprise gives you 4. Datacenter? Unlimited. So far, so good. Now, here’s the fun part: You can’t transfer your license out of the country. Say what? If you have data centers in two or more countries, you have to have licenses for every possible piece of software in every country. So much for disaster recovery or load balancing between countries or continents…

To make things even worse: If you virtualize your standard edition, you can only run software on the virtual machine; not the host OS. Headaches, anyone?

Comment #7: The joy of taking a pretty known word and replace it with something that sounds stupid: Enlightenment. As far as I know, enlightenment is a window manager – or a commonly used english word. But hey, standard are bad things: Enlightenment, in the Microsoft world, is just a fancy way of saying paravirtualization. Paravirtualization is the technique of replacing privileged kernel calls with hypercalls which the hypervisor understands. Paravirtualization is used instead of binary translation and gives you some extra bang for your buck. But enlightenment? Yeye…

Comment #8: Speaking of paravirtualization: As far as I know, you can’t use paravirtualization on virtual Windows machines since Microsoft doesn’t want to open up their kernel. Using it on Linux works nice. So, Microsoft have enabled their own paravirtualization spec for use on Windows 2008 Hyper-V hosts with Microsoft guests. Well, that’s a bit annoying, but OK. Well, the best thing is that they have made a translator between the Linux paravirtualization support in Suse SLES 10.2 (Xen) to the Windows Hypervisor hypercalls. Why can’t they use the paravirtualization already implemented in VMware or Xen?! Convert hypercalls or use binary translation? Nice call…

Comment #8: Disk space. Just to make a note of it: The actual hypervisor is 100KiB (HvBoot.sys). The service is 260MiB. And, in addition, you have to download the integrated services install for Linux from Microsoft’s web page. Bloated?

Comment #9: This is probably the biggest killer of them all: Every virtual machine has to have it’s own LUN on your SAN. So, every time you need another virtual machine you have to call your storage manager to get another LUN. Or, at least that’s what they said. On the other hand, they also said that you could store virtual machine disk files on SMB shares and all other kinds of disk drives that WIndows recognizes. I’m confused… And I don’t think I’ll spend time testing it…

Comment #10: Disaster recovery: If you have to use Export/Import to move machines from one server to another (or quick migration..), what do you do if your Active Directory, your disk drive, the server or another feature fails and the server/system becomes offline? Will the virtual machines change ID’s, MAC addresses, config files and UUID? At least VMware asks you to confirm that you want to use the same system ID  or generate a new one. Hyper-V asks you to confirm when you try to use the same one,  but hey, they warned us pretty good about just copying the machines from one host to another because of the thight (…) integration with Active Directory.

Comment #11: The integration with every other Microsoft product makes me a bit sick. I just want to virtualize servers, not change my whole system to Windows. Just to mention some of the products they bragged about today: Microsoft Virtual Machine Manager, Microsoft System Operation Manager, Microsoft System Center and Microsoft Configuration Manager. I guess that a lot of these programs are pretty useful if you have a Microsoft friendly environment, but it’s pretty hostile here in my apartment :-)

Comment #12: Hyper-V has one cool feature: Differencing disk type. This is a type of disk which can expand from another disk image. For example, you can install the operating system first, add a new disk and make the installation read only. Then, the cool part: you can write all the changes to the new disk. Nedlesss to say, you can now use your read only installation as a master image for a lot of installations, removing the need for installing the operating system every time you want a new machine.

Generally speaking, the killers for Hyper-V will be the licensing model being used on Microsoft’s products and the SAN storage problem. The licensing issue is pretty much one problem I can’t swallow; it is too darn complicated and put too much restrictions on my use. Even though they promised that there won’t be any technical restrictions, you have to have control over which licenses you have and how many you are using currently to sleep well at night. Why can’t they just say “it’s nice that you bought our product, you can now use it as you like wherever you like” instead of this server farm/country crap? And it doesn’t stop there… For the love of god, make it easier!

When it comes to the SAN problem, I just hope that I’m wrong.

Please make a comment if you have some addition information about what I have just said..

September 12th; Update: Oh, I forgot; another fancy feature which wasn’t ready for the first release: Hot-Add of everything; disks, memory, CPU, usb.. you name it. It is supposed to be delivered at “a later time”. I want it now!

Sep
10
2008

Hyper-V for free

Just as anticipated, Microsoft is, according to Virtualization.info, going to give away Hyper-V for free. In addition, they are releasing a stripped down version which does not require the complete Windows 2008 OS. Even so, my original question still remains: do you have to buy a license for Win2008 to be able to virtualize your machines? And still, will the kernel be built with operating system functions in mind instead of virtualization? You can argue that the memory management and resource sharing algorithms are getting pretty good in mainstream operating systems, but I still believe that a specialized kernel for virtualization will be better than the general one which has to take into account a lot of different use and abuse cases.

Well, anyhow, the world of virtualization just got a little bit more exciting. As we all know, competition usually makes the available products and services better for the end users :-)

Sep
07
2008

Cool scripts

VMware held a VI Toolkit scripting contest to create some buzz around Windows Scripting and the connection to Virtual Infrastructure. As always, when there’s money involved, people usally do a good job.

The winner is a script capable of cloning a large number of guests and setting some variables which are quite annoing to set manually. Thanks to LucD for a nice idea and implementation :-)

You can find the rest of the winners here and all the entries at VMware’s community page.

Aug
29
2008

ESXi and the R200

I’m getting some comments about the “Can’t write to device” errors. At first I thought it might be a problem with 3.5U2 since I had no problems installing the 3.5U1 on the R200, but my reinstall with 3.5U2 went without a hitch. So, here are some other ideas:

  • Bad disk drive / disk drive firmware / disk related problems (I have changed from the disk delivered by Dell to a WDC 640Gig)?
  • Old bios?
  • Corrupted CD?
  • Bad luck?

If anyone know the source of this problem, please make a comment :-)

Aug
26
2008

ESXi PXE booting with configuration

VMware isn’t very keen on sharing some of the details of ESXi, so it’s very nice that some of us virtualizing geeks are hacking their software to find new features.

One of the major problems with ESX(i) is the support for storage controllers – quite a few have discovered that their controller isn’t supported. Well, that’s a problem of the past from now on: You can just boot ESXi with PXE and still retain the configuration after reboot. You can even exploit this for making completely automatic deployment of ESXi. Kudos to Jim McCann for the guide!

Diskless ESXi: http://docs.google.com/View?docid=ddcwgcd6_4fs6s7jcf – check the buttom part to find out how you save your configuration so that it isn’t lost upon reboot :-)

Aug
25
2008

ESX(i): Resource pools

Okey, I have to admit it: I have a lot of CPU power just laying around unused. To be exact, I have around 24GHz available after my two critical hosts have gotten their share.

So, I’m testing the resource pools available for distributing resource shares to different virtual machines. The setup is pretty easy: I have a few critical hosts, namely this web server and the Windows 2003 which is running both my Windows applications and the VMware Infrastructure Server. They are both located on pentagon, a dual 3GHz machine with 7Gigs of RAM.

One of the applications that are using a lot of CPU time is SETI – Search for Extraterrestrial Intelligence – which scans the radio waves picked up with the Arecibo radio telescope. It is notorious for spending close to 100% CPU time.

To test the resource pools and VMware’s ability to distribute resources, I made two pools; the critical and the non-critical pool. The critical is getting a high amount (80%) of the CPU resources while the non-critical is getting a low amount (20%). I then created a virtual machine (linux) to host the SETI setup. This setup was then duplicated to the three hosts that I have running.

I am happy to say that the latency on the critical hosts are close to zero even though my SETI virtual machine is spending almost all the available CPU resources. The host stays at close to maximum CPU utilization at all times, wasting almost no resources.

Well, no happy story without a word of caution: Don’t add your hosts to a DRS cluster, create some resource pools, power on a number of hosts with 100% CPU utilization and then remove the DRS cluster or move one of the hosts out of it. I tried that once with my critical hosts and it quickly came to a point where everything came to a stop. And, since I’m running my virtualcenter server inside a virtual machine, it took some time before I could fix the problem again…. One lesson learned, at least :-)

The picture attached shows my current setup. The current CPU usage is 96,7%. The explanation for the low numbers on the individual CPU’s is HyperThreading which makes the resource monitor a little bit confused. No biggie, the CPU usage monitor for the host displays the right number.

Aug
25
2008

VMware Server 2.0 RC2

Just a quick update on the VMWare Server: The 2.0 RC2 is released and ready to be downloaded from http://www.vmware.com/beta/server/ :-)

The list of updates to this release includes support for Firefox 3 (finally…), support for SCSI pass-through devices so that you can use your tape drive in a virtual machine, disk expansion on the fly and a few other things. Nothing revolutionary, but a nice update. Maybe we will hit 2.0 RTM soon :-)

On the dark side: there’s still no support for adding VMware Server hosts to the Infrastructure server and the VIC is saying that the hardware isn’t supported… So I’ll guess that we’re still stuck with the web interface…

Aug
18
2008

My project

So, ok, the new semester started today. As always, I’m a bit lazy on the first day so I took the opportunity to work from home instead of going to school.

It turned out be a rather ok day when I finally got out of bed. I’ve made a quick front page and a suggestion for the content in my project report. As you can read on my “Why”-page, the goal is to virtualize computer labs for students to reduce both cost and administration and at the same time deliver a better service.

After a quick look around, I chose to focus on the following virtualization solutions in the next months:

  • VMware ESX/ESX(i)/Server/VDI
  • Microsoft Hyper-V
  • Xen
  • Sun Virtualbox/xVM/Solaris Containers
  • VirtualIron
  • Virtuozzo
  • QEMU

Are there any other solutions I should look at? I know about the different IBM/HP solutions, but they requires special hardware which are pretty expensive.

Aug
18
2008

Recent events

There have been a lot of buzz about the latest VMware bug. As always, there is nearly a competition about who screams loadest about “the big catastrophy”.

The bug, which was a time bomb left in the code after the bug testing period, make it impossible to power on new virtual machines after August 12th. Pretty stupid bug which should have been caught in Q&A, but it didn’t.

So, here are my thoughts:

  • The bug did not make your virtualization solution more vulnerable for attacks from the outside. So, no security issues
  • The bug did not make your servers go down unless you use VMotion, HA or DRS. So, you should probably be able to reduce the impact of the bug by turning those features off.
  • VMware fixed the problem within 36 hours, as they said they would. They have also made alternative patches for those of you who can’t turn off or migrate off virtual hosts while patching.
  • The bug appeared in a new release. A good sysadmin knows that all new software have bugs and delays the production phase in untill the first wave of patches have been released.

So, yeah, the bug was annoying. Yeah, it forced you to patch and reboot your ESX(i) hosts. Well, what’st he huge problem? My guess is that very few of the companies with ESX(i) hosts in production were affected by this bug. So, I just waited for the patch and used the opportunity to change from ESX to ESXi on my Poweredge 2850 :-)

Aug
09
2008

Hyper-V: The Administration Package

The Microsoft equivalent to VirtualCenter is named Microsoft System Center Virtual Machines Manager. The 2007 version is out while the 2008 is in beta. t should provide live migration capabilities and simplify management of large Hyper-V farms. So, it should be included in every installation of Hyper-V. But no, Microsoft, doing the same as VMware, is selling the package separately from the Windows 2008 server OS. Nice way to increase your income, not so nice for us that are on a budget…

Well, over to the snarfu:

  1. The installation package is a massive 2.7GiB. VMware VirtualCenter, including MS SQL 2005, is 577MiB.
  2. The system is depended upon a Active Directory Domain. Nice, another application package to administrate. I can see why you want a domain to handle user management, access control and so on, but it isn’t the most user friendly interface. And, it is extremely overkill if you only want to run virtual machines and not your entire organization on the same server farm. The virtual machine manager should be able to manage user management and access control lists on itself given an administrator account on the hosts that it should manage.
    It looks like you can add any host after installing the SCVMM on a domain host. Why you need the Active Directory is still a puzzle…
  3. The SCVMM 2008 beta seems a bit unstable, to say the least. The Virtual Machine Manager keeps crashing every time I try to do something in the administration client.
  4. You can actually manage VMware VirtualCenter hosts from SCVMM. I doesn’t work the other way around.

The crashing made it impossible to continue with Hyper-V. The impression I have of Hyper-V is that it is unfinished and needs a lot of polishing before it is ready for prime time. It might be an alternative for those of you who doesn’t have a virtualization solution already and depend upon the WIndows 2008 server OS for other tasks, but if you are serious about virtualization, go for VMware.

Older posts «

» Newer posts