Larger Sites tips

This blog post will apply more to environments with multiple physical sites that have domain services deployed to them.

Active Directory uses Sites and Services to automatically build its replication topology. Getting sites and services right is imperitive to a working AD environment. Designing AD Sites and Services is outside of the scope of this blog as it’s very much environment specific. As a result I won’t go in to designing a sites topology. There are however a couple of small tweaks that can be made to potentially improve your environment. For this tip, we will use the following very basic diagram. We will assume that clients are using VLAN 10 on 10.x.10.x and Servers are using VLAN 5 on 10.x.5.x.

SimpleSitesDiagram

Change Notification Replication

The first tweak you can look to make is enable Change Notification Replication between sites. By default changes are only replicated as per the schedule configured on the site link. This could be as little as 15 minutes, by default it’s 180 minutes. Using the diagram above, if an account gets locked out in Site B, it will take a minimum of 15 minutes for that lock out to be seen in Site A. By enabling Change Notification Replication this can be within a minute. Configuring this is done via ADSIEdit.msc.

  1. Open ADSIEdit.msc.
  2. In ADSI Edit, expand the Configuration container.
  3. Expand Sites, navigate to the Inter-Site Transports container, and select CN=IP.
    Note: You cannot enable change notification for SMTP links.
  4. Right-click the site link object for the sites where you want to enable change notification, e.g CN=DEFAULTSITELINK, click Properties.
  5. In the Attribute Editor tab, double click on options.
    • If the Value(s) box shows <not set>, type 1
    • If the Value(s) box contains a value, you must  derive the new value by using a Boolean BITWISE-OR calculation on the old value, as follows: old_value BITWISE-OR 1. For example, if the value in the Value(s) box is 2, calculate 0010 OR 0001 to equal 0011. Type the integer value of the result in the Edit Attribute box; for this example, the value is 3.
  6. Click OK.

Before enabling this, you should make sure your connection is able to support this (i.e. the connection is always on and plenty of bandwidth)

https://blogs.technet.microsoft.com/qzaidi/2010/09/23/enable-change-notifications-between-sites-how-and-why/

Netmask Ordering

One of the things you will notice if you use PowerShell and the Resolve-DNSName cmdlet for your domain (run this several times), the top address returned will cycle (round robin) through all your domain controllers. This occurs because by default Windows DNS uses Class C subnets to mask ordering to determine the closest server. If you setup WSUS for roaming clients (multiple A records as per the best practice document) then you will notice that clients check in to WSUS Servers all over the place.

To configure the match to use a Class B subnet (as in above), we use DNSCmd, for class B you can use

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s