Archive for the ‘Hyper-V’ Category

VMWare ESX: Hyper-V and memory overcommit? forget it!

Thursday, December 18th, 2008

Hyper-V Manager error when trying to start my 4th virtual machine:

  • An error occurred while attempting to change the state of virtual machine. Unable to allocate MB of RAM. Insufficient system resources exist to complete the requested service. etc…

 Hyper-V Memory

Before I reinstall my test Dell PowerEdge 2900 Quad core server I wanted to share this with you. Hyper-V does not support memory overcommitment and I don’t like that. The virtual host has 8GB or RAM and I want to run more VMs than just 6 of those; the OS uses almost 1GB and less than 7GB is available for VMs.
Some weeks ago I read about  memory overcommitment feature which is available for VMWare’s ESX/ESXi servers.

What is Memory Overcommitment?

Memory overcommitment is not a feature in itself, but a collection of technologies out of which “transparent page sharing” is the most interesting in my opinion. The usefulness of transparent page sharing will spring to mind immediately if you consider VDI environments. There, host machines typically run large numbers of identical client operating systems with the same applications installed on them. Since all the clients/guests run the same application set, most of the code pages they need to keep in memory are identical. Each guest keeps separate copies of all system and application EXEs and DLLs in memory – what a waste!

Now consider the following: in memory program code is organized in units of pages. If you had a component that identified all those identical pages in each guest’s virtual memory and map them to one set of pages in the host’s physical memory, you could reduce the code memory footprint of n virtual machines to that of one single virtual machine. And that is in a nutshell what VMware’s “transparent page sharing” does.

I only want to run different VMs of Windows Server 2003 or Windows Server 2008 and install additional components to test them with each other. With Hyper-V server I can only commit the physical memory available and additional VMs.
 
Related links:

Hyper-V and DC as virtual machine

Monday, June 23rd, 2008

When I try to open the “Active Directly Sites and Services” MMC console I got the following error message.

image

Naming information cannot be located because: The clocks on the client and server machines are skewed. Contact your system administrator to verify that your domain is properly configured and is currently online.

My Hyper-V host is running in a workgroup and not being member of a AD DS domain. Therefore it is not syncing the time with a managed NTP time service. One of my remote domain controllers is running on this host and I am having issues to authenticate myself on the AD DS running as virtual machine. The best option in this case is to disable the time synchronization within the virtual machine options. Another option is to fix the host time, but if you are selling the Hyper-V as a service to customers than you won’t be member of their domain ;)

Right click the virtual machine; choose settings within the Hyper-V management console. Go to Integration Services and uncheck “Time synchronization”. 

image

After the reboot the domain controller synced the time with the correct values.

Apply KB949219 to virtual machines after upgrading to Hyper-V RC0

Monday, April 7th, 2008

After I installed Hyper-V RC0 on the physical host server I than start upgrading vm additions on my Windows Server 2008 virtual machine. I uninstalled the old Integration Services tools from my virtual machine, reboot and than reinstalled the Integrations tools again.

I reboot the virtual machine and checked the network configuration, but no network adapters were shown. I shutdown the machine and added a legacy adapter; now I had network connectivity on my virtual machine, but still I could not figure out why the integration services did not work. I opened Server Manager and checked the Device Manager. As shown below there were three warnings for Microsoft VMBus Video Device, Microsoft VMBUS HDD Miniport and Microsoft VMBus Network Adapter.

image

I went back to http://support.microsoft.com/kb/949219 article and I read I also should apply this update on the virtual machines. I installed KB949219 and reboot and my problems were fixed.

 image

Update for Windows Server 2008 (KB949219)
This package includes the following items:

- The updated version of the Hyper-V Manager console and of the Virtual Machine Connection remote connection tool for x86-based versions of Windows Server 2008 
-The updated version of the Integration Services for x86-based versions of Windows Server 2008 
-To install the latest version of the Integration Services for x86-based versions of Windows Server 2008, you must install this package in the virtual machine and on computers that are running the x86-based version of Windows Server 2008.

Update for Windows Server 2008 x64 Edition (KB949219)
This package includes the following items:

- The updated version of the Hyper-V role
-The updated version of the Hyper-V Manager console and of the Virtual Machine Connection remote connection tool for x64-based versions of Windows Server 2008
-The updated version of the Integration Services for the following operating systems: • Windows Server 2008, x64-based versions only 
- Windows Server 2003 Service Pack 2 (SP2), x86-based versions and x64-based versions 
- Windows Vista Service Pack 1 (SP1), x86-based versions only 
- Windows XP Service Pack 3 (SP3), x86-based versions only 

Hyper-V Remote Management console Windows Vista permissions

Monday, April 7th, 2008

After you have installed Hyper-V Remote Management mmc console on your Windows Vista SP1 client and you connect to your Windows Server 2008 Hyper-V RC0 host servers which are sitting in a workgroup you will hit same problem as I did and many others.

You do not have the requested permission to complete this task. Contact the administrator of the authorization policy for the computer ‘COMPUTERNAME’

image

Basically what happens here is that Windows Firewalls on the client and server side are not configured to allow remote WMI management communication and the WMI and DCOM components will have to be manually configured. John Howard Senior Program Manager at Microsoft took 2,5 hours of his time and described in details how to fix this problem. Thanks to John I was able to get my communication up and running with my Hyper-V RC0 host server in less than 15 minutes. The netsh scripts didn’t work for me and I enabled the rules manually.

image

When trying to connect to one of my virtual machines I am prompt to enter my credentials. Use cmdkey /add servername /user:servername\user /pass to store the credentials. I tried this but my Lenovo Fingerprint software has some bugs and I get a lot of error messages; something to report to Lenovo… Anyway I am able to use the the Hyper-V mmc console from my Windows Vista client and I love it.

image

Remote management console Hyper-V RC0 role Vista SP1

Monday, April 7th, 2008

KB949758 allows you to install the remote management console of a Windows Server 2008 computer running the Hyper-V RC0 role. Download the update here for x86 or x64 if you are running Windows Vista SP1. I already hit couple of times issues when managing my virtual machines remotely with RDP console session.

image

I am not able to control mouse session when using rdp console session Hyper-V Manager Virtual Machine Connections and only keyboard is working. “Mouse not captured in Remote Desktop Session”.

image

The update for my x86 machine only requires 1.52MB of space and 5 minutes of installing.

image

image

After the update has been installed go to Administrative Tools and start the Hyper-V Manager mmc console for your Windows Server 2008 Hyper-V RC0 host servers.

image

image

Hyper-V RC0 Upgrade KB949219

Friday, April 4th, 2008

After Windows Server 2008 RTM was released I download and made a DVD. I installed the Hyper-V beta release and start testing the Microsoft’s hypervisor.

ScreenShot00037

The Release Candidate 0 (RC0) update to the Hyper-V role provides improvements to security, stability, performance, user experience, forward compatibility of configurations, and the programming model. All users of the Hyper-V role are encouraged to apply this upgrade. After you install this item, you may have to restart your computer. So I download the Hyper-V RC0 from here.

ScreenShot00038

I uninstalled the current installed Hyper-V role and reboot.  After the reboot I applied Windows6.0-KB949219-x64.msu and reboot the server to finish the update. After installing and rebooting the server I upgraded the hypervisor in 15 minutes.

 ScreenShot00039