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

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.
主站蜘蛛池模板: 昂仁县| 无极县| 遂川县| 荥经县| 兴义市| 上栗县| 赣榆县| 富平县| 昌江| 从江县| 连云港市| 定西市| 安陆市| 保德县| 叶城县| 竹溪县| 阿勒泰市| 睢宁县| 青海省| 绍兴市| 柞水县| 南皮县| 桐柏县| 施秉县| 温泉县| 西贡区| 河西区| 辽宁省| 沾化县| 景洪市| 普安县| 青神县| 海阳市| 上饶县| 芜湖县| 慈溪市| 宿松县| 右玉县| 运城市| 西吉县| 大丰市|