Export (0) Print
Expand All

Upgrading Lab Environments from Visual Studio 2010

Visual Studio 2012

If you upgrade from Team Foundation Server 2010 to Visual Studio Team Foundation Server 2012, and you are using Lab Management, you need to upgrade your lab environments with Visual Studio 2012 test agents. But first, you have to upgrade the test controllers in your lab environments to Visual Studio 2012 test controllers. For information about upgrading your test controllers, see Upgrading Test Controllers from Visual Studio 2010.

In Visual Studio 2010, the machines in lab environments can have lab agentsand test agents installed on them. In Visual Studio 2012, both agents are combined into one agent−the test agent. When you upgrade your lab environments, the Visual Studio 2010 agents in your lab environments will be replaced with Visual Studio 2012 test agents. In addition, the agents in the snapshots of your SCVMM environments will be replaced.

The following procedures will uninstall all the Visual Studio 2010 agents from your environments, and install the Visual Studio 2012 test agents in those environments. Both types of lab environments—standard and SCVMM—have different procedures. To complete these procedures, you must use Microsoft Test Manager for Visual Studio 2012, and your environments must be running on Visual Studio Team Foundation Server 2012. If you upgraded to Visual Studio 2012, but did not upgrade Microsoft Test Manager, you have to manually uninstall the Visual Studio 2010 agents from your environment, and then manually install Visual Studio 2012 test agents.

Caution note Caution

If you have Team Foundation Server 2010 on any of the machines in your environment, it will be uninstalled during these procedures.

Upgrading standard environments

  1. Open Microsoft Test Manager for Visual Studio 2012.

  2. Choose Lab Center and then choose the Controllers tab. Verify that the status of your test controllers is Online.

  3. Go to the Environments tab.

  4. If you want to change your test controller, open your environment, and then choose the Advanced tab.

  5. Select your test controller, and then choose Finish.

  6. Repair your environment. For information about how to repair your environment, see Repairing Lab Environments.

Upgrading SCVMM Environments

  1. Open Microsoft Test Manager for Visual Studio 2012.

  2. Choose Lab Center and then choose the Controllers tab. Verify that the status of your test controllers is Online.

  3. Go to the Environments tab.

  4. If you want to change your test controller, open your environment, and then choose the Advanced tab.

  5. Select your test controller, and then choose Finish.

  6. Restore your environment to the snapshot. For information about using snapshots, see Using Environment Snapshots with SCVMM Environments

  7. Repair your environment. For information about how to repair your environment, see Repairing Lab Environments.

  8. Take a new snapshot of the environment.

  9. Delete the original snapshot.

  10. Rename the new snapshot with the name of your original snapshot.

Show:
© 2014 Microsoft