Archive

Archive for the ‘Virtualization’ Category

Microsoft Hyper-V Cloud Fast Track with Dell technology

January 10, 2011 Leave a comment

Curious about Cloud ?

  • Should you use public cloud offerings from providers, build your own private cloud, or develop a hybrid of both?
  • What cloud-based services are right for you?
  • What are the best practices and proven process for implementing cloud technologies that minimize risk and maximize success?

Microsoft in partnership with Dell

Microsoft Hyper-V Cloud Fast Track is a reference architecture for building private clouds that combines Dell technology, including servers, networking and storage, with Microsoft software, technical guidance and validated configurations.

Hyper-V Cloud Fast Track solutions offer a turnkey approach to delivering scalable, preconfigured, validated infrastructure platforms for on-premises private cloud implementations. With local control over data and operations, your IT can dynamically pool, allocate, secure and manage resources for agile IaaS. Likewise, business units can deploy line-of-business applications with speed and consistency using self-provisioning and automated data center services in a virtualized environment.

Hyper-V Cloud Fast Track solutions offer:

  • Faster deployment — Rich features and support make private clouds easy to deploy.
  • Reduced risk — Validated configurations mean you can implement with confidence.
  • Dell advantage — Dell provides business-ready configurations for virtualization that are optimized for Microsoft Hyper-V. 

Dell Business-Ready Configurations for Microsoft Hyper-V Cloud Fast Track

Dell offers a range of pre-engineered, business-ready configurations that conform to Microsoft’s Hyper-V Fast Track reference architecture:



Hotfixes for SCVMM 2008 R2

January 4, 2011 1 comment

Hi

Here is the recommended hotfixes for System Center Virtual Machine Manager 2008 R2

Recommended updates for the Virtual Machine Manager (VMM) Server and Admin Console

