<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Weblog.BassQ.nl &#187; SCVMM</title>
	<atom:link href="http://Weblog.BassQ.nl/index.php/tag/scvmm/feed/" rel="self" type="application/rss+xml" />
	<link>http://Weblog.BassQ.nl</link>
	<description>A Great Collection Of Information</description>
	<lastBuildDate>Wed, 14 Jul 2010 09:37:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Three Steps to a PXE-Free XenDesktop on Hyper-V</title>
		<link>http://Weblog.BassQ.nl/index.php/three-steps-to-a-pxe-free-xendesktop-on-hyper-v/</link>
		<comments>http://Weblog.BassQ.nl/index.php/three-steps-to-a-pxe-free-xendesktop-on-hyper-v/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 12:33:21 +0000</pubDate>
		<dc:creator>BassQ</dc:creator>
				<category><![CDATA[Weblog]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[XenDesktop]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[hypervisor]]></category>
		<category><![CDATA[SCVMM]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://Weblog.BassQ.nl/?p=916</guid>
		<description><![CDATA[http://community.citrix.com/display/ocb/2010/04/13/Three+Steps+to+a+PXE-Free+XenDesktop+on+Hyper-V I ran into an interesting situation last week while working with Tony Sanchez from our Global Microsoft Team. He was setting up XenDesktop 4 on Hyper-V 2008 R2. However, the lab he was at used a Windows Deployment Server (WDS) for image management and it relies extensively on PXE. Rather than modify the WDS [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://community.citrix.com/display/ocb/2010/04/13/Three+Steps+to+a+PXE-Free+XenDesktop+on+Hyper-V" target="_blank">http://community.citrix.com/display/ocb/2010/04/13/Three+Steps+to+a+PXE-Free+XenDesktop+on+Hyper-V</a></p>
<div>
<div>
<p>I ran into an interesting situation  last week while working with Tony Sanchez from our Global Microsoft  Team. He was setting up XenDesktop 4 on Hyper-V 2008 R2. However, the  lab he was at used a Windows Deployment Server (WDS) for image  management and it relies extensively on PXE. Rather than modify the WDS  to support the Provisioning Services PXE boot file, we decided the best  solution was to make a boot ISO that will load the OS directly from the  Provisioning Services host and then boot the guests from that ISO.</p>
<h3><a name="ThreeStepstoaPXE-FreeXenDesktoponHyper-V-"></a>Background</h3>
<p>Since not all my readers are familiar with  using the Boot Device Manager, I will set the stage. When configuring a  virtual machine to boot off of a CD-ROM image for PVS, you need to do  three things:</p>
<ol>
<li>Add a Legacy network card on the host since the Synthetic network  adapter is not created until the Operating System loads.</li>
<li>Configure the BIOS boot order so that CD-ROM is first in the list.</li>
<li>Assign a bootable ISO image to the CD-ROM/DVD drive.</li>
</ol>
<div>
<table>
<colgroup>
<col width="24"></col>
<col></col>
</colgroup>
<tbody>
<tr>
<td valign="top"><img src="http://community.citrix.com/images/icons/emoticons/check.gif" border="0" alt="" width="16" height="16" align="absmiddle" /></td>
<td><strong>Take  Note</strong><br />
The PXE boot option is required in order for the NIC Option  ROM to stay resident in memory during the pre-boot process. This way,  UNDI will be available to the boot device to properly initialize the  NIC. Otherwise, the &#8220;API not found&#8221; message would be displayed by the  boot device.</td>
</tr>
</tbody>
</table>
</div>
<p>In deployments of XenDesktop where you have  more than about 15 machines, the XenDesktop Setup Wizard (XDSW) is  normally used to create and link the XenDesktops with Hyper-V.  Unfortunately, the XDSW does not support all the possible VM  configuration options when duplicating the source virtual machine. One  of the properties that is not transferred to the new virtual machine is  the ISO in the DVD drive.  Normally, this behavior is the preferred  because Hyper-V needs a special configuration to support sharing an ISO  across multiple guests simultaneously (See this <a title="EE340124" href="http://technet.microsoft.com/en-us/library/ee340124.aspx">Technet article</a>), which if not configured correctly  can cause startup issues. </p>
<p>If you do not want to configure ISO sharing,  you can use the VMM server and VMM library to copy the boot ISO to each  virtual machine&#8217;s folder. If the ISO was large, I would say spend time  setting up the sharing configuration; however, in this case the file  itself is only 300K and copying it will eliminate the possibility of  file sharing/locking issues. </p>
<p>Now you understand some of the challenges, I  can tell you the three steps to a PXE-free Hyper-V deployment.:</p>
<ol>
<li>Create a PVS Boot ISO using the Boot Device Manager</li>
<li>Import that PVS Boot ISO into the VMM Library</li>
<li>Execute a PowerShell script</li>
</ol>
<h3><a name="ThreeStepstoaPXE-FreeXenDesktoponHyper-V-"></a>Step 1: Create a PVS Boot ISO</h3>
<p>The Provisioning Services Boot Device Manager  is a three-dialog wizard that lets you pre-configure the boot  environment just like a PXE server would, except you can then write that  to a drive or CD-ROM media. The Boot Device Manager is found on the  Start menu of any provisioning server at <em>All Programs &gt;&gt;  Citrix &gt;&gt; Provisioning Services &gt;&gt; Provisioning Services  Boot Device Manager</em>. </p>
<p>I do not want to spend a lot of time discussing  the various options or provide a tutorial on this utility; however, I  will provide a few pointers. First, be sure to enable the &#8220;<strong>Citrix PVS  Two-Stage Boot Service</strong>&#8221; and set it to start automatically on any  servers you will use as the targets for the ISO image.  Second, if you  are using Windows 7, be sure to enable the PAE Mode on the second page  of the wizard, like this: </p>
<div><img src="http://community.citrix.com/download/attachments/137068872/Win7BDM.png" border="0" alt="" /></div>
<p>Third, be sure to select Citrix ISO Recorder as  the boot device (shown below) before burning the ISO image, lest you  accidentally wipe out your local hard disk.  For a complete guide on  using the Boot Disk Manager, see this Citrix Support Article <a title="CTX121331" href="http://support.citrix.com/article/ctx121331">CTX121331</a>. </p>
<div><img src="http://community.citrix.com/download/attachments/137068872/ISOBDM.png" border="0" alt="" /></div>
<h3><a name="ThreeStepstoaPXE-FreeXenDesktoponHyper-V-"></a>Step 2: Import the ISO into the SCVMM Library</h3>
<p>Take the ISO you created in Step 1 and save it  to the folder where the SCVMM library stores are located. I created a  new folder called ISOs at the same level as VHDs and placed the ISO in  that folder. Next start the SCVMM Administrative Console and go to the  Library tab. Select the MSSCVMMLibrary node and click <strong>Refresh</strong> on  the context-menu to add the ISOs to the library as shown here: </p>
<div><img src="http://community.citrix.com/download/attachments/137068872/SCVMMLibrary.png" border="0" alt="" width="495" height="277" /></div>
<h3><a name="ThreeStepstoaPXE-FreeXenDesktoponHyper-V-"></a>Step 3: Execute the PowerShell Script</h3>
<p>Next, you can copy the contents of the  PowerShell script below and save it to a file called AttachISO.PS1. I  realize that I am not yet a PowerShell guru, so I am aware that several  optimizations and error checks could be made to this script. Feel free  to modify it for your own use. My goal was provide a working example to  help with this issue. The PowerShell script below does the following: </p>
<ol>
<li>Sets the boot order to CD, PXE (Legacy NIC), IDE, Floppy</li>
<li>Copies the ISO image from the library to the VM&#8217;s folder</li>
<li>Creates a DVD drive object at the IDE bus 1:0 if no DVD drive is  found</li>
<li>Removes any existing ISO and sets the ISO image to the one  specified on the command-line</li>
<li>For larger environments, it lets you know how many VMs it has left  to process</li>
</ol>
<div>
<div><strong>AttachISO PowerShell Script</strong></div>
<div>
<pre># Purpose:      Attach ISO image from VMM Server Library to Guest Virtual Machine
# Date Written: 12 April 2010
# Author:       Paul Wilson (no implied or expressed warranties)
# Usage:        AttachISO [UNC Path to ISO in Library] [VM Name to Match Criteria]

# Check for the two required arguments and offer command-line assistance if not found

if ($args -eq $null -or $args.Count -lt 2)
{
   write-output "Usage: AttachISO.ps1 UNC_fileName_ISO_File VMNameMatches"
   write-output "Example: .\AttachISO.ps1 ""\\SCVMM\MSSCVMMLibrary\ISOs\pvbt.iso"" ""Desktop"" "
   exit 1
}

# Grab the arguments and store them for later use

$ISOPath = $args[0]
$VMNameMatches = $args[1]

# Get the name of the SCVMM server we are running this on.
# The VMM server could be passed as a parameter as well.

$VMMServer = Get-VMMServer -Computername "localhost"

# Get the ISO image reference object using the ISO path provided earlier.
# Using the full path guarantees the right object is found. 

$ISOImage = Get-ISO -VMMServer $VMMServer | where { $_.SharePath -eq "$ISOPath" }

if ($ISOImage -eq $null)
{
   write-output "Unable to find ISO: $ISOPath"
   exit 1
}

# Get the collection of VMs that match the name parameters supplied and output that information

$VMs = Get-VM | where { $_.Name -match "$VMNameMatches" }
if ($VMs -eq $null)
{
   write-output "No VMs match the pattern: $VMNameMatches"
   exit 1
}
else
{
   $LeftToGo = $VMs.Count
   if ($LeftToGo -eq $null)
   {
      $matchString = "Only one VM matched the pattern: {0}" -f $VMNameMatches
      $LeftToGo = 1
    }
    else
    {
      $matchString = "{0} VMs match the pattern: {1}" -f $VMs.Count, $VMNameMatches
    }
    write-output $matchString
}

# This loop goes through each VM found and does the following:
#   1. Sets the boot order to CD, PXE Nic, IDE, Floppy.
#   2. Gets the DVD/CD drive object.
#   3. The script will copy the ISO image from the library to the VM's folder.
#      The copy is part of the Set-VirtualDVDDrive and New-VirtualDVDDrive cmdlets.
#   4. Creates the DVD drive object if none found and sets it to the ISO.
#   5. Removes any existing ISO and sets the ISO image to the one specified.
#   6. Outputs the number of VMs remaining to process. Added for large deployments. 

foreach ($VM in $VMS)
{
   $LeftToGo = $LeftToGo - 1
   Set-VM -VM $VM -BootOrder CD,PXEBoot,IDEHardDrive,Floppy
   $current_dvd = get-VirtualDVDDrive -VM $VM

   if ($current_dvd -eq $null -or $current_dvd.count -eq 0)
   {
      $newDVD = New-VirtualDVDDrive -VM $VM -Bus 1 -LUN 0 -ISO $ISOImage
      $DVDResultMessage = "Created DVD Drive on {0}. {1} VMs left to go." -f $VM.Name, $LeftToGo
   }
   else
   {
      if ($current_dvd.Connection -ne "None")
      {
         set-VirtualDVDDrive -VirtualDVDDrive $current_dvd -noMedia
         set-VirtualDVDDrive -VirtualDVDDrive $current_dvd -ISO $ISOImage
         $DVDResultMessage = "Replaced existing media in DVD Drive on {0}. {1} VMs left to go." -f $VM.Name, $LeftToGo
       }
       else
       {
         set-VirtualDVDDrive -VirtualDVDDrive $current_dvd -ISO $ISOImage
         $DVDResultMessage = "Successfully attached ISO to the DVD Drive of {0}. {1} VMs left to go." -f $VM.Name, $LeftToGo
       }
    }
    write-output $DVDResultMessage
}</pre>
</div>
</div>
</div>
</div>
<p><map name='google_ad_map_916_9f24cd510f3f6f88'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/916?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_916_9f24cd510f3f6f88' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=916&amp;url= http%3A%2F%2FWeblog.BassQ.nl%2Findex.php%2Fthree-steps-to-a-pxe-free-xendesktop-on-hyper-v%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://Weblog.BassQ.nl/index.php/three-steps-to-a-pxe-free-xendesktop-on-hyper-v/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Failover Clustering for Hyper-V with File Server Storage</title>
		<link>http://Weblog.BassQ.nl/index.php/failover-clustering-for-hyper-v-with-file-server-storage/</link>
		<comments>http://Weblog.BassQ.nl/index.php/failover-clustering-for-hyper-v-with-file-server-storage/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 21:02:00 +0000</pubDate>
		<dc:creator>BassQ</dc:creator>
				<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[hypervisor]]></category>
		<category><![CDATA[SCVMM]]></category>

		<guid isPermaLink="false">http://Weblog.BassQ.nl/?p=912</guid>
		<description><![CDATA[Overview In a previous blog post, I described 5 different ways to implement Windows Server Failover Clustering with Hyper-V. Those options included: Parent-based Failover Clustering with two physical servers, Child-based Failover Clustering with two physical servers, Mixed Physical/Virtual Failover Clustering, Failover Clustering with two child partitions on one physical server and Standalone demo laptop with [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Overview</strong><br />
In a previous blog post, I described 5 different ways to implement  Windows Server Failover Clustering with Hyper-V.  Those options included: Parent-based Failover Clustering with two  physical servers, Child-based Failover Clustering with two physical  servers, Mixed Physical/Virtual Failover Clustering, Failover Clustering  with two child partitions on one physical server and Standalone demo  laptop with Virtual iSCSI SAN.</p>
<p>However, I failed to mention in that post the option to use CIFS/SMB  file server share as your option for Failover Clustering storage. This  scenario is so unique (with differences in flexibility, cost and  performance),  that I would argue it constitutes a sixth method. Here’s  how you can do it.</p>
<p><strong>Before and After Diagrams</strong><br />
As I did with the previous blog post, let me describe the scenario  using two diagrams. First, here is a diagram describing the scenario  before a failure:</p>
<p><img title="HVFS01" src="http://blogs.technet.com/photos/josebda/images/3089404/original.aspx" alt="HVFS01" width="531" height="344" /></p>
<p>Now, here’s a diagram describing the scenario after a failure in  SPTNODE1:</p>
<p><img title="HVFS02" src="http://blogs.technet.com/photos/josebda/images/3089401/original.aspx" alt="HVFS02" width="521" height="338" /></p>
<p>As you can see, we use a file server (called SPTSERVER1) for storing  the Hyper-V files. The idea is to store the configuration files, the VHD  itself and the VHD snapshots in the \\SPTSERVER1\VMSHARE\VM1 folder. As  we do when using a SAN for shared storage, the surviving node will take  over and start the VM in case of a failure. We can also use the very  same scenario for Quick Migration, making the VM move orderly from one  node to another by saving the state to the file share and instructing to  other node to take over and restore the VM.</p>
<p><strong><span id="more-912"></span>Pre-requisites</strong><br />
Before you move forward, you want to make sure you have at least two  physical computers running Hyper-V. In our scenario, STPNODE1 and  STPNODE2 are running Windows Server 2008 Enterprise (Full or Core  installs work fine).</p>
<p>Add the Hyper-V role to STPNODE1 and STPNODE2.</p>
<p>Add the Failover Clustering feature to STPNODE1 and STPNODE2.</p>
<p>You will need to use a general purpose server to act as a file server  or a NAS box compatible with CIFS/SMB. You probably want to run Windows  Server 2008 for improved performance (new TCP/IP stack and SMBv2  protocol). In our scenario, STPSERVER1 is the file server running  Windows Server 2008 Enterprise Edition  (Full or Core installs work  fine).</p>
<p>Grant the required permissions for \\SPTSERVER1\VMSHARE\ to the  computer accounts for STPNODE1 and STPNODE2, as described at <a href="http://blogs.technet.com/josebda/archive/2008/06/24/storing-windows-server-2008-hyper-v-files-on-an-cifs-smb-file-share.aspx">http://blogs.technet.com/josebda/archive/2008/06/24/storing-windows-server-2008-hyper-v-files-on-an-cifs-smb-file-share.aspx</a>.</p>
<p>You might also want to have a management client which could be your  desktop (running Windows Vista SP1) or another server (running a Full  install of Windows Server 2008). In our scenario, SPTCLIENT1 is the  management client.</p>
<p>Install the Windows Server RTM patch described at <a href="http://blogs.technet.com/josebda/archive/2008/06/26/windows-server-2008-hyper-v-released-today-includes-a-list-of-main-hyper-v-related-links.aspx">http://blogs.technet.com/josebda/archive/2008/06/26/windows-server-2008-hyper-v-released-today-includes-a-list-of-main-hyper-v-related-links.aspx</a> in both nodes and also in the management client.</p>
<p>You will need to have a domain infrastructure (Windows Server  Failover Clustering requires a domain). The domain controller is not  shown in the diagrams.</p>
<p><strong>Steps</strong><br />
You start the process by creating a cluster with the two Hyper-V  nodes. To do this, you will use the Failover Cluster Management MMC from  either node. In that tool, you will:</p>
<ol>
<li>Validate the configuration</li>
<li>Create the cluster</li>
<li>Adjust the quorum configuration</li>
<li>Create the virtual machine in one of the nodes</li>
<li>Make the VM highly available</li>
</ol>
<p><strong>Running Validation</strong><br />
Here’s the initial screen of the Failover Cluster Management MMC,  when first loaded.</p>
<p><img title="HVFS03" src="http://blogs.technet.com/photos/josebda/images/3089405/original.aspx" alt="HVFS03" width="513" height="301" /></p>
<p>Before you create the cluster, you must Validate your  Configuration. Be sure to run *all* Validation tests, since solutions  are only supported if you do so.</p>
<p>Since we are not using shared storage, the storage tests will  generate a warning.  Completing validation with a warning is acceptable.</p>
<p>If you run into any errors during Validation, you must fix those  before you proceed.</p>
<p><strong>Creating the Cluster</strong><br />
After you run validation, click the option to “Create a Cluster”.  First, you must specify the nodes. In this case we’re using SPTNODE1 and  SPTNODE2.</p>
<p><img title="HVFS04" src="http://blogs.technet.com/photos/josebda/images/3089406/original.aspx" alt="HVFS04" width="520" height="347" /></p>
<p>Second, you specify the name of the cluster.</p>
<p><img title="HVFS05" src="http://blogs.technet.com/photos/josebda/images/3089407/original.aspx" alt="HVFS05" width="526" height="351" /></p>
<p>After confirming the data entered, the cluster is created, as shown  below:</p>
<p><img title="HVFS06" src="http://blogs.technet.com/photos/josebda/images/3089408/original.aspx" alt="HVFS06" width="528" height="352" /></p>
<p>Note that we end up with a warning (yellow triangle). If you click  the “View Report” button, you find what the issue is:<br />
<em>No appropriate disk could be found for the quorum disk.</em></p>
<p>This is expected. With only two nodes with no shared storage, you  don’t have a valid quorum configuration and a single node failure will  cause the cluster to fail.</p>
<p>You can see that in the cluster information below:</p>
<p><img title="HVFS07" src="http://blogs.technet.com/photos/josebda/images/3089409/original.aspx" alt="HVFS07" width="525" height="281" /></p>
<p>Typically, in a shared storage configuration, you would get that  third vote from a shared witness disk (also know as a quorum disk).</p>
<p>We will overcome that in the next step.</p>
<p><strong>Configuring the Cluster Quorum Settings</strong><br />
To get our third vote for the cluster without using shared storage,  we will use the new option in Windows Server 2008 Failover Clustering to  use a file server witness.</p>
<p>First, you need to add permission for the cluster computer account to  the file share. The cluster computer account was created when we  created the cluster.</p>
<p>As you did when granting permissions to SPTNODE1 and SPTNODE2, add  full control permissions for the SPTDEMO\SPTCLUSTER$ account in the  share and in the file system at SPTSERVER1.</p>
<p>Next, use the Failover Cluster Management tool to change the Quorum  Configuration.</p>
<p>You will find this option by right-clicking the cluster name, then  selecting “More Actions”, as shown below:</p>
<p><img title="HVFS08" src="http://blogs.technet.com/photos/josebda/images/3089413/original.aspx" alt="HVFS08" width="516" height="275" /></p>
<p>The wizard will guide you through the process. You will select the  option for “Node and File Share Majority”, as shown below:</p>
<p><img title="HVFS09" src="http://blogs.technet.com/photos/josebda/images/3089414/original.aspx" alt="HVFS09" width="468" height="325" /></p>
<p>In the next screen, you will specify the actual shared folder path  for the file share witness resource. We will use  \\SPTSERVER1\VMSHARE\WITNESS. See below:</p>
<p><img title="HVFS10" src="http://blogs.technet.com/photos/josebda/images/3089415/original.aspx" alt="HVFS10" width="538" height="374" /></p>
<p>After you confirm the operation, you will see the update in the  quorum configuration, now showing no warning signs.</p>
<p><img title="HVFS11" src="http://blogs.technet.com/photos/josebda/images/3089697/original.aspx" alt="HVFS11" width="503" height="157" /></p>
<p>I would recommend that you also check the status of the storage in  the cluster.</p>
<p>You do this by clicking on the “Storage” node under the cluster name  in the Failover Cluster Management tool. Here’s what you should see at  this point:</p>
<p><img title="HVFS12" src="http://blogs.technet.com/photos/josebda/images/3089698/original.aspx" alt="HVFS12" width="552" height="280" /></p>
<p>As you can see, this is one of the cases where you have a healthy  cluster with no shared storage. Exchange Server 2007 CCR clusters also  do that.</p>
<p><strong>Creating a regular Virtual Machine on a cluster node</strong><br />
At this point, if you check the Hyper-V Manager tool, you will see no  virtual machines:</p>
<p><img title="HVFS13" src="http://blogs.technet.com/photos/josebda/images/3089699/original.aspx" alt="HVFS13" width="583" height="128" /></p>
<p>Now we will use the Hyper-V Manager to create a new VM in SPTNODE1  using only a file share for storage. If you’re doing this from SPTNODE1,  you should have no isses. If you’re doing this from any other computer  (like the management client SPTCLIENT1), be sure to check this post on  how to configure Constrained Delegation to allow remote management of  Hyper-V when using file shares: <a href="http://blogs.technet.com/josebda/archive/2008/06/27/using-constrained-delegation-to-remotely-manage-a-server-running-hyper-v-that-uses-cifs-smb-file-shares.aspx">http://blogs.technet.com/josebda/archive/2008/06/27/using-constrained-delegation-to-remotely-manage-a-server-running-hyper-v-that-uses-cifs-smb-file-shares.aspx</a></p>
<p>Again, this is done through a wizard. This is a regular VM creation,  except for the fact that we’re using UNC paths (file share paths) for  the storage, instead of regular folders on a local disk. In my specific  case, we’re storing this new VM at \\SPTSERVER1\VMSHARE\VM1.</p>
<p>Here you see the virtual machine configuration folder:</p>
<p><img title="HVFS14" src="http://blogs.technet.com/photos/josebda/images/3089701/original.aspx" alt="HVFS14" width="532" height="388" /></p>
<p>Then the location of the new VHD file for the VM:</p>
<p><img title="HVFS15" src="http://blogs.technet.com/photos/josebda/images/3089703/original.aspx" alt="HVFS15" width="538" height="392" /></p>
<p>And even the ISO file we’re mounting will also come from that file  server:</p>
<p><img title="HVFS16" src="http://blogs.technet.com/photos/josebda/images/3089704/original.aspx" alt="HVFS16" width="535" height="390" /></p>
<p>Once all is confirmed, we have a new VM, which you should keep in an  “off” state for now:</p>
<p><img title="HVFS17" src="http://blogs.technet.com/photos/josebda/images/3089705/original.aspx" alt="HVFS17" width="542" height="114" /></p>
<p><strong>Making the Virtual Machine Highly Available</strong><br />
Now we go back to the Failover Cluster Management tool to make the  newly created VM highly available.</p>
<p>Click on the “Services and Applications” node under the cluster name  and select the option to “Configure a Service or Application”. Again,  it’s a wizard:</p>
<p><img title="HVFS18" src="http://blogs.technet.com/photos/josebda/images/3089706/original.aspx" alt="HVFS18" width="488" height="335" /></p>
<p>After selecting “Virtual Machine” as the type of service, you will  select from a list of existing VMs. In our case, there’s only VM1:</p>
<p><img title="HVFS19" src="http://blogs.technet.com/photos/josebda/images/3089707/original.aspx" alt="HVFS19" width="478" height="328" /></p>
<p>After confirming your settings, the VM is made highly available, with  a warning:</p>
<p><img title="HVFS20" src="http://blogs.technet.com/photos/josebda/images/3089708/original.aspx" alt="HVFS20" width="484" height="333" /></p>
<p>Again, if you click on the “View Report” button, you find the issues<br />
<em>The path &#8216;\\SPTSERVER1\VMSHARE\VM1&#8242; where the virtual machine  configuration is stored is not on a failover cluster and might not be  highly available. To achieve the highest availability, store the virtual  machine configuration on a clustered file server (configured within a  failover cluster).</em></p>
<p><em>The path &#8216;\\SPTSERVER1\VMSHARE\VM1&#8242; where the virtual machine  snapshots are stored is not on a failover cluster and might not be  highly available. To achieve the highest availability, store the virtual  machine snapshots on a clustered file server (configured within a  failover cluster).</em></p>
<p><em>The path &#8216;\\SPTSERVER1\VMSHARE\VM1\VM1.vhd&#8217; where the virtual  hard disk is stored is not on a failover cluster and might not be highly  available. To achieve the highest availability, store the virtual hard  disk on a clustered file server (configured within a failover cluster).</em></p>
<p><em>The path &#8216;\\SPTSERVER1\VMSHARE\ISO\WindowsServer2008-amd64.iso&#8217;  where the virtual hard disk is stored is not on a failover cluster and  might not be highly available. To achieve the highest availability,  store the virtual hard disk on a clustered file server (configured  within a failover cluster).</em></p>
<p>As it usually does, the Failover Cluster Management tool is being  very careful, pointing out that the file server share you are using is a  potential single point of failure.</p>
<p>In order to have true high availability, you need to make sure that  file share is also highly available. To achieve that, you need to place  that file share in Failover Cluster as well.</p>
<p>The wizard has no way to detect if the file share is also clustered,  so you will always get these warnings.</p>
<p>Now, you can go back and check the properties of the new highly  available VM and bring it online.</p>
<p>One interesting thing you will notice is that you will not have any  storage associated with that service, as you can see below:</p>
<p><img title="HVFS21" src="http://blogs.technet.com/photos/josebda/images/3089709/original.aspx" alt="HVFS21" width="478" height="155" /></p>
<p>In the summary page, you also confirm that, since you do not have the  typical clustered disk listed in the summary for the virtual machine:</p>
<p><img title="HVFS22" src="http://blogs.technet.com/photos/josebda/images/3089721/original.aspx" alt="HVFS22" width="461" height="199" /></p>
<p><strong>Moving the VM to another node</strong><br />
The last step is to prove that you can fail or move the VM to another  node.</p>
<p>To do this, I use the option to “Move this service or application to  another node”, which you can find when you right-click the virtual  machine. See below:</p>
<p><img title="HVFS23" src="http://blogs.technet.com/photos/josebda/images/3089724/original.aspx" alt="HVFS23" width="436" height="244" /></p>
<p>When you do this, you will see that the VM will be taken offline in  the source node (the state is saved first), as you can see below:</p>
<p><img title="HVFS24" src="http://blogs.technet.com/photos/josebda/images/3089725/original.aspx" alt="HVFS24" width="536" height="254" /></p>
<p>Then the VM will be brought online on the destination node (by  restoring the state). Check below:</p>
<p><img title="HVFS25" src="http://blogs.technet.com/photos/josebda/images/3089726/original.aspx" alt="HVFS25" width="536" height="267" /></p>
<p>This process takes only a moment, and will depend only on how much  memory you VM has and how long it takes to save the state to the file  server share (from SPTNODE1) and then to restore the state from that  same file share (from SPTNODE2).</p>
<p>You can see the final state, after the move to SPTNODE2 is completed,  below:</p>
<p><img title="HVFS26" src="http://blogs.technet.com/photos/josebda/images/3089727/original.aspx" alt="HVFS26" width="535" height="259" /></p>
<p><strong>Conclusion</strong><br />
I hope these steps will give you enough to recreate this scenario in  your environment and validate that you can create a Failover Cluster for  Hyper-V using only a CIFS/SMB file share for storage.</p>
<p>Keep in mind that, if your configuration can pass the Failover  Cluster Validation with only a warning due to the missing shared  storage, you solution is supported.</p>
<p>Also remember that this solution will only be truly highly available  if you file share is also highly available. I’m sure you will find  plenty of documentation out there on how to make file servers highly  available.</p>
<p>Last, there is the question of performance. As I mentioned in the  previous blog post using Hyper-V with file shares, I was impressed with  the increased performance of a Windows Server 2008 file server,  specially for this type of workload. However, I will leave it to you to  test this configuration for yourself and draw your own conclusions about  performance. With faster IP networks (including 10Gb Ethernet) and the  improvements in the SMB v2 protocol, you might be tempted to trade  performance for the added flexibility and reduced cost this could bring  to your Hyper-V storage management.</p>
<p><map name='google_ad_map_912_9f24cd510f3f6f88'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/912?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_912_9f24cd510f3f6f88' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=912&amp;url= http%3A%2F%2FWeblog.BassQ.nl%2Findex.php%2Ffailover-clustering-for-hyper-v-with-file-server-storage%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://Weblog.BassQ.nl/index.php/failover-clustering-for-hyper-v-with-file-server-storage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Offline Virtual Machine Servicing Tool v2.1 (VHD)</title>
		<link>http://Weblog.BassQ.nl/index.php/offline-virtual-machine-servicing-tool-v2-1-vhd/</link>
		<comments>http://Weblog.BassQ.nl/index.php/offline-virtual-machine-servicing-tool-v2-1-vhd/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 10:49:03 +0000</pubDate>
		<dc:creator>BassQ</dc:creator>
				<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[hypervisor]]></category>
		<category><![CDATA[SCVMM]]></category>
		<category><![CDATA[Virtual PC]]></category>
		<category><![CDATA[Virtual Server]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Wsus]]></category>

		<guid isPermaLink="false">http://Weblog.BassQ.nl/?p=866</guid>
		<description><![CDATA[Source; http://blogs.technet.com/virtualization/archive/2009/12/10/Offline-Virtual-Machine-Servicing-Tool-v2.1-.aspx Virtualization affects how we plan, build, deploy, operate, and service workloads. Customers are creating large libraries of virtual machines containing various configurations. The patch-state of these virtual machines are not always known. Ensuring that offline virtual machines are properly patched and won’t become vulnerable the instant they come online is critical. I am [...]]]></description>
			<content:encoded><![CDATA[<p>Source; <a href="http://blogs.technet.com/virtualization/archive/2009/12/10/Offline-Virtual-Machine-Servicing-Tool-v2.1-.aspx">http://blogs.technet.com/virtualization/archive/2009/12/10/Offline-Virtual-Machine-Servicing-Tool-v2.1-.aspx</a></p>
<p>Virtualization affects how we plan, build, deploy, operate, and service workloads.  Customers are creating large libraries of virtual machines containing various configurations.  The patch-state of these virtual machines are not always known.  Ensuring that offline virtual machines are properly patched and won’t become vulnerable the instant they come online is critical.</p>
<p>I am therefore very pleased to state that the Offline Virtual Machine Servicing Tool v2.1 has now been released!</p>
<p>Congratulations to the Solution Accelerator team for this release!</p>
<p>The Offline Virtual Machine Servicing Tool 2.1 has free, tested guidance and automated tools to help customers keep their virtualized machines updated, without introducing vulnerabilities into their IT infrastructure.</p>
<p>The tool combines the Windows Workflow programming model with the Windows PowerShell interface to automatically bring groups of virtual machines online, service them with the latest security updates, and return them to an offline state.</p>
<p><strong>What’s New?</strong></p>
<p>Release 2.1 is a direct response to customer and Microsoft field requests to support the R2 wave.  Offline Virtual Machine Servicing Tool 2.1 now supports the following products:<br />
·        Hyper-V-R2<br />
·        VMM 2008 R2<br />
·        SCCM 2007 SP2<br />
·        WSUS 3.0 SP2<br />
·        OVMST 2.1 also supports updates to Windows 7 and Windows Server 2008 R2 virtual machines.</p>
<p>Download here; <a id="ctl00_MTCS_main_ctl13" onclick="javascript:Track('ctl00_MTCS_main_ctl00|ctl00_MTCS_main_ctl13',this);" href="http://go.microsoft.com/fwlink/?LinkId=110333">Offline Virtual Machine Servicing Tool  2.1</a><br />
More info; <a href="http://technet.microsoft.com/en-us/library/cc501231.aspx">http://technet.microsoft.com/en-us/library/cc501231.aspx</a></p>
<p><map name='google_ad_map_866_9f24cd510f3f6f88'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/866?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_866_9f24cd510f3f6f88' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=866&amp;url= http%3A%2F%2FWeblog.BassQ.nl%2Findex.php%2Foffline-virtual-machine-servicing-tool-v2-1-vhd%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://Weblog.BassQ.nl/index.php/offline-virtual-machine-servicing-tool-v2-1-vhd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>System Center Virtual Machine Manager 2008 R2 RTM!</title>
		<link>http://Weblog.BassQ.nl/index.php/system-center-virtual-machine-manager-2008-r2-rtm/</link>
		<comments>http://Weblog.BassQ.nl/index.php/system-center-virtual-machine-manager-2008-r2-rtm/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 19:44:33 +0000</pubDate>
		<dc:creator>BassQ</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[SCVMM]]></category>
		<category><![CDATA[Virtual PC]]></category>
		<category><![CDATA[Virtual Server]]></category>

		<guid isPermaLink="false">http://Weblog.BassQ.nl/?p=741</guid>
		<description><![CDATA[Zane Adam: System Center Virtual Machine Manager 2008 R2 has RTM’d and GA via volume licensing is set for October 1. This is great news for all and I’d like to especially thank our VMM 2008 R2 Development, Product Management, and Test teams. Lots of hard work fueled by their passion in virtualization and management [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://techlog.org/images/vmm_2008.png" alt="http://techlog.org/images/vmm_2008.png" /></p>
<p><strong>Zane Adam</strong>: System Center Virtual Machine Manager 2008 R2 has RTM’d and GA via volume licensing is set for October 1. This is great news for all and I’d like to especially thank our VMM 2008 R2 Development, Product Management, and Test teams. Lots of hard work fueled by their passion in virtualization and management has resulted in a very good software release.</p>
<p>A 180-day evaluation version is now available, too, on the Microsoft Download site. You can access it <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=292de23c-845c-4d08-8d65-b4b8cbc8397b" target="_blank">here</a>.</p>
<p>Please experience for yourself what the 10,000+ people who have previously downloaded our ‘Release Candidate’ plus organizations such as Continental Airlines, Lionbridge Technologies, and Indiana University have seen with VMM 2008 R2!</p>
<p>I encourage everyone to explore the new System Center Virtual Machine Manager 2008 R2 and its new features such as quick storage migration, live migration, and many others. We even offer support for vSphere 4.</p>
<p>To learn more on the new features and capabilities of VMM2008 R2, please try to attend our upcoming TechNet session ‘<em>Technical Overview of System Center Virtual Machine Manager 2008 R2’</em>. Presented by our Technical Product Manager Kenon Owens, it will be chocked full of new and cool VMM 2008 R2 items. Go <a href="http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=1032423216&amp;EventCategory=4&amp;culture=en-US&amp;CountryCode=US" target="_blank">here</a> to register for this Wednesday, September 09, 2009 (10:00 AM Pacific) event.</p>
<p>Source : <a href="http://techlog.org/archive/2009/08/24/system_center_virtual_machine_" target="_blank">http://techlog.org/archive/2009/08/24/system_center_virtual_machine_</a></p>
<p><map name='google_ad_map_741_9f24cd510f3f6f88'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/741?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_741_9f24cd510f3f6f88' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=741&amp;url= http%3A%2F%2FWeblog.BassQ.nl%2Findex.php%2Fsystem-center-virtual-machine-manager-2008-r2-rtm%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://Weblog.BassQ.nl/index.php/system-center-virtual-machine-manager-2008-r2-rtm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SCVMM 2008 and VMware integration</title>
		<link>http://Weblog.BassQ.nl/index.php/scvmm-2008-and-vmware-integration/</link>
		<comments>http://Weblog.BassQ.nl/index.php/scvmm-2008-and-vmware-integration/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 11:13:20 +0000</pubDate>
		<dc:creator>BassQ</dc:creator>
				<category><![CDATA[VMWare]]></category>
		<category><![CDATA[SCVMM]]></category>

		<guid isPermaLink="false">http://Weblog.BassQ.nl/?p=304</guid>
		<description><![CDATA[I downloaded and installed SCVMM 2008 today and installed it to check out the VMware integration. I created a new virtual machine with Windows Server 2008 x64 with 1,5GB of RAM and started the installation from an attached ISO. When I did that the installation failed during WAIK installation. I copied the WAIK files (from [...]]]></description>
			<content:encoded><![CDATA[<div class="articleBody">
<p>I downloaded and installed SCVMM 2008 today and installed it to check out the VMware integration. I created a new virtual machine with Windows Server 2008 x64 with 1,5GB of RAM and started the installation from an attached ISO. When I did that the installation failed during WAIK installation. I copied the WAIK files (from \Prerequisites\WAIK\1033) to the server and installed WAIK from there. I than reran the setup procedure and SCVMM installed fine.</p>
<p>The first thing you do after installation is to add some hosts. This beta of SCVMM 2008 supports the following virtualization hosts:</p>
<ul>
<li>Virtual Server 2005</li>
<li>Hyper-V (on Windows Server 2008)</li>
<li>VMware VI3 (with VirtualCenter)</li>
</ul>
<p>To manage ESX you need to add a VirtualCenter server. SCVMM cannot connect to ESX servers directly. The result (click to enlarge):</p>
<p><a href="http://pshell.info/baekeinfo/SCVMM2008andVMwareintegration_11D3C/image.png" target="_blank"><img style="border: 0px;" src="http://pshell.info/baekeinfo/SCVMM2008andVMwareintegration_11D3C/image_thumb.png" border="0" alt="image" width="244" height="173" /> </a></p>
<p>In the screenshot above at the right, you&#8217;ll see an action called <strong>Add VMware VirtualCenter</strong> . That action launches a wizard that asks you for the name of your VirtualCenter box and your credentials. Upon completion, the wizard adds folders to SCVMM for each VMware datacenter object and then adds the ESX boxes.</p>
<p>If you look at the screenshot further, the Summary tab shows some information about the ESX host like CPU, memory, storage and the virtual machines on the host. The Storage and Networking tab shows the following info:</p>
<p><a href="http://pshell.info/baekeinfo/SCVMM2008andVMwareintegration_11D3C/image_3.png" target="_blank"><img style="border: 0px;" src="http://pshell.info/baekeinfo/SCVMM2008andVMwareintegration_11D3C/image_thumb_3.png" border="0" alt="image" width="404" height="186" /> </a></p>
<p>When you click on the Virtual Machines button and select the ESX host you get a list of virtual machines:</p>
<p><a href="http://pshell.info/baekeinfo/SCVMM2008andVMwareintegration_11D3C/image_4.png" target="_blank"><img style="border: 0px;" src="http://pshell.info/baekeinfo/SCVMM2008andVMwareintegration_11D3C/image_thumb_4.png" border="0" alt="image" width="644" height="454" /> </a></p>
<p>From that list you can do what&#8217;s expected: stop, start, suspend, modify the virtual machine settings, VMotion, etc&#8230; You can also connect to the console of virtual machines. The first time you do this you need to install an ActiveX control. The console looks like this:</p>
<p><a href="http://pshell.info/baekeinfo/SCVMM2008andVMwareintegration_11D3C/image_5.png"><img style="border: 0px;" src="http://pshell.info/baekeinfo/SCVMM2008andVMwareintegration_11D3C/image_thumb_5.png" border="0" alt="image" width="616" height="484" /> </a></p>
<p>That&#8217;s all I have time for today. Next I will check out how SCVMM works with ISOs and virtual machine templates and how that ties in with VirtualCenter. I will report those findings later.</p></div>
<p><map name='google_ad_map_304_9f24cd510f3f6f88'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/304?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_304_9f24cd510f3f6f88' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=304&amp;url= http%3A%2F%2FWeblog.BassQ.nl%2Findex.php%2Fscvmm-2008-and-vmware-integration%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://Weblog.BassQ.nl/index.php/scvmm-2008-and-vmware-integration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing System Center Virtual Machine Manager 2008 Beta</title>
		<link>http://Weblog.BassQ.nl/index.php/installing-system-center-virtual-machine-manager-2008-beta/</link>
		<comments>http://Weblog.BassQ.nl/index.php/installing-system-center-virtual-machine-manager-2008-beta/#comments</comments>
		<pubDate>Fri, 16 May 2008 08:51:49 +0000</pubDate>
		<dc:creator>BassQ</dc:creator>
				<category><![CDATA[Weblog]]></category>
		<category><![CDATA[SCVMM]]></category>

		<guid isPermaLink="false">http://Weblog.BassQ.nl/?p=160</guid>
		<description><![CDATA[Arlindo Alves from Microsoft Belgium posted two articles on how to install the just released System Center Virtual Machine Manager 2008 Beta. Installing System Center Virtual Machine Manager 2008 Beta Part I In the first part Arlindo explains how to install the server components of SCVMM 2008 Beta. Installing System Center Virtual Machine Manager 2008 [...]]]></description>
			<content:encoded><![CDATA[<p>Arlindo Alves from Microsoft Belgium posted two articles on how to install the just released System Center Virtual Machine Manager 2008 Beta.</p>
<p><a target="_blank" href="http://blogs.technet.com/aralves/archive/2008/04/29/installing-system-center-virtual-machine-manager-2008-beta-part-i.aspx">Installing System Center Virtual Machine Manager 2008 Beta Part I</a><br />
In the first part Arlindo explains how to install the server components of SCVMM 2008 Beta.</p>
<p><a target="_blank" href="http://blogs.technet.com/aralves/archive/2008/04/29/installing-system-center-virtual-machine-manager-2008-beta-part-ii.aspx">Installing System Center Virtual Machine Manager 2008 Beta Part II</a><br />
In the second part Arlindo describes the console installation.</p>
<p><map name='google_ad_map_160_9f24cd510f3f6f88'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/160?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_160_9f24cd510f3f6f88' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=160&amp;url= http%3A%2F%2FWeblog.BassQ.nl%2Findex.php%2Finstalling-system-center-virtual-machine-manager-2008-beta%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://Weblog.BassQ.nl/index.php/installing-system-center-virtual-machine-manager-2008-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
