In this part we will set up Active Directory Services and DNS servers. Reasons as to why Active Directory will be installed:
1) Integrate the ESXi Server accounts with Active Directory for easier management of the ESXi environment.
2) DNS will be installed with Active Directory and for now it will handle all DNS requests from both Windows and Linux servers. Later on a Linux based DNS server will be deployed.
3) Active Directory will be needed for our Windows SQL failover cluster fail over.
INSTALLING AND DEPLOYING ACTIVE DIRECTORY SERVICES WITH WINDOWS 2012
1) We will install Windows 2012.
To install Windows 2012 we will deploy our OVF Windows template (see here).
Once the Core server has been installed you will have available the command prompt. Do the following steps to setup your network interface.
2) Install Active Directory Services: Select Add roles and features and select “Role Based Installation”
3) Select the Appropriate Server from the server List
4) Select Directory Serives and make sure DNS services is part of your installation as well.
5) Once the install is finished you will need to promote the server to a Domain Controller
6) Give a name to your Domain.
7) Select a functional level for your Domain. This will allow (or not) older Windows versions of Windows to be part of your Domain. In this case I have chosen to go back as Windows 2008
8) Specify the location of where the Database/Log/Sysvol will be stored. The default option for our case is a safe one.
9) View your setup and press Finish.
You can execute all of the above by typing the following commands in powershell
-DatabasePath “C:\Windows\NTDS” `
-DomainMode “Win2008” `
-DomainName “ActDir.lol” `
-DomainNetbiosName “ACTDIR” `
-ForestMode “Win2008” `
-LogPath “C:\Windows\NTDS” `
-SysvolPath “C:\Windows\SYSVOL” `