How to: Join the SCVMM Server to another Domain
Occasionally, it might be necessary to change your Team Foundation Server from one active directory domain to another, or from a workgroup to a domain. For more information, see Move Team Foundation Server from One Environment to Another. As part of this task, you should move SCVMM and Lab Management to the new domain.
In order to move an SCVMM server to a domain, or change its domain, you must re-install SCVMM. Therefore, you have to save the virtual machines and templates, and then re-define the environments in the new installation. This topic describes this procedure in more detail.
Uninstall SCVMM
Remove the hosts and library servers from the SCVMM server.
Open the Virtual Machine Manager Administrator Console:
Choose Start, Microsoft System Center, Virtual Machine Manager, Virtual Machine Manager Administrator Console.
Delete the library servers.
Delete the host groups.
Delete all lab artifacts from Microsoft Test Manager Library Center:
In the Lab tab, delete the environments. In the Library tab, delete the virtual machines and the environments.
Because the hosts and library servers are no longer associated with SCVMM, removing these items from Microsoft Test Manager does not delete the actual virtual machines and VHDs.
Unconfigure SCVMM from Team Foundation Server.
Log on to the Team Foundation Server as tfsadmin.
Open Team Foundation Administrator Console.
In the Application Tier node, choose Lab Management, then choose Reconfigure Lab Management.
Delete the links between the library shares and the team project collection.
Uninstall SCVMM from the computer on which it was installed.
Join the computers to domain
Change the domain of the hosts and library servers.
Change the domain of the SCVMM server computer.
Re-install SCVMM and rebuild artifacts
Re-install SCVMM on its computer.
Add the hosts and library servers back to SCVMM.
For more information, see the SCVMM section in Configuring Lab Management for the First Time.
If any of the virtual machines has to be joined to the new domain, do so.
Network isolated environments have their own domain or workgroup. Therefore, their constituent machines do not have to be altered.
Configure the new SCVMM to couple it to your team project collection.
Set the new lab service account in Team Foundation Server.
For more information, see the SCVMM section in Configuring Lab Management for the First Time.
Using Lab Management, re-import the virtual machines and templates into the Library.
For more information, see How to: Import a Virtual Machine or a Template from SCVMM.
Compose virtual machines into environments in Microsoft Test Manager.
For more information, see Creating Stored Environments.