2308590 (http://support.microsoft.com/kb/2308590) Description of the System Center Virtual Machine Manager 2008 R2 hotfix rollup package: September 14, 2010

982523 (http://support.microsoft.com/kb/982523)   Description of the System Center Virtual Machine Manager 2008 R2 Admin Console hotfix rollup package: June 8, 2010

Windows Server 2008 – Recommended updates for Microsoft Hyper-V Server and for the VMM server

The following list applies only to systems that are running Windows Server 2008 Service Pack 1

954563 (http://support.microsoft.com/kb/954563)   Memory corruption may occur with the Windows Management Instrumentation (WMI) service on a computer that is running Windows Server 2008 or Windows Vista Service Pack 1

955805 (http://support.microsoft.com/kb/955805)   Certain applications become very slow on a Windows Server 2008-based or Windows Vista SP1-based computer when a certificate with the SIA extension is installed

956774 (http://support.microsoft.com/kb/956774)   A Background Intelligent Transfer Service (BITS) client cannot handle files that have paths that contain the volume GUID in Windows Server 2008 or in Windows Vista

958124 (http://support.microsoft.com/kb/958124)   A wmiprvse.exe process may leak memory when a WMI notification query is used heavily on a Windows Server 2008-based or Windows Vista-based computer

The following list applies to systems that are running Windows Server 2008 Service Pack 1 or Windows Server 2008 Service Pack 2

968936 (http://support.microsoft.com/kb/968936)   A rollup hotfix package for Windows Server 2008 Failover Clustering WMI provider

970520 (http://support.microsoft.com/kb/970520)   The Wmiprvse.exe process creates a memory leak on a computer that is running Windows Server 2008 if you remotely monitor this process by using the WMI interface on a computer that is running Windows Server 2003 or Windows XP

971244 (http://support.microsoft.com/kb/971244)   Windows Remote Management (WinRM) does not accept HTTP authorization requests that are larger than 16 KB on a computer that is running Windows Server 2008 or Windows Vista

971403 (http://support.microsoft.com/kb/971403)   The “Win32_share” WMI class cannot enumerate file shares or create file shares on a node in a Windows Server 2008 failover cluster

To see a list of recommended Hyper-V updates for Windows Server 2008 and for Microsoft Hyper-V Server 2008, visit the following Microsoft TechNet website: http://technet.microsoft.com/en-us/library/dd430893(WS.10).aspx (http://technet.microsoft.com/en-us/library/dd430893(WS.10).aspx)

Windows Server 2008 – Recommended updates for Hyper-V Failover Cluster nodes

957311 (http://support.microsoft.com/kb/957311)   Recommended hotfixes for Windows Server 2008-based server clusters

Windows Server 2008 R2 – Recommended updates for Microsoft Hyper-V Server and for the VMM server

981314 (http://support.microsoft.com/kb/981314)   The “Win32_Service” WMI class leaks memory in Windows Server 2008 R2 and in Windows 7

981845 (http://support.microsoft.com/kb/981845)   The Windows Remote Management service stops responding in Windows 7 or in Windows Server 2008 R2

To see a list of recommended Hyper-V updates for Windows Server 2008 R2 and for Microsoft Hyper-V Server 2008 R2, visit the following Microsoft TechNet website: http://technet.microsoft.com/en-us/library/ff394763(WS.10).aspx (http://technet.microsoft.com/en-us/library/ff394763(WS.10).aspx)

Windows Server 2008 R2 – Recommended updates for Hyper-V Failover Cluster nodes

974930 (http://support.microsoft.com/kb/974930)   An application or service that queries information about a failover cluster by using the WMI provider may experience low performance or a time-out exception

980054 (http://support.microsoft.com/kb/980054)   Recommended hotfixes and updates for Windows Server 2008 R2-based server clusters

Recommended updates for Windows Server 2003 systems that have Virtual Server installed

936059 (http://support.microsoft.com/kb/936059)   An update is available for the Windows Remote Management feature in Windows Server 2003 and in Windows XP

Recommended updates that should be applied to Windows 2000 systems before a P2V is performed

834010 (http://support.microsoft.com/kb/834010)   A deadlock occurs when a program that uses WMI calls the LoadLibrary() or the FreeLibrary() function in Windows 2000

843527 (http://support.microsoft.com/kb/843527)   The Win32_SCSIController WMI class cannot obtain SCSI controller information after you install the MS04-011 security update

892294 (http://support.microsoft.com/kb/892294)   A WMI event notification query does not detect a user permissions change on Windows 2000 or Windows Server 2003

More info : http://support.microsoft.com/kb/2397711

free Virtualisation Workshop in Sydney, Brisbane, Melbourne, Perth, Canberra, Adelaide

December 22, 2010 Leave a comment

Dynamic Datacenter Workshops

Attend this free Virtualization event and get up to date with Microsoft’s Virtualization technologies! This event will travel to six capital cities starting on February 1st 2011 and continuing throughout the month.

See details of the event below, along with registration links. Register now as seats are limited!

To attend this event you will need to bring your own laptop with you. To connect to the labs you will need the Remote Desktop Connection Client 7.0 Update installed. This client is built into Windows 7 and is a complimentary download for Windows XP SP3 and Windows Vista SP1 and SP2. We have already run these events in other countries and it works extremely well. There will be food provided and in each city, we will be giving away a copy of the latest Hyper-V Resource Kit. So over to the agenda:

Event Overview
This workshop aims at providing an in-depth understanding of Microsoft’s server virtualization technologies. They are the basis of a dynamic infrastructure and provide the building blocks of a private cloud solution. The workshop covers the following:

Agenda Topics

  •  
    • Day 1
      • Virtualization 360 Overview
      • Hyper-V Architecture and Implementation
      • High Availability
      • Lab – Setup a 2-node Hyper-V Cluster 
      • System Center Virtual Machine Manager
    • Day 2
      • System Center Operations Manager
      • Lab – Setup SCVMM, SCOM and Pro-Pack integration 
      • System Center Data Protection Manager
      • Lab: Setup DPM and backup virtual machines
      • Architecture Considerations and Best Practices
      • Virtual Machine Manager Self Service Portal 2.0
      • Lab: Deploy, Configure & Use VMMSSP 2.0

Dates and Registration Details:

Brisbane
Date: 1–2 February 2011
Location: Microsoft Brisbane
Time: 9:00 – 5:00PM each day
Registration:  Click Here to Register
Canberra
Date: 15–16 February 2011
Location: Microsoft Canberra
Time: 9:00 – 5:00PM each day
Registration:  Click Here to Register
Melbourne
Date: 7–8 February 2011
Location: Microsoft Melbourne
Time: 9:00 – 5:00PM each day
Registration:  Click Here to Register
Perth
Date: 21–22 February 2011
Location: L7 Solutions Perth
Time:  9:00 – 5:00PM each day
Registration:  Click Here to Register
Sydney
Date: 10–11 February 2011
Location: Microsoft Sydney
Time: 9:00 – 5:00PM each day
Registration:  Click Here to Register
Adelaide
Date: 24–25 February 2011
Location:  Microsoft Adelaide
Time:  9:00 – 5:00Pm each day
Registration:  Click Here to Register

Enhances the performance of the Cluster WMI (MSCluster) calls by SCVMM

December 15, 2010 Leave a comment

 
The cluster team is constantly trying to optimize VMI performance, and this especially true for Hyper-V and SCVMM integration.

If you are using SCVMM or WMI,  Microsoft Cluster Team recommend installing the following hotfix on all cluster nodes which enhances the performance of the Cluster WMI (MSCluster) calls by SCVMM: http://support.microsoft.com/kb/974930

(Thanks to Symon Perriman)

SCVMM 2008 R2 SP1 RC is now ready to download

December 8, 2010 Leave a comment

For those who are participant in a Microsoft Connect beta program : SCVMM 2008 R2 Beta :

The  SCVMM 2008 R2 Service Pack 1 Release Candidate is now ready to download from https://connect.microsoft.com/site799

This release adds support for Windows Server 2008 R2 SP1 RC to SCVMM. We’ve added the necessary properties and controls to allow you to create and manage Dynamic Memory and RemoteFX enabled on virtual machines on Windows Server 2008 R2 SP1 Hyper-V hosts.

 Since this is a pre-release version, usage of this is limited to test environments. You’re encouraged to ask questions via theSCVMM forums

Hyper-V Cloud. Links to download the Deployment Guides

December 6, 2010 Leave a comment

As many are requesting the links to download the Microsoft Hyper-V Cloud Deployment guides.

Building Private Clouds With Hyper-V Cloud and the Windows Server Platform

Windows Server 2008 R2, Microsoft’s server platform, already delivers comprehensive virtualization and management capabilities through Windows Server 2008 R2 Hyper-V. These technologies, along with Microsoft System Center, provide the components organizations need to implement private clouds. With the new Hyper-V Cloud Fast Track program, Microsoft and its partners will deliver a broad choice of predefined, validated configurations for private cloud deployments, comprising compute, storage, networking resources, virtualization and management software. These programs and offerings help reduce the risk and increase the speed of private cloud deployments.

here are the links. ( Right click -> Save as )

What Is Private Cloud?
http://download.microsoft.com/download/F/A/5/FA5B09CA-D020-45A2-9ED5-84BBB7FB4F33/Hyper-V_Private_Cloud-Datasheet-Final.pdf

 

 More information on Hyper-V Cloud and additional details on how Dell, Fujitsu, Hitachi, HDS, HP, IBM and NEC are participating in the program can be found at http://www.microsoft.com/privatecloud

Everything you wanted to know about Time Synchronization in Hyper-V, but were afraid to ask

November 22, 2010 Leave a comment

 

keeping time inside of virtual machines, how Hyper-V tackles these ?

Check out here in Ben Armstrong, Microsoft Virtualization Program Manager : http://blogs.msdn.com/b/virtual_pc_guy/archive/2010/11/19/time-synchronization-in-hyper-v.aspx

How to fix the ‘Unspecified error’ (0x80004005) : Could not find a usable certificate. Windows 2008/R2

November 19, 2010 12 comments

Hi

Thanks to Dan Boldo (MSFT) and Ben Armstrong (MS Virtualisation PM), here are an explanation and the fix for the error.

Notes:

  • This error only affects VMConnect and does not affect remote desktop connections.
  •  Though this error may occur, the Hyper-V service will continue to operate.   Neither the Hyper-V host nor the running virtual machines will go offline.
  • Microsoft Virtualization Team also confirmed that this issue also affects  Windows 2008 R2 Hyper-V.
  • For Configuring Certificates for Virtual Machine Connection, please read http://technet.microsoft.com/en-us/library/ff935311(WS.10).aspx

The Error

 
Hyper-V Manager

[Main Instruction]
An error occurred while attempting to change the state of virtual machine ‘VMxxx’.

[Content]
‘VMxxx’ failed to initialize.

Could not initialize machine remoting system. Error: ‘Unspecified error’ (0x80004005).

Could not find a usable certificate. Error: ‘Unspecified error’ (0x80004005).

[Expanded Information]
‘VMxxx’ failed to initialize. (Virtual machine XXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX )

‘VMxxx’ could not initialize machine remoting system. Error: ‘Unspecified error'(0x80004005).(Virtual machine XXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX )

‘VMxxx’ could not find a usable certificate. Error: ‘Unspecified error’ (0x80004005). (Virtual machine XXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX )

The Explanation

This error is basicaly cause when the certificate expired, users couldn’t connect or start a VM and then VMMS raise an error. If you try connecting again, this will generate the same message because the certificate was still in an expired state.

The Solutions

Initial one

For Windows 2008, Microsoft introduced a fix (http://support.microsoft.com/kb/KB967902) which auto-generated a new certificate and sent the VMMS to grab it. 

The idea was to have certificates that lasted for one year and then auto-renew.

But, this fix let to another issue : “After a new Hyper-V VMMS certificate is generated, there are mouse and screen resolution issues when managing a virtual machine using the Hyper-V Manager Console”, described  in this KB http://support.microsoft.com/kb/2413735  :

  • When in one year, self-signed certificate expirees, the VMMS grabs a new one but the certificate refresh process is flawed.
  • During the refresh the user loses control of their mouse and their connection resolution drops back to default.

This problem is due the certificate refresh triggers a reset in the VMConnect RDPEncoder. It then initializes a method which puts the mouse in PS2 mode and it change the display settings to RdpEncoderDefaultxxx.

Workaround for this second issue:

  •  
    • Place the virtual machines in a saved state and then resume the virtual machines.
    • Restart the virtual machines.
 Easy when the VM is not in production environment as this that takes care of the refresh of the input and display and the problem goes away, for a year.
 
 
Proactive Workaround
What if instead one year, the new certificate lasted for decades?
 
1. Using the MakeCert utility, the below script will generate a new, self-signed certificate valid until 01/01/2050.
2. You need then point the VMMS to the new certificate :  http://technet.microsoft.com/en-us/library/ff935311(WS.10).aspx
Important Notes : 

 

The Script :

#######################################################################
# Dan Boldo (MSFT)
#

#
#define exception behavior
trap
{
  trap { continue }
  write-host -ForegroundColor Red “Unexpected Exception!`n`r”
  write-host -ForegroundColor White ($_.invocationinfo.positionmessage -replace “`n”)
  0..100 | foreach { write-host -ForegroundColor White   ((gv -ErrorAction SilentlyContinue -scope $_ myinvocation).value.positionmessage -replace “`n”) }
  write-host -ForegroundColor Red “$($_.Exception)”
  exit 1
}
$hostname = “$((gwmi win32_computersystem).dnshostname).$((gwmi win32_computersystem).domain)”
write-host “Host name found:” $hostname
function CreateCert()
{
    write-host “Creating a new certificate using makecert.exe”
    .\makecert.exe -r -pe -n “CN=$hostname” -b 01/01/2005 -e 01/01/2050 -sr LocalMachine -ss My -a sha1 -sky exchange -eku 1.3.6.1.5.5.7.3.1
}
function FindCert()
{
    $t = new-object System.DateTime(2049,1,1,1,10,10)
    $certs = @(dir cert:\LocalMachine\My -recurse | ?{$_.subject -eq “CN=$hostname”} | ? { $_.NotAfter.CompareTo($t) -eq 1 })
    if($certs[0] -eq $null)
    {
        return $null;
    }
    if($certs.Length -ne 1)
    {
        write-warning “More than one certificate is found in store. Please don’t run makecert.exe multiple times.”
    }
    $certs[0];
}

#Find the certificate of interest
$cert = FindCert
if($cert -eq $null)
{
    CreateCert
    $cert = FindCert;
    if($cert -eq $null)
    {
        throw “Certificate Not Found error. Check if makecert.exe is successful or not”
    }
}
write-host “Found certificate of interest:”
write-host $cert | select NotBefore, NotAfter

#tweak system settings to let VMMS use the certificate of interest.
$thumbprint = $cert.Thumbprint 
$location = $cert.PrivateKey.CspKeyContainerInfo.UniqueKeyContainerName
$folderlocation = gc env:ALLUSERSPROFILE
$folderlocation = $folderlocation + “\Microsoft\Crypto\RSA\MachineKeys\”
$filelocation = $folderlocation + $location
icacls $filelocation /grant “*S-1-5-83-0:(R)”
$thumbprint = $cert.Thumbprint
reg add “HKLM\Software\Microsoft\Windows NT\CurrentVersion\Virtualization” /v “AuthCertificateHash” /f /t REG_BINARY /d $thumbprint

#fix loopback case.
$store = new-object System.Security.Cryptography.X509Certificates.X509Store(“Root”,”LocalMachine”)  
$store.open(“MaxAllowed”)   
$store.add($cert)   
$store.close()   

#restart vmms
net stop vmms
net start vmms

# Wait for job completion
function WaitForResult($ret)
{
  if($ret.ReturnValue -eq 0) { return; }
  if($ret.ReturnValue -ne 4096)
  {
    Throw “Error was returned from WMI call: $($ret.ReturnValue)”;
  }
  $timeout = 300; # 5 minute timeout
  while($true)
  {
    $job = [wmi]$ret.job
    if($job.JobState -eq 7) { return; }
    if($job.JobState -gt 7) { throw “Error while processing WMI job! $($job | fl * | out-string)” }

    if($timeout -le 0) { throw “Timeout while processing WMI job! $($job | fl * | out-string)” }

    $timeout -= 5;
    Sleep 5
  }
}

# get all VMs in Running state.
$vms = gwmi -n root\virtualization msvm_computersystem
$vms = $vms | where {$_.Name -ne $env:computername}
$vms = $vms | where {$_.EnabledState -eq 2}

#Save/Restore for all running VMs
foreach($vm in $vms)
{
    if($vm -ne $null)
    {
     Write-Host “Doing Save/Restore for VM:” $vm.ElementName
     WaitForResult  $vm.RequestStateChange(32769)
     WaitForResult  $vm.RequestStateChange(2)
    }
}

####################################################
# end of the script
##
 

Private Cloud Solutions : Hyper-V Cloud Deployment Guides

November 18, 2010 4 comments

Private cloud is the implementation of cloud services on resources that are dedicated to your organization, whether they exist on-premises or off-premises with the benefits of public cloud computing—including self-service, scalability, and elasticity and the additional control and customization.

Build your own private cloud and you will have a dynamic, virtualized infrastructure with advantages including:

  • Pools of compute resources
  • Automated management
  • High-availability
  • Scale-out capabilities
  • Multi-tenancy
  • Self-service provisioning

To learn more how to build your own private cloud with Windows Server 2008 R2 Hyper-V, System Center, and the Virtual Machine Manager Self-Service Portal 2.0 using the Hyper-V Clould Deployment Guide:

Hyper-V Snapshots : How to disable the computer account from changing its secure channel password

November 16, 2010 Leave a comment

There is a nice post by Robert Larson that explains how to make the change.

1. Open the GPO editor and go to

2. Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options\

3. Enable the Domain Member: Disable machine account password changes option

or

1. Edit the Domain Member: Maximum machine account password age option

2. Increase the value from the default of 30 days to a new larger value (up to a maximum of 999 days)

Doing either of these options should keep you from getting the dreadful message that the secure channel is broken.

 To read the complete article go to http://blogs.technet.com/b/roblarson/archive/2009/11/10/dealing-with-vms-snapshots-and-the-dreaded-broken-security-channel.aspx