Promoting a Domain Controller for Time-Based Replication in Seattle | Administering Windows Server Hybrid Core Infrastructure

Promoting a Domain Controller for Time-Based Replication in Seattle

Question

SIMULATION

-

You plan to promote a domain controller named DC3 in a site in Seattle.

You need to ensure that DC3 only replicates with DC1 and DC2 between 8 PM and 6 AM.

To complete this task, sign in the required computer or computers.

Explanations

To complete this task, you can follow the steps below:

  1. Log in to the DC3 domain controller using an account that has administrative privileges.

  2. Open the Active Directory Sites and Services console. To do this, click Start, type "Active Directory Sites and Services" in the search box, and then click the appropriate item in the search results.

  3. In the console tree, expand the Sites container, and then expand the site in which DC3 is located.

  4. Expand the Servers container, and then click DC3.

  5. Right-click DC3, and then click Properties.

  6. In the DC3 Properties dialog box, click the "Attribute Editor" tab.

  7. In the Attribute Editor tab, scroll down to the "replSchedule" attribute, and then click Edit.

  8. In the Edit Attribute dialog box, click Clear All.

  9. In the "Edit Binary" dialog box, enter the following hexadecimal value:

    1C 08 5C 01 00 00 00 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

    This value specifies the replication schedule for DC3. The value is in little-endian byte order, and represents a 24-hour period broken down into 15-minute intervals. The first byte (1C) corresponds to 12:00 AM to 12:15 AM, the second byte (08) corresponds to 12:15 AM to 12:30 AM, and so on.

    To configure DC3 to only replicate with DC1 and DC2 between 8 PM and 6 AM, set the corresponding bits in the replication schedule. The value above sets the following bits:

    • The fifth byte (5C) sets the bit for the 8:00 PM to 8:15 PM interval, and all intervals thereafter.
    • The sixteenth byte (03) sets the bit for the 6:00 AM to 6:15 AM interval, and all intervals before.

    To configure the replication schedule for a different time period, you can generate a new hexadecimal value using the Replmon.exe tool.

  10. Click OK to close the "Edit Binary" dialog box.

  11. Click OK to close the "Edit Attribute" dialog box.

  12. Click OK to close the DC3 Properties dialog box.

After completing these steps, DC3 will only replicate with DC1 and DC2 between 8 PM and 6 AM.