Welcome to TechNet Blogs Sign in | Join | Help

This is an important announcement.

Zane Adam, Microsoft Director of Virtualisation and System Center, has announced that that next version of our free hypervisor based virtualisation product, Microsoft Hyper-V Server 2008 R2 will continue to be free but will now provide Live Migration and Host Clustering alongside other key enterprise features.

Read the announcement in full here.

Technorati Tags:

A new guide has been released on April 17th that provides information on using BizTalk Server 2009 in a Hyper-V environment.  You can download it in a variety of formats from here.

The emphasis of this guidance is On BizTalk server, but the guide provides great information regarding performance evaluation and testing scenarios that are applicable across other workloads too.  Check it out!

Technorati Tags:
Technorati Tags:

On April 13th we released a hotfix rollup package for SCVMM 2008. Details of the hotfix rollup can be found under KB961983 here.

If your SCVMM server are configured to use MicrosoftUpdate then they will be presented with the update automatically.

If, however, you’d like to download the hotfix and apply manually, you need to navigate to the Microsoft Update Catalog here where you can download the patch.

If, like me, you have been playing with SCVMM Powershell Scripting, then it will come as very pleasant surprise to find that all the SCVMM 2008 CMDLET’s have been described in great detail in the System Center Virtual Machine Manager 2008 Cmdlet Reference, available for download at the following link:

VMM 2008 Cmdlet Reference

No more piping the online help to text files as described here:

 Using Cmdlet Help

Happy Reading!

Technorati Tags:

If you’re using SCVMM 2008 to manage your Hyper-V hosts, then you’ll know that you can reduce the time to provision virtual machines by using Templates.  In this blog post I’ll outline a simple step by step guide to creating your own Windows Server 2008 based Template.  The template is effectively a sysprep’d image of a Windows Server 2008 source machine. Once a template has been created and stored in the VMM 2008 Library, it can be used to provision Virtual Machines.  As part of this provisioning process, it usual to create a series of hardware profiles, to right-size the virtual machine, and a series of Guest OS Profiles, to control OS customisation during Virtual Machine Creation.

The Key Steps in template creation and deployment are:

1) Create a source Virtual Machine that will be used to create the Template

2) Install Windows Server 2008 into the source Virtual Machine and customise it as appropriate

3) Create the Template from the source Virtual Machine.

4) Create some Hardware and OS profiles

5) Deploy a Virtual Machine from the Template using hardware and OS profiles

 

1) This first step will create a Windows Server 2008 VM to be used as the source machine for the Template.  Use the “New Virtual Machine” wizard as follows:

1.1  Create a new VM with a blank hard disk

1.2 Name the Virtual Machine

1.3 Configure the Hardware for the VM.  Think carefully about the size and type  of the hard drive as this will be used for all virtual machines you create from this template. You may also want to remove the default Emulated NIC and add a Synthetic NIC instead.

1.4 Place the Virtual Machine on an appropriate host.

1.5 Complete the Wizard and create the Blank VM.

You should now have a VM created on your host and it should be in the STOPPED state.

 

2) This 2nd step will install Windows Server 2008 operating System into the Virtual Machine

2.1) Connect either an appropriate ISO DVD image, or a physical DVD drive to the source Virtual Machine.

2.2) Install the Operating System as usual.

2.3) Install Integration Components.  Right Click the VM in SC VMM 2008 Console and select “Install Virtual Guest Services”.   This process will stop the Virtual Machine, if running, install the Integration Components into the Virtual Machine, and will then Stop the VM.

2.4) After the guest services installation has succeeded, start the VM, logon locally and perform the following customisation to disable complex passwords:

Use GPEDIT.MSC to set disable password complexity. The setting can be found as below under:

Local Computer Policy->Computer Configuration->Windows Settings->Security Settings->Account Policies->Password Policyimage

2.5) Set a blank password for the local administrator account. This is a required step, but does NOT mean that the Virtual Machines you create with this template will have blank passwords.

2.6) Customise the Win 2008 Image (Enable Remote Desktop, Disable Shutdown Event Tracking, Install AV, etc)

2.7) Shutdown  Win2008 VM

2.8) Ensure that no media is mapped to the DVD Drive of the guest virtual machine.

3) This 3rd step creates a new template from the Virtual Machine you have just created and configured. 

Note that the act of creating a template destroys the source Virtual Machine.  So, as you go through the process of learning how to create a template, you may wish to create a CLONE of this source virtual machine and store it in the library for re-deployment.  This enables you to rapidly restore the source Virtual Machine prior to running the template process, a useful thing to do whilst becoming familiar with the templating process.

3.1) Right click the source Virtual Machine and select “New Template

3.2) Name the template, click Next

3.3) When the hardware configuration page appears, simply click next.   Note that the values you set here are defaults used when creating a Virtual Machine from the template.  They can be overridden by the use of a Hardware profile at deployment time.

3.4) Under Guest OS, you have the option of pre-setting common OS configuration items, such as computer name, local admin password, product key etc.  The values you set here are defaults used when creating a Virtual Machine from the template.  They can be overridden by the use of a Guest OS profile at deployment time.

NOTE: Windows Server 2008 VOLUME LICENSED code uses KMS (Key Management Services), and when when installed manually DOES NOT require you to enter a PID. HOWEVER, when installing Windows Server 2008 VL source using an automated mechanism a PID IS required. Use the appropriate PID in the following table which is listed in the public “Volume Activation 2.0 Deployment Guide” available here:

http://technet.microsoft.com/en-us/library/cc303280.aspx

Operating System Edition

Product Key

Windows Server 2008  Datacenter

7M67G-PC374-GR742-YH8V4-TCBY3

