Tuesday, September 19, 2017

Step-By-Step: Setting Up Active Directory Sites, Subnets & Site-Links

Two topologies are found in a successful network, Physical Topology and Logical Topology. Physical Topology represents the structure of the network which includes network topologies, hardware placements, IP address allocations. Logical Topology represents the security boundaries of said network, network services etc. In  an Active Directory infrastructure setup, the Domain represents the logical topology while Sites and Subnets represent the physical topology.

Active_Directory_Sites_Subnets_001 
A site can simply be defined as a physical location or network. It can be separate building, separate city or even in separate country. This Step-By-Step will provide example of this by detailing steps on setup and configuration of sites and subnets. Two sites, Site A and Site B will be created then assigned to the relevant servers along with the subnets.
The environment to be created is as follows:
 
Server Name
Roles
Operating System
Site
Subnets
DC1.contoso.com
Primary Domain Controller
Windows server standard 2012 R2
Site A (HQ)
192.168.148.0/24
SRV1.contoso.com
Additional Domain Controller
Windows server standard 2012 R2
Site B (Branch Office)
10.10.10.0/24
In this demo, SRV1 server is located in Branch office which is located in different geographical location. It is connected to primary domain via 256kb link. It is currently setup under the default AD site.
Step 1: Creating a new site
  1. Navigate to Server Manager > Tools > Active Directory Sites and Services 
  2. In the Active Directory Sites and Service window, right-click Sites and select New Site
     
    Active_Directory_Sites_Subnets_002
     
  3. Enter SiteA in the Name: box
     
  4. Select the DEFAULTIPSITELINK and click OK 
     
    Active_Directory_Sites_Subnets_003
     
  5.  Click OK to complete the site creation
     
  6. Repeat steps 1 to 5 and create SiteB. Once completed, you should see the following:
     
    Active_Directory_Sites_Subnets_004 
     
Step 2: Creating Subnets
  1. In the Active Directory Sites and Services MMC, right-click Subnets and select New Subnet… 
     
    Active_Directory_Sites_Subnets_005
     
  2. In the New Object – subnet windowtype 192.168.148.0/24
     
  3. In the Select a site object for this prefix option select SiteA and click OK 
     
    Active_Directory_Sites_Subnets_006
     
  4. Repeat steps 1 to 3 and use prefex 10.10.10.0/24 assigned to SiteB
Step 3: Creating Site Links
  1. In the Active Directory Sites and Services MMC,  right-click Inter-Site Transports > IP and then click New Site Link 
     
    Active_Directory_Sites_Subnets_007
     
  2. In the New Object – subnet window, enter a desired name for the link, select both SiteA and SiteB, and click add
     
    Active_Directory_Sites_Subnets_008
     
  3. Click OK to continue 
     
  4. The link is then created link with the default values however it can be optimized. Right-click on the link and select properties 
     
    Active_Directory_Sites_Subnets_009
     
  5. In the SiteA-SiteB Dedicated Link Properties window, the cost defines the links assigned bandwidth. Further details in regards to cost can be found here 
     
    Active_Directory_Sites_Subnets_010
     
  6. Replication changes can also be defined between sites. To accomplish this, click on Change Schedule 
     
  7. Define a custom schedule and click OK 
     
    Active_Directory_Sites_Subnets_011
     
  8.  Click OK to apply the changes

Step 4: Moving the Domain controllers to the newly created sites
  1. In the Active Directory Sites and Services MMC, navigate to Default-First-Site-Name > Servers 
     
  2. Right-click on the Domain controller required to move and select Move… 
     
    Active_Directory_Sites_Subnets_012
     
  3. In the Move Server window, select SiteA which will be site the Domain Controller will be moving to and click OK 
     
    Active_Directory_Sites_Subnets_013
     
  4. Repeat steps 1 to 3 to move SRV1 to SiteB
     
    Active_Directory_Sites_Subnets_014 
     
This completes the configuration of sites, subnets and site links.

No comments:

Post a Comment