About
You arrived at the weblog of Geert Baeke. I am a technology consultant for a company called Xylos (Belgium). I mostly work with Microsoft technologies such as Windows, Active Directory, Exchange, Sharepoint, MSCS, and more. I am also actively busy with VMware's products, focussing on VMware ESX.

Sections
Search






XBOX 360

RSS Newsfeeds
baeke.info Main RSS Feed Main Page RSS
Technologies RSS Feed Technologies RSS
View Article  Hyper-V: Creating a differencing disk with WMI

In my test environment I use a couple of base disks to easily create new virtual machines. I have a base disk for Windows XP SP3, Windows Server 2008 (32-bit and 64-bit), Windows Server 2008 Core and Windows Server 2003. Each time I create a new virtual machine, I create a differencing disk based on one of the base disks and tell the virtual machine to use that base disk. This functionality is the same as in Virtual PC and Virtual Server.

I wanted to automate the creation of differencing disks using a PowerShell script and it turns out to be very easy. The following two lines are all you need:

$img_svc=Get-WmiObject -Namespace root\virtualization -class msvm_imagemanagementservice

$img_svc.CreateDifferencingVirtualHardDisk("path for new disk", "path to parent disk")

You can find this information here but at this time the information there is pretty basic. You'll probably learn more by listing the WMI classes in PowerShell and playing with them a bit. To list the classes just use the following command:

Get-WmiObject -Namespace root\virtualization -list

I tried to find out how to create a virtual machine using WMI but that seems to be rather difficult. At first glance there is no simple method you can use with some parameters like the name, amount of memory, disk and so forth. Oh well, when SCVMM will have support for Hyper-V there will be native PowerShell commands to do just that so it's no big deal.

View Article  Quickies
  • Microsoft released the Microsoft Remote Server Administration Tools for Windows Vista with SP1. Download the correct version for your operating system: x86 | x64
  • They also released an update to enable remote management of Hyper-V RC0: x86 | x64
  • If you did not take a look at Hyper-V yet, now is a good time. The release candidate works a lot better than the beta. I installed it on a quad core box with 8GB of RAM and it is quite fast. And with support for Vista SP1 and Windows XP SP3 it is much more useful especially as a test environment.
  • You don't like to configure Windows Server 2008 Server Core using the command line? Then this is something for you: CoreConfigurator.
  • If you want to setup your own ESX 3.5 (or 3i) server, take a look at the ASUS P5BV-SAS motherboard. It comes with an LSI Logic 1068 RAID controller, built-in VGA and supported network cards (2x 1Gb). I plugged in a quad core Intel CPU, 8GB of RAM and 4 500GB SATA disks. ESX installs perfectly on this box and the performance is quite good!
View Article  Microsoft: Hyper-V RC

Hyper-V Release Candidate is now available and includes support for Windows Vista SP1 and Windows XP SP3 guests (among other improvements). Full details about installation can be found here.

View Article  System Center Virtual Machine Manager (SCVMM) and VMware

The SCVMM product is available today to manage Virtual Server 2005 R2 SP1. But somewhere this year, another version of SCVMM (vNext) will be available that also manages Hyper-V and VMware VI3.

What you should know about this is that SCVMM does not replace VirtualCenter. In fact, SCVMM requires VirtualCenter because it uses the VI3 APIs of VirtualCenter to do all of its work. If you have multiple VirtualCenter servers, SCVMM will be able to talk to all of them to enable management across all instances. It seems a bit too hard for Microsoft to talk to the ESX servers directly which surprises me because there are APIs to do that.

I am not sure if using SCVMM together with VirtualCenter is a compelling scenario. Sure, SCVMM's PowerShell functionality is cool but VMware itself is hard at work to get their VI PowerShell launched. VI PowerShell will beta this month and from what I have already seen it works very well.

Another SCVMM function, intelligent placement, is also something that has been available for a while on VI3. I continuously hear people say that this is a feature that SCVMM vNext will bring to VI3 and that is just incorrect. See also this article about this common misconception.

The library feature is not that interesting either because you can easily store ISOs, floppy disk images and virtual machine templates on VMFS or NFS datastores. SCVMM does provide a nicer GUI to work with those assets but that is not something that justifies an extra management tool.

I do see some benefit in the integration of SCOM 2007 with SCVMM vNext especially if Microsoft were to release a management pack for VMware VI3. Performance information from ESX hosts and virtual machines could then be fed into SCCM vNext to improve VMotion recommendations, intelligent placement calculations and so on. I don't except this will happen soon but today at the Microsoft TechDays in Ghent, a Microsoft employee told us that we should expect some big announcements around the timeframe of the Management Summit. Will there be more VMware-related integration? Time will tell...

So although I think SCVMM is great for Virtual Server and Hyper-V deployments, I don't think it is very useful in a VMware environment. But maybe you have a different opinion so let me know what you think.

View Article  Windows licensing and virtualization

You probably know that the different versions of Windows allow you to run additional virtual instances of Windows. The standard version allows you to run one additional virtual instance, the enterprise version allows four virtual instances and the datacenter version allows unlimited instances. The additional virtual instances are linked to a physical server. This means that when you buy the enterprise version of Windows for example, you can run four virtual instances on one physical server.

You should also know that these rules are not linked to Microsoft virtualization technologies such as Virtual Server or Hyper-V. They apply to VMware VI3, XenServer and any other hardware virtualization product.

But what happens in an environment with live migration features such as VMotion, XenMotion or even Quick Migration like in Virtual Server and Hyper-V? In that case you need enough licenses for the amount of virtual machines that can potentially run on one physical server.

An example should make this clearer. If you have two hosts running ESX with eight virtual machines in total and VMotion/HA enabled you might be tempted to buy two Windows Server Enterprise licenses. You can do this but then you have to run four virtual machines on one server and four virtual machines on the other and never move them! (Note: there are some exceptions to this in the official Microsoft documents)

So how many Enterprise licenses do you have to buy? The answer is you should buy four Windows Server Enterprise licenses: two for the first server and two for the second server. Depending on the amount of physical processors in the server, Windows Server Datacenter licenses will quickly become cheaper.

More information: Microsoft

 

Login
User name:
Password:
Remember me 
This Month
March 2008
Sun Mon Tue Wed Thu Fri Sat
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
Networking
View Geert Baeke's profile on LinkedIn

Services

Powered by BlogHarbor
Powered by BlogHarbor
StatCounter