Share via


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 TFS to a new domain ( environment move). 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

  1. Remove the hosts and library servers from the SCVMM server.

    1. Open the Virtual Machine Manager Administrator Console:

      Choose Start, Microsoft System Center, Virtual Machine Manager, Virtual Machine Manager Administrator Console.

    2. Delete the library servers.

    3. Delete the host groups.

  2. 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.

  3. Unconfigure SCVMM from Team Foundation Server.

    1. Log on to the Team Foundation Server as tfsadmin.

    2. Open Team Foundation Administrator Console.

    3. In the Application Tier node, choose Lab Management, then choose Reconfigure Lab Management.

    4. Delete the links between the library shares and the team project collection.

  4. Uninstall SCVMM from the computer on which it was installed.

Join the computers to domain

  1. Change the domain of the hosts and library servers.

  2. Change the domain of the SCVMM server computer.

Re-install SCVMM and rebuild artifacts

  1. Re-install SCVMM on its computer.

  2. Add the hosts and library servers back to SCVMM.

    For more information, see the SCVMM section in Configure Lab Management for SCVMM environments.

  3. 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.

  4. 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 Configure Lab Management for SCVMM environments.

  5. Using Lab Management, re-import the virtual machines and templates into the Library.

    For more information, see How to: Import a Virtual Machine or Template from SCVMM.

  6. Compose virtual machines into environments in Microsoft Test Manager.

    For more information, see How to: Store an SCVMM Environment.