Understand and Troubleshoot Virtualized Domain Controller in Windows Server "8" Beta
Total Page:16
File Type:pdf, Size:1020Kb
Understand and Troubleshoot Virtualized Domain Controller in Windows Server "8" Beta Microsoft Corporation Published: February 2012 Abstract This Understand and Troubleshoot Guide (UTG) enables you to learn technical concepts, functionality, and troubleshooting methods for Virtualized Domain Controller in Windows Server “8” Beta. This UTG provides you with: A technical overview and functional description of this feature. Technical concepts to help you successfully install, configure, and manage this feature. User Interface options and settings for configuration and management. Relevant architecture of this feature, with dependencies, and technical implementation. Primary troubleshooting tools and methods for this feature. Copyright information This document is provided “as-is”. Information and views expressed in this document, including URL and other Internet Web site references, may change without notice. Some examples depicted herein are provided for illustration only and are fictitious. No real association or connection is intended or should be inferred. This document does not provide you with any legal rights to any intellectual property in any Microsoft product. You may copy and use this document for your internal, reference purposes. © 2012 Microsoft. All rights reserved. Active Directory, Hyper-V, Microsoft, Visual Studio, Windows, Windows Server, and Windows Vista are trademarks of the Microsoft group of companies. All other trademarks are property of their respective owners. About the Author Author: Ned Pyle Bio: Ned Pyle is a Senior Support Escalation Engineer with Microsoft Commercial Technical Support in Charlotte, North Carolina, USA. He specializes in Directory Services troubleshooting and advisory services. He has authored and contributed to TechNet whitepapers and Knowledgebase articles. Ned also has credits in several Microsoft Press books. He teaches Microsoft employees new product architecture, is a Microsoft Certified Master instructor, and is a Microsoft Certified Trainer. He edits the official Microsoft Directory Services blog, AskDS. Contents Understand and Troubleshoot Guides .......................................................................................................... 1 About the Understand and Troubleshoot Guides ................................................................................................. 1 Introducing Virtualized Domain Controller ............................................................................................................... 2 What Is Virtualized Domain Controller? ........................................................................................................... 2 Purpose & Benefits............................................................................................................................................ 3 Technical Overview ................................................................................................................................................... 5 Prerequisites ......................................................................................................................................................... 5 Functional Descriptions ......................................................................................................................................... 5 Virtual Domain Controller Cloning .................................................................................................................... 5 Virtual Domain Controller Safe Restore ............................................................................................................ 6 Deploying Virtualized Domain Controller .................................................................................................................. 7 Installation Considerations .................................................................................................................................... 7 Platform Requirements ......................................................................................................................................... 7 Critical Caveats ...................................................................................................................................................... 8 Virtualized Domain Controller Cloning ...................................................................................................................... 9 1. Validate the Hypervisor ................................................................................................................................... 11 2. Create XML ...................................................................................................................................................... 11 Using a Blank DcCloneConfig.xml File ............................................................................................................. 11 Using Get-ADDCCloningExcludedApplicationList to Detect Compatibility Issues and Create CustomDCCloneAllowList.xml ......................................................................................................................... 11 XML Details and Behaviors .............................................................................................................................. 14 Using an XML Editor ........................................................................................................................................ 18 Adding XML to the Running Source DC ........................................................................................................... 29 3. Verify the PDCE FSMO role .............................................................................................................................. 32 Active Directory Users and Computers Method ............................................................................................. 32 Windows PowerShell Method......................................................................................................................... 32 Validate PDCE Availability ............................................................................................................................... 33 4. Authorize a Source DC ..................................................................................................................................... 34 Active Directory Administrative Center Method ............................................................................................ 34 Windows PowerShell Method......................................................................................................................... 34 Rebuilding Default Permissions ...................................................................................................................... 35 5. Remove Incompatible applications or services (if not using CustomDCCloneAllowList.xml) ......................... 36 6. Take the Source Domain Controller Offline .................................................................................................... 36 Graphical Method ........................................................................................................................................... 36 Windows PowerShell Method......................................................................................................................... 37 7. Copy Disks ....................................................................................................................................................... 38 Manually Copying Disks .................................................................................................................................. 39 Exporting the VM ............................................................................................................................................ 42 Adding XML to the Offline System Disk .......................................................................................................... 43 8. Create the New Virtual Machine ..................................................................................................................... 47 Associating a New VM with Copied Disks ....................................................................................................... 47 Import VM ....................................................................................................................................................... 48 9. Clone the New Virtual Machine ...................................................................................................................... 53 Virtualized Domain Controller Safe Restore ............................................................................................................ 55 Validate the Hypervisor ....................................................................................................................................... 55 Validate the Replication Topology ...................................................................................................................... 55 Writable Domain Controller Contact .............................................................................................................. 55 Simultaneous Restore ..................................................................................................................................... 56 Post-Snapshot Replication .............................................................................................................................