Part 5 – Windows2012 – Install Active Directory and DNS server – Poweshell Option Install of ActiveDirectory

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.

 

POWERSHELL Option:

You can execute all of the above by typing the following commands in powershell

Import-Module ADDSDeployment
Install-ADDSForest `
-CreateDnsDelegation:$false `
-DatabasePath “C:\Windows\NTDS” `
-DomainMode “Win2008” `
-DomainName “ActDir.lol” `
-DomainNetbiosName “ACTDIR” `
-ForestMode “Win2008” `
-InstallDns:$true `
-LogPath “C:\Windows\NTDS” `
-NoRebootOnCompletion:$false `
-SysvolPath “C:\Windows\SYSVOL” `
-Force:$true

 

Share Button

Leave a Reply

Your email address will not be published.

Time limit is exhausted. Please reload the CAPTCHA.