Windows Server 2008 Datacenter without Hyper-V

22XQ2-VRXRG-P8D42-K34TD-G3QQC

Windows Server 2008 Enterprise

YQGMW-MPWTJ-34KDK-48M3W-X4Q6V

Windows Server 2008 Enterprise without Hyper-V

39BXF-X8Q23-P2WWT-38T2F-G3FPG

Windows Server 2008 Standard

TM24T-X9RMF-VWXK6-X8JC9-BFGM2

Windows Server 2008 Standard without Hyper-V

W7VD6-7JFBR-RX26B-YKQ3Y-6FFFJ

Windows Web Server 2008

WYR28-R7TFJ-3X2YQ-YCY4H-M249D

3.5) Select an appropriate Library Server to store the template, then click next.

3.6) Browse the SC VMM 2008 Library and select a path to store the image.  I normally select a TEMPLATES folder for simplicity. Click next.

3.7 Click Create.   Be Patient  :-)

4) In this step we will create some hardware and OS profiles that can be used when creating a new VM from the template..

4.1) Lets create some Hardware profiles so that we can creating Virtual machines of different “sizes” using the same Template.  Change to the Library view and under “Library Actions” select “New hardware profile”. Type a name for the profile, some descriptive text, then edit the hardware settings and customise as appropriate.  As an example, here are the hardware profiles I have created on my demo system. The name reflects the configuration of the hardware to make selection easier.image

The hardware settings of the above highlighted hardware profile are as below:image

When we provision a virtual machine from the template using the above hardware profile, we will create a VM with 4 virtual CPU’s, 4GB of memory and a single synthetic network adapter.

For further detailed information on these hardware Settings read this:

How to Modify the Properties of a Hardware Profile

4.2) Now lets create some OS Profiles to customise the Operating System.  In the same Library view select “New Guest OS Profile”. Type a name for the profile, some descriptive text, then edit the Guest OS settings and customise as appropriate.  As an example, here are the guest OS profiles I have created on my demo system. Yet again, the name reflects the configuration of the OS to make selection easier.image

The OS Settings of the highlighted entry are as follows: image

The “Identity Information” is set to “*”. This will autogenerate a computer name.  I have also set the password for the local administrator account, and set the product key to be an MSDN key. 

You can even import an existing answer file (Unattend.XML for Win 2008") to prepopulate the OS settings.

For further detailed information on these OS Settings read this:

How to Customize the Operating System of a Virtual Machine

5) So Now lets create a VM from the template and use the hardware and OS profiles to both right size and customise the Virtual Machine.

5.1) Select the New Virtual Machine wizard

5.2) Select “use an existing VM, template of virtual hard disk” and click “Browse”

5.3) Select the template we created in 3) and click OK. Click Next.

5.4) Name the Virtual Machine. This will be the name of the VM as it appears in the SCVMM 2008 console, and NOT the “computer name”.

5.5) Under “Configure Hardware” either accept the default settings (from the template) or select a hardware profile we created in step 4. Click Next.

(Remember that even though you select a pre-configured hardware profile, you can still override individual settings in the profile, like Memory size for example.)

5.6) Under “Guest OS” either select the default settings (from the template) or select an OS Profile we created in Step 4. Click Next.

(Remember that even though you select a pre-configured OS profile, you can still override individual settings in the profile, like “Computer Name” for example.)

5.7 Place the virtual machine on a host, select the host, and compete the remainder of the wizard.

5.8) You should now see a Job running to create the virtual machine.  Typically, the job should look like the one below:image

Have Patience and enjoy experimenting with creating templates!

Technorati Tags: ,

I’ve been playing with the Virtual Machine Manager 2008 reports, and if you’re like me, you may be looking for a quick and easy way to pre-populate your virtualisation host names into the host based reports.   If you run the Host Utilisation or the Host Utilisation Growth reports, you’ll be faced with this field to fill in every time you run the reports:image

If you’re like me, and like to do a lot of ad hoc running of this report, you’ll get tired of manually typing in the name of your hosts every time.   Help is at hand though as there is a simple way to pre-populate the hosts field with the names of all the hosts you wish to report against.

1. Navigate to http://report_server_name/reports where “report_server_name” is the name of the server running SQL reporting services.  In my demo environment, I have one server running SC VMM 2008 as well as OpsMgr 2007 and SQL reporting services. You should see a screen similar to:image

2. Click on the “Microsoft.Virtualization.Reports.2008” hyperlink

3. Then click on the “Show Details” button (top right) and you should see:image

4. Click on the “Edit” button next to the “Host Utilisation” report as highlighted above and you will see:image

5. Click on the “Parameters” tab to the left (highlighted above) and you will then be able to edit the input parameters for the report.  You will see:image

Note that the “Hosts” entry (highlighted above) has no default set and prompts the user for the names of the hosts to report against. 

6. All we need to do is pre-populate our host names into this field as below:image

Remember, to enter the hosts fully qualified domain name (FQDN) and REMEMBER to click the apply button highlighted!   Job Done!

Now, when you run the Host Utilisation report from either the VMM 2008 console or OpsMgr console you wont be prompted for hostnames, and you should see a report like the following:image

All in all, turned out to be a pretty simple exercise and great for demo environments!

Technorati Tags: ,,

OK, my 2nd ever post, which is really me just testing my LiveWriter based editing capability. Hopefully this post won't raise my profile too far, as did my one previous post from 2 years ago that got my blog onto the Windows Server Technical Community homepage for a month. As a teaser... this is my ugly mug taken from a webcam when at work:

jd

Handsome blighter eh?

Well... time to experiment further.... so I'm off to get the better of LiveWriter.

 
Page view tracker