Monthly Archives: November 2010

PXE Boot a Virtual Machine In Hyper-V 2008 R2

PXE boot is not available in Hyper-V 2008 R2 when using a Synthetic Network Adapter.  In order to PXE boot a virtual machine (VM), you need to turn off the VM and add a Legacy Network Adapter.  If the VM is an existing machine with a bootable hard disk, you’ll also need to change the boot order, so PXE Boot is above IDE Hard Drive.

Monitoring Dell PowerVault MD3000/MD3000i With System Center Operations Manager 2007 R2

Dell produces two management packs for System Center Operations Manager 2007 R2 (OpsMgr), the MD Storage Array Management Pack Suite for Dell PowerVault storage and the Dell Server Management Pack Suite for PowerEdge/PowerVault servers, Dell Remote Access Controllers and Chassis Management Controllers.  In this post I’ll walk through the setup of the MD Storage Array Management Pack (MD MP) in OpsMgr.

First, download the MD MP from .  Enter the Dell Service Tag of your array and navigate to the Systems Management section.  The MD MP is at version 4.0 at the time of writing.

Log onto the OpsMgr Management Server as an administrator and run the Dell MD Storage Array exe and unzip to the default location

Run DellDiscoveryUtility.exe from the C:\Dell_MDStorageArray_ABB folder, input the appropriate IP range, or IP of the MD3000/MD3000i array(s)

Continue through the wizard, save to the dell_MDStorageArray_ip.cfg file and click Discover

Next, import the storage management pack into OpsMgr.  You should now see additional Dell information in the OpsMgr console

For additional information see Dell_MDStorage_Management_Pack_Suite_v4.0_UserGuide.pdf, which is included as part of the MD MP download.

Where Did HyperTerminal Go?

If you’re using a version of Windows since Vista  need HyperTerminal you’ll find it’s no longer part of Windows.  If you only need remote shell access, you can use the Windows Remote Shell (WinRS).  If you need to troubleshoot modems go to Control Panel -> Hardware and Sound -> Phone and Modem Options.  However, if you need to connect to serial devices as you did with HyperTerminal you’ll need to download an alternative, my favourite is Putty

System Center Data Protection Manager 2010 Hotfix Rollup KB2250444

This hotfix rollup resolves the following issues:

  • You cannot protect the Microsoft Exchange Database Availability Group (DAG) on a secondary DPM 2010 server.
  • You are prompted to restart a client computer after you install an agent on the client.
  • DPM services crash, and you receive the error, “Unable to connect to the database because of a fatal database error.”
  • MSDPM crashes, and event ID 945 is logged in the event log.
  • When you change a Protection Group, add a very large database, change the disk allocation, and then commit the Protection Group, DPM 2010 does not honor the user intent, and instead, DPM 2010 sets the sizes of replica and shadow copy volumes to the default sizes.
  • The Management tab does not link to information about the latest Microsoft Knowledge Base article for DPM 2010.
  • You receive the message, “Computers not synchronized,” when you try to replicate DPM 2010 databases to a System Center Operations Manager.

Get it here

Reporting Virtual Machine Dynamic Disk Space Using PowerShell And System Center Virtual Machine Manager 2008 R2

Dynamically expanding disks enable you to thin provision virtual machines (VMs)  storage.  This means you can pack more VMs onto a given amount of disk, but you need to ensure that if you provision more storage than is physically available, you don’t run out of space on the host.  The PowerShell script below produces a csv file showing the space available for growth on each VM with a dynamically expanding disk.  You can use this script to see how much space could still be used by your VMs and therefore see if you’re likely to run out of space on the host.  It’ll also show you if a dynamic disk is about to reach it’s maximum size.

Load PowerShell from the icon in the SCVMM console

Next copy and paste the code below into the PowerShell console, replacing VMMHOST with the name of your SCVMM host and the path of the csv file as appropriate.

Get-VirtualHardDisk -VMMServer VMMHOST -All | Select-Object @{Label=”VM Host”;Expression={$_.VMHost}},@{Label=”Name”;Expression={$_.Name}},@{Label=”Space To Grow”;Expression={[Math]::Truncate(($_.MaximumSize-$_.Size) / 1GB)}},@{Label=”VHDType”;Expression={$_.VHDType}} | Where-Object {($_.VHDType -Match “DynamicallyExpanding” -And $_.Name -NotMatch “{“)} | Sort-Object “Space To Grow” -Descending |  Export-Csv C:\DiskInformation.csv

Opening the csv in Excel produces


The PowerShell script is a one liner and breaks down as follows:

Get-VirtualHardDisk -VMMServer VMMHOST -All | Gets the virtual disk for the VMMServer specified

Select-Object @{Label=”VM Host”;Expression={$_.VMHost}},@{Label=”Name”;Expression={$_.Name}},@{Label=”Space To Grow”;Expression={[Math]::Truncate(($_.MaximumSize-$_.Size) / 1GB)}},@{Label=”VHDType”;Expression={$_.VHDType}} | Selects the VM host name, disk name, calculates the maximum disk size – current disk size and converts to GB, VHD type

Where-Object {($_.VHDType -Match “DynamicallyExpanding” -And $_.Name -NotMatch “{“)} | Filters the results to only include dynamically expanding disks whose names don’t start {

Sort-Object “Space To Grow” -Descending | Sorts the output by space to grow, descending

Export-Csv C:\DiskInformation.csv Exports the results to a csv file