What is Lab Service Account?

Note: Cross posted from aseemb’s blog. Permalink Overview Lab Service account is newly introduced in Visual Studio Lab Management 2010 RC release and is briefly discussed here and here. It greatly simplifies the account management of core components (test agent and build agent) used to run tests and deployment workflow. With lab service account, you…


Beta2 to RC Upgrade Checklist

Upgrading TFS and Lab Management from Beta2 to RC requires a few steps. After working with several customers, we saw that a checklist of all the tasks can be helpful. So we created a checklist of all the general tasks required, and also created a tool that will generate all the additional tasks required according…

2

Getting started with Lab Management – VS2010 RC (Part 4)

In the last post, we created the “system under test” and ensured that the TCM server has information on how to run these tests in a test environment. This post explains how to get the tests run automatically as part of a scheduled build / deploy / test workflow. Creating the deployment script The first…


Getting started with Lab Management – VS2010 RC (Part 3)

Configuring the “system under test” in VS The system under test for the purpose of this walkthrough is a simple calculator web service with its unit tests. Start by creating a new team project in VS. Connect to the TFS server and create a team project (Labwalkthru). The solution is attached to the blog post….


Getting started with Lab Management – VS2010 RC (Part 2)

Configure the TFS VM: In our setup, we will configure TFS server, the build controller, build agent to do the build process, test controller which will manage test execution and also as the dev box where we will write the code. This can be a VM in the same host if you can spare 2GB…


Getting started with Lab Management – VS2010 RC (Part 1)

We had a previous walkthro that shows lab management in action with VS2010 Beta2. This walk thru is an update of the same walkthru but using the RC bits. Between Beta2 and RC, the lab management product has had a lot of improvements, especially in the getting started path. This post is an attempt to…


Lab Management Walkthrough VHD

[UPDATE(7/1/10)] This VHD expires on 30th June 2010, click here for the updated version. Visual Studio Lab Management 2010 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…

1

Visual Studio Lab Management videos

UPDATE (27 Oct 2010): All videos are now updated with a narration, and uploaded as part of MSDN ‘How Do I’ video series for online viewing. The table below is updated with the new links. Based on popular demand, here are the videos of the different scenarios and concepts in lab management, to help you…


VM Prep Tool for Visual Studio Lab Management 2010 RC is now available

We are happy to announce the availability of an updated version of VM Prep Tool for Visual Studio Lab Management 2010 RC. You can download it from http://code.msdn.microsoft.com/vslabmgmt To enable testing, build-deploy-test workflow and network isolation capabilities on the Lab Environments, you need to install Visual Studio Test Agent, Visual Studio Lab Agent and Team…


Additional Upgrade Script for Fixing Build Agent Registration

We have found that in some cases the registration of an upgraded build agents fails, with the following error: Error occurred while configuring TFSBuildServiceHost with Lab configuration.ExceptionType: MicrosoftTeamFoundation.Build.ClientBuildServiceHostAlreadyExistsException.ExceptionMessage: A build service host already exists for computer VMNAME.CONTOSO.COM.Specify a different computer name and try again. This happens only for systems that were upgraded from Beta2 and…

2