|
Cloning Virtual Domain Controllers in Windows Server 2012
|
|
24-07-2014, 07:38 AM,
|
|||
|
|||
|
Cloning Virtual Domain Controllers in Windows Server 2012
One of the obvious benefits of virtualization is that because a virtual machine (VM) exists entirely in software, with no unique physical pieces, you should be able to copy (orclone) a VM and experience no loss in integrity. Cloning is a significant benefit of virtualization; you can quickly create new VMs without going through a tedious creation process every time. But can you clone a VM running any type of application? The answer to that question—as with so many other questions in life—is, “It depends." This wishy-washy answer makes sense when you look at the contents of a VM in layers and see what is unique in those layers. AD Was a No-Clone Zone A VM's component virtual disks and configuration are certainly designed to be cloned, but what about the base OS? Yes, that can be cloned, too, as long as it's not uniquely coupled to any physical components (such as a passthrough disk) and you resolve other potential conflicts such as the system's name and static IP address, if it has one. A domain-joined VM presents another conflict, in that the machine's security identifier (SID) is the same as the original. There are a number of workarounds for this conflict—from the Sysprep process to the Sysinternals NewSID utility—that will generate a new SID for the cloned VM. There are also application-level dependencies. In Active Directory Domain Service's (AD DS’s) case, the major constraint against cloning a VM is tied to the fact that each domain controller (DC) is an integral part of a larger whole, a distributed system of DCs. Even though a DC can easily be replaced if it fails, it's essential to keep the whole distributed system informed of each DC's status. Most of the time, the DC whose state has changed (e.g., has been recovered from a backup) notifies its replication partners. Relying on such self-checking has its drawbacks, however, and over time safeguards have been added so that if a DC detects certain behaviors—such as attempting to replicate attributes for an object that's already been deleted—with a replication partner, it will reject all further updates. If you trick a virtualized DC in Windows Server 2008 R2 or earlier by performing virtualization operations to it that it’s not familiar with, bad things can happen. Judging from the high call volume to Microsoft Customer Service & Support (CSS), this kind of trickery is a common mistake. It's understandable, of course: If the technology lets you do it, it should be safe, right? As result of such mistakes, in the Windows Server 2012 product cycle, the Active Directory team set a high priority for making AD safe to virtualize: They introduced the VM-GenerationID (VM Gen ID) into the hypervisor and built relevant logic into the OS and AD. My July column “ Virtualization-Safe Active Directory in Windows Server 2012” goes into more detail about this solution.
deva, proud to be a member of VoIP Call Provider - Discussion Forums for the VoIP Call Provider since Feb 2014.
|
|||
|
« Next Oldest | Next Newest »
|
Search
Member List
Calendar
Help
