官术网_书友最值得收藏!

Configuring domain controller cloning

From Windows Server 2012, the fastest way to deploy a new domain controller is to clone computers. Prior to Windows Server 2012, only domain members could be cloned. Cloning copies the virtual drive of VMs and changes some configuration parameters, such as the IP address and the computer name. Cloning provides some benefits, such as rapidly provisioning computers with the same configuration and provisioning test environments.

Successful domain controller cloning requires the following:

  • Hyper-V on Windows Server 2012 or later.
  • Virtualized domain controllers that need to be Windows Server 2012 or later.
  • A PDC emulator that runs on Windows Server 2012 or later. The PDC emulator must be online when the virtual domain controller clones start for the first time.

The domain-controller cloning process consist of several steps:

  1. Add the source domain controller to the Cloneable Domain Controllers group.
  2. Verify that the apps and services on the source domain support cloning and generate an XML file using the following PowerShell command:
Get-ADDCCloningExcludedApplicationList
Get-ADDCCloningExcludedApplicationList -GenerateXML
  1. Create the DCCloneConfig.xml file. When the cloning process recognizes it, a new domain controller will be created from the clone:
New-ADDCCloneConfigFile
  1. Shut down the source domain controller and export the virtual machine.
  2. Import a new virtual machine using the exported files.
  3. Name the new virtual machine and then copy the virtual machine (create a new unique ID).
  4. Start the cloned virtual machine.

Once you start the cloned domain controller, the clone checks whether the virtual machine identifier exists and reads the information stored in the previously created DCCloneConfig.xml file.

The DCCloneConfig.xml file can be created with default values or with customized values using the  New-ADDCCloneConfigFile PowerShell command. For more information, visit  https://docs.microsoft.com/en-us/powershell/module/addsadministration/new-addccloneconfigfile.
主站蜘蛛池模板: 温宿县| 安达市| 玉树县| 巴中市| 南川市| 麻栗坡县| 论坛| 普格县| 织金县| 新营市| 唐河县| 大新县| 宜良县| 民丰县| 始兴县| 兖州市| 阳山县| 徐闻县| 怀远县| 百色市| 沁水县| 额敏县| 湖州市| 铁岭市| 余江县| 巫溪县| 泰来县| 防城港市| 博白县| 施甸县| 保康县| 东山县| 兖州市| 黄梅县| 永年县| 汽车| 长武县| 太保市| 金阳县| 辉县市| 尚志市|