skip to content
Maathuran's Blog
Setting up Active Directry with failover

Setting up Active Directry with failover

/ 3 min read

Last Updated:

Introduction

With our setup of a Proxmox Cluster, Another tool I would like to learn is Active Directory. To start things off, I will be setting up Windows Server 2022 21H2 on Proxmox and linking it to the domain ata.al

Finalizing Windows Server installer

Setting Hostname

Open Server Manager and click on Local Server. WS1

Click on the Computer name. WS2

Under System Properties click on Change WS3

Set the computer name to AD01, then click on OK. WS4

OK again WS5

then Close WS6

Click Restart Later on the popup WS7

Setting Static IP

Under Ethernet, click on IPv4 address assigned by ... WS8

Right-click the Ethernet adaptor and Properties. WS9

Double click on Internet Protocol Version 4 WS10

And set your static values for IP address, Subnet Mask, Default gateway, and DNS servers WS11

Reboot the server after this setup.

Creating AD

Adding Server Role

Open Server Manager and click on Manage -> Add Roles and Features WS12

On the new windows, click on Next. WS13

Make sure Role-based or feature-based install is selected WS14

Select the AD01 server on the list and click on Next. WS15

On Server Roles select Active Directory Domain Services WS16

Also, select DNS Server. WS17

Click on Next WS18

On the Features tab, make sure Group Policy Management is selected WS19

Click Next on the DNS Server Page WS20

Also Click Next on the AD DS Page WS21

Click Install on the Confirmation Page WS22

Wait until the features are installed, then click on Close. WS23

Promoting to Domain Controller

On the top right corner, Click on the Flag and then Promote this server to a domain controller. WS24

Under Root domain name, you can put whatever domain you own or a .local one WS25

As this is a new AD, you can keep both Forest and Domain function level as the default. You will also need to make a DSRM password. This is used in case you need to restore the Directory Services WS26

Click on Next for DNS Options WS27

For Net Bios, I changed the name from ATA to ATAAL as it used the subdomain. Click on Next WS28

Keep the Paths the same WS29

On this page, you can validate the options that you choose by clicking on Next. WS30

This is the Final Check. It might take a minute to validate your selections WS31

After Valaladatin, click on Install WS32

This part might take a while to install, depending on how your hardware performs WS33

You will be forced to reboot to finalize the changes WS34

After the server is rebooted, login with your local admin account, which is now a domain account WS35

Updating DNS

Adding Google as another DNS Provider

Under Server Manager click on Tools then DNS. WS36

After the DNS Manager loads, right-click on AD01 and then Properties. WS37

After AD01 Properties loads, click on Forwards then Edit. WS38

Add 8.8.8.8 and 8.8.4.4 to the list, click on OK, then Apply. WS39