<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Visual Studio Lab Management team blog</title><link>http://blogs.msdn.com/b/lab_management/</link><description /><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>Migrating to the Visual Studio ALM blog: http://blogs.msdn.com/b/visualstudioalm/</title><link>http://blogs.msdn.com/b/lab_management/archive/2012/04/09/migrating-to-the-visual-studio-alm-blog-http-blogs-msdn-com-b-visualstudioalm.aspx</link><pubDate>Tue, 10 Apr 2012 04:23:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10292109</guid><dc:creator>Charles Sterling</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/lab_management/rsscomments.aspx?WeblogPostID=10292109</wfw:commentRss><comments>http://blogs.msdn.com/b/lab_management/archive/2012/04/09/migrating-to-the-visual-studio-alm-blog-http-blogs-msdn-com-b-visualstudioalm.aspx#comments</comments><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In an effort to reduce the number of places you need to search for ALM Content including Diagnostics, Testing and Lab Management we are combining these blogs to one location:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/visualstudioalm/"&gt;http://blogs.msdn.com/b/visualstudioalm/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Come on over tell us what you think!&lt;/p&gt;
&lt;p&gt;Chuck&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10292109" width="1" height="1"&gt;</description></item><item><title>Lab Management walkthrough using Visual Studio 11 Developer Preview Virtual Machine</title><link>http://blogs.msdn.com/b/lab_management/archive/2011/11/12/lab-management-walkthrough-using-visual-studio-11-developer-preview-virtual-machine.aspx</link><pubDate>Sat, 12 Nov 2011 06:39:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10236422</guid><dc:creator>Vijay M [MSFT]</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/lab_management/rsscomments.aspx?WeblogPostID=10236422</wfw:commentRss><comments>http://blogs.msdn.com/b/lab_management/archive/2011/11/12/lab-management-walkthrough-using-visual-studio-11-developer-preview-virtual-machine.aspx#comments</comments><description>&lt;p&gt;Brian Keller has published a &lt;a href="http://blogs.msdn.com/b/briankel/archive/2011/09/16/visual-studio-11-application-lifecycle-management-virtual-machine-and-hands-on-labs-demo-scripts.aspx"&gt;&lt;span style="color: #0000ff;" color="#0000ff"&gt;Virtual Machine with Visual Studio 11 Developer Preview bits&lt;/span&gt;&lt;/a&gt; and described 6 hands-on-labs that can be tried in that virtual machine. In this blog post, I will show how you can use the same virtual machine in order to try out an additional walkthrough for Lab Management.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;In this walkthrough, we will:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Install additional software necessary for our scenario. In particular, we will install a Test Controller in the virtual machine, and then configure the Build Controller and Build Agent.&lt;/li&gt;
&lt;li&gt;Create a &lt;a href="http://blogs.msdn.com/b/lab_management/archive/2011/11/09/lab-management-in-visual-studio-11-developer-preview.aspx"&gt;Standard Environment&lt;/a&gt; from Microsoft Test Manager. We will use the same virtual machine as the test machine for the standard environment.&lt;/li&gt;
&lt;li&gt;Create a Build-Deploy-Test definition in Visual Studio, and run it on top of the environment.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;Before going through this walkthrough, ensure that you have:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Downloaded and setup the virtual machine as per the instructions in Brian Keller's blog post on a Hyper-V host with an internal network. We will refer to this VM as VSALM machine in the following description.&lt;/li&gt;
&lt;li&gt;Login to the VSALM machine as Administrator to perform the following steps.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Install additional software and create additional assets&lt;/b&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Install and Configure the Test Controller.&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;Download the &lt;a href="http://www.microsoft.com/download/en/details.aspx?id=27535"&gt;&lt;span style="color: #0000ff;" color="#0000ff"&gt;Visual Studio Agents 11 Developer Preview ISO&lt;/span&gt;&lt;/a&gt; to the host machine.&lt;/li&gt;
&lt;li&gt;Mount the ISO into the VSALM machine using Hyper-V console.&lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/5635.mount_2D00_iso.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/5635.mount_2D00_iso.png" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/5635.mount_2D00_iso.png"&gt;&lt;/a&gt;From the VSALM machine, browse the DVD, and launch TestController\vstf_testcontroller.exe. Reboot if you are prompted to do so.&lt;/li&gt;
&lt;li&gt;After the installation, launch Visual Studio Test Controller Developer Preview Configuration Tool. Configure using default settings and select the DefaultCollection from TFS. Wait for all the configuration steps to finish&lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/1488.configure_2D00_tc.png"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;Create a test case in TFS using one of the MSTest unit tests.&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;Open Visual Studio. open the solution for FabrikamFiber.CallCenter. Compile the solution. Open Unit test explorer, and run the unit test 'CreateInsertsCustomerAndSaves'. Using unit test explorer is covered in one of Brian's hands-on-labs.&lt;/li&gt;
&lt;li&gt;In Visual Studio, open Team Explorer, and create a new Test Case work item. In the associated automation tab, select the FabrikamFiber.Web.Tests.CustomersControllerTest.CreateInsertsCustomerAndSaves test.&lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/0676.create_2D00_testcase.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/0676.create_2D00_testcase.png" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Save the test case.&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;Configure the Build Controller and Build Agent in the virtual machine.&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;Open Team Foundation Server Administration Console, and select Configure Team Foundation Build Service.&lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/2671.p9.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/2671.p9.png" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Go through the wizard. For the account to run the build service, choose &lt;strong&gt;.\Administrator&lt;/strong&gt;. This is required for the build agent to be able to access the drop location.&lt;/li&gt;
&lt;li&gt;At the end of this configuration, you should have one controller and one agent configured for builds.&lt;/li&gt;
&lt;li&gt;Click on 'Properties' of the VSALM - Controller, and change the number of workflows that the controller can execute in parallel to "2". This required so that you can run the Build-Deploy-Test automation workflow, which in turn spawns the build workflow.&lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/4118.bc_2D00_config.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/4118.bc_2D00_config.png" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;Create a Build definition in TFS to compile the FabrikamFiber solution.&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;From Visual Studio, select Team Explorer, and then Builds.&lt;/li&gt;
&lt;li&gt;Create a new build definition. On the "General" tab, type in a name for the build definition - say, Fabrikam Build. On the "Build Defaults" tab, select a share where the builds should be generated. For instance, type &lt;a href="file://\\vsalm\c$\drops"&gt;\\vsalm\c$\drops&lt;/a&gt;. Ensure that you have created a folder called C:\drops, and have given "Everyone" (or atleast .\Administrator) read-write permissions to this folder. In the "Process" tab, select the Default Template. Save the build definition.&lt;/li&gt;
&lt;li&gt;To verify that the build definition is correctly setup, queue a build, and verify that the solution compiles, and that the build output is generated in C:\drops folder. If you get a permission error, ensure that the build service hold is running under .\Administration account, and that you have given the permission to this account to access the build share.&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;Create an automated test plan in Microsoft Test Manager.&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;Open Microsoft Test Manager with elevated permissions (Shift-right-click Microsoft Test Manager in Start Menu and select Run as Administrator).&lt;/li&gt;
&lt;li&gt;Create a new test plan called Automated Test Plan.&lt;/li&gt;
&lt;li&gt;Add the test case created in the step above to the test plan.&lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/1401.p7.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/1401.p7.png" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/ol&gt;
&lt;p&gt;&lt;b&gt;Create a standard environment&lt;/b&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open Microsof Test Manager &lt;strong&gt;with elevated permissions&lt;/strong&gt; (Shift-right-click Microsoft Test Manager in Start Menu and select Run as Administrator). Go to Lab Center.&lt;/li&gt;
&lt;li&gt;Select "New" under Environments.&lt;/li&gt;
&lt;li&gt;On the "Type and Name" tab, type in a name for the environment - say, Fabrikam BDT.&lt;/li&gt;
&lt;li&gt;On the "Machines" tab, add a machine and type "vsalm" for the name of the machine. Select "Web Server" as the role of the machine.&lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/3660.p18.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/3660.p18.png" /&gt;&lt;/a&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/8422.p18.png"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Select "Verify". If the verification fails, ensure that you have launched MTM with elevated privileges.&lt;/li&gt;
&lt;li&gt;Once the verifications pass, select "Finish".&lt;/li&gt;
&lt;li&gt;The creation of standard environment takes&amp;nbsp;a few minutes. During this time, the agent is automatically downloaded and installed on the machines of the environment (in this case, the vsalm machine itself). At the end of the process, you should see that the environment goes into "Ready" state.&lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/8484.p3.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/8484.p3.png" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;b&gt;Create and run a Build-Deploy-Test definition&lt;/b&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Create a Test settings.&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;From Microsoft Test Manager, go to Lab Center, and to Test Settings.&lt;/li&gt;
&lt;li&gt;Create a new automated test settings. On the "General" tab, type in the name of the test settings - for e.g., Fabrikam BDT Test Settings. Select "Automated". On the rest of the tabs, choose the defaults, and save the test settings.&lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/2313.p5.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/2313.p5.png" /&gt;&lt;/a&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/8623.p16.png"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;Create a Build-Deploy-Test definition.&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;In&amp;nbsp;Visual Studio, go to Team Explorer, and open Builds. Select "New Build Definition".&lt;/li&gt;
&lt;li&gt;On the "General" tab, type in a name for the definition - say, BDT.&lt;/li&gt;
&lt;li&gt;On the "Build Defaults" tab, uncheck "This build copies output files to a drop folder".&lt;/li&gt;
&lt;li&gt;On the "Process" tab, select LabDefaultTemplate.11.xaml as the build process template. &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/5618.p14.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/5618.p14.png" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Click "..." next to the Lab Process Settings, and enter the following settings:&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;Environment: "Fabrikam BDT" or the name that you gave to your environment&lt;/li&gt;
&lt;li&gt;Build: Set the build definition to "Fabrikam Build" or the name you gave to the compilation build&lt;/li&gt;
&lt;li&gt;Deploy: Check the option to Deploy, and Add a row in the grid. For the Machine role, select "Web Server". For the Deployment script, type "cmd /c dir". We are not really doing a deployment in this walkthrough since the application is already deployed in the virtual machine.&lt;/li&gt;
&lt;li&gt;Test: Select the automated test plan and the test settings that you created.&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;Save the build-deploy-test definition,&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;Queue an instance of the Build-Deploy-Test definition.&lt;/li&gt;
&lt;ol&gt;
&lt;li&gt;Select the build definition that you just saved, and queue it. This should trigger a compilation, followed by deployment, and then the exeuction of the test cases.&lt;/li&gt;
&lt;/ol&gt;&lt;/ol&gt;
&lt;p&gt;&lt;b&gt;What next?&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;In this walkthrough, you have seen how easy it was to create a standard environment. The process of installing agents onto the machines of the standard environment is automated. You also saw how you can run a build-deploy-test workflow using a standard environment. These are some of the enhancements in Visual Studio 11.&lt;/p&gt;
&lt;p&gt;In the walkthrough, you have used the same machine for creating the standard environment. In a more realistic scenario, you would typically have test machines that you would compose into an environment. Accomplishing that using the VSALM machine can be done as follows:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div style="padding-left: 30px;"&gt;Create another virtual machine with Windows 2008 R2 operating system, joined to workgroup, and present on the same Internal Network on the same Hyper-V host. We will call this virtual machine as "Test Machine" in the following description.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div style="padding-left: 30px;"&gt;&lt;strong&gt;When you setup this machine, ensure that the Administrator's password is the same P2ssw0rd&lt;/strong&gt;.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div style="padding-left: 30px;"&gt;On the Test Machine, edit the C:\windows\system32\drivers\etc\hosts file. &lt;strong&gt;Add an entry &amp;lt;IP address of VSALM Machine&amp;gt; &lt;a href="http://www.fabrikam.com/"&gt;www.fabrikam.com&lt;/a&gt; to the hosts file&lt;/strong&gt;. This is required for the test machine to be able to find &lt;a href="http://www.fabrikam.com/"&gt;www.fabrikam.com&lt;/a&gt;.&lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/7674.p17.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/7674.p17.png" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div style="padding-left: 30px;"&gt;&lt;br /&gt;Ensure that the&lt;strong&gt; Network and File Sharing exception&lt;/strong&gt; is enabled in the Firewall settings for the Test Machine.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div style="padding-left: 30px;"&gt;The project that comes with the VM is an MVC project. In order to run MVC tests on the Test Machine, you need to install additional software on it. (E.g., Visual Studio with MVC3. Or, if you are like me, and are ok with the test run failing, then skip this step :). You can always do it later.).&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div style="padding-left: 30px;"&gt;From Microsoft Test Manager, create a new Standard environment. This time, provide the computer name of the Test Machine. In the wizard, select the 'Advanced' tab, then &lt;strong&gt;select the option to run Coded UI Tests&lt;/strong&gt;. This will cause the test agent to be run using the provided account and authenticate succesfully with the test controller.&lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/2133.p19.png"&gt;&lt;img border="0" alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/2133.p19.png" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div style="padding-left: 30px;"&gt;Once the environment becomes Ready, queue the same Build-Deploy-Test definition on this environment.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10236422" width="1" height="1"&gt;</description></item><item><title>Lab Management in Visual Studio 11 Developer Preview</title><link>http://blogs.msdn.com/b/lab_management/archive/2011/11/09/lab-management-in-visual-studio-11-developer-preview.aspx</link><pubDate>Wed, 09 Nov 2011 05:24:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10235249</guid><dc:creator>Vijay M [MSFT]</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/lab_management/rsscomments.aspx?WeblogPostID=10235249</wfw:commentRss><comments>http://blogs.msdn.com/b/lab_management/archive/2011/11/09/lab-management-in-visual-studio-11-developer-preview.aspx#comments</comments><description>&lt;p&gt;The Developer Preview that was released in Sep 2011 has a set of new features for Lab Management. Brian Harry has &lt;a href="http://blogs.msdn.com/b/bharry/archive/2011/10/31/lab-management-improvements-in-tfs-11.aspx"&gt;recently blogged&lt;/a&gt; about those features. The new addition in the Developer Preview is that of "Standard Environments".&amp;nbsp;&amp;nbsp;You can now quickly&amp;nbsp;create an environment out of existing machines and use it for Build-Deploy-Test automation. You do not have to worry about manually installing agents as that is completely automated. There&amp;nbsp;is one&amp;nbsp;limitation with the use of Standard Environments in the Developer Preview version. The test machines that you use for creating the Standard environment must be domain-joined machines, and they must be trusted by the Test Controller machine.&lt;/p&gt;
&lt;p&gt;Give the standard environments a try, and let us know how they work for you. Brian Harry's post on how to use standard environments for Build-Deploy-Test automation can be found &lt;a href="http://blogs.msdn.com/b/bharry/archive/2011/10/31/lab-management-improvements-in-tfs-11.aspx"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10235249" width="1" height="1"&gt;</description></item><item><title>How to run the same test in different Lab Environments?</title><link>http://blogs.msdn.com/b/lab_management/archive/2011/09/26/how-to-run-the-same-test-in-different-lab-environments.aspx</link><pubDate>Mon, 26 Sep 2011 11:20:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10216612</guid><dc:creator>Ankit Saraf [MSFT]</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/lab_management/rsscomments.aspx?WeblogPostID=10216612</wfw:commentRss><comments>http://blogs.msdn.com/b/lab_management/archive/2011/09/26/how-to-run-the-same-test-in-different-lab-environments.aspx#comments</comments><description>&lt;p&gt;I will try to address today a common query by lot of users of Visual Studio Lab Management on how to correctly run tests in different Lab Environments.&lt;/p&gt;
&lt;p&gt;This requirement can be achieved by making the test code read the Server names/other configuration through environment variables:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The following post by Gautam explains&amp;nbsp;the changes that will be required in the test code: &lt;a title="http://blogs.msdn.com/b/gautamg/archive/2010/02/23/how-to-get-same-test-running-under-different-environments.aspx" href="http://blogs.msdn.com/b/gautamg/archive/2010/02/23/how-to-get-same-test-running-under-different-environments.aspx"&gt;http://blogs.msdn.com/b/gautamg/archive/2010/02/23/how-to-get-same-test-running-under-different-environments.aspx&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Extra requirement from VS Lab Management is that, the environment variable binding should be done using the following code:&lt;br /&gt; &lt;br /&gt; &lt;span style="color: #2b91af;"&gt;Environment&lt;/span&gt;.GetEnvironmentVariable(&lt;span style="color: #a31515;"&gt;"TestServer"&lt;/span&gt;, EnvironmentVariableTarget.Machine);&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Now, we need to configure our test machines to have the correct values of the environment variables, for achieving this we can do:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Set this environment variables on the test execution machine before we trigger a test run manually. This approach can be used in cases where the values will not change frequently or from environment to environment.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;or&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The values to the environment variables can be set as part of Deploy of Lab E2E Workflow. For doing this we add a deployment script to run the following command on test execution machine: &lt;br /&gt;&lt;br /&gt;cmd /c setx /M TestServer $(InternalComputerName_testServerName)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Please refer &lt;a title="http://msdn.microsoft.com/en-us/library/ee471614.aspx" href="http://msdn.microsoft.com/en-us/library/ee471614.aspx"&gt;http://msdn.microsoft.com/en-us/library/ee471614.aspx&lt;/a&gt;&amp;nbsp;for information about Deploy and macros of Lab E2E workflow.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note: The capability to run Lab E2E Workflow is only available for virtual environments in VS 2010. It is available for both Standard (Physical) and SCVMM environments in VS vNext.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10216612" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/lab_management/archive/tags/Testing/">Testing</category><category domain="http://blogs.msdn.com/b/lab_management/archive/tags/Environments/">Environments</category></item><item><title>Enter/Vote for your favorite feature suggestions - UserVoice site is here!</title><link>http://blogs.msdn.com/b/lab_management/archive/2011/07/14/enter-vote-your-favorite-feature-suggestions-uservoice-site-is-here.aspx</link><pubDate>Thu, 14 Jul 2011 07:03:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10186393</guid><dc:creator>Darshan Desai [MSFT]</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/lab_management/rsscomments.aspx?WeblogPostID=10186393</wfw:commentRss><comments>http://blogs.msdn.com/b/lab_management/archive/2011/07/14/enter-vote-your-favorite-feature-suggestions-uservoice-site-is-here.aspx#comments</comments><description>&lt;p&gt;&lt;span style="font-family: helvetica; font-size: small;"&gt;Have an idea for the product&amp;nbsp;and wondering what is the best way to report it? Think something is missing&amp;nbsp;and you believe it absolutely&amp;nbsp;has to be there?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: helvetica; font-size: small;"&gt;Well, we now&amp;nbsp;have an avenue for you to add and vote for your favorite suggestions. The UserVoice site for Visual Studio is here:&amp;nbsp;&lt;a href="http://visualstudio.uservoice.com/"&gt;http://visualstudio.uservoice.com/&lt;/a&gt;&lt;span style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;It is simple&amp;nbsp;to enter&amp;nbsp;your idea, and if a lot of people agree with you, chances are high you'll see your idea incorporated in&amp;nbsp;the product.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: helvetica; font-size: small;"&gt;&lt;span style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;/span&gt;&lt;span style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Note that User Voice is really not the best avenue for reporting bugs in the current version of the products.&amp;nbsp;&lt;a href="http://connect.microsoft.com/visualstudio"&gt;http://connect.microsoft.com/visualstudio&lt;/a&gt; is really the best avenue for that.&amp;nbsp;It&amp;rsquo;s got a direct connection to our internal bug database and increases the possibility that it will get fixed. UserVoice is really better for larger feature suggestions.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: helvetica; font-size: small; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;So, get started, vote for your favorite ideas, and help us make the product better!!&lt;/span&gt;&lt;span style="font-family: helvetica; font-size: small; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10186393" width="1" height="1"&gt;</description></item><item><title>ALM Rangers have published Visual Studio Lab Management guidance</title><link>http://blogs.msdn.com/b/lab_management/archive/2011/06/24/alm-rangers-have-published-visual-studio-lab-management-guidance.aspx</link><pubDate>Fri, 24 Jun 2011 08:36:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10178554</guid><dc:creator>Vijay M [MSFT]</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/lab_management/rsscomments.aspx?WeblogPostID=10178554</wfw:commentRss><comments>http://blogs.msdn.com/b/lab_management/archive/2011/06/24/alm-rangers-have-published-visual-studio-lab-management-guidance.aspx#comments</comments><description>&lt;p&gt;The &lt;a href="http://msdn.microsoft.com/en-us/vstudio/ee358786"&gt;ALM Rangers &lt;/a&gt;team has produced a comprehensive &lt;a href="http://ralabman.codeplex.com/"&gt;guidance for Visual Studio Lab Management&lt;/a&gt;.This guidance has dedicated chapters for topics such as setting up and planning a lab, creating environments, and maintaining environments.&amp;nbsp;If you have questions on&amp;nbsp;how to setup a small or large lab, how to plan your server and storage infrastructure, or how to patch templates regularly,&amp;nbsp;this guidance has the answers.&lt;/p&gt;
&lt;p&gt;In addition, this guidance also describes a way of creating lab-ready golden templates using &lt;a href="http://rangersvsvmfactory.codeplex.com/"&gt;VM Factory&lt;/a&gt;. This is an alernative to using &lt;a href="http://archive.msdn.microsoft.com/vslabmgmt/Release/ProjectReleases.aspx?ReleaseId=4898"&gt;VM prep tool&lt;/a&gt;, if you are familiar with the VM Factory.&lt;/p&gt;
&lt;p&gt;Bookmark the &lt;a href="http://blogs.msdn.com/b/willy-peter_schaub/archive/2011/06/17/toc-lab-management-guide-blog-posts-and-reference-sites.aspx" target="_blank" s_oidt="0" s_oid="http://blogs.msdn.com/b/willy-peter_schaub/archive/2011/06/17/toc-lab-management-guide-blog-posts-an"&gt;Visual Studio Lab Management Guidance&lt;/a&gt; TOC blog and monitor the Visual Studio ALM Rangers &lt;a href="http://blogs.msdn.com/b/willy-peter_schaub/"&gt;blog&lt;/a&gt;, using tag &lt;a href="http://blogs.msdn.com/b/willy-peter_schaub/archive/tags/tfslm/"&gt;tfslm&lt;/a&gt;, for the latest information on this project.&amp;nbsp;Give this a try when you are planning for or using Lab Management. Give feedback on additional topics that you would like to see included in the guidance either here or at the &lt;a href="http://ralabman.codeplex.com/"&gt;Rangers Lab Management site&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10178554" width="1" height="1"&gt;</description></item><item><title>New QFE for Visual Studio 2010 testing tools</title><link>http://blogs.msdn.com/b/lab_management/archive/2011/06/23/new-qfe-for-visual-studio-2010-testing-tools.aspx</link><pubDate>Thu, 23 Jun 2011 17:40:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10178288</guid><dc:creator>Darshan Desai [MSFT]</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/lab_management/rsscomments.aspx?WeblogPostID=10178288</wfw:commentRss><comments>http://blogs.msdn.com/b/lab_management/archive/2011/06/23/new-qfe-for-visual-studio-2010-testing-tools.aspx#comments</comments><description>&lt;p&gt;A QFE for Visual Studio 2010 testing tools, which fixes some important issues faced by customers, is now available.The full list of issues&amp;nbsp;fixed by this QFE&amp;nbsp;can be found &lt;a href="http://support.microsoft.com/kb/2544407" target="_blank"&gt;here&lt;/a&gt;&amp;nbsp;and you can download this patch &lt;a href="http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=36847" target="_blank"&gt;here&lt;/a&gt;. Note that Service Pack 1 (Visual Studio 2010 SP1 or Team Foundation Server 2010 SP1) is a pre-requisite for installing this patch.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here is a summary of the list of issues fixed by the QFE, to help you decide whether you should apply the QFE:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Issue 1&lt;/strong&gt;: When you run tests on the test agent that is installed on a computer that has Visual Studio 2010 SP1 installed, the tests may not run, and the following error message is logged:&lt;/p&gt;
&lt;p&gt;"Attempted to access an unloaded AppDomain. (Exception from HRESULT: 0x80131014)"&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Issue 2&lt;/strong&gt;: When you run a playback of a Coded UI Test on certain Windows Presentation Foundation (WPF) controls, a Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotFoundException exception occurs, and then you receive the following error message:&lt;/p&gt;
&lt;p&gt;"Search may have failed at '&amp;lt;name&amp;gt;' &amp;lt;control type&amp;gt; as it may have virtualized children. If the control being searched is descendant of '&amp;lt;name&amp;gt;' &amp;lt;control type&amp;gt; then including it as the parent container may solve the problem."&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Issue 3&lt;/strong&gt;: When you try to create a work item from the Test Results pane in Visual Studio 2010 after you connect to a Team Foundation Server (TFS) server, a System.OutOfMemory exception occurs, and the creation operation fails. This issue usually occurs if the TFS server has many builds.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Issue 4&lt;/strong&gt;: When some tests run in a build operation, some builds that are queued in a TFS server stop responding. Additionally, the following error message is logged in the build log:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Waiting to publish...&lt;/em&gt;&lt;br /&gt;&lt;em&gt;Publishing results of test run &amp;lt;build name&amp;gt; to &lt;a href="http://&lt;TFS"&gt;http://&amp;lt;TFS&lt;/a&gt; server address&amp;gt;:8080/tfs/DefaultCollection...&lt;/em&gt;&lt;br /&gt;&lt;em&gt;The process cannot access the file '&amp;lt;directory&amp;gt;\data.coverage' because it is being used by another process.&lt;/em&gt;&lt;br /&gt;&lt;em&gt;Publish failed or canceled.&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10178288" width="1" height="1"&gt;</description></item><item><title>Configuration matrix testing using Visual Studio Lab Management</title><link>http://blogs.msdn.com/b/lab_management/archive/2011/05/26/configuration-matrix-testing-using-visual-studio-lab-management.aspx</link><pubDate>Thu, 26 May 2011 10:58:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10168606</guid><dc:creator>Ankit Saraf [MSFT]</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/lab_management/rsscomments.aspx?WeblogPostID=10168606</wfw:commentRss><comments>http://blogs.msdn.com/b/lab_management/archive/2011/05/26/configuration-matrix-testing-using-visual-studio-lab-management.aspx#comments</comments><description>&lt;p&gt;One of the common issues regularly faced by our users is how to test their application in both IE and Firefox. Visual Studio Lab Management can help in solving this issue for automated Coded UI test as part of Lab E2E Workflow flow.&lt;/p&gt;
&lt;p&gt;To accomplish this with Lab Management, we will need&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Visual Studio 2010 Feature Pack 2 (To be installed on developer box, build box, test controller and test agents)&lt;/li&gt;
&lt;li&gt;Customized build template derived from LabDefaultTemplate. (Attached to this post)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Lab Management uses Test Settings to define the Role of the environment to use for running test and also for data collection. If there are more than one machines of the Execution role in the environment, then the tests are distributed among them. For configuration matrix testing between IE and Firefox we want to be sure that all our tests run both on IE and Firefox.&lt;/p&gt;
&lt;p&gt;So to accomplish our goal we will be using multiple test settings and multiple automated test runs within our environment.&lt;/p&gt;
&lt;p&gt;Let us setup the environment now, to do that we do the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Create a Lab Environment for our application with the additional requirement that we add one more Web Client machine and name the roles for the two machines WebClientIE and WebClientFF.&lt;/li&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/8203.1.png"&gt;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/8203.1.png" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;li&gt;Create two test settings by going to the test settings page in Lab Management for this environment; name them TestSettingIE and TestSettingFF. In TestSettingIE, we set WebClientIE as the execution role and enable the data collectors on other roles as required (you should disable data collectors on WebClientFF role as this machine will not participate in the test run for this test setting). In TestSettingFF, we set WebClientFF as the execution role and enable data collectors on the other roles. &lt;/li&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/8081.4.png"&gt;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/8081.4.png" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;li&gt;Login into the WebClientFF role machine and we need to set the environment variable CodedUITestCurrentBrowser to specify to the Test Agent to run the Coded UI tests in Firefox. Restart the Test Agent process.&lt;/li&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/0458.5.png"&gt;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/379x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/0458.5.png" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;li&gt;Make sure all other pre-requisites for deploying the application are also done and we can then take a checkpoint for our daily Lab E2E workflow build.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;With these steps our environment is ready. Now we will do the setup of the test cases.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;After installation of Feature Pack 2, we open our test project from source control and record a new Coded UI test. This will add the required references for running our Coded UI test against Firefox. After this we check-in our test project back to source control. (A good idea at this point will be to make sure that all tests which we plan to run on both IE and FF are run on your development box with Firefox as the execution browser to avoid any test issues later.)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Now we need to setup the build:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Please download the attached LabDefaultTemplate_ConfigTest.xaml; We need to check it in the source control in the BuildProcessTemplates directory. This template is the default Lab build template with the changes to execute two test runs. You can open the file in Visual Studio to understand the changes.&lt;/li&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/3364.6.png"&gt;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/3364.6.png" border="0" /&gt;&lt;/a&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/0245.2.png"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;li&gt;Now we define a new build and select our LabDefaultTemplate_ConfigTest as the build template (to do so you will need to select the add existing xaml option).&lt;/li&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/0245.2.png"&gt;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/0245.2.png" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;li&gt;We enter all the parameters for the environment created earlier in this build as we normally do for Lab E2E workflow builds, the test setting selected on the Test page of the workflow parameters wizard will be&amp;nbsp;ignored&amp;nbsp; by our build.&lt;/li&gt;
&lt;li&gt;We need to enter the test settings on the Process page of build under the values TestSettingRun1 and TestSettingRun2, we need to enter the values as ID of the test settings which we can get from the Test Settings page of Lab Management. We enter the ID for our TestSettingIE and TestSettingFF in the two fields.&lt;/li&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/3716.3.png"&gt;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/3716.3.png" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/ol&gt;
&lt;p&gt;Now we can run this build and it will go through the build, deploy &amp;amp; test phases. It will create and execute two test runs by the name BuildNumber &amp;amp; BuilNumber_2, we can check them under Test &amp;gt; Analyze Test Runs page of Microsoft Test Manager. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/7183.7.png"&gt;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/400x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/7183.7.png" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/8228.8.png"&gt;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-15-18/8228.8.png" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;With this we have accomplished our goal of executing same set of tests on both IE and Firefox using Lab E2E workflow.&lt;/p&gt;
&lt;p&gt;For running the test in Firefox, we used a feature introduced in Feature Pack 2 (&lt;a href="http://msdn.microsoft.com/en-us/library/gg413375.aspx"&gt;more info&lt;/a&gt;) to capture Coded UI test in IE and run them in Firefox. If you want to run the configuration matrix across various versions of IE, we do not need to install Feature Pack 2, we just need to have the different versions of IE installed on the two WebClient machines we have in our environment.&lt;/p&gt;
&lt;p&gt;You can also extend this testing to beyond two runs by modifying the build template to include more test runs and creating the additional web client machines and test settings in the environment.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10168606" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-16-86-06/LabDefaultTemplate_5F00_ConfigTest.xaml" length="27356" type="application/octet-stream" /><category domain="http://blogs.msdn.com/b/lab_management/archive/tags/lab+management/">lab management</category><category domain="http://blogs.msdn.com/b/lab_management/archive/tags/Coded+UI+Test/">Coded UI Test</category><category domain="http://blogs.msdn.com/b/lab_management/archive/tags/Firefox/">Firefox</category><category domain="http://blogs.msdn.com/b/lab_management/archive/tags/Config+Matrix/">Config Matrix</category><category domain="http://blogs.msdn.com/b/lab_management/archive/tags/IE/">IE</category><category domain="http://blogs.msdn.com/b/lab_management/archive/tags/Build+Workflow/">Build Workflow</category></item><item><title>Support for Windows Server 2008 R2 SP1 hosts and SCVMM 2008 R2 SP1</title><link>http://blogs.msdn.com/b/lab_management/archive/2011/03/28/support-for-windows-server-2008-r2-sp1-hosts-and-scvmm-2008-r2-sp1.aspx</link><pubDate>Mon, 28 Mar 2011 04:50:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10146486</guid><dc:creator>Vijay M [MSFT]</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/lab_management/rsscomments.aspx?WeblogPostID=10146486</wfw:commentRss><comments>http://blogs.msdn.com/b/lab_management/archive/2011/03/28/support-for-windows-server-2008-r2-sp1-hosts-and-scvmm-2008-r2-sp1.aspx#comments</comments><description>&lt;p&gt;Both Visual Studio Lab Management 2010 and Visual Studio Lab Management 2010 SP1 work with the Windows Server 2008 R2 SP1 hosts. Windows Server 2008 R2 SP1 includes new features such as dynamic memory, which are great for test labs. Dynamic memory increases the VM density and allows you to run more VMs on the same hardware. &lt;/p&gt;
&lt;p&gt;In order to use the new Windows 2008 R2 SP1 hosts and features such as dynamic memory, here is what you need to do:&lt;/p&gt;
&lt;p&gt;(a) Upgrade your SCVMM server from 2008 R2 to 2008 R2 SP1.&lt;/p&gt;
&lt;p&gt;(b) Upgrade the SCVMM admin console on TFS Application Tier machines to SCVMM Administration Console 2008 R2 SP1.&lt;/p&gt;
&lt;p&gt;(c) Ensure that every host group in SCVMM has hosts of only one type - Do not mix Windows 2008 R2 hosts and Windows 2008 R2 SP1 hosts in the same host group.&lt;/p&gt;
&lt;p&gt;(d) You have to set the dynamic memory value on the template in SCVMM library before importing the template into Lab management. If you already have imported templates, use MTM to delete them from all team projects, set the dynamic memory value on the templates using SCVMM admin console, and then re-import them into MTM.&lt;/p&gt;
&lt;p&gt;(e) Now, when you create fresh environments using these templates on 2008 R2 SP1 host groups, dynamic memory value will be honored. You will not be able to see the dynamic memory values from MTM. MTM would only show the startup memory. However, you can use SCVMM admininstration console to see the memory usage of VMs.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10146486" width="1" height="1"&gt;</description></item><item><title>Running Build-Deploy-Test workflow on physical environments</title><link>http://blogs.msdn.com/b/lab_management/archive/2011/02/15/running-build-deploy-test-workflow-on-physical-environments.aspx</link><pubDate>Tue, 15 Feb 2011 11:46:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10130198</guid><dc:creator>Darshan Desai [MSFT]</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/lab_management/rsscomments.aspx?WeblogPostID=10130198</wfw:commentRss><comments>http://blogs.msdn.com/b/lab_management/archive/2011/02/15/running-build-deploy-test-workflow-on-physical-environments.aspx#comments</comments><description>&lt;p&gt;&lt;b&gt;UPDATE: &lt;/b&gt;In Visual Studio 11, we have introduced&amp;nbsp;rich support for creating&amp;nbsp;physical environments (called as Standard Environments)&amp;nbsp;and running build-deploy-test workflows on them. Check this blog post for details and to get started: &lt;a href="http://blogs.msdn.com/b/lab_management/archive/2011/11/12/lab-management-walkthrough-using-visual-studio-11-developer-preview-virtual-machine.aspx"&gt;http://blogs.msdn.com/b/lab_management/archive/2011/11/12/lab-management-walkthrough-using-visual-studio-11-developer-preview-virtual-machine.aspx&lt;/a&gt;&amp;nbsp;The below article still holds good for Visual Studio/Team Foundation Server 2010.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;DISCLAIMER&lt;/b&gt;: The information in this post is provided &amp;ldquo;as-is&amp;rdquo;, we make no guarantees that the steps will work reliably, and we will not provide any support or upgrade for the definitions you create using the steps described here.&lt;/p&gt;
&lt;p&gt;Lab Management feature in Visual Studio 2010 enables &lt;a href="http://msdn.microsoft.com/en-us/library/ee518917.aspx"&gt;automation&lt;/a&gt; of the build-deploy-test cycle. This scenario is supported only on virtual environments managed by Lab Management in the current release. This post talks about how this capability can be extended to run workflow on physical machines, with some limitations.&lt;/p&gt;
&lt;h4&gt;Pre-requisites&lt;/h4&gt;
&lt;p&gt;1. &lt;a href="http://msdn.microsoft.com/en-us/library/ee390842.aspx"&gt;Create a physical environment&lt;/a&gt; comprising of the machines on which you want to run the build-deploy-test workflow.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: In Microsoft Test Manager, you&amp;rsquo;ll see the Workflow capability status as &amp;lsquo;Not Configured&amp;rsquo; for all physical environments. This is OK and your workflow can still run if you follow the steps in this post.&lt;/p&gt;
&lt;p&gt;2. &lt;a href="http://msdn.microsoft.com/en-us/library/bb399135.aspx#agent_create"&gt;Install the build service and configure a build agent&lt;/a&gt; on each of the machines in this physical environment. Configure all the build agents with one build controller.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: Do not install lab agent on these physical machines.&lt;/p&gt;
&lt;p&gt;3. Add a tag to the build agents you configured in step #2. You can do this either from the Team Foundation Administration Console on the build agent machine, or from &amp;lsquo;Builds -&amp;gt; Manage Build Controllers&amp;rsquo; in Visual Studio. If you do not do this, the build definitions authored using the &amp;lsquo;Default Template&amp;rsquo; (to build your code) may pick this agent to run your builds (the default matching criteria is agent with no tags) &amp;ndash; and this might not be a desirable behavior.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h4&gt;Steps to setup and configure the workflow&lt;/h4&gt;
&lt;p&gt;1. Download the attached zip file, extract the workflow template &amp;lsquo;BuildDeployTest-physical.xaml&amp;rsquo; and check-in to source control (example: $/&amp;lt;projectName&amp;gt;/BuildProcessTemplates).&lt;/p&gt;
&lt;p&gt;2. Follow the steps to create a build definition described &lt;a href="http://msdn.microsoft.com/en-us/library/ee471614.aspx"&gt;here&lt;/a&gt;. Instead of choosing LabDefaultTemplate.xaml, choose the template that was checked-in in the above step.&lt;/p&gt;
&lt;p&gt;Note: If the new template does not appear in the drop down, click on the &amp;lsquo;New&amp;rsquo; button besides the drop-down, choose &amp;lsquo;Select an existing XAML file&amp;rsquo; option and browse for the new template.&lt;/p&gt;
&lt;p&gt;3. This definition should be run only on the build controller to which the build agents are configured.&lt;/p&gt;
&lt;p&gt;4. Following are the important arguments to be specified for the workflow.&lt;/p&gt;
&lt;p&gt;a. &amp;lsquo;Build: New Build&amp;rsquo; section (Fill in this section to queue a new build)&lt;/p&gt;
&lt;ol&gt;&lt;ol&gt;
&lt;li&gt;Build Definition Name: Name of the build definition to be queued.&lt;/li&gt;
&lt;li&gt;Configuration: Configuration of the build to be used for deployment and testing (ex: Debug, Retail)&lt;/li&gt;
&lt;li&gt;Platform: Platform of the build to be used for deployment and testing (ex: x86, x64)&lt;/li&gt;
&lt;li&gt;Queue New Build - Indicates whether new build should be queued.&lt;/li&gt;
&lt;/ol&gt;&lt;/ol&gt;
&lt;p&gt;b. &amp;lsquo;Build: Pick Existing Build&amp;rsquo; section (This will be used only if new build is not queued)&lt;/p&gt;
&lt;ol&gt;&lt;ol&gt;
&lt;li&gt;Build Location - Path from which the build should be picked up&lt;/li&gt;
&lt;li&gt;Build Number - Value that identifies the build. Typical format is &lt;i&gt;BuildDefinitionName_Date.Revision&lt;/i&gt;. This is used to associate the test run with the build. This argument is optional.&lt;/li&gt;
&lt;/ol&gt;&lt;/ol&gt;
&lt;p&gt;c. &amp;lsquo;Deployment&amp;rsquo; section&lt;/p&gt;
&lt;blockquote&gt;&lt;ol&gt;
&lt;li&gt;Deployment Scripts &amp;ndash; List of scripts that perform the deployment. Each script is of the format &lt;i&gt;BuildAgentName # PathToExecutable # Arguments&lt;/i&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Example 1: Agent1 # $(BuildLocation)\install.exe # /q&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Example 2: Agent2 # cmd.exe # /c copy $(BuildLocation)\install.exe C:\installer&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;BuildAgentName&lt;/em&gt; &amp;ndash; name of the build agent on the machine where the script should be executed. You can check the build agent name from &amp;lsquo;Builds -&amp;gt; Manage Build Controllers&amp;rsquo; in Visual Studio.&lt;/li&gt;
&lt;li&gt;&lt;em&gt;PathToExecutable&lt;/em&gt; &amp;ndash; file path to the executable that needs to be executed. This can contain the macro &lt;i&gt;$(BuildLocation) &lt;/i&gt;which will be substituted by the value of BuildLocation workflow argument.&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Arguments&lt;/em&gt; &amp;ndash; arguments to be passed to the executable. &lt;i&gt;$(BuildLocation) &lt;/i&gt;macro is allowed.&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;2.&amp;nbsp; Run deployment scripts &amp;ndash; Indicates whether deployment should be performed.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;d. &amp;lsquo;Test&amp;rsquo; section:&lt;/p&gt;
&lt;blockquote&gt;&lt;ol&gt;
&lt;li&gt;Test Environment Name &amp;ndash; Name of the physical environment&lt;/li&gt;
&lt;li&gt;Test Run Parameters &amp;ndash; Identifies the test suites whose test cases should be run along the required test configuration and test settings.&lt;/li&gt;
&lt;li&gt;Run tests &amp;ndash; Indicates whether tests are to be run.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h4&gt;Limitations&lt;/h4&gt;
&lt;p&gt;The limitations compared to LabDefaultTemplate.xaml are:&lt;/p&gt;
&lt;p&gt;1. Ability to pick the latest successful build. This template supports queuing a new build and picking the build from a share, but not picking the latest build, given a build definition.&lt;/p&gt;
&lt;p&gt;2. No support to specify environment variables (the macros $(ComputerName_...) and $(InternalComputerName_...)) and working directory for the scripts.&lt;/p&gt;
&lt;p&gt;3. No support for snapshots &amp;ndash; Given that snapshots are not applicable for physical environments, this is a difference rather than a limitation.&lt;/p&gt;
&lt;p&gt;Refer this &lt;a href="http://msdn.microsoft.com/en-us/library/ff934561.aspx"&gt;article&lt;/a&gt; to further customize the workflow template.&lt;/p&gt;
&lt;p&gt;We hope you find this info useful. Just to remind you again, the above steps are a work-around that enable you to run the workflow on physical machines. We will not provide any support or upgrade for the definitions you create using the steps described in this post.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10130198" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-13-01-98/BuildDeployTest_5F00_Physical.zip" length="4427" type="application/x-zip-compressed" /></item><item><title>Enabling Host based connection for virtual environments</title><link>http://blogs.msdn.com/b/lab_management/archive/2010/11/08/enabling-host-based-connection-for-virtual-environments.aspx</link><pubDate>Mon, 08 Nov 2010 09:18:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10087514</guid><dc:creator>Hariveer Singh</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/lab_management/rsscomments.aspx?WeblogPostID=10087514</wfw:commentRss><comments>http://blogs.msdn.com/b/lab_management/archive/2010/11/08/enabling-host-based-connection-for-virtual-environments.aspx#comments</comments><description>&lt;p align="justify"&gt;Once you create/compose a virtual environment, you can connect to it for doing manual testing etc. Environment Viewer can offer you a Host based or a Guest based connection, depending on various scenarios. Refer to this MSDN article for details: &lt;a href="http://msdn.microsoft.com/en-us/library/ee518907.aspx"&gt;http://msdn.microsoft.com/en-us/library/ee518907.aspx&lt;/a&gt;. In summary, host based connections are are routed through the Hyper-V hosts on which the virtual machines reside. Apart from meeting the OS requirements, you need to be an environment owner to get a Host based connection. Host-based connections are better for interacting with virtual machines when they are booting up. Also the screen resolution of the Virtual Machine is preserved in a Host-based connection. Note: there can be only one active host based connection to an environment at any point of time. &lt;/p&gt;
&lt;p&gt;In case you want to provide Host based connection to an another user (other than the Environment owner), you can update the owner of the virtual machines. Follow these steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Install the Lab Management GDR on Team Foundation Server: &lt;a href="http://support.microsoft.com/?kbid=983578"&gt;http://support.microsoft.com/?kbid=983578&lt;/a&gt;. It is also recommended that you install the patch on Microsoft Test Manager (MTM) machine also. &lt;/li&gt;
&lt;li&gt;Run the attached script using Power Shell 2.0 &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;b&gt;Usage:&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff;"&gt;.\UpdateVMOwner.ps1 -tfsurl 'http://&amp;lt;MyTFS&amp;gt;:8080/tfs/&amp;lt;MyCollection&amp;gt;' -environmentUri 'vstfs:///LabManagement/LabEnvironment/&amp;lt;ID&amp;gt;' -vmOwner '&amp;lt;domain\user&amp;gt;'&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;(Updates the owner of all the virtual machines in the environment)&lt;/p&gt;
&lt;p&gt;or&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff;"&gt;.\UpdateVMOwner.ps1 -tfsurl 'http://&amp;lt;MyTFS&amp;gt;:8080/tfs/&amp;lt;MyCollection&amp;gt;' -environmentUri 'vstfs:///LabManagement/LabEnvironment/&amp;lt;ID&amp;gt;' -vmOwner '&amp;lt;domain\user&amp;gt;' -LabSystems 'TestVM1, TestVM2'&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;(you can provide comma separated list of the names of the virtual machines in the environment)&lt;/p&gt;
&lt;p&gt;E.g.&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #0000ff;"&gt;.\UpdateVMOwner.ps1 -tfsurl 'http://abc-tfs:8080/tfs/DefaultCollection' -environmentUri 'vstfs:///LabManagement/LabEnvironment/37' -vmOwner 'contoso\elvis'&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;You can find the ID of environment using MTM.&lt;/p&gt;
&lt;p&gt;&lt;a target="_blank" href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/3343.Env_2D00_ID_5F00_21EAC691.png"&gt;&lt;img src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/5516.Env_2D00_ID_5F00_thumb_5F00_543E7443.png" alt="Env-ID" title="Env-ID" style="display: inline" width="611" height="361" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;After you have successfully run this script, you can check the connection type using environment viewer (shown at the bottom)&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/7103.Env_2D00_Viewer_5F00_3DBBAFEF.png"&gt;&lt;img src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/2248.Env_2D00_Viewer_5F00_thumb_5F00_69F422D4.png" alt="Env Viewer" title="Env Viewer" style="display: inline" width="705" height="493" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You need to&amp;nbsp;remove the .txt&amp;nbsp;file extenstion type of the attached script.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10087514" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-08-75-14/UpdateVMOwner.ps1.txt" length="1356" type="text/plain" /></item><item><title>Does Lab Management support non-Hyper-V platforms?</title><link>http://blogs.msdn.com/b/lab_management/archive/2010/10/27/does-lab-management-work-on-non-hyper-v-platforms.aspx</link><pubDate>Wed, 27 Oct 2010 13:31:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10081502</guid><dc:creator>Darshan Desai [MSFT]</dc:creator><slash:comments>5</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/lab_management/rsscomments.aspx?WeblogPostID=10081502</wfw:commentRss><comments>http://blogs.msdn.com/b/lab_management/archive/2010/10/27/does-lab-management-work-on-non-hyper-v-platforms.aspx#comments</comments><description>&lt;p&gt;We get a lot of questions around the support matrix for Lab Management in TFS 2010 – does it only work for Hyper-V virtual machines or with physical machines too? Can I use it with my non-Hyper-V VMs? &lt;/p&gt;  &lt;p&gt;I will first talk about the types of environments and the support for various capabilities of Lab Management, and finally summarize this with a table.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Types of environments:&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Visual Studio 2010 supports 2 types of environments – virtual and physical, which you can create using the Microsoft Test Manager. &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;A virtual environments is a collection of virtual machines (with network and other settings) running on Hyper-V hosts, managed by System Center Virtual Machine Manager. &lt;/li&gt;    &lt;li&gt;A physical environment is a collection of physical machines, on which you have installed the test agent. If you have virtual machines running on a non-Hyper-V platform, you can model them as physical machines in the system. This way, you will be able to get all the capabilities available for physical environments for the non-Hyper-V environments, but not the capabilities exclusively available for virtual environments. (refer the last section in the table below). &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;That said; let us look at each of the scenarios/capabilities a little more closely.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;1. Testing&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Using Microsoft Test Manager, you can run tests on both virtual as well as physical environments. The capabilities are exactly the same here and this means that you can run automated and manual tests, and do rich diagnostic data collection from all sorts of environments – Hyper-V, non Hyper-V, and physical.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;2. Build deployment&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;You can easily automate the build-deployment-testing workflow on Hyper-V virtual environments using the template shipped in TFS 2010 (labdefaulttemplate.xaml). &lt;/p&gt;  &lt;p&gt;For physical environments, such a template is not available out of the box. However, since this automation is based on Windows Workflow Foundation 4.0, you can customize the template (or create your own) using the activities in the toolbox, to automate build deployment and testing on physical machines. This means you can do the same for non-Hyper-V environments as well, however note that the virtual environment specific actions (restore to snapshot/start/stop environment) will not be available for physical and non-Hyper-V environments.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;3. Environment creation and management&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Creating virtual machines from a template, cloning environments using network isolation, VM operations such as Start/Stop/Snapshot/Pause are exclusively available for Hyper-V based virtual environments and not available for non-Hyper-V or physical environments.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;To sum up and to answer the questions asked in the beginning, Visual Studio 2010 isn’t meant only to work with Hyper-V virtual environments. A lot of integration capabilities work for physical as well as for non-Hyper-V environments, as described in this post. Here is a table that summarizes these capabilities.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/3632.image_5F00_3.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/6355.image_5F00_thumb.png" width="648" height="396" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;I hope this clarifies your doubts. In case you have further comments/questions, please leave a comment here or reach out to us using the &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/vslab/threads" target="_blank"&gt;msdn forum&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10081502" width="1" height="1"&gt;</description></item><item><title>Updated lab management videos</title><link>http://blogs.msdn.com/b/lab_management/archive/2010/10/27/updated-lab-management-videos.aspx</link><pubDate>Wed, 27 Oct 2010 12:59:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10081489</guid><dc:creator>Darshan Desai [MSFT]</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/lab_management/rsscomments.aspx?WeblogPostID=10081489</wfw:commentRss><comments>http://blogs.msdn.com/b/lab_management/archive/2010/10/27/updated-lab-management-videos.aspx#comments</comments><description>&lt;p&gt;If you haven’t noticed already, we have updated the lab management videos to add a narration and have also uploaded them on msdn as part of the ‘How Do I’ series. This makes the videos a lot easier to view and to follow. &lt;/p&gt;  &lt;p&gt;There are 7 videos in all – an overview video to give you a quick walkthrough of the product and 6 detailed walkthroughs to help you get started, all the way from setup. The old article has been updated with the new links. You can find it &lt;a href="http://go.microsoft.com/fwlink/?LinkId=183021" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;Take a look at the videos and we hope you will find them useful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10081489" width="1" height="1"&gt;</description></item><item><title>VM Prep Tool for Visual Studio Lab Management 2010 GDR is now available!</title><link>http://blogs.msdn.com/b/lab_management/archive/2010/09/08/vm-prep-tool-for-visual-studio-lab-management-2010-gdr-is-now-available.aspx</link><pubDate>Wed, 08 Sep 2010 07:03:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10059179</guid><dc:creator>Shankar MSFT</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/lab_management/rsscomments.aspx?WeblogPostID=10059179</wfw:commentRss><comments>http://blogs.msdn.com/b/lab_management/archive/2010/09/08/vm-prep-tool-for-visual-studio-lab-management-2010-gdr-is-now-available.aspx#comments</comments><description>&lt;p class="MsoNormal"&gt;&lt;span style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt; mso-fareast-font-family: 'Times New Roman';"&gt;As you may be aware, &lt;a href="http://blogs.msdn.com/b/lab_management/archive/2010/08/20/lab-management-final-update-is-now-available.aspx" title="Lab Management GDR is now available"&gt;&lt;span style="color: blue;"&gt;Lab Management GDR is now available&lt;/span&gt;&lt;/a&gt;. In sync with this release, I am happy to announce that the VM Prep Tool for Visual Studio Lab Management 2010 GDR in now available at &lt;a href="http://code.msdn.microsoft.com/vslabmgmt"&gt;&lt;span style="color: blue;"&gt;http://code.msdn.microsoft.com/vslabmgmt&lt;/span&gt;&lt;/a&gt;. &amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt; mso-fareast-font-family: 'Times New Roman';"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt; mso-fareast-font-family: 'Times New Roman';"&gt;What&amp;rsquo;s new?&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt; mso-fareast-font-family: 'Times New Roman';"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt; mso-fareast-font-family: 'Times New Roman';"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt; mso-fareast-font-family: 'Times New Roman';"&gt;VM Prep Tool GDR supports installation of patches for all lab management software on the VM. Patches can be downloaded here: (&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=8406ef19-35a3-4c03-a145-08ba982f3cef&amp;amp;displaylang=en"&gt;&lt;span style="color: blue;"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=8406ef19-35a3-4c03-a145-08ba982f3cef&amp;amp;displaylang=en&lt;/span&gt;&lt;/a&gt;) All patches to be installed should be indicated in the LabVMConfig.xml (located in the same folder as VMPrepTool.exe) under the &amp;lsquo;PatchesFolder&amp;rsquo; parameter. The VM Prep Tool would pick up any patch executables found in this folder and install them on the VM.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt; mso-fareast-font-family: 'Times New Roman';"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt; mso-fareast-font-family: 'Times New Roman';"&gt;This operation is supported both in self-service/ admin mode using the VM Prep Tool UI or from the command line.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt; mso-fareast-font-family: 'Times New Roman';"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-family: 'Arial','sans-serif'; color: black; font-size: 9pt; mso-fareast-font-family: 'Times New Roman';"&gt;Please refer to the documentation available on the release site for details on how to setup and use the tool. Do let us know if there are questions or feedback on the tool. Previous versions of the tool will continue to be available online (under the download tab-&amp;gt;Releases) in case someone still requires it.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10059179" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/lab_management/archive/tags/GDR/">GDR</category><category domain="http://blogs.msdn.com/b/lab_management/archive/tags/VM+prep+tool/">VM prep tool</category></item><item><title>Lab Management General Distribution Release is now available</title><link>http://blogs.msdn.com/b/lab_management/archive/2010/08/20/lab-management-final-update-is-now-available.aspx</link><pubDate>Fri, 20 Aug 2010 06:33:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10052330</guid><dc:creator>Darshan Desai [MSFT]</dc:creator><slash:comments>7</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/lab_management/rsscomments.aspx?WeblogPostID=10052330</wfw:commentRss><comments>http://blogs.msdn.com/b/lab_management/archive/2010/08/20/lab-management-final-update-is-now-available.aspx#comments</comments><description>&lt;p&gt;We are happy to announce that the General Distribution Release for lab management in Visual Studio 2010 is now available. A couple of weeks back, we announced the general availability of lab management, licensing changes, and what’s changed since RC. You can review these &lt;a href="http://blogs.msdn.com/b/lab_management/archive/2010/08/04/general-availability-of-visual-studio-lab-management-announced.aspx" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;The final bits are now available for download to licensed customers. Here are the links to get the update that upgrades lab management functionality: &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=8406ef19-35a3-4c03-a145-08ba982f3cef&amp;amp;displaylang=en"&gt;The patch you need to install&lt;/a&gt; and &lt;a href="http://support.microsoft.com/?kbid=983578" target="_blank"&gt;the KB article that describes the update&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;You need to install this patch on the following machines:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Team Foundation Server &lt;/li&gt;    &lt;li&gt;Client machine (i.e. the machine running Microsoft Test Manager) &lt;/li&gt;    &lt;li&gt;Visual Studio Test Controller &lt;/li&gt;    &lt;li&gt;Build machines&lt;/li&gt;    &lt;li&gt;All the virtual machines and templates that are part of your environments. The patch has updates for the agents installed on the virtual machines. &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;If you haven’t configured lab management already, &lt;a href="http://msdn.microsoft.com/en-us/vstudio/ee712698.aspx" target="_blank"&gt;this page&lt;/a&gt; has useful links to help you get started and setup lab management.&lt;/p&gt;  &lt;p&gt;This is a great moment for the product team. We can’t wait to see you use lab management and reap the benefits. Please provide us your valuable feedback.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10052330" width="1" height="1"&gt;</description></item><item><title>General Availability of Visual Studio Lab Management announced</title><link>http://blogs.msdn.com/b/lab_management/archive/2010/08/04/general-availability-of-visual-studio-lab-management-announced.aspx</link><pubDate>Wed, 04 Aug 2010 18:23:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10046082</guid><dc:creator>Hariveer Singh</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/lab_management/rsscomments.aspx?WeblogPostID=10046082</wfw:commentRss><comments>http://blogs.msdn.com/b/lab_management/archive/2010/08/04/general-availability-of-visual-studio-lab-management-announced.aspx#comments</comments><description>&lt;p&gt;Today, at the Visual Studio Live event in Seattle, Dave Mendlen – Senior Director of Developer Marketing at Microsoft announced the final release of Lab Management in the Visual Studio 2010 release. We are announcing the general availability of the Lab Management capability as end of August, 2010. In addition to general availability we also announced that at the time of release, the Lab Management capability will be immediately available to all customers who have licenses for one of the following products:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Visual Studio 2010 Ultimate with MSDN, or &lt;/li&gt;    &lt;li&gt;Visual Studio Test Professional 2010 with MSDN &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;In this journey to final release, we have worked with many customers and partners who are using current release candidate of Lab Management and incorporated their feedback to improve overall performance, stability, usability and diagnose-ability. &lt;/p&gt;  &lt;p&gt;The following is a list of major fixes since release candidate&lt;/p&gt;  &lt;p&gt;• Improved performance for Lab Management Workflow Wizard.&lt;/p&gt;  &lt;p&gt;• Improved performance for automated test case execution on Network Isolated Lab environments.&lt;/p&gt;  &lt;p&gt;• Fix for an issue where Test Controller service account being same as Lab Service account caused issues with environment capabilities.&lt;/p&gt;  &lt;p&gt;• Ability to provide Host based connections to multiple users.&lt;/p&gt;  &lt;p&gt;• Improved error messages for error conditions to help diagnose issues.&lt;/p&gt;  &lt;p&gt;This release will be available as a single patch which you will need to apply to TFS, Visual Studio Client, and agents. &lt;/p&gt;  &lt;p&gt;To know more about Lab Management you can visit Lab Management site at &lt;a href="http://www.microsoft.com/visualstudio/en-us/solutions/software-quality/lab-management"&gt;http://www.microsoft.com/visualstudio/en-us/solutions/software-quality/lab-management&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;To watch Lab Management videos visit &lt;a href="http://go.microsoft.com/fwlink/?LinkId=183021"&gt;&lt;i&gt;http://go.microsoft.com/fwlink/?LinkId=183021&lt;/i&gt;&lt;/a&gt;&lt;i&gt;&lt;/i&gt;&lt;/p&gt;  &lt;p&gt;If you want to try out Lab Management scenarios, you can download a preconfigured VHD which has all lab management components installed and configured from &lt;a href="http://go.microsoft.com/fwlink/?LinkID=195885"&gt;http://go.microsoft.com/fwlink/?LinkID=195885&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Now if you want to setup Lab Management for your team visit &lt;a href="http://msdn.microsoft.com/en-us/vstudio/ee712698.aspx"&gt;http://msdn.microsoft.com/en-us/vstudio/ee712698.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Looking forward for you to try this capability and do provide us your valuable feedback.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10046082" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/lab_management/archive/tags/Microsoft/">Microsoft</category><category domain="http://blogs.msdn.com/b/lab_management/archive/tags/Visual+Studio/">Visual Studio</category><category domain="http://blogs.msdn.com/b/lab_management/archive/tags/lab+management/">lab management</category><category domain="http://blogs.msdn.com/b/lab_management/archive/tags/Virtual+Machines/">Virtual Machines</category><category domain="http://blogs.msdn.com/b/lab_management/archive/tags/Application+Lifecycle+Management/">Application Lifecycle Management</category><category domain="http://blogs.msdn.com/b/lab_management/archive/tags/Test+Professional/">Test Professional</category></item><item><title>Visual Studio Lab Management 2010 – Host group and Library Share management</title><link>http://blogs.msdn.com/b/lab_management/archive/2010/07/02/visual-studio-lab-management-2010-host-group-and-library-management.aspx</link><pubDate>Fri, 02 Jul 2010 06:52:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10033724</guid><dc:creator>Hariveer Singh</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/lab_management/rsscomments.aspx?WeblogPostID=10033724</wfw:commentRss><comments>http://blogs.msdn.com/b/lab_management/archive/2010/07/02/visual-studio-lab-management-2010-host-group-and-library-management.aspx#comments</comments><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Visual Studio Lab Management 2010 setup guidelines explains the steps required for first time setup and configuration of Host group and Library share in Virtual Machine Manager server to enable the scenarios that is required for Lab management to work. &lt;/p&gt;
&lt;p&gt;The blog here talks about some of the management activities that could be done in Virtual Machine Manager library share and Virtual Machine Manager host group and its implication in Visual Studio Lab Management 2010. In this blog, I will refer Virtual Machine Manager as VMM server.&lt;/p&gt;
&lt;h4&gt;1.0 Host group management&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Out of band changes in VMM server&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Any Host group level modifications done at VMM will have impact in Visual Studio Lab Management 2010.&lt;/p&gt;
&lt;p&gt;The operations listed below will all result in loss of Lab objects created via Visual Studio Lab management 2010 when the host group is already bound to Lab Management.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Rename of host group in VMM&lt;/li&gt;
&lt;li&gt;Movement of Host group in the VMM Host group tree&lt;/li&gt;
&lt;li&gt;Removal and re-addition of host group in VMM&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; After any of the above operation, the Visual Studio Lab Management will become out of sync with VMM resulting in Lab objects like Environments created in host groups going to Failure or Missing state. Any new Lab operations like for example create on the host group will result in failure.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Removal of Host group&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If you would like to remove a host group completely out of Lab Management, then all Lab objects created in the host group would have to be deleted first. You can delete the Lab objects via Microsoft Test Manager by deleting the created Environment explicitly using Delete operation. &lt;/p&gt;
&lt;p&gt;You can also use the TFSCONFIG command to remove the data from a host group. Please note that this is not the clean way as this will only remove the host group related data from TFS however the external artefacts will continue to remain in VMM. The command to delete is as follows:&lt;/p&gt;
&lt;p&gt;&amp;lt;TFS Install path&amp;gt;\tools\TfsConfig lab /hostGroup /collectionName:&amp;lt;collectionName&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [/delete /name:&amp;lt;name&amp;gt; [/noprompt]]&lt;/p&gt;
&lt;p&gt;Once the Lab objects in Host group has been removed, then you can completely remove the host group binding with Lab Management using TFS Admin Console in Lab management tab at Collection level settings.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/1263.image_5F00_6.png"&gt;&lt;img height="191" width="453" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/8637.image_5F00_thumb_5F00_2.png" alt="image" border="0" title="image" style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;h4&gt;2.0 Library Share management&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Out of band changes in VMM&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Just as host group, any out of band changes at Library Share will result in loss of Lab objects created via Visual Studio Lab Management 2010.&lt;/p&gt;
&lt;p&gt;Once Library Share has been bound to Visual Studio Lab Management 2010, the Library share cannot be removed and re-added in VMM server. Removal and Re-addition will result in Lab Management to be out of sync with VMM resulting in all Stored Environments, Imported VMs and Templates to be in Failure or Missing state. Any new Lab operations like create using Templates in those Library will result in failure.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Removal of Library Share&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Similar to Host group, to remove a Library share completely from Lab Management, all the Lab objects should be removed first. &lt;/p&gt;
&lt;p&gt;Using Microsoft Test Manager, you should delete all the imported VMs and Templates and should also delete the Stored environment templates created on that Library share. Please note that deletion of imported VMs and Templates will only remove it from Lab Management. The templates will continue to remain in VMM Library. However, if you have either created a Template via Lab Management using &amp;ldquo;Store in Library&amp;rdquo; option or if you have created a stored Environment template, then deletion of those will remove them completely from VMM Library.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/5187.image_5F00_8.png"&gt;&lt;img height="244" width="240" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/7266.image_5F00_thumb_5F00_3.png" alt="image" border="0" title="image" style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;The best way to think about this is, anything that was created from within Lab Management will be removed while anything that was imported from VMM server will continue to persist in VMM Library.&lt;/p&gt;
&lt;p&gt;There is an option in TFSCONFIG that can be used to delete the Library objects. However, as mentioned earlier it is not the clean way to do so. The command line will look as below&lt;/p&gt;
&lt;p&gt;&amp;lt;TFS Install path&amp;gt;\tools\TfsConfig lab /libraryShare /collectionName:&amp;lt;collection name&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [/delete /name:&amp;lt;name&amp;gt; [/noprompt]]&lt;/p&gt;
&lt;p&gt;Once the Lab objects have been deleted, then the Library Share binding can be completely removed from Lab Management using TFS Console in Lab Management tab at Collection level settings.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/6406.image_5F00_10.png"&gt;&lt;img height="211" width="438" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/5826.image_5F00_thumb_5F00_4.png" alt="image" border="0" title="image" style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;h4&gt;3.0 Host management&lt;/h4&gt;
&lt;p&gt;Movement of Host is allowed provided the movement is within the same hierarchy in VMM host group tree. If say in VMM the Host group tree looks as below:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/7288.image_5F00_2.png"&gt;&lt;img height="76" width="191" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/0333.image_5F00_thumb.png" alt="image" border="0" title="image" style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;And lets say that in TFS you have configured your Host group binding at &amp;ldquo;All Hosts&amp;rdquo;\HG1\HG2 like as below&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/3301.image_5F00_4.png"&gt;&lt;img height="175" width="409" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/5852.image_5F00_thumb_5F00_1.png" alt="image" border="0" title="image" style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;With such configuration, you will be able to move a host any where under HG2 sub-tree. If a host is initially under HG2 and if Lab objects were created and later if the host is moved under HG2\HG3, all Lab objects continue to work fine. The host can again be moved back from HG2\HG3 to HG2 without any issues. This is allowed because the Lab Management binding is at &amp;ldquo;All Hosts\HG1\HG2&amp;rdquo; level.&lt;/p&gt;
&lt;p&gt;However, for this configuration, movement of a host out of HG2 sub-tree will result in loss of Lab objects. For this example, you cannot move a host which is under HG2 sub-tree to placed directly under &amp;ldquo;All Hosts&amp;rdquo; or be placed at &amp;ldquo;All Hosts&amp;rdquo;\HG1. Such a movement will result in all Lab environments created in that host ending up in Missing or Failure state.&lt;/p&gt;
&lt;p&gt;If a host is removed and added back out of band at VMM, Lab Management will auto detect the environments that were created on the host. The only requirement is that the host has to be added back under a host group or the host group sub-tree which is bound to Visual Studio Lab management 2010.&lt;/p&gt;
&lt;h4&gt;4.0 Best Practices&lt;/h4&gt;
&lt;p&gt;Listed are few best practices while configuring Host, Host group and Library Share for best performance with Visual Studio Lab Management 2010.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Host reserve settings&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Ensure that the Host reserve settings in the host added in VMM server is set appropriately. Make sure the values meet the minimum system requirement that the Host operation system demands. Having lesser value would result in sub-optimal performance of the host and the Guest VMs (the Environments created via Lab management) that are created in this host.&lt;/p&gt;
&lt;p&gt;In VMM server, click on Host properties and pick the &amp;ldquo;Reserves&amp;rdquo; tab to make changes.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/1346.image_5F00_12.png"&gt;&lt;img height="287" width="515" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/0268.image_5F00_thumb_5F00_5.png" alt="image" border="0" title="image" style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Host placement settings&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Ensure that the Placement path chosen for the host has maximum disk capacity. By default it could point to your system drive which may not be the drive with maximum disk space.&lt;/p&gt;
&lt;p&gt;In the same properties window, click on &amp;ldquo;Placement&amp;rdquo; tab to make changes.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/8524.image_5F00_14.png"&gt;&lt;img height="154" width="518" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/3252.image_5F00_thumb_5F00_6.png" alt="image" border="0" title="image" style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Un-encrypted file transfer&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If your Host and Library are within your test lab network and if it is safe to turn-off data encryption for the data that is being transferred on wire, then enabling un-encrypted file transfer between library and host will increase the performance during data transfer between them. Given that with Lab Management the transfer for Virtual Machines are in the order of Giga bytes, setting this option will help reduce the CPU load in Host and Library resulting in faster transfer rate.&lt;/p&gt;
&lt;p&gt;Please note that you will have to enable this in both Library Share and Host group.&lt;/p&gt;
&lt;p&gt;In VMM server, click on Host group properties &amp;ndash;&amp;gt; &amp;ldquo;General&amp;rdquo; tab to make the changes.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/1106.image_5F00_16.png"&gt;&lt;img height="332" width="394" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/4331.image_5F00_thumb_5F00_7.png" alt="image" border="0" title="image" style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;In VMM server, click on Library Share properties &amp;ndash;&amp;gt; &amp;ldquo;General&amp;rdquo; tab to make changes&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/0131.image_5F00_18.png"&gt;&lt;img height="294" width="407" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/1538.image_5F00_thumb_5F00_8.png" alt="image" border="0" title="image" style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Co-location of Library and Host in same Switch&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;It is strongly recommended for Visual Studio Lab Management 2010 that the Hosts and Library are connected in same LAN network with minimum 1 GB for network bandwidth. For any network speed which is lesser than 1 GB, the deployments of environment will consume additional time due to slow data transfer rate in the network resulting in sub-optimal performance in Lab environment creations.&lt;/p&gt;
&lt;p&gt;If your project is spread across geographically, then it is strongly recommended to have Library and Host group created and co-located in each of the location. Having Library and Host spread across geography will result in data transfer across WAN impacting the deployment time of environments.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10033724" width="1" height="1"&gt;</description></item><item><title>Lab Management (pre-release) 2010 Walkthrough VHD</title><link>http://blogs.msdn.com/b/lab_management/archive/2010/06/30/lab-management-pre-release-2010-walkthrough-vhd.aspx</link><pubDate>Thu, 01 Jul 2010 06:33:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10033288</guid><dc:creator>Hariveer Singh</dc:creator><slash:comments>30</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/lab_management/rsscomments.aspx?WeblogPostID=10033288</wfw:commentRss><comments>http://blogs.msdn.com/b/lab_management/archive/2010/06/30/lab-management-pre-release-2010-walkthrough-vhd.aspx#comments</comments><description>&lt;p&gt;&lt;em&gt;&lt;strong&gt;Updated 7/16/2012: &lt;/strong&gt;&lt;/em&gt;&lt;b&gt;&lt;i&gt;Please note this an archived post and the Lab Management VHD has been retired and been&amp;nbsp;removed from the Microsoft Downloads site.&amp;nbsp;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/vstudio/ee712698.aspx"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Visual Studio Lab Management 2010&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; enables teams to accelerate setup/tear down and restoration of complex virtual environments to a known state for test execution and build automation. It extends build automation by automating virtual machine provisioning, build deployment and build verification in an integrated manner. It also allows testers to file rich bugs with links to environment snapshots that developers can use to recreate complex environments; effectively reducing wasted time and resources in your development and test lifecycle. A few months back, we had released a similar VHD with Visual Studio RC bits; but the new version has the following distinctions&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;It uses the Visual Studio RTM build, so you get the latest version to try out various scenarios.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;There is an additional two-machine environment stored in the library. So you can try all the lab management scenarios in this multi-machine environment, which is closer representative of the customer&amp;rsquo;s deployment.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;This VHD also contains another environment with Network Isolation capability. So you can run multiple copies of environment in parallel without any machine name/IP address conflicts.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Team Foundation Server has been configured with SharePoint and reporting services. So you can use this VHD to demo all the Application Lifecycle Management (ALM) capabilities offered by VS family of products&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;To enable quick evaluation of the Lab Management 2010 pre-RTM, we have created a Windows Server 2008 R2 Hyper-V based Virtual Machine (VM) that provides an all-in-one setup with pre-configured System Centre Virtual Machine Manager, Visual Studio, Team Foundation Server with Lab Management enabled. You can download this pre-configured VM from &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkID=195885" target="_blank"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;here&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;This document consists of the following sections:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: calibri;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Setup instructions for importing this Virtual Machine (VM), configuring an internal virtual network and configuring this VM and the host machine (Estimated &lt;i&gt;Time : 1 Hour&lt;/i&gt;) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Walkthroughs to try out following scenarios &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: calibri;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Provision environments quickly (&lt;i&gt;Estimated Time: 30 minutes&lt;/i&gt;): deploying a stored Virtual Environment on the host and taking a snapshot. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: calibri;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Automate the build-deploy-test cycle (&lt;i&gt;Estimated Time: 30 minutes&lt;/i&gt;): executing an end to end workflow that covers building a sample web application, deploying it onto the virtual environment and executing Coded UI test &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: calibri;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;File rich bug with environment snapshots (&lt;i&gt;Estimated Time: 30 minutes&lt;/i&gt;): filing rich bugs with automatic collections environment snapshot, which can be used by developer to debug the issue&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: calibri;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Other advanced scenarios &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;span style="font-family: calibri; color: #0080ff;"&gt;Table of contents&lt;/span&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/lab_management/archive/2010/07/01/lab-management-pre-release-2010-walkthrough-vhd.aspx#Overview"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Overview&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Setup Steps&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/lab_management/archive/2010/07/01/lab-management-pre-release-2010-walkthrough-vhd.aspx#Setup1"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Pre-requisites&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/lab_management/archive/2010/07/01/lab-management-pre-release-2010-walkthrough-vhd.aspx#Setup2"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Import the virtual machine to your Hyper-V Manager&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/lab_management/archive/2010/07/01/lab-management-pre-release-2010-walkthrough-vhd.aspx#Setup3"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Configuring virtual networks&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/lab_management/archive/2010/07/01/lab-management-pre-release-2010-walkthrough-vhd.aspx#Setup4"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Launch the Virtual Machine&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/lab_management/archive/2010/07/01/lab-management-pre-release-2010-walkthrough-vhd.aspx#Setup5"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Virtual Machine Configuration&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/lab_management/archive/2010/07/01/lab-management-pre-release-2010-walkthrough-vhd.aspx#Setup6"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Hyper-V Host Configuration&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/lab_management/archive/2010/07/01/lab-management-pre-release-2010-walkthrough-vhd.aspx#Setup7"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Lab Management Configuration&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/lab_management/archive/2010/07/01/lab-management-pre-release-2010-walkthrough-vhd.aspx#Scenario"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Scenarios&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/lab_management/archive/2010/07/01/lab-management-pre-release-2010-walkthrough-vhd.aspx#Scenario1"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Scenario1: Provision environments quickly&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/lab_management/archive/2010/07/01/lab-management-pre-release-2010-walkthrough-vhd.aspx#Scenario2"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Scenario2: Automate the build-deploy-test cycle&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/lab_management/archive/2010/07/01/lab-management-pre-release-2010-walkthrough-vhd.aspx#Scenario3"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Scenario3: File rich bug with environment snapshots&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/lab_management/archive/2010/07/01/lab-management-pre-release-2010-walkthrough-vhd.aspx#Activate"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Activation&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Advanced Scenarios&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; (optional) &lt;span style="font-family: Calibri; font-size: x-small;" size="2" face="Calibri"&gt;&lt;/span&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/lab_management/archive/2010/07/01/lab-management-pre-release-2010-walkthrough-vhd.aspx#Scenario4"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Scenario4: Build-Deploy-Test workflow on a multi-machine environment&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/lab_management/archive/2010/07/01/lab-management-pre-release-2010-walkthrough-vhd.aspx#Scenario5"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Scenario5: Network Isolation&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://blogs.msdn.com/lab_management/archive/2010/07/01/lab-management-pre-release-2010-walkthrough-vhd.aspx#Appendix"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Appendix&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;span style="font-family: calibri; color: #0080ff;"&gt;&lt;a name="Overview" title="Overview"&gt;&lt;/a&gt;Overview&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: calibri;"&gt;&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;In order to use the Lab Management features, a physical Hyper-V host is required. The Hyper-V host is used to run both the downloaded VM (LabServer) and the virtual environments. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table border="1" cellspacing="0" cellpadding="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width="155" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Machine&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="71" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Type&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="558" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Details&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="155" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Physical Hyper-V Host&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="71" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Physical&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="558" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Hyper-V Host for hosting Virtual Machines listed below&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="155" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;LabServer (the VM you downloaded)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="71" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Virtual&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="558" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Machine name: labserver.labdomain.local&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Domain Controller: labdomain.local, to which the physical host is joined &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;A virtual internal network to which the physical host, the LabServer VM and Virtual Environments are connected &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;DNS Server and DHCP Server (to provide IP addresses to machines connected to Internal Network) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Team Foundation Server 2010 that runs source control, work-item tracking, test case management, build and Lab Management &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Visual Studio Ultimate 2010 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Microsoft Test Manager 2010 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;System Centre Virtual Machine Manager (SCVMM) Server and Admin console &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="155" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;TailSpin VM Template&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="71" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Virtual Template&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="558" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;A Windows Server 2008 R2 based Stored Virtual Machine template&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="155" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;TailSpin Environment&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="71" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Virtual&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="558" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Application and Database tier for TailSpin Application&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Shown below is the diagram once the LabServer VM and the Hyper-V host are configured.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/1351.diagram_5F00_2.png" target="_blank"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;/span&gt;&lt;/a&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/12453.diagram_5F00_2.png" target="_blank"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: Calibri; font-size: x-small;" size="2" face="Calibri"&gt;&lt;img width="555" height="346" title="diagram" style="display: inline; margin-left: 0px; margin-right: 0px; border-width: 0px;" alt="diagram" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/3554.diagram_5F00_thumb.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;a&gt;&lt;/a&gt;&lt;a&gt;&lt;/a&gt;&lt;a&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-family: calibri; color: #0080ff;"&gt;&lt;a name="Setup1"&gt;&lt;/a&gt;Setup Steps&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: calibri;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;/span&gt;&lt;a name="Setup1" title="Pre-requisites"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span style="font-family: calibri; color: #0080ff;"&gt;&lt;a name="Setup2"&gt;&lt;/a&gt;Pre-requisites&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="color: #400000; font-size: x-small;" size="2" color="#400000"&gt;Setup a clean install of Windows Server 2008 R2 on a Hyper-V capable machine with &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="color: #400000; font-size: x-small;" size="2" color="#400000"&gt;At least 8 GB RAM &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="color: #400000; font-size: x-small;" size="2" color="#400000"&gt;At least 60 GB free hard disk space &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="color: #400000; font-size: x-small;" size="2" color="#400000"&gt;Enable Hyper-V role on the machine &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: calibri;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="color: #400000; font-size: x-small;" size="2" color="#400000"&gt;Machine should be joined to a Workgroup (as later in the setup, you will join this host machine to a private AD) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;span style="color: #400000;" color="#400000"&gt;Use this machine only for testing/evaluation purposes&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;strong&gt;&lt;span style="color: #ff0000;" color="#ff0000"&gt;In case you are not able to complete the Setup and Scenarios section within 10 days, you must first activate this VM to continue using for 180 days (trial period).&lt;/span&gt; &lt;/strong&gt;Refer to &lt;/span&gt;&lt;a href="http://blogs.msdn.com/lab_management/archive/2010/07/01/lab-management-pre-release-2010-walkthrough-vhd.aspx#Activate"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Activation&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;" size="2"&gt; section for more details.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a name="Setup2"&gt;&lt;/a&gt;&lt;span style="font-family: calibri; color: #0080ff;"&gt;&lt;span style="font-family: calibri; color: #0080ff;"&gt;&lt;a name="Setup2" title="Setup2"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;span style="font-family: calibri; color: #0080ff;"&gt;&lt;a name="Setup3"&gt;&lt;/a&gt;Import the virtual machine&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Login to your host server using local Administrator credentials (All the steps below should be performed as administrator) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkId=183020" target="_blank"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Download all the package files&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; to this host machine. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;The VM is available as a collection of self-extracting RAR files. Run the &amp;ldquo;Visual Studio Lab Management (pre-release) 2010 VHD.part01.exe&amp;rdquo; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Accept the License terms and select a folder to extract the rar package (The extraction will take ~30 minutes, and consume ~36 GB of disk space) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click Start, point to Administrative Tools, and then click Hyper-V Manager. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;From Hyper-V Manager&amp;rsquo;s Action pane (right side pane), click Import Virtual Machine. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click Browse and select the folder LabServer (this would be under &amp;ldquo;Visual Studio Lab Management (pre-release) 2010 VHD&amp;rdquo; folder) in the Import Virtual Machine popup screen and choose the defaults. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click Import and then click close. (Ignore the warnings, if any) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/cffd3d5a1952_8B6F/troubleshooting_2.png"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;img width="14" height="14" title="clip_image009" style="display: inline; border-width: 0px;" alt="clip_image009" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/8625.clip_5F00_image009_5F00_7cb7bfd9_2D00_973a_2D00_436b_2D00_b72f_2D00_c3c2a93bbfab.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Troubleshooting Tips &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;If you are using Windows Server 2008 SP2 or import of the LabServer VM&amp;nbsp; fails for other reason, you should try creating a new Virtual Machine using Hyper-V Manager, with 4 GB of RAM, and use the existing VHD (browse to the folder LabServer\Virtual Hard Disks\LabServer\.vhd) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;&lt;span style="font-family: calibri; color: #0080ff;"&gt;&lt;a name="Setup3"&gt;&lt;/a&gt;Configuring virtual network adapters&lt;/span&gt;&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Open Hyper-V Manager. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;From the Actions menu, click Virtual Network Manager (left side pane). &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Delete all Internal and Private Networks which are already present. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Create an Internal network adapter (&lt;i&gt;This will be used to connect the physical host, LabServer VM and Virtual Environments&lt;/i&gt;) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Under New virtual network, select Internal and click Add. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;The New Virtual Network page appears, give it a name (LabNetwork) and click OK. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;You may get a warning that &amp;ldquo;Pending changes may disrupt network connectivity&amp;rdquo;, Click Yes, to Continue (you may lose network connectivity to the host for a couple of minutes) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Create an External network Adapter (&lt;i&gt;this will be used for activating the virtual machine&lt;/i&gt;) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Again open the Virtual Network Manager from Hyper-V Manager. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Under New virtual network, select External and click Add. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;The New Virtual Network page appears, give it a name (&amp;ldquo;External Network&amp;rdquo;) and click OK. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;You may get a warning that &amp;ldquo;Pending changes may disrupt network connectivity&amp;rdquo;, Click Yes, to Continue (you may lose network connectivity to the host for a couple of minutes) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;&lt;span style="font-family: calibri; color: #0080ff;"&gt;&lt;a name="Setup4"&gt;&lt;/a&gt;Launch the Virtual Machine&lt;/span&gt;&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Once you go through the steps in Import the virtual machine to your Hyper-V manager, the virtual machine you added will be listed under the Virtual Machines pane. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Right-Click on the virtual machine and click Settings. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Select Network Adapter on the left side pane, choose LabNetwork (the internal network you created in the steps Configuring virtual networks) from the &amp;ldquo;Network&amp;rdquo; dropdown. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Do NOT change the network of the second network adapter and keep it as &amp;ldquo;Not Connected&amp;rdquo;. This network adapter will be later used to activate the windows image of virtual machine. &lt;/span&gt;&lt;/span&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/6443.External-not-connected_5F00_10.png" target="_blank"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;img width="669" height="426" title="External not connected" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="External not connected" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/5775.External-not-connected_5F00_thumb_5F00_4.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Double check that there are no other external facing adapters attached to your Virtual Machine. The VM has DHCP running and can interfere with your corporate network if it is not on an internal network. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;To preserve the VM state and to automatically start it when the Hyper-V Host is restarted, make sure that the LabServer VM is configured with the following settings: &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Right-Click on the LabServer VM and click Settings &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Select Automatic Start Action on the left side pane, and check &amp;ldquo;Automatic start if it was running when the service was stopped &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Select Automatic Stop Action on the left side pane, and check &amp;ldquo;Save the virtual machine state &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click OK. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Right-Click on the virtual machine and click Start. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Do not change the computer name of the LabServer VM &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;&lt;span style="font-family: calibri; color: #0080ff;"&gt;&lt;a name="Setup5"&gt;&lt;/a&gt;Virtual Machine configuration&lt;/span&gt;&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Login to the LabServer VM using the following credentials &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Username: Labdomain\tfsadmin &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Password: P2ssw0rd (Capital P, Numeral 2, small s, small s, small w, numeral 0, small r, small d) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Restart the VM if the machine asks for reboot to apply the system changes. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Once the VM restarts and you login again, open Services(run services.msc) and make sure that the following services are running &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Visual Studio Team Foundation Background Job Agent &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Visual Studio Team Foundation Build Service Host &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Visual Studio Test Controller &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Open Control Panel -&amp;gt; Network and Internet -&amp;gt; Network and Sharing Center. Click on the &amp;ldquo;Local Area Connection x&amp;rdquo; (x could be any numeral say 4). &lt;/span&gt;&lt;/span&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/4621.local-area-connection_5F00_2.png" target="_blank"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;img width="576" height="198" title="local area connection" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="local area connection" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/5381.local-area-connection_5F00_thumb.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click on Properties and select &amp;ldquo;Internet Protocol Version 4 (TCP/IPv4)&amp;rdquo; and click on Properties again. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;In the General Tab, make sure that the network adapter has the following settings&lt;/span&gt;&lt;/span&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/7382.Ipv4-settings_5F00_2.png" target="_blank"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;img width="586" height="364" title="Ipv4 settings" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="Ipv4 settings" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/5153.Ipv4-settings_5F00_thumb.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;IP: 10.10.1.2 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Subnet: 255.0.0.0 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Default gateway: 10.10.1.1 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Preferred DNS: 10.10.1.2 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click Advanced and select DNS tab: &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;DNS 10.10.1.2 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;DNS suffix for this connection: labdomain.local &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Select &amp;ldquo;Register this connection&amp;rsquo;s address in DNS&amp;rdquo; and &amp;ldquo;Use this connection&amp;rsquo;s DNS suffix in DNS registration&amp;rdquo; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click OK &lt;img width="502" height="297" title="Static IP" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="Static IP" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/4846.Static-IP_5F00_thumb.png" border="0" /&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click OK again. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;If you get the following message, answer Yes (This message comes up as the VM earlier had a network adapter to which same IP was assigned. But this adapter no longer exists, and hence it is OK to remove the static IP configuration for the obsolete adapter.) &lt;/span&gt;&lt;/span&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/7142.adapter-warning_5F00_2.png"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;img width="381" height="215" title="adapter warning" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="adapter warning" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/7242.adapter-warning_5F00_thumb.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click Close and Close again. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Restart the VM after performing the above steps. This will ensure that the DNS, DHCP and AD services can recognize the new adapter correctly. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Once the VM restarts, login to the LabServer machine using the same credentials (labdomain\tfsadmin) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;&lt;span style="font-family: calibri; color: #0080ff;"&gt;&lt;a name="Setup6"&gt;&lt;/a&gt;Hyper-V host configuration&lt;/span&gt;&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;On Hyper-V host machine, open command prompt and run ipconfig to make sure that the host&amp;rsquo;s internal network gets a DHCP address assigned to it by the VM&amp;rsquo;s DHCP server &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Check the IP Address (should be 10.10.1.xxx) and that the DNS suffix should be: labdomain.local &lt;/span&gt;&lt;/span&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/6177.ipconfig_5F00_2.png"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;img width="718" height="181" title="ipconfig" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="ipconfig" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/3056.ipconfig_5F00_thumb.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/cffd3d5a1952_8B6F/troubleshooting_2.png"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;img width="14" height="14" title="clip_image009" style="display: inline; border-width: 0px;" alt="clip_image009" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/8625.clip_5F00_image009_5F00_7cb7bfd9_2D00_973a_2D00_436b_2D00_b72f_2D00_c3c2a93bbfab.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Troubleshooting tips &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;On the host machine, use ipconfig /renew to get a new DHCP address on the host (if not already assigned) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Make sure that LabServer VM and the Hyper-V host are able to communicate with each other &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Open command prompt from the host machine and run &amp;ldquo;ping labserver&amp;rdquo; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Find the host name of the Hyper-V host (run hostname from command prompt). Open command prompt from the LabServer VM and run &amp;ldquo;ping &amp;lt;HostName&amp;gt;&amp;rdquo; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Firewall might prevent the two machines from communicating to each other, turn off the firewall on the host and the LabServer VM. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;To disable all firewalls on this Hyper-V host. &lt;/span&gt;&lt;/span&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/1234.firewall_5F00_2.png"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;img width="681" height="251" title="firewall" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="firewall" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/2728.firewall_5F00_thumb.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Open Control Panel &amp;ndash;&amp;gt; Check Firewall Status &amp;ndash;&amp;gt; (from left side pane) Turn Windows Firewall on or off; alternatively run firewall.cpl &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Select &amp;ldquo;Turn off Windows Firewall (not recommended)&amp;rdquo; for each Network location settings (Domain, Home, Public etc.) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click OK &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Join the host machine to the domain of the VM (labdomain.local) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;On the Host machine, Click Start &amp;ndash;&amp;gt; Computer &amp;ndash;&amp;gt; Properties -&amp;gt; Change Settings &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Under the Computer Name tab, click Change &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Type the domain name: labdomain.local and click OK. In the popup, provide the following credentials. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Username: Labdomain\tfsadmin &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Password: P2ssw0rd &lt;/span&gt;&lt;/span&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/2772.domain-join_5F00_2.png"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;img width="462" height="245" title="domain join" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="domain join" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/5050.domain-join_5F00_thumb.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click OK and restart the Hyper-V host to apply the changes. (It is ok to restart the Hyper-V host even when the LabServer VM is running, as you had earlier configured to automatically save/start) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/cffd3d5a1952_8B6F/troubleshooting_2.png"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;img width="14" height="14" title="clip_image009" style="display: inline; border-width: 0px;" alt="clip_image009" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/8625.clip_5F00_image009_5F00_7cb7bfd9_2D00_973a_2D00_436b_2D00_b72f_2D00_c3c2a93bbfab.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Troubleshooting tips &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;If the domain is not found, verify that LabServer VM and the Hyper-V host are able to communicate with each other &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Open command prompt from the host machine and run &amp;ldquo;ping labserver&amp;rdquo; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Find the host name of the Hyper-V host (run hostname from command prompt). Open command prompt from the LabServer VM and run &amp;ldquo;ping &amp;lt;HostName&amp;gt;&amp;rdquo; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Firewall might prevent the two machines from communicating to each other, turn off the firewall on the host and the VM. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;If you have changed the machine name of the host, restart it; before connecting to the domain. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Verification &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;After the restart of Hyper-V host, login and ensure that the LabServer VM is also running. If not, go into Hyper-V Manager and start the VM. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Connect to the LabServer VM and login using labdomain\tfsadmin. Open DNS Manager (Start -&amp;gt; Administrative Tools -&amp;gt; DNS) and verify that the host was successfully registered in the DNS. Notice that a new entry for your physical host is shown. (HyperVHost in the following image) &lt;/span&gt;&lt;/span&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/4571.dns-manager_5F00_2.png"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;img width="678" height="238" title="dns manager" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="dns manager" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/6560.dns-manager_5F00_thumb.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/cffd3d5a1952_8B6F/troubleshooting_2.png"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;img width="14" height="14" title="clip_image009" style="display: inline; border-width: 0px;" alt="clip_image009" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/8625.clip_5F00_image009_5F00_7cb7bfd9_2D00_973a_2D00_436b_2D00_b72f_2D00_c3c2a93bbfab.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Troubleshooting tips &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;If the host computer entry still does not show up, from an elevated command prompt on the host, run ipconfig /registerdns. Wait a few minutes and check the event viewer to see if there are errors. If not, check again in the DNS Manager to see that the host is registered. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Add labdomain\tfsadmin as an administrator on the host machine. This is needed so that TFS and SCVMM can communicate with the host. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Open Server Manager &amp;ndash;&amp;gt; Configuration -&amp;gt; Local Users and Groups &amp;ndash;&amp;gt; Groups -&amp;gt; Administrators (alternatively run lusrmgr.msc from the command prompt) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Add labdomain\tfsadmin into the administrators group. Provide the following credentials in the popup &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Username: Labdomain\tfsadmin &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Password: P2ssw0rd &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;&lt;span style="font-family: calibri; color: #0080ff;"&gt;&lt;a name="Setup7"&gt;&lt;/a&gt;Lab Management configuration&lt;/span&gt;&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Make sure that all firewalls are disabled on this Hyper-V host&lt;/span&gt;&lt;/span&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/1234.firewall_5F00_2.png"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;img width="681" height="251" title="firewall" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="firewall" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/2728.firewall_5F00_thumb.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Open Control Panel &amp;ndash;&amp;gt; Check Firewall Status &amp;ndash;&amp;gt; (from left side pane) Turn Windows Firewall on or off; alternatively run firewall.cpl &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Select &amp;ldquo;Turn off Windows Firewall (not recommended)&amp;rdquo; for each Network location settings (Domain, Home, Public etc.) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click OK &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Add the host to the SCVMM host group. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Login to the LabServer VM and open System Center Virtual Machine Manager (SCVMM) Admin Console. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;If VMM Server is not reachable, verify that the service Virtual Machine Manager is running on the VM. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click &amp;ldquo;Add host&amp;rdquo; from the right side pane. &lt;/span&gt;&lt;/span&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/7658.add-host1_5F00_2.png"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;img width="646" height="232" title="add host1" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="add host1" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/8233.add-host1_5F00_thumb.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Complete the Add Host wizard, by providing the following details: &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Select Host Location &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Username: tfsadmin &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Password: P2ssw0rd &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Domain: Labdomain &lt;img width="575" height="321" title="add host2" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="add host2" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/5123.add-host2_5F00_thumb.png" border="0" /&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Select Host Servers &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Type the Computer Name as the machine name of your Hyper-V Host, and click Add. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Ignore the warnings (on the bottom of wizard) and press Next &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;If you receive a popup that Hyper-V role with be enabled, click Yes to continue &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Configuration Settings &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Host Group: &amp;ldquo;All Hosts&amp;rdquo; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Check the &amp;ldquo;Reassociate host with this Virtual Manager Server&amp;rdquo; in case the host was earlier connected to another VMM Server &lt;img width="563" height="205" title="add host3" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="add host3" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/7288.add-host3_5F00_thumb.png" border="0" /&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Host Properties &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Create a folder on your Hyper-V host on a drive which has at least 20 GB of disk space. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Type the full path of the folder you created and click Add. &lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/2211.addhost4_5F00_17686CB3.png"&gt;&lt;img width="550" height="274" title="add host4" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="add host4" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/7433.addhost4_5F00_thumb_5F00_6B87F2F6.png" border="0" /&gt;&lt;/a&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Review the summary and Click &amp;ldquo;Add Hosts&amp;rdquo; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;After the job is completed, you can check the host status by clicking the &amp;ldquo;Hosts&amp;rdquo; from the left side pane in SCVMM Admin console. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/cffd3d5a1952_8B6F/troubleshooting_2.png"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;img width="14" height="14" title="clip_image009" style="display: inline; border-width: 0px;" alt="clip_image009" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/8625.clip_5F00_image009_5F00_7cb7bfd9_2D00_973a_2D00_436b_2D00_b72f_2D00_c3c2a93bbfab.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Troubleshooting tips &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Make sure that you are not running SCVMM Server on the Hyper-V host. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Manually install the System Center Virtual Machine Manager Agent on the Hyper-V host and try adding the host again. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Verifying that Lab Management is properly configured for the Project Collection &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Launch Team Foundation Server Administration Console (Start -&amp;gt; All Programs -&amp;gt; Team Foundation Administration Console) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Select Team Project Collections (from the left side pane) -&amp;gt; Default Collection -&amp;gt; Lab Management tab -&amp;gt; Configure Library Shares &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click Verify to check if VMM Library Share is configured appropriately. A green tick mark should appear. &lt;img width="534" height="532" title="Verify library Share" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="Verify library Share" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/5074.Verify-library-Share_5F00_thumb.png" border="0" /&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Select Host Groups tab, and click Verify to make sure that VMM Host Group (and the corresponding host) is configured appropriately. A similar green tick mark should appear. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/cffd3d5a1952_8B6F/troubleshooting_2.png"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;img width="14" height="14" title="clip_image009" style="display: inline; border-width: 0px;" alt="clip_image009" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/8625.clip_5F00_image009_5F00_7cb7bfd9_2D00_973a_2D00_436b_2D00_b72f_2D00_c3c2a93bbfab.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Troubleshooting tips &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Add labdomain\tfsadmin as an administrator on the host machine &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;This completes the Lab setup and configuration. The subsequent sections help you to exercise various Lab Management scenarios.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-family: calibri; color: #0080ff;"&gt;&lt;a name="Scenario"&gt;&lt;/a&gt;Scenarios&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Once you have configured the LabServer VM and the host as above, you can perform the following scenarios. These exercises are designed to enable a quick introduction to deploying a Virtual Environment, running an build-deploy-test workflow and creating a rich bug with environment snapshot.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;For these scenario walkthroughs, we are using a sample web application called TailSpin, which is an online storefront for buying Airplanes. The company has decided to adopt virtualization to consolidate its hardware footprint and increase its utilization. The company decides to adopt Visual Studio 2010 Lab Management as it offers an out of the box integrated solution to leverage all the benefits of virtualization for application lifecycle management (ALM). Using Lab Management, the company is able to accelerate their software release cycle and also improve the overall quality as&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Developer and testers are able to quickly provision virtual environments &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Build automation is extended to environment provisioning, application deployment and testing &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Testers are able to file rich bugs which include link to environment snapshot &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Following artifacts have already been created to carry out the scenario walkthroughs&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;TailSpin sample web application checked-in to the source control &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Coded UI Test cases for the application checked-in to the source control &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Testing artifacts &amp;ndash; test plan, manual and automated test cases, and test settings &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Build definition for compiling the TailSpin application &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;An build-deploy-test workflow &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;A Virtual Machine Template (Windows Server 2008 R2) stored into the library. This VM templates has the following software installed &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Build agent &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Lab agent &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Test agent &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;SQL Server Express 2008 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;IIS role &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;A stored Virtual Environment created with the above VM Template &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;&lt;span style="font-family: calibri; color: #0080ff;"&gt;&lt;a name="Scenario1"&gt;&lt;/a&gt;Scenario 1: Provision environments quickly&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;i&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;(Estimated Time: 30 minutes)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;In this exercise, the Test Lead uses Microsoft Test Manager to deploy a virtual environment that will be later used for nightly build verification.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Login into LabServer VM (labdomain\tfsadmin, P2ssw0rd) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Start Microsoft Test Manager. It will automatically connect to the TailSpin. Otherwise connect to LabServer\DefaultCollection -&amp;gt; TailSpin &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Go to Lab Center, if you are currently under Testing Center &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click Deploy under the Environments section. &lt;/span&gt;&lt;/span&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/8233.lab-center_5F00_2.png"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;img width="542" height="236" title="lab center" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="lab center" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/2451.lab-center_5F00_thumb.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;It will show Stored Environment from the Library. Select TailSpin Environment and Click Deploy. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Do not change the name of Environment as the same name has been used in end-to-end workflow definition.&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/0458.Deploy-Environment.png"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;img width="545" height="318" title="Deploy Environment" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="Deploy Environment" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/6646.Deploy-Environment_5F00_thumb.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;The environment deployment will typically take ~20 minutes. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Once the environment is deployed, right click on the environment name and Click Start. Similarly right click on the environment name and Click Connect &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;This will open the Microsoft Environment Viewer to enable interaction with the virtual machines in the environment. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Login environment&amp;rsquo;s Virtual Machine using the following credentials (click Ctrl+Alt+Del from the toolbar in the Environment Viewer): &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Username: Labdomain\tfsadmin &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Password: P2ssw0rd &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/cffd3d5a1952_8B6F/troubleshooting_2.png"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;img width="14" height="14" title="clip_image009" style="display: inline; border-width: 0px;" alt="clip_image009" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/8625.clip_5F00_image009_5F00_7cb7bfd9_2D00_973a_2D00_436b_2D00_b72f_2D00_c3c2a93bbfab.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Troubleshooting tips: If you are not able to connect to the environment using environment viewer &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click on the System Info in the environment viewer and note the SCVMM VM Name &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;From the Hyper-V Manager on your Hyper-V Host, connect to this VM. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Login using the Administrator (local admin) and enable remote desktop on this Virtual Machine. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Now from the Microsoft Test Manager, right click on the VM in the right side pane, and click Remote Desktop &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Provide the labdomain\tfsadmin credentials and accept any certificates &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Troubleshooting tips: If you are not able to login using the labdomain\tfsadmin &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Try to login using the local Administrator (password: P2ssw0rd) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;From the computer properties, check if the VM is part of a Workgroup or joined to the Domain (labdomain) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;If it is a workgroup VM: Click on the System Info in the environment viewer and note the SCVMM VM Name &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;From the Hyper-V Manager on your Hyper-V Host, select this VM, right click and open Settings. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Make sure that in the Ethernet Port on the left side pane, LabNetwork (Internal network you created earlier) is selected. Otherwise manually select the LabNetwork and click OK. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Also delete all other Internal and Private networks (except LabNetwork) from the Virtual Network Manager. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Using Microsoft Environment Viewer, manually join the VM to the labdomain domain (use labdomain\tfsadmin, P2ssw0rd) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Restart this VM and verify if you are now able to login using labdomain\tfsadmin. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Once you login, the Test Agent processes should start-up and connect to the Test controller. Make sure that the status changes to Online.&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/7115.Test-Agent-Status.png"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;img width="385" height="218" title="Test Agent Status" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="Test Agent Status" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/1682.Test-Agent-Status_5F00_thumb.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;You might see that one of the capabilities (Testing or Workflow) has some errors. Click on the &amp;ldquo;Repair Testing capability&amp;rdquo; so that testing capability is configured appropriately.&amp;nbsp; &lt;img width="562" height="316" title="Repair testing" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="Repair testing" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/3487.Repair-testing_5F00_thumb.png" border="0" /&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;After a few minutes, the Testing capability should also be in Ready State. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Disable Internet Explorer popups. This is to make sure that IE popups do not interfere with the Coded UI Tests (which will be executed later) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Launch Internet Explorer from the Virtual Machine in the environment. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;In the &amp;ldquo;Set up Windows Internet Explorer 8&amp;rdquo; popup, click Next. Do NOT choose &amp;ldquo;Ask me later&amp;rdquo;, as this will later interfere with the execution of automated tests. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Select &amp;ldquo;Yes, turn on Suggested sites&amp;rdquo; and Click Next &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Select &amp;ldquo;Use express settings&amp;rdquo; and click Finish. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Now Close the Internet Explorer. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Once, the testing and workflow capabilities are ready, Select the Snapshots tab from the left side pane in the Microsoft environment viewer &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click on the &amp;ldquo;Take Snapshot&amp;rdquo; icon and give it a name &amp;ldquo;Clean State&amp;rdquo;. &lt;img width="568" height="378" title="Take Snapshot" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="Take Snapshot" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/8686.Take-Snapshot_5F00_thumb.png" border="0" /&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Use the same name (TailSpin Environment) as it as it has been used in end-to-end workflow definition&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;&lt;span style="font-family: calibri; color: #0080ff;"&gt;&lt;a name="Scenario2"&gt;&lt;/a&gt;Scenario 2: Automate the build-deploy-test cycle&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;i&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;(Estimated Time: 30 minutes)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Visual Studio 2010 enables you to automate your whole build-deploy-test cycle using Lab Management, build and testing tools. This helps you to address some of the following key pain points with build-deploy-test cycles &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Today the whole process is not automated and results in manual effort and issues. You preferably want to automate the whole process so that in the morning when the team comes to work, the build is generated, application is deployed on the environment and initial testing is already completed. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Confidence on daily builds deployed on the same environment is not high as changes may be left from an earlier build. You preferably want to setup the daily build on a clean environment. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Agility for debugging issues with other builds which are not currently deployed is really bad as we need to reset the environment and then deploy the build needed for debugging. You preferably want to have a one click experience to go to any build for debugging. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;As part of this walkthrough you will experience how Visual Studio 2010 helps you to overcome the above challenges by running an end to end Workflow that builds the application, deploys the application on the Clean state of virtual environment and runs Coded UI Tests.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;From the LabServer VM, open Visual Studio and go into Team Explorer. It should automatically connect to &amp;ldquo;LabServer\DefaultCollection -&amp;gt; TailSpin&amp;rdquo;. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Go to Builds -&amp;gt; Right Click on &amp;ldquo;BuildDeployTest-TailSpin&amp;rdquo; -&amp;gt; Edit build definition. This should open the build definition for editing. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Go to Process, from the left side pane and click on icon besides Lab process settings&lt;img width="677" height="255" title="BuildDeployTest1" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="BuildDeployTest1" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/4604.BuildDeployTest1_5F00_thumb.png" border="0" /&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;A new wizard for changing Lab workflow parameters should open up. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Go to Environments, from the left side pane &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;From the dropdown, select the TailSpin Environment we created earlier. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Check the option to &amp;ldquo;Revert to a specific snapshot of the environment&amp;rdquo; and select Clean State&lt;/span&gt;&lt;/span&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/8233.BuildDeployTest2.png"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;img width="612" height="175" title="BuildDeployTest2" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="BuildDeployTest2" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/8357.BuildDeployTest2_5F00_thumb.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click Finish and Save the build definition &amp;ldquo;BuildDeployTest-TailSpin&amp;rdquo; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Right click on the build definition &amp;ldquo;BuildDeployTest-TailSpin&amp;rdquo;, click on Queue new build. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Use the Default Options and Click Queue. (&lt;i&gt;The workflow will take ~10 minutes to complete&lt;/i&gt;) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;To see the progress of this workflow, double click on the &amp;ldquo;BuildDeployTest-TailSpin&amp;rdquo; in the Build Explorer. &lt;/span&gt;&lt;/span&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/2275.BuildDeployTest3.png"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;img width="695" height="348" title="BuildDeployTest3" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="BuildDeployTest3" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/2112.BuildDeployTest3_5F00_thumb.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;The workflow performs the following activities &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Compile/Build the TailSpin application and associated Coded UI tests &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Revert the TailSpin Environment to the clean snapshot that you created earlier &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Deploy the build on this environment &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;After the build has been deployed, take a post deployment snapshot. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Run Coded UI Tests (CUIT)&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;You can go to Microsoft Environment Viewer to see when Environment is either reverted to a snapshot, or Post Deployment Snapshot is taken. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Once the workflow is in the Running Tests step, you can even see the Coded UI Tests are being run in the Virtual environment. From the environment Viewer, check if TailSpin home page opens up automatically, and some pages are being navigated by the Coded UI Tests. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Once the workflow completes, it should report success if the deployment and test execution completes.&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/2234.BuildDeployTest4.png"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;img width="674" height="576" title="BuildDeployTest4" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="BuildDeployTest4" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/1581.BuildDeployTest4_5F00_thumb.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/cffd3d5a1952_8B6F/troubleshooting_2.png"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;img width="14" height="14" title="clip_image009" style="display: inline; border-width: 0px;" alt="clip_image009" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/8625.clip_5F00_image009_5F00_7cb7bfd9_2D00_973a_2D00_436b_2D00_b72f_2D00_c3c2a93bbfab.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Troubleshooting tips &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;If some of the tests failed, Internet Explorer popups could have disrupted the Coded UI tests. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Using environment Viewer, Revert the environment to the snapshot &amp;ldquo;Clean State&amp;rdquo; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Perform the steps mentioned in the section &amp;ldquo;Scenario1: Provision environments quickly&amp;rdquo; on how to disable Internet explorer popups. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Take another snapshot of the environment and give it an appropriate name (say &amp;ldquo;New Clean State&amp;rdquo;) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Again perform the steps as mentioned in this scenario, and in step 5.2 choose the snapshot you just created. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;If you see the message &amp;ldquo;The service is unavailable&amp;rdquo; in the browser, you can safely ignore this message. Hit the back button in the internet explorer and check if TailSpin application is working fine.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;In the build report, you might see the message/error something like &amp;ldquo;Unable to add user or group labdomain\Windows-abcd123$&amp;rdquo;. You can ignore this message.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;&lt;/ol&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Using environment Viewer, you can now do further testing of the TailSpin application. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;&lt;span style="font-family: calibri; color: #0080ff;"&gt;&lt;a name="Scenario3"&gt;&lt;/a&gt;Scenario 3: File rich bugs with environment snapshots&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;i&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;(Estimated Time: 30 minutes)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Visual Studio 2010 enables testers to file rich bugs that help developer to debug the issue without wasting time in bug ping pong between developer/tester (e.g. developer claiming that a bug does not reproduce on his/her machine and wants more details e.g. system info, event logs etc.)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;As part of this walkthrough you will experience how Visual Studio 2010 enables filing of rich bugs with automatic collections with each bug. Also with a bug you can create a Snapshot of the whole environment which can be used by developer to debug the issue. With Snapshot developer gets the whole environment in exactly the same state where the bug was filed. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Open Microsoft Test Manager, switch to Testing Center and select Plan tab. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Select TailSpin Test Plan and click Properties from the top. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Under the Run Settings section, &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Under Manual runs, select &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Test Settings: TailSpin &amp;ndash; Manual &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Test environment: TailSpin Environment &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Under Automated runs, select &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Test Settings: TailSpin &amp;ndash; Automated &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Test environment: TailSpin Environment&amp;nbsp; &lt;img width="718" height="371" title="Test Plan" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="Test Plan" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/6303.Test-Plan_5F00_thumb.png" border="0" /&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click on Save and Close. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Now select the Test tab. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Select Manual Test Suite, under the TailSpin Test Plan &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Select the test case &amp;ldquo;Validate if discount coupon is applied&amp;rdquo;, and right click and select Run &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;This will open Microsoft Test Runner. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Select the option &amp;ldquo;Overwrite existing action recording&amp;rdquo; and Click Start Test. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Follow the steps specified in the Test case, and for each step you can assign the result as Pass or Fail (Step 8 should Fail). &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;For step 1 of the test case, Click on "Connect to environment" (from the above toolbar) which will open Environment Viewer. &lt;/span&gt;&lt;/span&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/5531.mtr3_5F00_4.png"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;img width="394" height="231" title="mtr3" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="mtr3" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/2235.mtr3_5F00_thumb_5F00_1.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click on "System Info" and copy Computer Name. Now Close the System Info dialog. &lt;img width="622" height="404" title="Machine Name" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="Machine Name" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/4426.Machine-Name_5F00_thumb.png" border="0" /&gt; &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;For Step4, open http://&amp;lt;ComputerName&amp;gt;/tailspin.web/default.aspx in Internet Explorer. Replace &amp;lt;ComputerName&amp;gt; with the actual machine name (without FQDN), you got from the System Info dialog e.g. open &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://windows-abcd1234/tailspin.web/default.aspx"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;http://windows-abcd1234/tailspin.web/default.aspx&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: calibri;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;The Step 8 will fail as after adding the discount coupon, web page throws an error. Mark this step as Fail, and add an appropriate Comment. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click on the Capture rectangular screenshot and take a screen clipping where the web page shows an error. This will automatically attach a screenshot to the test step.&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;As this bug may be difficult to debug for your developer, so you should take a Snapshot of your environment by clicking Take Environment Snapshot in the Microsoft Test Runner toolbar. This will automatically attach a snapshot of the environment to the test step. &lt;img width="377" height="563" title="MTR1" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="MTR1" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/7077.MTR1_5F00_thumb_5F00_1.png" border="0" /&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Now file a bug by clicking Create a bug. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;In the New Bug window, provide the Title (No Discount is applied) for the bug and Assign it to TFSAdmin. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;You can check the Details, System Info tabs to see all the rich information which has been collected automatically. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click Save and Close to create the bug. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click Resume and follow step 10. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click On Save and Close in the Microsoft Test Runner. You can choose to overwrite existing action recording, if you are asked for a confirmation.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;As a tester you have a created a rich bug. Now let&amp;rsquo;s see how developer can easily reach the state of the environment where the bug was filed.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Open Visual Studio and connect to LabServer\DefaultCollection -&amp;gt; TailSpin in the Team Explorer. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Expand the Work Items -&amp;gt; Team Queries and double click on My Bugs &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;In the query results, you will see the bug which you just created. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Review the detailed information in Details, System Info, Test Cases tabs, to understand under what conditions the bug was found. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;You can also see which of the test steps passed/failed. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Under the Details tab, double click on the .lvr file.&amp;nbsp; &lt;img width="414" height="527" title="mtr2" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="mtr2" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/2112.mtr2_5F00_thumb.png" border="0" /&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;In the Connect to Environment dialog, select the option Connect to snapshot in this environment and click Connect. This will revert the environment to the exact state where the bug was filed. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Once the environment viewer opens up, you (as a developer) can easily investigate into the bug and fix it accordingly. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span style="font-family: calibri; color: #0080ff;"&gt;&lt;a name="Activate"&gt;&lt;/a&gt;Activation&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;The evaluation period for this virtual machine image is 180 days; once the evaluation period terminates, the image should be discarded. NO EFFORT SHOULD BE MADE TO ACTIVATE THIS IMAGE after that date. Please read the following to get an idea of the risks and key things you need to know.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Guidelines on usage:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;You have 10 days to activate the product. If not activated within 10 days, the system will shut down once every hour until activated. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;The 180-day Trial is the full working version of the Windows Server 2008 R2 x64 Enterprise Full installation, the version most of you will be working with in your corporate environment. It will not require a product key (it is embedded with the download). &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;The 180-day Trial will shut down once every hour when you have reached the end of the 180-day evaluation period. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;For complete use-rights, please refer to the EULA contained within this evaluation package.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Do not redistribute this image. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Do not put this image into a production environment. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;It is recommended not to join this image to a corporate network. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Since this Virtual Machine is running a DHCP Server, you should not connect directly to an external network. Follow the steps in the next section on how to activate this image &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;&lt;span style="font-family: calibri; color: #0080ff;"&gt;Activation steps&lt;/span&gt;&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Login to the LabServer VM using the labdomain\tfsadmin and close all other active programs. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Open Services(run services.msc), right click on DHCP Server and click Properties &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Change the Startup type to Disabled. Click OK.&amp;nbsp; &lt;img width="340" height="218" title="dhcp service" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="dhcp service" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/7206.dhcp-service_5F00_thumb.png" border="0" /&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Open Hyper-V Manager on your Hyper-V Host; right click on the LabServer VM and click Settings &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Change the Network of second adapter to &amp;ldquo;External Network&amp;rdquo; from the dropdown (the external network you created in the steps &amp;ldquo;Configuring virtual networks&amp;rdquo;). Click OK. &lt;img width="537" height="294" title="external adapter" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="external adapter" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/2158.external-adapter_5F00_thumb.png" border="0" /&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/cffd3d5a1952_8B6F/troubleshooting_2.png"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;img width="14" height="14" title="clip_image009" style="display: inline; border-width: 0px;" alt="clip_image009" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/8625.clip_5F00_image009_5F00_7cb7bfd9_2D00_973a_2D00_436b_2D00_b72f_2D00_c3c2a93bbfab.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Troubleshooting tips &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Open Virtual Network Manager from the Hyper-V Manager to find which of these adapters is connected to the external network &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;From inside the LabServer VM, open Internet Explorer, Click on Tools &amp;ndash;&amp;gt; Internet Options and select Connections tab. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click on LAN settings, Select Automatically detect settings. Click OK and OK again. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Open the Computer Properties (Start Menu -&amp;gt; Computer -&amp;gt; Properties) and click on the Activate Windows now &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Under the section Windows activation, Click on the option Activate Windows online now &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/cffd3d5a1952_8B6F/troubleshooting_2.png"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;img width="14" height="14" title="clip_image009" style="display: inline; border-width: 0px;" alt="clip_image009" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/8625.clip_5F00_image009_5F00_7cb7bfd9_2D00_973a_2D00_436b_2D00_b72f_2D00_c3c2a93bbfab.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Troubleshooting tips &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;If you hit the Error Code 0xC004B011, the system clock may not be showing the correct time.&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/6305.system-clock-error_5F00_2.png"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;img width="342" height="195" title="system clock error" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="system clock error" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/5340.system-clock-error_5F00_thumb.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Manually update the system time and date of the your Hyper-V host and LabServer VM (according to your time zone) and try Windows activation again. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;If you are not able to connect to internet, also provide the Proxy Server&amp;rsquo;s address in Internet Explorer (Tools -&amp;gt; Properties -&amp;gt; Connections tab -&amp;gt; LAN settings -&amp;gt; Select &amp;ldquo;Use a proxy server for your LAN&amp;hellip;&amp;rdquo;) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Once the Windows activation succeeds, Click Close. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Open Hyper-V Manager on your Hyper-V Host; right click on the LabServer VM and click Settings &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Change the Network of second Network Adapter to again &amp;ldquo;Not Connected&amp;rdquo;. Click OK.&amp;nbsp;&amp;nbsp; &lt;img width="509" height="327" title="external adapter 2" style="display: block; float: none; margin-left: auto; margin-right: auto; border-width: 0px;" alt="external adapter 2" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/1031.external-adapter-2_5F00_thumb.png" border="0" /&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Login to LabServer VM and open Services(run services.msc), right click on DHCP Server and click Properties &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Change the Startup type to Automatic. Click OK. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Again right click on DHCP Server and click Start. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;You can follow the same approach for activating the VM&amp;rsquo;s which are part of virtual environment (disabling DHCP is not required). Connect to the environment and Click System Info in the environment viewer. Note down the &amp;ldquo;SCVMM VM Name&amp;rdquo; and shutdown the environment. Using Hyper-V Manager, temporarily add an external network adapter for this virtual machine. Follow the steps similar to 7-12 mentioned in the above section to activate the image, and later remove the external adapter.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-family: calibri; color: #0080ff;"&gt;&lt;a name="Scenario" title="Scenario"&gt;&lt;/a&gt;Advanced Scenarios (optional)&lt;/span&gt;&lt;/h2&gt;
&lt;h3&gt;&lt;span style="font-family: calibri; color: #0080ff;"&gt;&lt;a name="Scenario4"&gt;&lt;/a&gt;Scenario 4: Build-Deploy-Test workflow on a multi-machine environment&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;i&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;(Estimated Time: 60 minutes)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;A typical application requires multiple machines to test it. E.g. a Web application has a Web Server, a Database server and a web client. Since more than one machine is likely to be used in the production, testing in similar distributed environment is very important. Using Lab Management, you can create complex environments to test multi-tier application and assign a Role (Web Server, Database Server etc.) to each machine in the environment. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;In this scenario, we will be deploying on a two machine environment for testing the TailSpin application. One of the machine will act as a Web Client and the second machine hosts both the Database Server (SQL) and the Web Server (IIS).&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Open Microsoft Test Manager and Go to Lab Center, if you are currently under Testing Center &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click Deploy under the Environments section. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;It will show Stored Environment from the Library. Select &amp;ldquo;TailSpin multi-machine Environment&amp;rdquo; and Click Deploy. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Do not change the name of Environment as the same name has been associated in end-to-end workflow definition. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;The environment deployment will typically take ~35 minutes. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/cffd3d5a1952_8B6F/troubleshooting_2.png"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;img width="14" height="14" title="clip_image009" style="display: inline; border-width: 0px;" alt="clip_image009" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/8625.clip_5F00_image009_5F00_7cb7bfd9_2D00_973a_2D00_436b_2D00_b72f_2D00_c3c2a93bbfab.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Troubleshooting tips &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;If the deployment fails because of insufficient disk space, free-up some disk space on the hyper-v host machine. Also make sure that the drive which has sufficient space has been added as placement path in Virtual Machine Manager. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;If the deployment fails because of insufficient memory, you should shut down the environment you previously created in the Scenario1, and re-try the deployment. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Once the environment is deployed, right click on the environment name and Click Start. Similarly right click on the environment name and Click Connect &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;This will open the Microsoft Environment Viewer to enable interaction with the virtual machines in the environment. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Login to each Virtual Machine in the environment using the following credentials (click Ctrl+Alt+Del from the toolbar in the Environment Viewer): &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Username: Labdomain\tfsadmin &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Password: P2ssw0rd &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Once you login, the Test Agent processes should start-up and connect to the Test controller. Make sure that the status changes to Online in each machine of environment. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;You might see that one of the capabilities (Testing or Workflow) has some errors. Click on the &amp;ldquo;Repair Testing capability&amp;rdquo; so that testing capability is configured appropriately. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;After a few minutes, the Testing capability should also be in Ready State. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Disable Internet Explorer popups. This is to make sure that IE popups do not interfere with the Coded UI Tests (which will be executed later). &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Launch Internet Explorer from the Web Client machine in the environment. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;In the &amp;ldquo;Set up Windows Internet Explorer 8&amp;rdquo; popup, click Next. Do NOT choose &amp;ldquo;Ask me later&amp;rdquo;, as this will later interfere with the execution of automated tests. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Select &amp;ldquo;Yes, turn on Suggested sites&amp;rdquo; and Click Next &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Select &amp;ldquo;Use express settings&amp;rdquo; and click Finish. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Now Close the Internet Explorer. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Once, the testing and workflow capabilities are ready, Select the Snapshots tab from the left side pane in the Microsoft environment viewer &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click on the &amp;ldquo;Take Snapshot&amp;rdquo; icon and give it a name &amp;ldquo;Clean State&amp;rdquo;. Use the same name as it as it has been used in end-to-end workflow definition &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Open Visual Studio and go to Team Explorer. Go to Builds -&amp;gt; Right Click on &amp;ldquo;BuildDeployTest-2Tier-TailSpin&amp;rdquo; -&amp;gt; Edit build definition. This should open the build definition for editing. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Go to Process, from the left side pane and click on icon besides Lab process settings &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;A new wizard for changing Lab workflow parameters should open up. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Go to Environments, from the left side pane &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;From the dropdown, select the &amp;ldquo;TailSpin multi-machine Environment&amp;rdquo; you created earlier. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Check the option to &amp;ldquo;Revert to a specific snapshot of the environment&amp;rdquo; and select Clean State &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click Finish and Save the build definition &amp;ldquo;BuildDeployTest-2Tier-TailSpin&amp;rdquo; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Right click on the build definition &amp;ldquo;BuildDeployTest-2Tier-TailSpin&amp;rdquo;, click on Queue new build. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Use the Default Options and Click Queue. (&lt;i&gt;The workflow will take ~10 minutes to complete&lt;/i&gt;) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;To see the progress of this workflow, double click on the &amp;ldquo;BuildDeployTest-2Tier-TailSpin&amp;rdquo; in the Build Explorer. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;The workflow performs the following activities &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Compile/Build the TailSpin application and associated Coded UI tests &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Revert the TailSpin Environment to the clean snapshot that you created earlier &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Deploy the build on the multiple machines of this environment &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;After the build has been deployed, take a post deployment snapshot. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Run Coded UI Tests (CUIT)&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;You can go to Microsoft Environment Viewer to see when Environment is either reverted to a snapshot, or Post Deployment Snapshot is taken. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Once the workflow is in the Running Tests step, you can even see the Coded UI Tests are being run in the Virtual environment. From the environment Viewer, check if TailSpin home page opens up automatically, and some pages are being navigated by the Coded UI Tests. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Once the workflow completes, it should report success if the deployment and test execution completes. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;&lt;span style="font-family: calibri; color: #0080ff;"&gt;&lt;a name="Scenario5"&gt;&lt;/a&gt;Scenario 5: Network Isolation&lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;&lt;i&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;(Estimated Time: 90 minutes)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Network Isolation enables you to run multiple copies of the environment in parallel without machine name or IP conflicts. The machines in a network-isolated environment are protected from network conflicts by using two network adapters. One network adapter is used for a private network inside the environment. The second adapter is configured by Lab Management to present a separate, unique identity to the external network. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;In this scenario, we will first deploy a Network Isolated TailSpin Environment (the VM inside the environment will be a workgroup machine). Next we run a build-deploy-test workflow to deploy the TailSpin application. Then we store a copy of this environment in the library, and later create a new environment using this stored copy. Hence we will be able to run two environments with TailSpin application, where the machines have the same machine name etc.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Open Microsoft Test Manager and Go to Lab Center, if you are currently under Testing Center &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click Deploy under the Environments section. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;It will show Stored Environment from the Library. Select &amp;ldquo;TailSpin Isolated Environment&amp;rdquo; and Click Deploy. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Do not change the name of Environment as the same name has been used in end-to-end workflow definition. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;The environment deployment will typically take ~20 minutes. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Once the environment is deployed, right click on the environment name and Click Start. Similarly right click on the environment name and Click Connect &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;This will open the Microsoft Environment Viewer to enable interaction with the virtual machines in the environment. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Login environment&amp;rsquo;s Virtual Machine using the following credentials (click Ctrl+Alt+Del from the toolbar in the Environment Viewer): &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Username: Administrator &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Password: P2ssw0rd &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Note you need to login as local administrator as the machine of this isolated environment is a workgroup machine. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click Start, Microsoft Visual Studio 2010, Test Agent configuration Tool &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Enter the username as .\administrator and Password as P2ssw0rd &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click on Apply Settings. It will ask the password of tfsadmin, provide P2ssw0rd &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;After few minutes, the Test Agent processes should start-up and connect to the Test controller. Make sure that the status changes to Online. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;You might see that one of the capabilities (Testing or Workflow) has some errors. Click on the &amp;ldquo;Repair Testing capability&amp;rdquo; so that testing capability is configured appropriately. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;After a few minutes, the Testing capability should also be in Ready State. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Disable Internet Explorer popups. This is to make sure that IE popups do not interfere with the Coded UI Tests (which will be executed later) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Launch Internet Explorer from the Virtual Machine in the environment. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;In the &amp;ldquo;Set up Windows Internet Explorer 8&amp;rdquo; popup, click Next. Do NOT choose &amp;ldquo;Ask me later&amp;rdquo;, as this will later interfere with the execution of automated tests. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Select &amp;ldquo;Yes, turn on Suggested sites&amp;rdquo; and Click Next &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Select &amp;ldquo;Use express settings&amp;rdquo; and click Finish. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Now Close the Internet Explorer. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Once, the testing and workflow capabilities are ready, Select the Snapshots tab from the left side pane in the Microsoft environment viewer &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click on the &amp;ldquo;Take Snapshot&amp;rdquo; icon and give it a name &amp;ldquo;Clean State&amp;rdquo;.&amp;nbsp; Use the same name as it as it has been used in workflow definition &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Open Visual Studio and go into Team Explorer. Go to Builds -&amp;gt; Right Click on &amp;ldquo;BuildDeployTest-TailSpin&amp;rdquo; -&amp;gt; Edit build definition. This should open the build definition for editing. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Go to Process, from the left side pane and click on icon besides Lab process settings &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;A new wizard for changing Lab workflow parameters should open up. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Go to Environments, from the left side pane &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;From the dropdown, select the &amp;ldquo;TailSpin Isolated Environment&amp;rdquo; &lt;br /&gt;you created earlier. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Check the option to &amp;ldquo;Revert to a specific snapshot of the environment&amp;rdquo; and select Clean State &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Click Finish and Save the build definition &amp;ldquo;BuildDeployTest-TailSpin&amp;rdquo; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Right click on the build definition &amp;ldquo;BuildDeployTest-TailSpin&amp;rdquo;, click on Queue new build. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Use the Default Options and Click Queue. (&lt;i&gt;The workflow will take ~10 minutes to complete&lt;/i&gt;) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;To see the progress of this workflow, double click on the &amp;ldquo;BuildDeployTest-TailSpin&amp;rdquo; in the Build Explorer. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;The workflow performs the following activities &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Compile/Build the TailSpin application and associated Coded UI tests &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Revert the TailSpin Environment to the clean snapshot that you created earlier &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Deploy the build on the multiple machines of this environment &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;After the build has been deployed, take a post deployment snapshot. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Run Coded UI Tests (CUIT)&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;You can go to Microsoft Environment Viewer to see when Environment is either reverted to a snapshot, or Post Deployment Snapshot is taken. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Once the workflow is in the Running Tests step, you can even see the Coded UI Tests are being run in the Virtual environment. From the environment Viewer, check if TailSpin home page opens up automatically, and some pages are being navigated by the Coded UI Tests. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Once the workflow completes, it should report success if the deployment and test execution completes. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/cffd3d5a1952_8B6F/troubleshooting_2.png"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;&lt;img width="14" height="14" title="clip_image009" style="display: inline; border-width: 0px;" alt="clip_image009" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/8625.clip_5F00_image009_5F00_7cb7bfd9_2D00_973a_2D00_436b_2D00_b72f_2D00_c3c2a93bbfab.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Troubleshooting tips &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;You might see the following message in the build report. You can ignore this message, since this machine is joined to workgroup; hence the account domain\Windows-abcd123 doesn&amp;rsquo;t exist.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;There is no such user or group: labdomain\Windows-abce123&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;More help is available by typing NET HELPMSG 3783&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Using environment viewer, shutdown the environment &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;In Microsoft Test Manager, right click on the Isolated Environment, and Click Store to Library &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Enter the name as &amp;ldquo;TailSpin Isolated Environment Copy&amp;rdquo; and click Store. This step would take ~20 minutes &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Once the Copy of the environment is stored, Click on Deploy again. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Select the &amp;ldquo;TailSpin Isolated Environment Copy&amp;rdquo; and Click Deploy This step will take ~20 minutes. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Once this environment is also deployed, right click on the environment name and Click Start. Similarly right click on the environment name (TailSpin Isolated Environment Copy) and Click Connect &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;This will open the Microsoft Environment Viewer to enable interaction with the virtual machines in the environment. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Login environment&amp;rsquo;s Virtual Machine using the following credentials (click Ctrl+Alt+Del from the toolbar in the Environment Viewer): &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;ol&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Username: Administrator &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Password: P2ssw0rd &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Note you need to login as local administrator as the machine of this isolated environment is a workgroup machine &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Using environment viewer, you can now open TailSpin home page in internet explorer: &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://localhost/tailspin.web/default.aspx"&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;http://localhost/tailspin.web/default.aspx&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Similarly you can open TailSpin home page on the earlier TailSpin Isolated environment. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;You can also check the same computer name of these environment (copy and original) by clicking on the System Info. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span style="font-family: calibri; color: #0080ff;"&gt;Appendix&lt;/span&gt;&lt;/h2&gt;
&lt;p sizcache="1" sizset="1"&gt;&lt;span style="font-family: calibri; color: #0080ff;"&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: calibri;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;The following table lists the details of all the artifacts in the VM &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table border="1" cellspacing="0" cellpadding="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width="269" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;VM Machine Name&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="329" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;labserver.labdomain.local&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="269" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Domain Name&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="329" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;labdomain.local&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="269" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Domain Administrator&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="329" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;labdomain\tfsadmin, P2ssw0rd&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="269" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;TFS Administrator&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="329" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;labdomain\tfsadmin, P2ssw0rd&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="269" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;SCVMM Administrator&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="329" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;labdomain\tfsadmin, P2ssw0rd&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="269" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Service account for test/build agent-controller communication&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="329" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;labdomain\tfsadmin, P2ssw0rd&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="269" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Default SCVMM Library Share&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="329" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;MSSCVMMLibrary, &amp;ldquo;C:\ProgramData\Virtual Machine Manager Library Files&amp;rdquo;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="269" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Default Host Group&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="329" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;All Hosts&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="269" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Template with agents installed&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="329" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;TailSpin VM Template&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="269" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Stored environment in library&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="329" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;TailSpin Environment&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="269" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;TailSpin Source code&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="329" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;C:\Map&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="269" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;Sample Test Plan&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td width="329" valign="top"&gt;
&lt;p&gt;&lt;span style="font-family: calibri; font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;" size="2"&gt;TailSpin Test Plan&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10033288" width="1" height="1"&gt;</description></item><item><title>Setting up various topologies to test with Visual Studio Lab Management – Part 4</title><link>http://blogs.msdn.com/b/lab_management/archive/2010/06/02/setting-up-various-topologies-to-test-with-visual-studio-lab-management-part-4.aspx</link><pubDate>Wed, 02 Jun 2010 13:51:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10018846</guid><dc:creator>Hariveer Singh</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/lab_management/rsscomments.aspx?WeblogPostID=10018846</wfw:commentRss><comments>http://blogs.msdn.com/b/lab_management/archive/2010/06/02/setting-up-various-topologies-to-test-with-visual-studio-lab-management-part-4.aspx#comments</comments><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In continuation with our topology series, this time we will pick a topology&amp;nbsp;with multiple ATs, DTs and with Lab Environments joined to different domain&amp;nbsp;for discussion. We will touch&amp;nbsp;upon Lab Management specific requirements and configuration for this topology. Take a look at &lt;a href="http://blogs.msdn.com/lab_management/archive/2010/03/29/setting-up-various-topologies-to-test-with-visual-studio-team-lab.aspx"&gt;&lt;span style="color: #006ff7;"&gt;Part1&lt;/span&gt;&lt;/a&gt;, &lt;a href="http://blogs.msdn.com/lab_management/archive/2010/04/23/setting-up-various-topologies-to-test-with-visual-studio-lab-management-part-2.aspx"&gt;&lt;span style="color: #006ff7;"&gt;Part2&lt;/span&gt;&lt;/a&gt; and &lt;a href="http://blogs.msdn.com/b/lab_management/archive/2010/05/07/setting-up-various-topologies-to-test-with-visual-studio-lab-management-part-3.aspx"&gt;&lt;span style="color: #006ff7;"&gt;Part3&lt;/span&gt;&lt;/a&gt; for our earlier discussions on topologies.&lt;/p&gt;
&lt;p&gt;Here is a quick recap on acronyms&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Corp network &amp;ndash; Would refer to the corp. network where TFS is hosted. A Corp network would have one or more ATs, DTs, Load balancers, Proxy, VMM server. Clients are typically connected to this network while at work. &lt;/li&gt;
&lt;li&gt;Test network &amp;ndash; Would refer to the network where the testing of the apps would happen. Test controller, Build controller, VMM server, VMM Library VMM hosts are present in this network. Please note that VMM server can either be in Corp network on in Test network depending on your choice. &lt;/li&gt;
&lt;li&gt;Corp Domain &amp;ndash; the domain controller in corp. network &lt;/li&gt;
&lt;li&gt;Private Lab Domain &amp;ndash; the domain controller in Private Test network. &lt;/li&gt;
&lt;li&gt;AT &amp;ndash; Application Tier &lt;/li&gt;
&lt;li&gt;DT &amp;ndash; Data Tier &lt;/li&gt;
&lt;li&gt;VMM &amp;ndash; System Centre Virtual Machine Manager &lt;/li&gt;
&lt;li&gt;TC &amp;ndash; Test controller &lt;/li&gt;
&lt;li&gt;BC &amp;ndash; Build Controller &lt;/li&gt;
&lt;li&gt;BSH &amp;ndash; Build Service Host&lt;/li&gt;
&lt;li&gt;NLB &amp;ndash; Network Load balancing&lt;/li&gt;
&lt;li&gt;VM &amp;ndash; Virtual Machine&lt;/li&gt;
&lt;li&gt;LE &amp;ndash; Lab environment&lt;/li&gt;
&lt;li&gt;LS &amp;ndash; Lab system within Lab Environment&lt;/li&gt;
&lt;/ul&gt;&lt;h3&gt;Topology #4 &amp;ndash; Topology with multiple ATs and DTs, load balancers and Environments joined to a different domain&lt;/h3&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/8304.image_5F00_2.png"&gt;&lt;img height="434" width="662" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/2450.image_5F00_thumb.png" alt="image" border="0" title="image" style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;This topology has multiple application tiers, named data tiers and a load balancer in its Corp network. The Test network has VMM server and its library and host group, Test and build controllers. &lt;/p&gt;
&lt;p&gt;The interesting aspect in this topology is we have separate Corp and Lab AD that have no trust between them, however the Corp and Lab DNS have DNS forwarding configured to see the A records in other zones respectively. The test apps that are deployed for testing are joined to Lab AD.&lt;/p&gt;
&lt;p&gt;We will also assume that in this topology the ATs, VMM server, Controller and the host are assigned static IP. It is not a requirement to have static IP for these components. All our previous topology discussions&amp;nbsp;in &lt;a href="http://blogs.msdn.com/lab_management/archive/2010/03/29/setting-up-various-topologies-to-test-with-visual-studio-team-lab.aspx"&gt;&lt;span style="color: #006ff7;"&gt;Part1&lt;/span&gt;&lt;/a&gt;, &lt;a href="http://blogs.msdn.com/lab_management/archive/2010/04/23/setting-up-various-topologies-to-test-with-visual-studio-lab-management-part-2.aspx"&gt;&lt;span style="color: #006ff7;"&gt;Part2&lt;/span&gt;&lt;/a&gt; and &lt;a href="http://blogs.msdn.com/b/lab_management/archive/2010/05/07/setting-up-various-topologies-to-test-with-visual-studio-lab-management-part-3.aspx"&gt;&lt;span style="color: #006ff7;"&gt;Part3&lt;/span&gt;&lt;/a&gt;&amp;nbsp;did not have this requirement and were assumed to use IP allotted by DHCP; we are considering static IP for this discussion just to illustrate that Visual Studio 2010 Lab Management works fine even with these configurations.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1) TFS configurations&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/lab_management/archive/2010/04/23/setting-up-various-topologies-to-test-with-visual-studio-lab-management-part-2.aspx"&gt;Part2&lt;/a&gt; covers multiple application tier installation and configuration with multiple named data tiers. So we will not be covering them again here.&lt;/p&gt;
&lt;p&gt;As mentioned in &lt;a href="http://blogs.msdn.com/lab_management/archive/2010/03/29/setting-up-various-topologies-to-test-with-visual-studio-team-lab.aspx"&gt;Part1&lt;/a&gt;, and &lt;a href="http://blogs.msdn.com/b/lab_management/archive/2010/05/07/setting-up-various-topologies-to-test-with-visual-studio-lab-management-part-3.aspx"&gt;Part3&lt;/a&gt;, with the use of a load balancer, you will have to take care of appropriate notification URL and Lab URL. Other than that there is nothing Lab Management specific configurations that is required. I have mentioned F5 NLB here to illustrate that Lab Management can work with both hardware and software NLB mechanisms.&lt;/p&gt;
&lt;p&gt;The App tier configuration for this topology looks as below once configured&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/0876.image_5F00_4.png"&gt;&lt;img height="306" width="426" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/8637.image_5F00_thumb_5F00_1.png" alt="image" border="0" title="image" style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;The Lab URL settings is as below&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/4846.image_5F00_6.png"&gt;&lt;img height="456" width="432" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/4540.image_5F00_thumb_5F00_2.png" alt="image" border="0" title="image" style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;The bindings in IIS for TFS website looks as below. You will notice that there is explicit IP, Port and SSL binding for HTTPS and default binding for HTTP.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/8662.image_5F00_8.png"&gt;&lt;img height="477" width="427" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/4861.image_5F00_thumb_5F00_3.png" alt="image" border="0" title="image" style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2) Static IP&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Application tiers, Data tiers, VMM server, VMM library, VMM host, Test and Build controllers can all be configured with static IP. Ensure appropriate DNS and Gateway is configured in their adapters.&lt;/p&gt;
&lt;p&gt;For Environments created out of Golden VM templates, it is advisable to use DHCP to allot IP. Since the sysprep templates would not retain any DNS and Gateway adapter configuration settings during specialization, without a DHCP the Lab systems in the Environment will not be properly connected to network post Environment creation.&lt;/p&gt;
&lt;p&gt;For cloning of environments with Network isolation it is mandatory to have DHCP in your Corp/Test network to successfully clone environments without IP conflicts.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3) Lab Environments joined to different domain&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I would like to emphasize again that, in Visual studio 2010 Lab Management release we require TFS (AT/DT), VMM server, VMM host, VMM library, Test Controller and Build controller all be in same trusted domain. Visual Sutdio 2010 Lab Management do not support any of them being in a partially trusted or in no trust domains.&lt;/p&gt;
&lt;p&gt;However, you can have your Lab environments created and joined to a different domain. &lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;LE creation&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;You can create Lab environment out of Golden VM templates from library and have the OS profile edited to join to a domain which is other than what your client or TFS is part of. In the LE creation wizard, you will have to fill in the domain credentials and password in OS profile tab. &lt;/p&gt;
&lt;p&gt;Clicking on &amp;ldquo;Test&amp;rdquo; after providing the credentials will show a warning as below. This warning appears if your client is in a domain that is not trusted with the domain that you filled in the OS profile. However, this is just a warning, so you should be able to proceed further by clicking &amp;ldquo;Finish&amp;rdquo; and initiate LE creation.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/6840.clip_5F00_image001_5F00_2.jpg"&gt;&lt;img height="479" width="606" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18-metablogapi/0268.clip_5F00_image001_5F00_thumb.jpg" alt="clip_image001" border="0" title="clip_image001" style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;DNS forwarding &amp;amp; WINS&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;For a topology like what we have taken up for discussion, It is important for Lab environment to have connectivity to reach DNS in Test network to resolve its domain controller and to join the Lab AD.&lt;/p&gt;
&lt;p&gt;It is also important for Lab environment to have connectivity with TFS and Controllers that are in Corp network for the Testing and Workflow capability to work fine.&lt;/p&gt;
&lt;p&gt;Given these requirements, the topology for discussion is such that, there is single DHCP that allots IP to machines in Corp network (example your client) and to Lab environments created in Test network. The machines will have Corp DNS as the primary DNS as given by the DHCP. Hence both the Corp domain joined machines and Lab Domain joined machines will have Corp DNS as their primary DNS. &lt;/p&gt;
&lt;p&gt;The &lt;a href="http://technet.microsoft.com/en-us/library/cc754941.aspx#BKMK_winui"&gt;TechNet article&lt;/a&gt; explains in detail the steps required for configuring DNS conditional forwarding.&lt;/p&gt;
&lt;p&gt;To summarize:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The Lab environments should have DHCP IP allotment and have primary DNS as Corp DNS.&lt;/li&gt;
&lt;li&gt;The Corp DNS should be configured to forward the requests meant for Lab DNS zones to Lab DNS.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This will ensure that build agent within Lab environment (in Lab domain) is able to resolve and reach TFS and Controller (in Corp domain) and vice versa.&lt;/p&gt;
&lt;p&gt;Unlike Build controller, instead of using FQDN of agent machine, Test controller attempts to connect back to test agent using IPV4 address or using bare host name based on certain criteria. Using bare hostname is not a problem if both the agent and the Controller are in same domain. Since they share the same primary DNS suffix, the name resolution will not be a problem even if Controller attempts to resolve using agent&amp;rsquo;s bare host name. &lt;a href="http://technet.microsoft.com/en-us/library/cc961411.aspx"&gt;TechNet article&lt;/a&gt; explains in detail the name resolution logic when a bare host name (single-label unqualified domain name) is given.&lt;/p&gt;
&lt;p&gt;However, in topology like ours where the Controller is in Corp domain (say Corp.com) and the Agent is in Lab domain (say Lab.com), name resolution will fail because the Controller attempts to resolve the name by adding its own primary DNS suffix (which will be Corp.com). Hence for topologies like this, you will require a WINS server so that Test Controller can resolve the Test Agent&amp;rsquo;s bare name using NetBIOS.&lt;/p&gt;
&lt;p&gt;To summarize;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If you have Lab environments joined to different domain other than Test controller and if any one of the following criteria is true then you will need a WINS server for Test controller to resolve agent&amp;rsquo;s bare host name using NetBIOS.&amp;nbsp; 
&lt;ul&gt;
&lt;li&gt;Lab environments are IPV6 capable&lt;/li&gt;
&lt;li&gt;Lab environments have lab systems that are multi-homed&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;If your above condition is true but you do not want to install WINS, then you will have to explictly configure in each of the Lab systems,&amp;nbsp;and provide&amp;nbsp;IP address&amp;nbsp;to which the test agent will be bound to. This configuration is done in&amp;nbsp;%ProgramFiles%\Microsoft Visual Studio 10.0\Common7\IDE\QTAgentService.exe.config&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;.&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-15-18/5756.QTAgentexeConfig.JPG" border="0" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&amp;nbsp;For all the other conditions, you don&amp;rsquo;t require a WINS. Test controller will be able to resolve the agent with the DNS or by connecting directly using IPV4.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;4) Topology variations and its impact on Visual Studio 2010 Lab Management&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Visual Studio 2010 Lab management will behave as given below, for the given topology variations&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;em&gt;Isolated Test network&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You cannot have Test network completely isolated from Corp network. If you have such a topology then the test agent or the build agent will not be able to talk to TFS or the Test/Build Controller which are in Corp domain. Hence you will not be able to leverage the testing and workflow capabilities in such a topology. You can however be able to operate on the Lab environment and do the basic Lab environment operations on it.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Without DNS forwarding&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Even if you choose to have TFS and Controller as multi-homed and connected to Test Network in addition to Corp Network, the TFS or Controller will always attempt to resolve the agent name in their primary DNS which will be Corp DNS. Hence it is important to have the DNS forwarding configured in the primary DNS to be able to resolve the Lab DNS zones.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Different Primary DNS for Test and Corp network&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In our discussion above we said that Corp DNS will be the primary DNS for both Corp domain joined machines and Lab domain joined machines. However, you may choose to have different DNS as your primary DNS in Corp and in Test networks respectively. In such cases, you will need to enable DNS forwarding in both the DNS such that TFS and Controller can consult Corp DNS to resolve Agent (in Lab DNS zone) and vice versa where Agent can consult Lab DNs to resolve TFS and Controller (in Corp DNS zone).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10018846" width="1" height="1"&gt;</description></item><item><title>Planning considerations for setting up a lab managed by Visual Studio Lab Management 2010</title><link>http://blogs.msdn.com/b/lab_management/archive/2010/05/13/planning-considerations-for-setting-up-a-lab-managed-by-visual-studio-lab-management-2010.aspx</link><pubDate>Thu, 13 May 2010 06:08:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10012312</guid><dc:creator>Vijay M [MSFT]</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/lab_management/rsscomments.aspx?WeblogPostID=10012312</wfw:commentRss><comments>http://blogs.msdn.com/b/lab_management/archive/2010/05/13/planning-considerations-for-setting-up-a-lab-managed-by-visual-studio-lab-management-2010.aspx#comments</comments><description>&lt;p class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;[Last updated on: Jan 3, 2011]&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;As you plan to adopt VS Lab Management 2010 for managing your labs, you will probably have several questions on your mind such as:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;How many servers do I need?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;What kinds of servers should I buy?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Can I use a SAN for storage?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;How much storage capacity do I need?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;Can I setup everything on one big machine?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Calibri;"&gt;How do I setup an isolated lab?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;span style="font-family: Calibri; font-size: small;"&gt;This article provides you some guidance around these questions and points you to other resources that you can tap into. These guidelines are applicable when you plan to setup a real lab beyond demo use. For demo purposes, most of the rules can be relaxed :)&lt;o:p&gt;&lt;/o:p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;In addition to having Team Foundation Server, Test and Build Controllers, setting up a lab requires an SCVMM server, Hyper-V hosts, and (optionally) library servers.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="FONT-SIZE: 12pt"&gt;SCVMM Server&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family: Calibri"&gt;&lt;span style="mso-list: Ignore"&gt;1.&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;Machine configuration:&lt;/span&gt;&lt;/b&gt; We recommend installing SCVMM Server on a machine with the following configuration for a lab with less than 50 VMs:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;&amp;middot;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;64 bit processor&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;&amp;middot;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;4 GB memory&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;&amp;middot;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;300 GB hard disk&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;&amp;middot;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Windows Server 2008 R2 operating system&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;&amp;middot;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;All latest updates of Windows&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;These requirements will be higher if the number of VMs is higher.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family: Calibri"&gt;&lt;span style="mso-list: Ignore"&gt;2.&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;Library:&lt;/span&gt;&lt;/b&gt; An installation of SCVMM server also acts as a default library server. So, the following recommendations assume that you will use the SCVMM server machine also as a library server machine.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family: Calibri"&gt;&lt;span style="mso-list: Ignore"&gt;3.&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;Storage for library:&lt;/span&gt;&lt;/b&gt; Make sure that there is enough space on the drive that you plan to use as library. By default, the library share that is created by SCVMM is on C: drive. So, you either need to have more than 200 GB of space on C: drive or use a different drive in your machine as the library share.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family: Calibri"&gt;&lt;span style="mso-list: Ignore"&gt;4.&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;Disk types for library:&lt;/span&gt;&lt;/b&gt; For small labs that do not plan to use library heavily, a disk with good speed will be sufficient. For larger labs with higher usage of library, RAID 5 configured disks are highly recommended. For even better performance in large labs, have multiple library servers. The storage for library can come from Direct-attached storage or from SAN. When using SAN, create a LUN to be used solely for library machine. Clustering of library machines is not supported.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family: Calibri"&gt;&lt;span style="mso-list: Ignore"&gt;5.&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;Shared machine:&lt;/span&gt;&lt;/b&gt; If you plan to install SCVMM along with some other software on the same machine, you need to first ensure that SCVMM server can get the necessary amount of resources as described above after deducting the resource consumption of the other software. For instance, if you want to install SCVMM on TFS machine, then add the above requirements to those of TFS, and then ensure that the machine has enough capacity. All of the following additional considerations assume that you have met this basic requirement.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;For SCVMM and TFS to be installed on the same machine, TFS should be running under a regular domain user account as opposed to network service account. If this is not feasible in your setup, you cannot put TFS and SCVMM on the same machine.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;For SCVMM to be installed on a Hyper-V host, it is highly recommended that the disk used for storing Hyper-V hosted virtual machines is different from the disk used for library. For instance, use C: from one disk for library, and D: from another disk for Hyper-V virtual machines. SCVMM server, in this case, will be running in the primary OS in Hyper-V. So, when the primary OS is loaded, all Guest OS (VMs deployed in Hyper-V) will have performance impact. To reduce this impact, configure the host reserves for that machine by adding the Hyper-V host reserves (described in next section) to the SCVMM machine requirements mentioned earlier. Host reserves can be configured using SCVMM administration console.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family: Calibri"&gt;&lt;span style="mso-list: Ignore"&gt;6.&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;Running in a VM:&lt;/span&gt;&lt;/b&gt; Do not run SCVMM in a virtual machine especially if you also use it as a library.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family: Calibri"&gt;&lt;span style="mso-list: Ignore"&gt;7.&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;Networking:&lt;/span&gt;&lt;/b&gt; SCVMM should have line-of-sight visibility to TFS, hosts, and other library servers. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;SCVMM should be connected to hosts through a gigabit network.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;SCVMM machine should ideally be on a network from where windows updates can be automatically applied. If this is not feasible, you should plan on keeping track of Windows and SCVMM updates, and apply them manually as and when they become available.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family: Calibri"&gt;&lt;span style="mso-list: Ignore"&gt;8.&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;Domain:&lt;/span&gt;&lt;/b&gt; SCVMM machine should be joined to a domain that has 2-way trust with the domain of TFS machine and hosts.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="FONT-SIZE: 12pt"&gt;Hyper-V hosts&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family: Calibri"&gt;&lt;span style="mso-list: Ignore"&gt;1.&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;Machine configuration:&lt;/span&gt;&lt;/b&gt; The number of Hyper-V hosts and the capacity of each host depends on the number of VMs that you need to host in your lab. Use the simple capacity planner tool for guidance on how you can size your hosts. If you decide to setup a small lab, we recommend installing Hyper-V role on machines with the following configuration:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;&amp;middot;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Two dual-core 64 bit processors that are Hyper-V compatible&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;&amp;middot;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;16 GB memory&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;&amp;middot;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;300 GB hard disk space&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;&amp;middot;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Windows Server 2008 R2 operating system&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;&amp;middot;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;All latest updates of Windows&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;If you have large number of VMs, and you decide to setup a small number of &amp;lsquo;big&amp;rsquo; hosts, the following configuration is recommended for each host:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;&amp;middot;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Two quad-core 64 bit processors that are Hyper-V compatible&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;&amp;middot;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;64 GB memory&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;&amp;middot;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;1 TB hard disk space&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;&amp;middot;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Windows Server 2008 R2 operating system&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;&amp;middot;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;All latest updates of Windows&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;b style="mso-bidi-font-weight: normal"&gt;&lt;span style="mso-fareast-font-family: Calibri"&gt;&lt;span style="mso-list: Ignore"&gt;2.&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;b style="mso-bidi-font-weight: normal"&gt;&lt;span style="text-decoration: underline;"&gt;Host reserves:&lt;/span&gt;&lt;/b&gt; Out of the host capacity requirements listed above, you must set aside the following resources just for the smooth functioning of the hypervisor. For a 16GB host, set aside:&lt;b style="mso-bidi-font-weight: normal"&gt;&lt;span style="text-decoration: underline;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family: Calibri"&gt;&lt;span style="mso-list: Ignore"&gt;a.&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;20% CPU&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family: Calibri"&gt;&lt;span style="mso-list: Ignore"&gt;b.&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;2 GB memory&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;For a 64 GB host, set aside:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family: Calibri"&gt;&lt;span style="mso-list: Ignore"&gt;a.&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;30% CPU&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family: Calibri"&gt;&lt;span style="mso-list: Ignore"&gt;b.&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;4 GB memory&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;These host reserves must be configured on the host using SCVMM administration console. Look for these settings under the host properties. Only the resources left on the host after deducting the host reserves can be used for virtual machines.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family: Calibri"&gt;&lt;span style="mso-list: Ignore"&gt;3.&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;Storage for virtual machines:&lt;/span&gt;&lt;/b&gt; It is highly recommended that the partition used for virtual machine storage is different from the primary partition of Hyper-V server. Use D: for virtual machine storage and C: for primary partition. Once you decide on the virtual machine storage location, you need to configure that location in Hyper-V manager or through SCVMM administration console. In Hyper-V manager, change the Virtual Hard Disks folder and the Virtual Machines folder. In SCVMM administration console, change the Placement Path under the host properties.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family: Calibri"&gt;&lt;span style="mso-list: Ignore"&gt;4.&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;Disk types for host:&lt;/span&gt;&lt;/b&gt; A disk with good speed is necessary. RAID 5 configured disks are highly recommended. The storage for host can come from Direct-attached storage or from SAN. With regard to SAN support, Visual Studio Lab Management 2010 does not support or leverage clustering. This would mean you cannot have a setup with VMM host clustering or create VMs that are cluster aware. However, if you decide to have your host&amp;rsquo;s disk come from a SAN drive for space and reliability needs, you will have to have separate LUNs mapped to each host. Even if the LUNs are managed by same controller, given that Visual Studio Lab Management 2010 does not leverage any of SAN functionalities, the underlying BITS copy during a virtual machine deployment will happen all the way from library to host via your LAN network.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family: Calibri"&gt;&lt;span style="mso-list: Ignore"&gt;5.&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;Shared machine:&lt;/span&gt;&lt;/b&gt; You should not install any additional software such as TFS on your host. If you have sufficiently powerful hosts (exceeding the aggregate needs of hypervisor and virtual machines), then you can have SCVMM or library server co-located on the host, provided you account for the resource constraints of those servers as well. For instance, if you want to install SCVMM on Hyper-V host machine, then add the host&amp;rsquo;s requirements, virtual machine requirements, and SCVMM requirements, and then ensure that the machine has enough capacity. All of the following additional considerations assume that you have met this basic requirement.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;For SCVMM to be installed on a Hyper-V host, it is highly recommended that the disk used for storing Hyper-V hosted virtual machines is different from the disk used for library. SCVMM server, in this case, will be running in the primary OS in Hyper-V. So, when the primary OS is loaded, all Guest OS (VMs deployed in Hyper-V) will have performance impact. To reduce this impact, configure the host reserves for that machine by adding the Hyper-V machine&amp;rsquo;s host reserves to the SCVMM machine requirements mentioned earlier. Host reserves can be configured using SCVMM administration console.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;For a Hyper-V host to be used as a library server as well, you must have multiple disks in the machine. Separate disks must be used for the host&amp;rsquo;s virtual machines and for the library storage.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family: Calibri"&gt;&lt;span style="mso-list: Ignore"&gt;6.&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;Networking:&lt;/span&gt;&lt;/b&gt; Hyper-V host should have line-of-sight visibility to TFS, SCVMM, and other library servers. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;Hosts should be connected to SCVMM and library servers through a gigabit network.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;Hyper-V hosts should ideally be on a network from where windows updates can be automatically applied. If this is not feasible, you should plan on keeping track of Windows and SCVMM updates, and apply them manually as and when they become available.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family: Calibri"&gt;&lt;span style="mso-list: Ignore"&gt;7.&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;Domain:&lt;/span&gt;&lt;/b&gt; Hyper-V host should be joined to a domain that has 2-way trust with the domain of SCVMM server.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="FONT-SIZE: 12pt"&gt;Additional tools and resources&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="FONT-SIZE: 12pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family: Calibri"&gt;&lt;span style="mso-list: Ignore"&gt;1.&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b style="mso-bidi-font-weight: normal"&gt;&lt;span style="text-decoration: underline;"&gt;Topologies:&lt;/span&gt;&lt;/b&gt; You may have complex networking topology requirements that restrict the networks in which TFS, SCVMM, Hyper-V hosts, and virtual machines running the application-under-test can be located. Or, you may want to configure network load balancing on your TFS. Use the following three topologies as examples of what you can setup.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family: Calibri; mso-bidi-font-size: 12.0pt; mso-bidi-font-weight: bold"&gt;&lt;span style="mso-list: Ignore"&gt;-&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="text-decoration: underline;"&gt;&lt;span style="mso-bidi-font-size: 12.0pt; mso-bidi-font-weight: bold"&gt;&lt;a href="http://blogs.msdn.com/lab_management/archive/2010/03/29/setting-up-various-topologies-to-test-with-visual-studio-team-lab.aspx"&gt;&lt;span style="COLOR: windowtext"&gt;Topology #1 &amp;ndash; Topology with multiple AT, Load Balancer and Test network with firewall settings controlling the test traffic in and out into the Corp network.&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="text-decoration: underline;"&gt;&lt;span style="FONT-SIZE: 12pt; mso-bidi-font-weight: bold"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family: Calibri; mso-bidi-font-size: 12.0pt; mso-bidi-font-weight: bold"&gt;&lt;span style="mso-list: Ignore"&gt;-&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="text-decoration: underline;"&gt;&lt;span style="mso-bidi-font-size: 12.0pt; mso-bidi-font-weight: bold"&gt;&lt;a href="http://blogs.msdn.com/lab_management/archive/2010/04/23/setting-up-various-topologies-to-test-with-visual-studio-lab-management-part-2.aspx"&gt;&lt;span style="COLOR: windowtext"&gt;Topology #2 &amp;ndash; Topology with multiple ATs and DTs without load balancers and Test network with SAN based library and host.&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="text-decoration: underline;"&gt;&lt;span style="FONT-SIZE: 12pt; mso-bidi-font-weight: bold"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family: Calibri; mso-bidi-font-size: 12.0pt; mso-bidi-font-weight: bold"&gt;&lt;span style="mso-list: Ignore"&gt;-&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="text-decoration: underline;"&gt;&lt;span style="mso-bidi-font-size: 12.0pt; mso-bidi-font-weight: bold"&gt;&lt;a href="http://blogs.msdn.com/lab_management/archive/2010/05/07/setting-up-various-topologies-to-test-with-visual-studio-lab-management-part-3.aspx"&gt;&lt;span style="COLOR: windowtext"&gt;Topology #3 &amp;ndash; Topology with TMG, Windows NLB and with Test apps having DB tier outside of LE&lt;/span&gt;&lt;/a&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="text-decoration: underline;"&gt;&lt;span style="FONT-SIZE: 12pt; mso-bidi-font-weight: bold"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family: Calibri; mso-bidi-font-size: 12.0pt; mso-bidi-font-weight: bold"&gt;&lt;span style="mso-list: Ignore"&gt;-&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="text-decoration: underline;"&gt;&lt;span style="mso-bidi-font-size: 12.0pt; mso-bidi-font-weight: bold"&gt;&lt;a href="http://blogs.msdn.com/b/lab_management/archive/2010/06/02/setting-up-various-topologies-to-test-with-visual-studio-lab-management-part-4.aspx"&gt;&lt;span style="COLOR: windowtext"&gt;Topology #4 &amp;ndash; Topology with multiple ATs and DTs, load balancers and Environments joined to a different domain.&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="text-decoration: underline;"&gt;&lt;span style="mso-bidi-font-size: 12.0pt; mso-bidi-font-weight: bold"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="text-decoration: underline;"&gt;&lt;span style="mso-bidi-font-size: 12.0pt; mso-bidi-font-weight: bold"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="text-decoration: underline;"&gt;&lt;span style="FONT-SIZE: 12pt; mso-bidi-font-weight: bold"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="text-decoration: underline;"&gt;&lt;span style="FONT-SIZE: 12pt; mso-bidi-font-weight: bold"&gt;&lt;o:p&gt;&lt;span style="TEXT-DECORATION: none"&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraph"&gt;&lt;span style="mso-fareast-font-family: Calibri"&gt;&lt;span style="mso-list: Ignore"&gt;2.&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;Simple Capacity planner:&lt;/span&gt;&lt;/b&gt; See attachment.&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="COLOR: #1f497d; mso-themecolor: dark2; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10012312" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-01-23-12/vslm_2D00_simple_2D00_calculator_2D00_for_2D00_host_2D00_and_2D00_library_2D00_requirements_2D00_v0-95.xlsx" length="16817" type="application/vnd.openxmlformats-officedocument.spre" /></item><item><title>Setting up various topologies to test with Visual Studio Lab Management – Part 3</title><link>http://blogs.msdn.com/b/lab_management/archive/2010/05/07/setting-up-various-topologies-to-test-with-visual-studio-lab-management-part-3.aspx</link><pubDate>Fri, 07 May 2010 07:46:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10008982</guid><dc:creator>Hariveer Singh</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/lab_management/rsscomments.aspx?WeblogPostID=10008982</wfw:commentRss><comments>http://blogs.msdn.com/b/lab_management/archive/2010/05/07/setting-up-various-topologies-to-test-with-visual-studio-lab-management-part-3.aspx#comments</comments><description>&lt;P&gt;In this Part3 of this topology blog series, we will talk about a topology that has TMG proxy and with application tiers being load balanced with Windows NLB. We will also touch upon testing with Lab Environments that has one of their tiers (DB tier for this discussion) outside of the Lab Environment.&lt;/P&gt;
&lt;P&gt;Take a look at &lt;A href="http://blogs.msdn.com/lab_management/archive/2010/03/29/setting-up-various-topologies-to-test-with-visual-studio-team-lab.aspx" mce_href="http://blogs.msdn.com/lab_management/archive/2010/03/29/setting-up-various-topologies-to-test-with-visual-studio-team-lab.aspx"&gt;Part1&lt;/A&gt; and &lt;A href="http://blogs.msdn.com/lab_management/archive/2010/04/23/setting-up-various-topologies-to-test-with-visual-studio-lab-management-part-2.aspx" mce_href="http://blogs.msdn.com/lab_management/archive/2010/04/23/setting-up-various-topologies-to-test-with-visual-studio-lab-management-part-2.aspx"&gt;Part2&lt;/A&gt; following the links.&lt;/P&gt;
&lt;P&gt;Here is the recap of acronyms that we have been using in this blog series&lt;/P&gt;
&lt;LI&gt;Corp network – Would refer to the corp. network where TFS is hosted. A Corp network would have one or more ATs, DTs, Load balancers, Proxy, VMM server. Clients are typically connected to this network while at work. &lt;/LI&gt;
&lt;LI&gt;Test network – Would refer to the network where the testing of the apps would happen. Test controller, Build controller, VMM server, VMM Library VMM hosts are present in this network. Please note that VMM server can either be in Corp network on in Test network depending on your choice. &lt;/LI&gt;
&lt;LI&gt;Corp Domain – the domain controller in corp. network &lt;/LI&gt;
&lt;LI&gt;Private Lab Domain – the domain controller in Private Test network. &lt;/LI&gt;
&lt;LI&gt;AT – Application Tier &lt;/LI&gt;
&lt;LI&gt;DT – Data Tier &lt;/LI&gt;
&lt;LI&gt;VMM – System Centre Virtual Machine Manager &lt;/LI&gt;
&lt;LI&gt;TC – Test controller &lt;/LI&gt;
&lt;LI&gt;BC – Build Controller &lt;/LI&gt;
&lt;LI&gt;BSH – Build Service Host 
&lt;P&gt;And few more that we would be using in this discussion…&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;TMG – Microsoft Forefront Threat Management Gateway &lt;/LI&gt;
&lt;LI&gt;ALM – Application Lifecycle Management &lt;/LI&gt;
&lt;LI&gt;LE – Lab Environment &lt;/LI&gt;
&lt;LI&gt;LS – A Lab System within Lab Environment&lt;/LI&gt;
&lt;LI&gt;VIP – Virtual IP or the Cluster IP in Windows NLB&amp;nbsp; 
&lt;H4&gt;Topology #3 – Topology with TMG, Windows NLB and with Test apps having DB tier outside of LE&lt;/H4&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_2.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_2.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb.png" width=663 height=395 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;This topology has following components in Corp network&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Two Application tiers. Both the AT machines are configured with Windows load balancing. Both the App tiers have been configured to run with same domain service account. &lt;/LI&gt;
&lt;LI&gt;A TMG proxy that controls the traffic flowing into TFS website. &lt;/LI&gt;
&lt;LI&gt;A single data tier with default SQL instance&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Following are the components in Test network&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;VMM server, Distributed Library shares, Host machines. &lt;/LI&gt;
&lt;LI&gt;Test and Workflow controllers &lt;/LI&gt;
&lt;LI&gt;All the machines have Windows firewall setting that controls the test traffic flow in and out of Corp network. &lt;/LI&gt;
&lt;LI&gt;Test app deployed with one of the tier (DB tier) being outside of the Lab Environment&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;We have already seen how to configure multiple application tiers in both &lt;A href="http://blogs.msdn.com/lab_management/archive/2010/03/29/setting-up-various-topologies-to-test-with-visual-studio-team-lab.aspx" mce_href="http://blogs.msdn.com/lab_management/archive/2010/03/29/setting-up-various-topologies-to-test-with-visual-studio-team-lab.aspx"&gt;Part1&lt;/A&gt; and &lt;A href="http://blogs.msdn.com/lab_management/archive/2010/04/23/setting-up-various-topologies-to-test-with-visual-studio-lab-management-part-2.aspx" mce_href="http://blogs.msdn.com/lab_management/archive/2010/04/23/setting-up-various-topologies-to-test-with-visual-studio-lab-management-part-2.aspx"&gt;Part2&lt;/A&gt; and have specifically seen how to configure application tiers with same AT service account in &lt;A href="http://blogs.msdn.com/lab_management/archive/2010/03/29/setting-up-various-topologies-to-test-with-visual-studio-team-lab.aspx" mce_href="http://blogs.msdn.com/lab_management/archive/2010/03/29/setting-up-various-topologies-to-test-with-visual-studio-team-lab.aspx"&gt;Part1&lt;/A&gt;.&amp;nbsp; The Windows firewall settings for controlling test traffic in and out of Corp network have also been discussed earlier in &lt;A href="http://blogs.msdn.com/lab_management/archive/2010/03/29/setting-up-various-topologies-to-test-with-visual-studio-team-lab.aspx" mce_href="http://blogs.msdn.com/lab_management/archive/2010/03/29/setting-up-various-topologies-to-test-with-visual-studio-team-lab.aspx"&gt;Part1&lt;/A&gt;. &lt;/P&gt;
&lt;P&gt;So for our current discussion we will only talk about specific configuration requirements in TMG, Windows NLB and any AT configurations for enabling Visual Studio Lab Management 2010. We will also discuss about the implication of one of the App tier (DB tier in our case) being outside of Lab Environment with regard to ALM scenarios.&lt;/P&gt;
&lt;H5&gt;1) Windows NLB configurations&lt;/H5&gt;
&lt;P&gt;&lt;A title=http://technet.microsoft.com/en-us/library/cc775749(WS.10).aspx href="http://technet.microsoft.com/en-us/library/cc775749(WS.10).aspx" mce_href="http://technet.microsoft.com/en-us/library/cc775749(WS.10).aspx"&gt;http://technet.microsoft.com/en-us/library/cc775749(WS.10).aspx&lt;/A&gt; talks in detail about how to create and manage load balancing clusters.&lt;/P&gt;
&lt;P&gt;For our discussion, let’s assume we had the clustering mode as “Multicast” for this topology. You can also have the cluster mode as “Unicast” in your setup and that does not impact the behaviour of Visual Studio Lab Management 2010.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_6.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_6.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_2.png" width=666 height=292 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_2.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_8.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_8.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_3.png" width=317 height=308 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_3.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;In our case, the configuration looks as below once the AT machines have been added as part of the NLB cluster.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Cluster IP – 192.168.1.10 &lt;/LI&gt;
&lt;LI&gt;AT1 dedicated IP – 192.168.1.2 &lt;/LI&gt;
&lt;LI&gt;AT2 dedicated IP – 192.168.1.1&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_4.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_4.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_1.png" width=661 height=290 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_1.png"&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;H5&gt;2) TMG rules configurations&lt;/H5&gt;
&lt;P&gt;&lt;A title=http://technet.microsoft.com/en-us/library/cc441445.aspx href="http://technet.microsoft.com/en-us/library/cc441445.aspx" mce_href="http://technet.microsoft.com/en-us/library/cc441445.aspx"&gt;http://technet.microsoft.com/en-us/library/cc441445.aspx&lt;/A&gt; talks in detail about Forefront TMG deployment. &lt;/P&gt;
&lt;P&gt;After Installing the enterprise, Please open the forefront TMG wizard&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Configure network, system and deployment options in sequence &lt;/LI&gt;
&lt;LI&gt;While configuring network settings, choose "Back Firewall" &lt;/LI&gt;
&lt;LI&gt;Please provide all the appropriate data for the rest &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;After successful configuration add the firewall policy rule for enabling traffic to application tier: &lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Right click on "Firewall Policy" and create a "New" -&amp;gt; "Web Site Publishing Rule"&amp;nbsp; for TFS AT Service. &lt;/LI&gt;
&lt;LI&gt;Action -&amp;gt; Allow &lt;/LI&gt;
&lt;LI&gt;From -&amp;gt; External, Perimeter &lt;/LI&gt;
&lt;LI&gt;To -&amp;gt; 
&lt;UL&gt;
&lt;LI&gt;Under Published Site : 192.168.1.10 (Appropriate VIP - Cluster IP of the windows NLB) &lt;/LI&gt;
&lt;LI&gt;Under Computer Name or IP Address : 192.168.1.10 (Appropriate VIP - Cluster IP of the windows NLB)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;
&lt;LI&gt;Traffic -&amp;gt; HTTP &lt;/LI&gt;
&lt;LI&gt;Public Name -&amp;gt; 
&lt;UL&gt;
&lt;LI&gt;Requests for the following Web sites &lt;/LI&gt;
&lt;LI&gt;Add the FQDN of the TMG machine external name &lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;
&lt;LI&gt;Paths -&amp;gt; 
&lt;UL&gt;
&lt;LI&gt;Add Internal path as /* &lt;/LI&gt;
&lt;LI&gt;Select External path as "&amp;lt;same as internal path&amp;gt;" &lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;
&lt;LI&gt;Authentication Delegation -&amp;gt; No Delegation, but client may authenticate directly &lt;/LI&gt;
&lt;LI&gt;Link Translation - &amp;gt;Do not check the box &lt;/LI&gt;
&lt;LI&gt;Schedule -&amp;gt; Always &lt;/LI&gt;
&lt;LI&gt;Users -&amp;gt; All Users &lt;/LI&gt;
&lt;LI&gt;Bridging -&amp;gt; 
&lt;UL&gt;
&lt;LI&gt;Web server &lt;/LI&gt;
&lt;LI&gt;Choose Redirect requests to HTTP port : 8080 &amp;lt;port on which AT Service is listening on or bound to&amp;gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;
&lt;LI&gt;Listener -&amp;gt; 
&lt;UL&gt;
&lt;LI&gt;Networks -&amp;gt; External, Internal, perimeter checked &lt;/LI&gt;
&lt;LI&gt;Connections -&amp;gt; Enable HTTP connections on port : 80 &lt;/LI&gt;
&lt;LI&gt;Authentication -&amp;gt; 
&lt;UL&gt;
&lt;LI&gt;No Authentication &lt;/LI&gt;
&lt;LI&gt;Under Advanced -&amp;gt; Check "Allow client authentication over HTTP"&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;
&lt;LI&gt;Apply the properties&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;
&lt;LI&gt;Apply the properties &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Right click on "Firewall Policy" and create a "New" -&amp;gt; "Web Site Publishing Rule" for "Outbound ports".&lt;/P&gt;
&lt;P&gt;The firewall rules for our topology looks as below once configured:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;General properties&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_10.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_10.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_4.png" width=257 height=294 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_4.png"&gt;&lt;/A&gt; &lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_12.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_12.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_5.png" width=258 height=292 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_5.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_14.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_14.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_6.png" width=257 height=315 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_6.png"&gt;&lt;/A&gt; &lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_16.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_16.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_7.png" width=260 height=314 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_7.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_28.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_28.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_13.png" width=277 height=303 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_13.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Listening on both External and Perimeter networks&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_18.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_18.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_8.png" width=523 height=350 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_8.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Redirecting both HTTP and HTTPS connections to HTTP endpoint of application tier&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_26.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_26.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_12.png" width=259 height=292 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_12.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Certificates for listening exposed HTTPS endpoint of TFS website in proxy&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_20.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_20.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_9.png" width=534 height=352 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_9.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_22.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_22.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_10.png" width=541 height=327 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_10.png"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Exposed public name&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_24.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_24.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_11.png" width=298 height=369 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_11.png"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Post this configuration, all the connections made to the Public name listened by the TMG proxy will be forwarded to the Cluster IP (192.168.1.10). The request will be load balanced and will be handled by one of the ATs which is part of this cluster. &lt;/P&gt;
&lt;H5&gt;3) URL settings and IIS bindings in Application tiers&lt;/H5&gt;
&lt;P&gt;&lt;STRONG&gt;IIS Bindings&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Since in our case the ATs are not directly exposed outside of corp network, both the ATs will have the TFS website bound to http. There is explicit binding to its Cluster IP, Dedicated IP and Loop back in this case.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_32.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_32.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_15.png" width=576 height=455 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_15.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;TFS URLs&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The notification URL will be set the public name that is being listened by TMG. Launch TFS Admin Console –&amp;gt; Application Tier –&amp;gt; Change URL&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_30.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_30.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_14.png" width=608 height=139 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_14.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;The server URL will remain as loopback IP.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Lab URL&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Given that Lab URL will be consumed only by Controller which is within the Corp network, we will change the default value of Lab URL to point to the HTTP endpoint of the local corpnet URL listened by TMG. By default the LAB URL will be same as notification URL, which in our case will be the publicly exposed name listened by TMG.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_34.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_34.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_16.png" width=448 height=411 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_16.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Controller configuration&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The steps to configure Controllers are same as described in &lt;A href="http://blogs.msdn.com/lab_management/archive/2010/03/29/setting-up-various-topologies-to-test-with-visual-studio-team-lab.aspx" mce_href="http://blogs.msdn.com/lab_management/archive/2010/03/29/setting-up-various-topologies-to-test-with-visual-studio-team-lab.aspx"&gt;Part1&lt;/A&gt; and &lt;A href="http://blogs.msdn.com/lab_management/archive/2010/04/23/setting-up-various-topologies-to-test-with-visual-studio-lab-management-part-2.aspx" mce_href="http://blogs.msdn.com/lab_management/archive/2010/04/23/setting-up-various-topologies-to-test-with-visual-studio-lab-management-part-2.aspx"&gt;Part2&lt;/A&gt;. Mention the local corpnet URL listened by TMG (same as what we configured for Lab URL) while providing the TFS URL during configuration.&lt;/P&gt;
&lt;H5&gt;4) ALM scenarios when one of the tier is outside the Lab Environment&lt;/H5&gt;
&lt;P mce_keep="true"&gt;Your Lab Environment may not always contain all the tiers within itself. There could be situations when one of the tier has to be outside of LE. Some of the reasons why a DB tier can be outside of the environment are &lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;DB might be too big to host in a VM &lt;/LI&gt;
&lt;LI&gt;DB performance within a VM could be unacceptable &lt;/LI&gt;
&lt;LI&gt;DB might be shared among multiple apps – either read or read/write&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;When such an environment is used for testing, we will have to be mindful of few aspects that will impact the overall Lab Management 2010 ALM scenarios.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Environment snapshots&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;When one of the tier is not part of the LE, your manual testing scenarios or your build deploy test scenarios involving restoring snapshot to the clean state in the LE will only being the Lab systems within the LE to clean state. The tier which is outside of the LE will not be in consistent with rest of the tiers which may not be the required state for your testing to progress. &lt;/P&gt;
&lt;P&gt;Facts to be mindful while testing manually&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;If there are DB schema changes in new builds that differs from your earlier state, users will have to take care to ensure DB schema is in compatible with rest of the app tiers. &lt;/LI&gt;
&lt;LI&gt;If there is test data in DB that requires cleanup before next iteration of testing in the same setup, users will have to ensure the required cleanup is done. &lt;/LI&gt;
&lt;LI&gt;If there are multiple testers working in different LE are sharing the same DB machine outside, it is important to have each of them work in separate database. &lt;/LI&gt;
&lt;LI&gt;Testers can however share the same DB if they would only read from it and not write. &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;In summary, Visual Studio Lab Management 2010 has no knowledge of external dependencies of a LE and the user has to ensure that overall state of LE and its dependencies is maintained.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Customizing workflow to clean the external tier&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;To get the outside tier in a consistent state, you can customize your workflow template to clean up the tier outside during restore checkpoint. &lt;/P&gt;
&lt;P&gt;Below is snip of how a customized workflow looks for our scenario where the DB tier is outside:&lt;/P&gt;
&lt;P&gt;Add a invoke process activity which would invoke a remote script in DB machine that does the required cleaning&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_40.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_40.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_19.png" width=376 height=434 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_19.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;The below invoke process will be executed from build controller. Ensure that the credentials provided have enough privileges to do the cleanup in the data tier.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_38.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_38.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_18.png" width=496 height=490 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_85B0/image_thumb_18.png"&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Network isolation and a LE tier outside&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Cloning of a domain joined isolated application requires an AD inside the environment. Since AD VM is NOT connected to the external network in isolated environments, you can’t have any trust relationship between corp domain and the AD inside LE. For this reason, network isolation would not work for domain joined application if some pieces of that app, such as, DB were outside the LE.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10008982" width="1" height="1"&gt;</description></item><item><title>Creating a bug when test fails in E2E</title><link>http://blogs.msdn.com/b/lab_management/archive/2010/05/02/creating-a-bug-when-test-fails-in-e2e.aspx</link><pubDate>Sun, 02 May 2010 16:39:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10005987</guid><dc:creator>Hariveer Singh</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/lab_management/rsscomments.aspx?WeblogPostID=10005987</wfw:commentRss><comments>http://blogs.msdn.com/b/lab_management/archive/2010/05/02/creating-a-bug-when-test-fails-in-e2e.aspx#comments</comments><description>&lt;b&gt;Note:&lt;/b&gt; Cross posted from &lt;a href="http://blogs.msdn.com/Bhuvaneshwari/"&gt;Nothing geeky...&lt;/a&gt;.
&lt;br /&gt;&lt;a href="http://blogs.msdn.com/bhuvaneshwari/archive/2010/04/25/creating-a-bug-when-test-fails-in-e2e.aspx"&gt;Permalink&lt;/a&gt;
&lt;br /&gt;&lt;P&gt;In one of the &lt;A title="earlier post" href="http://blogs.msdn.com/lab_management/archive/2010/02/25/creating-a-bug-on-test-failure.aspx" mce_href="http://blogs.msdn.com/lab_management/archive/2010/02/25/creating-a-bug-on-test-failure.aspx"&gt;earlier post&lt;/A&gt;, we saw how to customize the E2E workflow to automatically create a bug on hitting a test failure. This post enhances the scenario further by taking a snapshot of the environment after the test run and attaching a link to the snapshot to the newly created bug.&lt;/P&gt;
&lt;P&gt;Attached is the customized xaml that you can download and use directly, after checking-in&amp;nbsp;the XAML to your source control and creating a new build definition based on that.&lt;/P&gt;
&lt;P&gt;Let me go through the additional things I have done on top of what is explained in the &lt;A title="previous post" href="http://blogs.msdn.com/lab_management/archive/2010/02/25/creating-a-bug-on-test-failure.aspx" mce_href="http://blogs.msdn.com/lab_management/archive/2010/02/25/creating-a-bug-on-test-failure.aspx"&gt;previous post&lt;/A&gt; :&lt;/P&gt;
&lt;P&gt;1. Drag and drop the activity "SnapshotLabEnvironment" from "TeamFouundation Lab Management activities" section in addition to the "OpenWorkItem" activity.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/CreatingabugwhentestfailsinE2E_13CAC/clip_image001_2.png" mce_href="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/CreatingabugwhentestfailsinE2E_13CAC/clip_image001_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=clip_image001 border=0 alt=clip_image001 src="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/CreatingabugwhentestfailsinE2E_13CAC/clip_image001_thumb.png" width=404 height=292 mce_src="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/CreatingabugwhentestfailsinE2E_13CAC/clip_image001_thumb.png"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2. Define two new string variables in the scope of the "Sequence" and name them "LocalForwardLinkID" and "LocalsnapshotID".&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/CreatingabugwhentestfailsinE2E_13CAC/clip_image002_2.png" mce_href="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/CreatingabugwhentestfailsinE2E_13CAC/clip_image002_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=clip_image002 border=0 alt=clip_image002 src="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/CreatingabugwhentestfailsinE2E_13CAC/clip_image002_thumb.png" width=700 height=124 mce_src="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/CreatingabugwhentestfailsinE2E_13CAC/clip_image002_thumb.png"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;3. Let's take a look at the "SnapshotLabEnrionment" activity .&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;This activity takes the "LabEnvironmentUri" and "SnapshotName" as input parameters and snapshots the given environment and returns the ID of the newly taken snapshot. In addition it has an output parameter called SnapshotChainID.&lt;/P&gt;
&lt;P&gt;For "LabEnvironmentUri" input parameter, specify the variable LabEnvironmentUri ( the value for which would have been already set in the workflow).&lt;/P&gt;
&lt;P&gt;Specify some value for "SnapshotName" input parameter. The snapshot I have given is "TestRunFailureSnapshot" + DateTime.Now.Ticks.ToString. The date time is appeneded to ensure uniqueness of snapshot name.&lt;/P&gt;
&lt;P&gt;Assign the return value and the out parameter value of the snapshotLabEnvironment activity to LocalSnapshotID and LocalForwardLinkID respectively.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/CreatingabugwhentestfailsinE2E_13CAC/clip_image003_2.png" mce_href="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/CreatingabugwhentestfailsinE2E_13CAC/clip_image003_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=clip_image003 border=0 alt=clip_image003 src="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/CreatingabugwhentestfailsinE2E_13CAC/clip_image003_thumb.png" width=244 height=174 mce_src="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/CreatingabugwhentestfailsinE2E_13CAC/clip_image003_thumb.png"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;4. Next step is to pass on the snapshot detail to the newly created bug. As described in &lt;A title="this post" href="http://blogs.msdn.com/lab_management/archive/2010/03/22/link-to-virtual-environment.aspx" mce_href="http://blogs.msdn.com/lab_management/archive/2010/03/22/link-to-virtual-environment.aspx"&gt;this post&lt;/A&gt;, it is possible to create Environment /Snapshots links if we know their IDs. &lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;So let's compose a url for the newly taken snapshot and write that url in the bug description and we are done :)&lt;/P&gt;
&lt;P&gt;Specify the below value for the "Comment" parameter of the "OpenWorkItem" activity.&lt;/P&gt;
&lt;P&gt;String.Format("Snapshot of the environment when the test run happened is : &amp;lt;a href=""lvr://ConnectToFwdLink/?CollectionUri={0}&amp;amp;ForwardLink={1}""&amp;gt;here&amp;lt;/a&amp;gt;", LabWorkflowParameters.EnvironmentDetails.TfsUrl, LocalForwardLinkID)&lt;/P&gt;
&lt;P&gt;The above string is essentially the url for the newly taken snapshot composed using its ID . It is surrounded by a HREF tag to make it appear as a hyperlink in the bug.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;5. Run the build and the new bug will be created when the test run fails. The new bug will look something like below.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/CreatingabugwhentestfailsinE2E_13CAC/clip_image004_2.png" mce_href="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/CreatingabugwhentestfailsinE2E_13CAC/clip_image004_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=clip_image004 border=0 alt=clip_image004 src="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/CreatingabugwhentestfailsinE2E_13CAC/clip_image004_thumb.png" width=504 height=320 mce_src="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/CreatingabugwhentestfailsinE2E_13CAC/clip_image004_thumb.png"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;6. Clicking on the "here" hyperlink from the history section in the bug will pop up the below dialog where can you chose to revert to the snapshot and debug your failure.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/CreatingabugwhentestfailsinE2E_13CAC/clip_image005_2.png" mce_href="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/CreatingabugwhentestfailsinE2E_13CAC/clip_image005_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=clip_image005 border=0 alt=clip_image005 src="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/CreatingabugwhentestfailsinE2E_13CAC/clip_image005_thumb.png" width=244 height=138 mce_src="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/CreatingabugwhentestfailsinE2E_13CAC/clip_image005_thumb.png"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Cheers !&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10005987" width="1" height="1"&gt;</description></item><item><title>Lab Build agents – How it works</title><link>http://blogs.msdn.com/b/lab_management/archive/2010/05/02/lab-build-agents-how-it-works.aspx</link><pubDate>Sun, 02 May 2010 16:39:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10005986</guid><dc:creator>Hariveer Singh</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/lab_management/rsscomments.aspx?WeblogPostID=10005986</wfw:commentRss><comments>http://blogs.msdn.com/b/lab_management/archive/2010/05/02/lab-build-agents-how-it-works.aspx#comments</comments><description>&lt;b&gt;Note:&lt;/b&gt; Cross posted from &lt;a href="http://blogs.msdn.com/Bhuvaneshwari/"&gt;Nothing geeky...&lt;/a&gt;.
&lt;br /&gt;&lt;a href="http://blogs.msdn.com/bhuvaneshwari/archive/2010/04/26/lab-build-agents-how-it-works.aspx"&gt;Permalink&lt;/a&gt;
&lt;br /&gt;&lt;UL&gt;
&lt;P&gt;The Lab management &lt;A title="end-to-end workflow" href="http://cid-6408f2e16f3793da.skydrive.live.com/self.aspx/Visual%20Studio%20Lab%20Management%202010%20RC%20Videos/Video%204%20-%20Automate%20the%20build-deploy-test%20cycle.wmv" target=_blank mce_href="http://cid-6408f2e16f3793da.skydrive.live.com/self.aspx/Visual%20Studio%20Lab%20Management%202010%20RC%20Videos/Video%204%20-%20Automate%20the%20build-deploy-test%20cycle.wmv"&gt;end-to-end workflow&lt;/A&gt; works leverages the Team Foundation Build Agent/Build Controllers to do the deployment.&lt;/P&gt;
&lt;P&gt;Given that build agent is primarily targeted for compiling sources, a getting-started user will get a bunch of questions :&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;a) How does the build agent inside a lab environment work ?&lt;/P&gt;
&lt;P&gt;b) Can I use the build agent inside the lab environment for both compiling sources and deploying my&amp;nbsp;application&amp;nbsp;? &lt;/P&gt;
&lt;P&gt;c)&amp;nbsp;How are the build agents&amp;nbsp;selected for compiling sources ?&lt;/P&gt;
&lt;P&gt;Let me try to answer the above questions. And before that, take a look at our &lt;A title="Getting started with Lab management series" href="http://blogs.msdn.com/lab_management/archive/2010/02/16/getting-started-with-lab-management-vs2010-rc-part-1.aspx" target=_blank mce_href="http://blogs.msdn.com/lab_management/archive/2010/02/16/getting-started-with-lab-management-vs2010-rc-part-1.aspx"&gt;Getting started with Lab Management series&lt;/A&gt; and &lt;A title="Lab management videos" href="http://blogs.msdn.com/lab_management/archive/2010/02/11/visual-studio-lab-management-videos.aspx" target=_blank mce_href="http://blogs.msdn.com/lab_management/archive/2010/02/11/visual-studio-lab-management-videos.aspx"&gt;Lab management videos&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;U&gt;&lt;FONT color=#006600&gt;How&amp;nbsp; does the build agent inside a lab environment work ?&lt;/FONT&gt;&lt;/U&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The build agent inside a lab environment also does the regular functionality of executing the tasks given by build controller. In the case of an&amp;nbsp;end-to-end (E2E)&amp;nbsp;workflow ( which is nothing but a build definition), the task done by the agent will be deployment ( any script that user specifies : WIX, MSI, batch file, ps …) instead of compiling sources.&lt;/P&gt;
&lt;P&gt;If you have &lt;A title="lab service account" href="http://blogs.msdn.com/lab_management/archive/2010/02/22/what-is-lab-service-account.aspx" mce_href="http://blogs.msdn.com/lab_management/archive/2010/02/22/what-is-lab-service-account.aspx"&gt;lab service account&lt;/A&gt; set for your project collection, then the build agent will use that identity while talking to TFS.&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Example:&lt;/U&gt; If you have your build agent running as domain\user account in your VM and set your lab service account as domain\svcaccount, then any out going call made by the build agent to the TFS will go with this identity. As the name implies, lab service account will be a service account with less privileges and hence this account will not be granted permissions on source control by default.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;U&gt;&lt;FONT color=#006600&gt;Can I use the build agent inside the lab environment for both compiling sources and deploying ?&lt;/FONT&gt;&lt;/U&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;The recommended way is to have a separate build agent machine for compiling sources&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;The reasons being :&lt;/P&gt;
&lt;LI&gt;Lab build agents (== build agents inside a lab environment) communicate with TFS using the lab service account identity which doesn’t have permissions on source control ( which is required for building sources). So this will not work out of box. Few manual steps has to be done in order to achieve this.&lt;/LI&gt;
&lt;LI&gt;Lab machines that has to be in a clean state for deployment and might not have all the targets needed for compiling sources. &lt;/LI&gt;&lt;/UL&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;U&gt;Example:&lt;/U&gt; To build a share point app and build a wsp package, the sharepoint target binaries are required on the build machine and it is not possible to have that in the lab environment ( since the VMs need to be clean before deployment).&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;U&gt;&lt;FONT color=#006600&gt;How is the build agent selected for compiling sources ?&lt;/FONT&gt;&lt;/U&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;UL&gt;
&lt;LI&gt;For running the E2E workflow, you will be creating a build definition for compiling sources. The default "Agent selection criteria" for this build definition will be "Agent which has any name and which doesn’t have tags ". The default " Tags is empty" criteria is to ensure that lab build agents are not picked up for compiling sources ( lab build agent always carries few custom tags that are pushed by lab and will not satisfy this criteria). 
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/LabBuildagentsHowitworks_287/clip_image001_2.png" mce_href="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/LabBuildagentsHowitworks_287/clip_image001_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=clip_image001 border=0 alt=clip_image001 src="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/LabBuildagentsHowitworks_287/clip_image001_thumb.png" width=572 height=104 mce_src="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/LabBuildagentsHowitworks_287/clip_image001_thumb.png"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you have added tags to your non-lab build agents and just go with the default "Agent settings" options while creating the build definition,&amp;nbsp;the tagged&amp;nbsp;build agents will not&amp;nbsp;be picked up for compilation and you might get an error which says "The build controller xxx does not contain an enabled build agent with name * and no tags".&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/LabBuildagentsHowitworks_287/clip_image002_2.png" mce_href="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/LabBuildagentsHowitworks_287/clip_image002_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=clip_image002 border=0 alt=clip_image002 src="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/LabBuildagentsHowitworks_287/clip_image002_thumb.png" width=504 height=94 mce_src="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/LabBuildagentsHowitworks_287/clip_image002_thumb.png"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;To workaround the issue, chose the tags explicitly while chose the agent for compiling sources (like below)&amp;nbsp;or have separate build controllers - one for managing compilation agents and another for managing lab build agents.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/LabBuildagentsHowitworks_287/clip_image003_2.png" mce_href="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/LabBuildagentsHowitworks_287/clip_image003_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=clip_image003 border=0 alt=clip_image003 src="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/LabBuildagentsHowitworks_287/clip_image003_thumb.png" width=636 height=104 mce_src="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/LabBuildagentsHowitworks_287/clip_image003_thumb.png"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you chose any of the lab build agents explicitly for compiling sources, then you will get an error&amp;nbsp;saying "No matching items found in S/ in your workspace, or you do not have permissions to access them".&amp;nbsp;This happens because the&amp;nbsp;lab build agents will not have source control permission by default.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/LabBuildagentsHowitworks_287/clip_image004_2.png" mce_href="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/LabBuildagentsHowitworks_287/clip_image004_2.png"&gt;&lt;IMG style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title=clip_image004 border=0 alt=clip_image004 src="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/LabBuildagentsHowitworks_287/clip_image004_thumb.png" width=659 height=64 mce_src="http://blogs.msdn.com/blogfiles/bhuvaneshwari/WindowsLiveWriter/LabBuildagentsHowitworks_287/clip_image004_thumb.png"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You might get the above error,&lt;STRONG&gt; when "MatchAtleast" is chosen instead of "MatchExactly" in which case the lab build agents might also get picked up&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color=#006600&gt;&lt;STRONG&gt;&lt;U&gt;How can I compile the sources using build agents inside the lab environment:&lt;/U&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Though the general recommendation is to not use the build agents inside the lab environment for compiling sources, you might have a scenario to do so. In that case you need to do the below steps to acheive this :&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Grant the lab service account "Read" permissions on the source control. By default when the a lab service account is set, it is denied source control permissions (to be "secure by default"). But, if you want your lab machines to compile sources&amp;nbsp;then, the lab service account need to get the sources and hence it needs read permissions. &lt;A title="This post" href="http://blogs.msdn.com/lab_management/archive/2010/02/22/what-is-lab-service-account.aspx" mce_href="http://blogs.msdn.com/lab_management/archive/2010/02/22/what-is-lab-service-account.aspx"&gt;This post&lt;/A&gt; explains how to&amp;nbsp;give read permissions using "tf permisisons" command.&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; While creating the compilation build definition, make sure that you either explictly chose the specific lab build agent or chose a tag or set some name filter so that the lab machines get chosen ( the reason being, by default lab machines will be excluded from the selection as mention above).&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P mce_keep="true"&gt;Hope this helps!&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10005986" width="1" height="1"&gt;</description></item><item><title>Setting up various topologies to test with Visual Studio Lab Management – Part 2</title><link>http://blogs.msdn.com/b/lab_management/archive/2010/04/23/setting-up-various-topologies-to-test-with-visual-studio-lab-management-part-2.aspx</link><pubDate>Fri, 23 Apr 2010 11:39:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10001438</guid><dc:creator>Hariveer Singh</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/lab_management/rsscomments.aspx?WeblogPostID=10001438</wfw:commentRss><comments>http://blogs.msdn.com/b/lab_management/archive/2010/04/23/setting-up-various-topologies-to-test-with-visual-studio-lab-management-part-2.aspx#comments</comments><description>&lt;P&gt;In &lt;A href="http://blogs.msdn.com/lab_management/archive/2010/03/29/setting-up-various-topologies-to-test-with-visual-studio-team-lab.aspx" mce_href="http://blogs.msdn.com/lab_management/archive/2010/03/29/setting-up-various-topologies-to-test-with-visual-studio-team-lab.aspx"&gt;Part1&lt;/A&gt; of this blog series, we talked about a topology which had a load balancer and multiple application tiers, and also had the test network which has explicit firewall settings to control the test traffic flowing in and out of test network.&lt;/P&gt;
&lt;P&gt;In this Part2, we will pick a topology that does not have load balancer but with multiple application tiers and data tiers and look at configuration aspects that are specific to enabling Visual Studio Lab Management. We will also touch upon supported SAN configurations in test network.&lt;/P&gt;
&lt;P&gt;Before we start with these topics, I would like to list down the acronyms that we would be using in this article. These are mentioned already in &lt;A href="http://blogs.msdn.com/lab_management/archive/2010/03/29/setting-up-various-topologies-to-test-with-visual-studio-team-lab.aspx" mce_href="http://blogs.msdn.com/lab_management/archive/2010/03/29/setting-up-various-topologies-to-test-with-visual-studio-team-lab.aspx"&gt;Part1&lt;/A&gt;, but I am listing them again here.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Corp network – Would refer to the corp. network where TFS is hosted. A Corp network would have one or more ATs, DTs, Load balancers, Proxy, VMM server. Clients are typically connected to this network while at work. &lt;/LI&gt;
&lt;LI&gt;Test network – Would refer to the network where the testing of the apps would happen. Test controller, Build controller, VMM server, VMM Library VMM hosts are present in this network. Please note that VMM server can either be in Corp network on in Test network depending on your choice. &lt;/LI&gt;
&lt;LI&gt;Corp Domain – the domain controller in corp. network &lt;/LI&gt;
&lt;LI&gt;Private Lab Domain – the domain controller in Private Test network. &lt;/LI&gt;
&lt;LI&gt;AT – Application Tier &lt;/LI&gt;
&lt;LI&gt;DT – Data Tier &lt;/LI&gt;
&lt;LI&gt;VMM – System Centre Virtual Machine Manager &lt;/LI&gt;
&lt;LI&gt;TC – Test controller &lt;/LI&gt;
&lt;LI&gt;BC – Build Controller &lt;/LI&gt;
&lt;LI&gt;BSH – Build Service Host &lt;/LI&gt;&lt;/UL&gt;
&lt;H4&gt;Topology #2 – Topology with multiple ATs and DTs without load balancers and Test network with SAN based library and host.&lt;/H4&gt;
&lt;P&gt;The topology that we would pick for discussion today is as follows:&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_4.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_4.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_thumb_1.png" width=686 height=431 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_thumb_1.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This topology has following components in Corp network&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Two Application tiers, out of which one of them is exposed to outside of Corp network and the other is servicing requests completely within Corp network. Each application tier in this case will be configured to run with Network service account. &lt;/LI&gt;
&lt;LI&gt;A AT source control proxy &lt;/LI&gt;
&lt;LI&gt;Two data tier named instances one for config DB and the other for Collection DBs &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;And the following components in Test network&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;VMM server, Library and Host; with VMM library and host having their drives mapped to SAN disk space. &lt;/LI&gt;
&lt;LI&gt;Test and Workflow controllers &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Please note that the Test network in this case is just a different LAN segment, but the components in Test Network are all joined to Corp domain. I would like to again reiterate the fact that for Visual Studio Lab Management 2010 release, we require all of the below components to be in same trusted domain; TFS, Test and Workflow controllers, VMM server, library &amp;amp; Host.&lt;/P&gt;
&lt;P&gt;Let’s look at the configurations of each of them, specifically the ones required to enable Visual Studio Lab Management. I am not going to cover the firewall setting aspects as they are same as what we covered in &lt;A href="http://blogs.msdn.com/lab_management/archive/2010/03/29/setting-up-various-topologies-to-test-with-visual-studio-team-lab.aspx" mce_href="http://blogs.msdn.com/lab_management/archive/2010/03/29/setting-up-various-topologies-to-test-with-visual-studio-team-lab.aspx"&gt;Part1&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;1) Setting up Application tiers&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Installing &amp;amp; Configuring AT exposed to non Corp network (AT1)&lt;/STRONG&gt; &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;EM&gt;a) &lt;/EM&gt;&lt;EM&gt;Installation and Collection creation&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Follow the Team Foundation 2010 Setup instructions to install the primary application tier. &lt;/P&gt;
&lt;P&gt;While configuring the TFS ensure that the AT service account is selected to run as Network service account, as per our need for this example; point to appropriate named SQL DB instance when pointed for, in our example topology lets say it is DT1\CONFIGDB. &lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_10.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_10.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_thumb_4.png" width=497 height=485 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_thumb_4.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;While creating new collections, provided the named SQL DB instance, in our topology say it is DT2\CollectionDB&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_12.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_12.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_thumb_5.png" width=521 height=424 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_thumb_5.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&lt;EM&gt;b) Setting appropriate IIS bindings&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Bind your TFS website with HTTP, port (8080, by default for TFS) and&amp;nbsp; appropriate IP bindings. Given that this Application tier is also exposed to non Corp network add a HTTPS binding with appropriate SSL certificate. Example of such a bindings viewed from inetmgr in my server looks as below&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_14.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_14.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_thumb_6.png" width=509 height=427 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_thumb_6.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;You can take a look at &lt;A href="http://blogs.msdn.com/ablock/archive/2009/08/24/exposing-tfs-2010-beta-2-to-the-internet.aspx" mce_href="http://blogs.msdn.com/ablock/archive/2009/08/24/exposing-tfs-2010-beta-2-to-the-internet.aspx"&gt;http://blogs.msdn.com/ablock/archive/2009/08/24/exposing-tfs-2010-beta-2-to-the-internet.aspx&lt;/A&gt; which talks about ways to expose TFS to internet.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;c) Setting appropriate Notification and Server URLs&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Given that there are clients who would be accessing the server from outside of Corp network, set the Notification URL to be HTTPS URL. Click on “Change URLs” in TFS Admin console at Application Tier level and modify the notification URL.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_16.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_16.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_thumb_7.png" width=526 height=456 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_thumb_7.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Retain the Server URL as it is as localhost.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;d) Setting appropriate Lab URL&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Click on Application Tier –&amp;gt; Lab Management –&amp;gt; Re configure Lab Management –&amp;gt; Advanced tab and check the Lab URL. The Lab URL will be same as Notification URL, in our example we should see &lt;A href="https://tfs.mycorp.com:8443/" mce_href="https://TFS.mycorp.com:8443"&gt;https://TFS.mycorp.com:8443&lt;/A&gt; which was set in step above. Lab URL is used by build agent in Lab environment while connecting to the TFS. Hence edit the Lab URL to &lt;A href="http://tfsfqdn.mycorp.com:8080/tfs" mce_href="http://tfsfqdn.mycorp.com:8080/tfs"&gt;http://tfsfqdn.mycorp.com:8080/tfs&lt;/A&gt;. &lt;/P&gt;
&lt;P&gt;If you wish to configure build agent to communicate to TFS via HTTPS, then you should install appropriate client SSL certificate before you prepare the golden templates. In that case, you could retain the HTTPS url as your Lab URL.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;e) Collection level settings for Lab Management&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Take a look at Visual Studio 2010 setup instructions for TFS and Lab Management and configure the Lab management host group, library share and Lab service account at collection level. The getting started video of Lab Management should help to get started with Lab Management configurations,&amp;nbsp; &lt;A href="http://blogs.msdn.com/lab_management/archive/2010/02/11/visual-studio-lab-management-videos.aspx" mce_href="http://blogs.msdn.com/lab_management/archive/2010/02/11/visual-studio-lab-management-videos.aspx"&gt;http://blogs.msdn.com/lab_management/archive/2010/02/11/visual-studio-lab-management-videos.aspx&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Launch Admin console –&amp;gt; Click Team Project Collections under Application Tier –&amp;gt; Click on Collection –&amp;gt; Click on Lab Management Tab –&amp;gt; Click on Configure Library Shares and configure the Library shares.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_18.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_18.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_thumb_8.png" width=646 height=413 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_thumb_8.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Click on Hostgroups Tab and configure the Hostgroup for Lab Management.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_20.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_20.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_thumb_9.png" width=658 height=409 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_thumb_9.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Click on Service account Tab and configure Lab service account&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_22.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_22.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_thumb_10.png" width=666 height=444 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_thumb_10.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Installing &amp;amp; Configuring AT servicing requests only with Corp network (AT2)&lt;/STRONG&gt; &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;EM&gt;a) Installing AT only&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Follow the TFS 2010 setup instructions to install and configure “AT only” configuration. In our example we want all the application tiers to be running as Network service account. Launch TFS Admin Console and check if the AT service account is configured as Network Service. If not change it to Network Service by clicking on Application Tier –&amp;gt; Change Account. &lt;/P&gt;
&lt;P&gt;&lt;EM&gt;b) Setting appropriate IIS bindings&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Given that this AT will be servicing requests only within Corp Network set the TFS website bindings to HTTP, port 8080 and appropriate IP if required.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;c) Secondary AT service account provisioning for Lab Management&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Visual Studio Lab Management does account provisioning of TFS service account in VMM server and Host for it to function well. This is done as part of configuring VMM server at AT level and while configuring Hostgroup and Library share at collection level.&lt;/P&gt;
&lt;P&gt;In our example, since each AT is running as Network service account, both the machine accounts will have to be provisioned. The primary AT account will already be provisioned when you complete the Lab configuration and Host group, Library share configuration as explained earlier.&lt;/P&gt;
&lt;P&gt;In order to provision the secondary AT account in VMM server, from secondary AT launch TFS Admin console –&amp;gt; click Lab Management under Application Tier –&amp;gt; Click Re-configure Lab management –&amp;gt; In Virtual Machine Manager tab click on the “test” link. As part of test verification it will automatically&amp;nbsp; provision the service account in VMM server.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_26.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_26.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_thumb_12.png" width=383 height=438 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_thumb_12.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;In order to provision the secondary AT account in VMM hosts, open Lab Management settings as explained earlier while configuring new hostgroup for primary AT. Click on individual hostgroup and click verify.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_28.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_28.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_thumb_13.png" width=640 height=415 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_thumb_13.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Installing &amp;amp; Configuring AT Source control proxy&lt;/STRONG&gt; &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Follow the Visual Studio 2010 TFS AT proxy installation steps for installing AT proxy. There is no Lab Management specific configuration required to be done in proxy.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2) Setting up Controllers&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Take a look at the Visual Studio 2010 setup instructions for Test controller setup and TFS 2010 setup instructions for Build controller setup. The getting started video of Lab Management should help &lt;A href="http://blogs.msdn.com/lab_management/archive/2010/02/11/visual-studio-lab-management-videos.aspx" mce_href="http://blogs.msdn.com/lab_management/archive/2010/02/11/visual-studio-lab-management-videos.aspx"&gt;http://blogs.msdn.com/lab_management/archive/2010/02/11/visual-studio-lab-management-videos.aspx&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;For this topology, while configuring the controller you have the option to either point to AT1 HTTP endpoint or AT2 HTTP endpoint. In case you choose to use AT HTTPS endpoint while configuring the controllers then you need to have appropriate client certificates installed in your controllers. However, for performance reasons it is not recommended to use HTTPS end point if your TFS and Controllers are within the Corp network.&lt;/P&gt;
&lt;P&gt;Build controller&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_6.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_6.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_thumb_2.png" width=632 height=495 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_thumb_2.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Test Controller&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_8.png" mce_href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_8.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_thumb_3.png" width=461 height=487 mce_src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/SettingupvarioustopologiestotestwithVisu_A610/image_thumb_3.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;3) Setting up VMM Server, VMM Library and VMM Host with SAN storage&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Take a look at the TFS 2010 setup instructions for configuring Lab Management and SCVMM setup instructions. The getting started video of Lab Management should help &lt;A href="http://blogs.msdn.com/lab_management/archive/2010/02/11/visual-studio-lab-management-videos.aspx" mce_href="http://blogs.msdn.com/lab_management/archive/2010/02/11/visual-studio-lab-management-videos.aspx"&gt;http://blogs.msdn.com/lab_management/archive/2010/02/11/visual-studio-lab-management-videos.aspx&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;With regard to SAN support, Visual Studio Lab Management 2010 does not support or leverage clustering. This would mean you cannot have test setup with VMM host clustering or create VMs that are cluster aware.&lt;/P&gt;
&lt;P&gt;However, if you decide to have your VMM library and VMM Host disk space in a SAN drive for space and reliability needs, you will have to have separate LUNs mapped for VMM and the Host disk. Even if the LUNs are managed by same controller, given that Visual Studio Lab Management 2010 does not leverage any of SAN functionalities, the underlying BITS copy during a virtual machine deployment will happen all the way from Library to Host via your LAN network.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;4) Clients&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Clients in Corp network can connect either to either AT1 HTTP endpoint or AT2 HTTP endpoint.&lt;/P&gt;
&lt;P&gt;Clients in Internet will need to have the client certificate to connect to the AT1 HTTPS endpoint that the application tier is bound to. If you are in un trusted domain but accessing the exposed TFS website, you will have to authenticate yourselves while connecting to the TFS.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;The other details with regarding to lab operations that could be performed from client outside Corp network remains same as we discussed in &lt;A href="http://blogs.msdn.com/lab_management/archive/2010/03/29/setting-up-various-topologies-to-test-with-visual-studio-team-lab.aspx" mce_href="http://blogs.msdn.com/lab_management/archive/2010/03/29/setting-up-various-topologies-to-test-with-visual-studio-team-lab.aspx"&gt;Part1&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;5) Golden Templates&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The Golden template preparation steps are same as what was discussed in &lt;A href="http://blogs.msdn.com/lab_management/archive/2010/03/29/setting-up-various-topologies-to-test-with-visual-studio-team-lab.aspx" mce_href="http://blogs.msdn.com/lab_management/archive/2010/03/29/setting-up-various-topologies-to-test-with-visual-studio-team-lab.aspx"&gt;Part1&lt;/A&gt;. &lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10001438" width="1" height="1"&gt;</description></item><item><title>Setting up agents/controllers for lab</title><link>http://blogs.msdn.com/b/lab_management/archive/2010/04/21/setting-up-agents-controllers-for-lab.aspx</link><pubDate>Wed, 21 Apr 2010 05:57:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9999777</guid><dc:creator>Darshan Desai [MSFT]</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/lab_management/rsscomments.aspx?WeblogPostID=9999777</wfw:commentRss><comments>http://blogs.msdn.com/b/lab_management/archive/2010/04/21/setting-up-agents-controllers-for-lab.aspx#comments</comments><description>&lt;p&gt;In order to deploy your build and run your tests on a virtual environment, you need to enable the workflow and testing capabilities of the environment. To successfully configure these capabilities, you need to understand a few concepts and how different pieces integrate, viz. test agent, test controller, build agent, build controller, lab agent. The purpose of this post is to:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Explain these concepts and show you how they fit together &lt;/li&gt;    &lt;li&gt;Explain the why, what, and how – for both these capabilities &lt;/li&gt; &lt;/ul&gt;  &lt;h4&gt;The big picture&lt;/h4&gt;  &lt;p&gt;Let us start with the final view of an environment, configured to run tests and workflows. You can find the status of the different capabilities (and errors if any) from the Environments tab in Lab Center of Microsoft Test Manager. The following screen shot shows an environment ready to run tests and deployment workflows. You can enable these capabilities when you create the environment.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/Settingupagentscontrollersforlab_A0F9/image_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/Settingupagentscontrollersforlab_A0F9/image_thumb.png" width="356" height="261" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;In order to get these capabilities ready, you need to do some (one-time) steps and setup/ configure the right pieces. Here is a picture that explains how the capabilities work and the different blocks involved.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/Settingupagentscontrollersforlab_A0F9/image_6.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/lab_management/WindowsLiveWriter/Settingupagentscontrollersforlab_A0F9/image_thumb_2.png" width="666" height="500" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Here is another view of what agents are needed on the virtual machines for each environment capability.&lt;/p&gt;  &lt;p&gt;   &lt;table border="0" cellspacing="0" cellpadding="0" width="472"&gt;&lt;tbody&gt;       &lt;tr&gt;         &lt;td valign="top" width="184"&gt;           &lt;p&gt;&lt;b&gt;Environment Capability &lt;/b&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="94"&gt;           &lt;p align="center"&gt;&lt;b&gt;Lab Agent Required?&lt;/b&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="91"&gt;           &lt;p align="center"&gt;&lt;b&gt;Test Agent Required? &lt;/b&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="101"&gt;           &lt;p align="center"&gt;&lt;b&gt;Build Agent Required?&lt;/b&gt;&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="184"&gt;           &lt;p&gt;Testing &lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="94"&gt;           &lt;p align="center"&gt;&lt;b&gt;√ &lt;/b&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="91"&gt;           &lt;p align="center"&gt;&lt;b&gt;√&lt;/b&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="101"&gt;           &lt;p align="center"&gt;X &lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="184"&gt;           &lt;p&gt;Deployment workflow &lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="94"&gt;           &lt;p align="center"&gt;&lt;b&gt;√&lt;/b&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="91"&gt;           &lt;p align="center"&gt;X&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="101"&gt;           &lt;p align="center"&gt;&lt;b&gt;√&lt;/b&gt;&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="184"&gt;           &lt;p&gt;Network Isolation &lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="94"&gt;           &lt;p align="center"&gt;&lt;b&gt;√&lt;/b&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="91"&gt;           &lt;p align="center"&gt;X&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="101"&gt;           &lt;p align="center"&gt;X&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;     &lt;/tbody&gt;&lt;/table&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h4&gt;Individual blocks&lt;/h4&gt;  &lt;p&gt;Now, let us deep-dive into the answers for why the capability is needed, what all pieces need to be configured, and how to configure them. Refer to the diagram above to understand how the components interact with one another.&lt;/p&gt;  &lt;h5&gt;0. Pre-requisites&lt;/h5&gt;  &lt;blockquote&gt;   &lt;p&gt;- We highly recommend you to set up a service account for lab management. By doing this, you don’t have to take care of permissions for the agents/controllers individually. Find out more about service account &lt;a href="http://blogs.msdn.com/lab_management/archive/2010/02/22/what-is-lab-service-account.aspx"&gt;here&lt;/a&gt;. The setup guide explains how to setup lab service account &lt;a href="http://msdn.microsoft.com/en-us/library/dd692846(VS.100).aspx"&gt;here&lt;/a&gt;.&lt;/p&gt;    &lt;p&gt;Note: The rest of this article assumes you have set up the lab service account.&lt;/p&gt; &lt;/blockquote&gt;  &lt;h5&gt;1. Testing capability&lt;/h5&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;strong&gt;Why?&lt;/strong&gt;&lt;/p&gt;    &lt;p&gt;In order to run manual or automated tests on an environment, you need to enable the testing capability. For manual tests, the testing capability lets you collect rich logs (ex: Intellitrace, event logs) from the various roles/machines that are part of the virtual environment. You can also take snapshot of the environment from the test runner and attach a link to it with the bug. You can run automated tests on environments where testing capability is enabled and ready.&lt;/p&gt;    &lt;p&gt;&lt;strong&gt;What?&lt;/strong&gt;&lt;/p&gt;    &lt;p&gt;- To get the testing capability working, you need to install/configure the lab agent and test agent on each of the virtual machine(s) that are part of the environment. If you have VM templates stored in your library, install these agents on the templates.&lt;/p&gt;    &lt;p&gt;- You also need one (or more) test controller(s) setup and registered with the team project collection you are connected to. The test controller is outside the virtual environment. To understand where to setup the test controller, you can review the ‘Choose a deployment topology’ section &lt;a href="http://msdn.microsoft.com/en-us/library/dd236904(v=VS.100).aspx"&gt;here&lt;/a&gt;.&lt;/p&gt;    &lt;p&gt;&lt;strong&gt;How?&lt;/strong&gt;&lt;/p&gt;    &lt;p&gt;- Lab agent, test agent and test controller are part of the Visual Studio Agents 2010 package. You can download and install Visual Studio Agents &lt;a href="http://go.microsoft.com/fwlink/?LinkID=186898"&gt;here&lt;/a&gt;. You can find documentation on how to configure the agents &lt;a href="http://go.microsoft.com/fwlink/?LinkId=150114"&gt;here&lt;/a&gt;.&lt;/p&gt;    &lt;p&gt;- We recommend you use VM prep tool to automatically install the lab agent and test agent on the machines in the environment or on the templates from which the VMs are created. Review the usage and download VM prep tool from &lt;a href="http://go.microsoft.com/fwlink/?LinkId=182700"&gt;here&lt;/a&gt;.&lt;/p&gt;    &lt;p&gt;- Once you have your environment set up with testing capability, review the documentation to learn how to run &lt;a href="http://msdn.microsoft.com/en-us/library/ee702476(v=VS.100).aspx"&gt;manual tests&lt;/a&gt; and &lt;a href="http://msdn.microsoft.com/en-us/library/ee702478(v=VS.100).aspx"&gt;automated tests&lt;/a&gt; on the environment.&lt;/p&gt; &lt;/blockquote&gt;  &lt;h5&gt;2. Workflow capability&lt;/h5&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;strong&gt;Why?&lt;/strong&gt;&lt;/p&gt;    &lt;p&gt;In order to deploy your build and run automated tests on your virtual environment, you need to enable the workflow capability. In other words, you can run a build-deploy-test workflow on an environment where the workflow capability is ready.&lt;/p&gt;    &lt;p&gt;&lt;strong&gt;What?&lt;/strong&gt;&lt;/p&gt;    &lt;p&gt;- We use the build agent/build controller framework to run the deployment workflows on the environments. While it is the same build agent/controller used to create your daily builds, it is important to note that the same components have been re-used to deploy your builds on the environment. &lt;/p&gt;    &lt;p&gt;- To get the workflow capability working, you need to install/configure the lab agent and build agent on each of the virtual machine(s) that are part of the environment. If you have VM templates stored in your library, install these agents on the templates. &lt;/p&gt;    &lt;p&gt;Note: The build agent should be configured to run either as “NT Authority\System” (LocalSystem) or under an account with local administrator privileges. This is needed to run deployment workflows. &lt;/p&gt;    &lt;p&gt;- You also need one (or more) build controller(s) setup and registered with the team project collection you are connected to. The build controller is outside the virtual environment. To understand where to setup the build controller, you can review the ‘Choose a deployment topology’ section &lt;a href="http://msdn.microsoft.com/en-us/library/dd236904(v=VS.100).aspx"&gt;here&lt;/a&gt;.&lt;/p&gt;    &lt;p&gt;&lt;strong&gt;How?&lt;/strong&gt;&lt;/p&gt;    &lt;p&gt;- Build controller and build agent are part of Team Foundation Server installer available &lt;a href="http://go.microsoft.com/fwlink/?LinkID=186901"&gt;here&lt;/a&gt;. Lab agent is part of Visual Studio Agents package available &lt;a href="http://go.microsoft.com/fwlink/?LinkID=186898"&gt;here&lt;/a&gt;. You can find documentation on how to configure the agents &lt;a href="http://go.microsoft.com/fwlink/?LinkId=150114"&gt;here&lt;/a&gt;.&lt;/p&gt;    &lt;p&gt;- We recommend you use VM prep tool to automatically install the lab agent and build agent on the machines in the environment or on the templates from which the VMs are created. Review the usage and download VM prep tool from &lt;a href="http://go.microsoft.com/fwlink/?LinkId=182700"&gt;here&lt;/a&gt;.&lt;/p&gt;    &lt;p&gt;- Once you have your environment set up with workflow capability, review the documentation to learn how to &lt;a href="http://msdn.microsoft.com/en-us/library/ee471614(v=VS.100).aspx"&gt;deploy your build on the environment&lt;/a&gt; and &lt;a href="http://msdn.microsoft.com/en-us/library/ee702477(v=VS.100).aspx"&gt;run automated tests after deployment&lt;/a&gt;.&lt;/p&gt; &lt;/blockquote&gt;  &lt;h4&gt;Summary&lt;/h4&gt;  &lt;p&gt;By setting up the agent/controllers as described above, you should quickly be able to get the environments ready to run tests and deployment workflows. If you face any trouble with these capabilities, you can check out the troubleshooting guide &lt;a href="http://blogs.msdn.com/lab_management/pages/troubleshooting.aspx"&gt;here&lt;/a&gt;. If you have any comments or feedback, please let us know.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9999777" width="1" height="1"&gt;</description></item></channel></rss>