locked
Hyper-V role and Active Directory Service in same server? RRS feed

  • Question

  • Hi,

    Using Windows 2008 R2 + SP1.

    I would like to setup a lab for Sharepoint training. I need an Active Directory server. But what is the best place to install the "Active Directory Domain Services" ? On the host server or inside a VM?

    I think that installing AD on the host machine directly would leave more room for the VMs. But would there be any adverse consequences for having Hyper-V role and "Active Directory Domain Services" role running on the same server?

    Thanks in advance for any advice.

     

    EDIT: Found answer here:

    Active Directory and DNS on Hyper-V host
    http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/3eece08e-09f5-49e2-9403-b67a420af0d2/


    • Edited by TiPi Thursday, August 25, 2011 2:29 PM Found Answer
    Thursday, August 25, 2011 2:10 PM

Answers

  • Hi,

    If you are in a test environment, you can put the AD server either on Hyper-V host machine or in a virtual machine running on Hyper-V. However, as best practice, it is not recommend that you use the Hyper-V host machine as domain controller, especially in production environment. If you search in this forum, you will be able to find lots of posts discussed the similar issue.

    Best regards,
    Vincent Hu
    • Marked as answer by Vincent Hu Wednesday, September 7, 2011 8:38 AM
    Thursday, August 25, 2011 3:04 PM
  • Hello,

    need an Active Directory server. But what is the best place to install the "Active Directory Domain Services" ? On the host server or inside a VM?

    It is not recommended to run a DC on a VM for performance reasons. If in production environment you still want to run DCs on VMs, it is recommended to run at least one DC / DNS / GC on a physical machine and that this DC will be the FSMO holder.

    It is recommended to have at least two DC / DNS / GC servers per domain.

    As you are only creating a test environment, you can run DCs on VMs without problems.

    I think that installing AD on the host machine directly would leave more room for the VMs. But would there be any adverse consequences for having Hyper-V role and "Active Directory Domain Services" role running on the same server?

    For performance reasons, it will be better to run it on physical servers. That is all.

     

    Advice: If you are using multiple DCs, never use snapshots / images as they cause USN rollbacks when restoring.

     


    This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    Microsoft Student Partner 2010 / 2011
    Microsoft Certified Professional
    Microsoft Certified Systems Administrator: Security
    Microsoft Certified Systems Engineer: Security
    Microsoft Certified Technology Specialist: Windows Server 2008 Active Directory, Configuration
    Microsoft Certified Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration
    Microsoft Certified Technology Specialist: Windows Server 2008 Applications Infrastructure, Configuration
    Microsoft Certified Technology Specialist: Windows 7, Configuring
    Microsoft Certified IT Professional: Enterprise Administrator
    Microsoft Certified IT Professional: Server Administrator 

    • Marked as answer by Vincent Hu Wednesday, September 7, 2011 8:38 AM
    Thursday, August 25, 2011 3:37 PM

All replies

  • If it is TEST server and if you have enough memory (RAM), then I recommend place the DC on one VM. One reason is, that otherwise you have configuration with more network interfaces, which may be tricky. On VM you will have one network interface and you can make use of snapshots.
    Thursday, August 25, 2011 2:38 PM
  • Hi,

    If you are in a test environment, you can put the AD server either on Hyper-V host machine or in a virtual machine running on Hyper-V. However, as best practice, it is not recommend that you use the Hyper-V host machine as domain controller, especially in production environment. If you search in this forum, you will be able to find lots of posts discussed the similar issue.

    Best regards,
    Vincent Hu
    • Marked as answer by Vincent Hu Wednesday, September 7, 2011 8:38 AM
    Thursday, August 25, 2011 3:04 PM
  • Hello,

    need an Active Directory server. But what is the best place to install the "Active Directory Domain Services" ? On the host server or inside a VM?

    It is not recommended to run a DC on a VM for performance reasons. If in production environment you still want to run DCs on VMs, it is recommended to run at least one DC / DNS / GC on a physical machine and that this DC will be the FSMO holder.

    It is recommended to have at least two DC / DNS / GC servers per domain.

    As you are only creating a test environment, you can run DCs on VMs without problems.

    I think that installing AD on the host machine directly would leave more room for the VMs. But would there be any adverse consequences for having Hyper-V role and "Active Directory Domain Services" role running on the same server?

    For performance reasons, it will be better to run it on physical servers. That is all.

     

    Advice: If you are using multiple DCs, never use snapshots / images as they cause USN rollbacks when restoring.

     


    This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    Microsoft Student Partner 2010 / 2011
    Microsoft Certified Professional
    Microsoft Certified Systems Administrator: Security
    Microsoft Certified Systems Engineer: Security
    Microsoft Certified Technology Specialist: Windows Server 2008 Active Directory, Configuration
    Microsoft Certified Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration
    Microsoft Certified Technology Specialist: Windows Server 2008 Applications Infrastructure, Configuration
    Microsoft Certified Technology Specialist: Windows 7, Configuring
    Microsoft Certified IT Professional: Enterprise Administrator
    Microsoft Certified IT Professional: Server Administrator 

    • Marked as answer by Vincent Hu Wednesday, September 7, 2011 8:38 AM
    Thursday, August 25, 2011 3:37 PM
  • Thank you gentlemen for all your advices. I will follow your recommendation to install DC in a VM. It is a test server, for doing exercises on Sharepoint 2010. I think I can get away with only 1 DC.

    For the VM which will be the DC, would 1 GB of RAM be enough? (or may be less?), guest OS will be Windows 2008 R2.

    Thanks.

    Thursday, August 25, 2011 6:07 PM
  • Hi,

    Do you have any MS reference link on this recommendation?

    Regards,
    Dammz

    Tuesday, September 9, 2014 4:58 AM