You network contains one Active Directory domain. The domain contains two Hyper-V Hosts
named Host1 and Host2 that run Windows Server 2012 R2. Host1 contains a virtual machine
named DC5. DC5 is a domain controller that run Windows Server 2012 R2.
You configure Active Directory to support domain controller cloning for DC5, and then you shut
down DC5.
You need to create a clone of DC5 on Host2
What should you run on each Hyper-V Host.? To answer Drag the appropriate commands or
cmdlets to the correct Hyper-V hosts. Each command or cmdlet may be used once, more than
once, or not at all. You may need to drag the split bar between panes or scroll to view content.
Command and cmdlets
Export-VM
Import-VM
Move-VM
New-ADDCCloneConfigFile
Answer Area
Host1: Command or cmdlet
Host2: Command or cmdlet
Answer: pending
https://technet.microsoft.com/en-us/library/jj574223.aspx#BKMK_VDCCloning
host1- new-ADDCCloneConfigFile, export-vm
host2- import-vm
DC5- new-ADDCloneConfigFile
Host1- Export
Host2- Import
Jeremy says:
August 26, 2015 at 10:24 am
Spanner: What about the fact you dont need to export in 2012 anymore…
I think its:
Host1 : New-ADDCCloneConfigFile
Host2 : Import
Reply
Gareth says:
September 4, 2015 at 12:57 pm
I think your right too. Its a trick question. In 2012 you should NEVER need to export a VM 🙂
Reply
Knight13 says:
August 27, 2015 at 6:53 pm
@Jeremy I’d say you are right, and are defy right about not needing to export anymore.
And as you can do offline mode (Which is probably what MS are testing the knowledge on) then answer likely to be:
Host1 : New-ADDCCloneConfigFile
Host2 : Import
Reply
How can you run a command on a shutdown DC???
I mean, New-ADDCCloneConfigFile is meant to be executed on DC5, which is shutdown.
We can’t import VM on Hyper-v host with a different processor model. First of all, we need export VM before import.
##########################
New-ADDCCloneConfigFile must run only Domain Controller not on Hyper-V host. https://technet.microsoft.com/en-us/library/jj158947(v=wps.630).aspx
It’s part of preparing DC to cloning. In our task DC has prepared to clonning and has powered off.
About DC clonning https://blogs.technet.microsoft.com/askpfeplat/2012/10/01/virtual-domain-controller-cloning-in-windows-server-2012/
##########################
My anwser is:
Host1: Export-VM
Host2: Import-VM
Host1- Export
Host2- Import
New-ADDCCloneConfigFile should running in DC5, not Host1/2.
Absolutely correct. It is not run on the host!
Given answer is correct. Look at this:
“This cmdlet can also be run from a client (with Remote Server Administration Tools) and used to generate a DCCloneConfig.xml against offline media of the domain controller being cloned;…”
https://technet.microsoft.com/en-us/library/jj158947(v=wps.630).aspx
Answer is
Host1 : New-ADDCCloneConfigFile
Host2 : Import
easy read: https://redmondmag.com/articles/2014/09/18/cloneable-domain-controller.aspx
Complex with video: http://blogs.interfacett.com/how-to-clone-a-windows-server-2012-or-2012-r2-domain-controller
host1- new-ADDCCloneConfigFile
host2- import-vm
Reply
http://blogs.technet.com/b/keithmayer/archive/2012/08/06/safely-cloning-an-active-directory-domain-controller-with-windows-server-2012-step-by-step-ws2012-hyperv-itpro-vmware.aspx
Maybe it´s New-DCCloneConfigFile with the -Offline switch.
Mount the vhdx an run the commandlet.
Example 8: Create a clone domain controller in offline mode in a specified site
This command creates a clone domain controller named CloneDC1 in offline mode, in a site called CONTOSO with a dynamic IPv4 address. This command also uses the -Force parameter to force overwrite of any previous DCCloneConfig.xml file created at the specified path, F:\Windows\NTDS.
Windows PowerShell
PS C:\> New-DCCloneConfigFile -Offline -CloneComputerName “CloneDC1” -SiteName CONTOSO -Path F:\Windows\NTDS -Force
https://technet.microsoft.com/en-us/library/jj158947%28v=wps.630%29.aspx
Take a look at this link “http://blogs.technet.com/b/canitpro/archive/2013/06/12/step-by-step-domain-controller-cloning.aspx”
The key is:
“You configure Active Directory to support domain controller cloning for DC5, and then you shutdown DC5.”
You already configured domian controller for cloning. The command New-ADDCCloneConfigFile was already run.
and
“What should you run on each Hyper-V Host?”
The command “New-ADDCCloneConfigFile” needs to be run on DC5, but it is offline.
So the question asks you what should you run on each Hyper-v host? So you only could run Export-VM and Import-VM on each Hyper-v host, which are the next steps for cloning DCs. Am i clear?
Answer is:
Host 1 = Export-VM
Host 2 = Import-VM
Have a good exam!
Cheers from Argentina
Enzo may be wrong. He says “The command New-ADDCCloneConfigFile was already run.” But that is not stated in the question. The question says that “you configure Active Directory to support domain controller cloning for DC5.” TechNet says that the “New-ADDCCloneConfigFile performs prerequisite checks for cloning a domain controller and generates a clone configuration file if all checks succeed. This cmdlet can also be run from a client (with Remote Server Administration Tools) and used to generate a DCCloneConfig.xml against offline media of the domain controller being cloned.” Enzo implies that configuring AD for cloning DC5 is the same thing as running the cmdlet New-ADDCCloningConfigFile modifies/creates AD. It does not. The question only says that you have only configured AD to support DC cloning for DC5 – NOT that you have already run the cmdlet. So I agree with MB75:
host1- new-ADDCCloneConfigFile
host2- import-vm