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
Export-VM on Host1
Import-vm on Host2
http://blogs.technet.com/b/uktechnet/archive/2014/08/20/migrating-2008-r2-hyper_2d00_v-vms-to-2012.aspx
You have the wrong answer. It’s asking you to CLONE it. Not just migrate it.
Answer is Host 1: New-ADDCCloneConfigFile and Host 2: Import
You need to create the config file before you export it.The steps overall would be Host 1: Create Config File, Host1: Export, Host 2: Import
http://blogs.technet.com/b/canitpro/archive/2013/06/12/step-by-step-domain-controller-cloning.aspx
Agreed: Export then Import.
For me the answers are: Export & Import
The question says “You configure Active Directory to support domain controller cloning for DC5, and then you shut down DC5.” Following http://blogs.technet.com/b/askpfeplat/archive/2012/10/01/virtual-domain-controller-cloning-in-windows-server-2012.aspx
“Copying the Source DC
The last step now is to export the source virtual machine. This can be accomplished via PowerShell or the Hyper-V management console.
First, turn off the source DC then export the VM.”
I think it has already performed the step of creating a New-ADDCCloneConfigFile.
Configuring Active Directory to support domain controller cloning for DC5 means putting it into the Clonable Active Directory DC group. You still need to create the XML. The link you provided even says that.
This gives a step by step on dc cloning:
http://blogs.technet.com/b/canitpro/archive/2013/06/12/step-by-step-domain-controller-cloning.aspx
There it’s stated that on the source (host1)we need to run the New-ADDCCloneConfigFile cmdlet.
And after the preparation, and shutting down the DC, we do an export, then on host2, we do an import.
So, resuming:
Host1 : New-ADDCCloneConfigFile, export
Host2 : Import
Unless we have more than one choice for Host1 (not stated in the answer), I’m really confused because we need to generate the DCCloneConfig.xml file.
Besides, we also need to add the source computer dc to the group of clonable domain controllers.
But the question says “You configure Active Directory to support domain controller cloning for DC5, and then you SHUT DOWN DC5.”
Like in the step by step guide described, you need first to create the ADDCCloneConfigFile and then shut down the VM.
In this scenario the VM is already in a shutdown state.
So I take it that the file already exists.
So for me the right answer is:
Host1: export
Host2: import
and if you run it in offline mode?
https://technet.microsoft.com/en-us/library/hh831734.aspx#BKMK_OfflineMode
It says “You configure Active Directory to support domain controller cloning for DC5”
We all agree that means putting the DC into the correct clonableDC AD group.
The question doesnt state the newcloneconfig file directly so I am going to assume it wasn’t run. And in the artical above, you can run it with the offline flag anyways so it doesnt matter if the VM is on or off.
There are three steps possibly needed:
Host1 : New-ADDCCloneConfigFile, export
Host2 : Import
But if the question only has the option of selecting 2 answers. and we know Export and Import need to be 2 of them. then the New-ADDCCloneConfigFile is not needed. BUT this being MS exam, export and import sound too easy!
Spanner: What about the fact you dont need to export in 2012 anymore…
I think its:
Host1 : New-ADDCCloneConfigFile
Host2 : Import
I think your right too. Its a trick question. In 2012 you should NEVER need to export a VM 🙂
@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
Yes you can do it without export, but in that case you still need to copy Vm to Host2
this question was on my exam , my answer was
Export-VM
Import-VM
This link: https://technet.microsoft.com/en-us/library/jj574223.aspx says “You run the cmdlet on the proposed source domain controller that you intend to clone.”
The question asks “What should you run on each Hyper-V Host”
Prepare the environment
Step 1: Validate that the hypervisor supports VM-Generation ID and therefore, cloning
Step 2: Verify the PDC emulator role is hosted by a domain controller that runs Windows Server 2012 and that it is online and reachable by the cloned domain controller during cloning.
Prepare the source domain controller
Step 3: Authorize the source domain controller for cloning
Step 4: Remove incompatible services or programs or add them to the CustomDCCloneAllowList.xml file.
Step 5: Create DCCloneConfig.xml
Step 6: Take the source domain controller offline
Create the cloned domain controller
Step 7: Copy or export the source VM and add the XML if not already copied
Step 8: Create a new virtual machine from the copy
Step 9: Start the new virtual machine to commence cloning
I’m going with:
Export-VM
Import-VM
I thinks the answer is
Host1 : New-ADDCCloneConfigFile
Host2 : Import
I found this regarding new-adcloneconfigfile
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; however, none of the pre-requisite checks is performed in this usage mode. This usage is intended to generate DCCloneConfig.xml files with specific configuration values for each clone on copies of the offline media.
The question states the DC is shut off. So running the command from the host will work and place the XML file in the offline vhdx.
So the answer I believe is
Host1 – new-adcloneconfigfile
Host2 – importvm
This one bothered me so I spent a lot of time looking into it.
http://blogs.technet.com/b/canitpro/archive/2013/06/12/step-by-step-domain-controller-cloning.aspx
New-ADDCCloneConfigFile is to run on DC , not hyper-v host.
Bullseye…@Douggie @Aussie @binary_1001010
I have extensively read the articles you have ALL posted and I think that the trick is “Run on each Hyper-V Host”. The “New-ADDCCloneConfigFile” command is a necessity BUT is run against the actual DC-to-be-cloned NOT its host. IMO that’s the trick in the question and I am going with:
Host1:Export
Host2:Import
source:
https://blogs.technet.microsoft.com/canitpro/2013/06/11/step-by-step-domain-controller-cloning/