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

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.
主站蜘蛛池模板: 丹东市| 绿春县| 怀安县| 安阳市| 萨迦县| 翁源县| 永城市| 靖宇县| 武安市| 囊谦县| 城固县| 九寨沟县| 乳山市| 河间市| 昌宁县| 石首市| 阿拉善右旗| 阳信县| 多伦县| 汉川市| 三原县| 垦利县| 大荔县| 正蓝旗| 福建省| 滨州市| 邻水| 彰武县| 商河县| 遂溪县| 浏阳市| 乡城县| 白城市| 任丘市| 平山县| 微博| 介休市| 康保县| 波密县| 格尔木市| 吉木乃县|