Understanding and Managing Operations Master Roles

Understanding the Operations Master Roles

Active Directory operates in a multi-master replication manner. What this means is that each domain controller in the domain holds a readable, writable replica of the Active Directory data store. In multi-master replication, any domain controller is able to change objects within Active Directory. Multi-master replication is ideal for the majority of information located in Active Directory. However, certain Active Directory functions or operations are not managed in a multi-master manner because they cannot be shared without causing some data uniformity issues. These functions are called Flexible Single Master Operations (FSMOs).

There are five Operations Master (OM) roles which are automatically installed when you install the first domain controller. These five OMs are installed on the domain controller. Two of these OM roles apply to the entire Active Directory forest. The roles that apply to the forest are the Schema Master role and the Domain Naming Master role. The other three OM roles apply to each domain. The roles that apply to a domain are the Relative identifier (RID)/relative ID Master role, the Primary Domain Controller (PDC) Emulator role, and the Infrastructure Master role. When a domain controller is assigned a FSMO, that domain controller becomes a role master. The particular domain controller that is assigned these roles performs single-master replication within the Active Directory environment.

Because domain controllers generally contain the same Active Directory information, when one domain controller is unavailable, the remainder of the domain controllers are able to provide access to Active Directory objects. However, if the domain controller that is lost has one of these OM roles installed, you could find that no new objects can be added to the domain.

Forest-Wide Operations Master Roles

Each Forest-wide OM role can exist on only one domain controller in the entire forest. What this means is that these roles have to be unique in the entire forest. The two forest-wide OM roles are:

Domain-Wide Operations Master Roles

The three domain-wide OM roles have to unique in each domain within a forest. What this means is that there should be one of each of these roles in each domain. The three domain-wide OM roles are:

Planning the Placement of the FSMOs

A mentioned previously, all the OM roles are by default automatically assigned to the first domain controller created for the first domain in a new Active directory forest. Then, when you create either a root domain of a new tree in a forest, or a new child domain, the three domain specific OM roles are assigned to the first domain controller in that domain. In cases where a domain has only one domain controller, each domain specific OM role has to exist on that single domain controller. The two forest specific OM roles stay on the initial domain controller for the first domain created within the forest.

OM roles are usually transferred to other domain controllers when you need to perform maintenance activities, or load balance the existing load of the domain controllers, or simply move the particular OM role to a better equipped domain controller.

In instances where multiple domain controllers exist for a particular domain, consider the following recommendations when placing your Operations Master roles within the domain:

Managing Operations Master Roles

Since only one or a few domain controllers are assigned the Operations Master roles, it is important that these specific domain controllers remain functioning in the Active Directory environment. There are essentially two processes involved in the management of FSMOs. These management tasks are outlined below:

Transferring an Operations Master role, involves moving it from one server to a different server. To transfer the Schema Master role, you need to have Schema Admins rights, and to transfer the Domain Naming Master role, you need to have Enterprise Admin rights.

You can use an Active Directory console or a command-line utility to transfer OM roles. The Active Directory MMC consoles that can be utilized to transfer the different FSMOs are outlined below:

When you seize an OM role, you do it without the cooperation of the existing domain controller that is assigned with the particular OM role. When an OM role is seized, it is basically reassigned to a different domain controller. Before you attempt to seize any OM roles, first try to determine what the reason is for the failure of the existing domain controller which is assigned with the particular OM role. Certain network issues which are likely to be corrected in short time fames are well worth enduring through. Before you seize OM roles, first ensure that the domain controller you are planning to shift these roles to; is indeed powerful enough to uphold these roles. In summary, you should only really seize an OM role if the existing OM cannot be recovered again. You would need to use the Ntdsutil tool command-line tool to seize OM roles.

The Consequences of FSMOs Failing

The following section looks at what actually happens when each FSMO role fails:

How to view the existing Schema Master role assignment

  1. Open a command prompt, and enter regsvr32 schmmgmt.dll to register the schmmgmt.dll on the computer.
  2. Click Start, Run, and enter mmc in the Run dialog box. Click OK.
  3. From the File menu, select Add/Remove Snap-in and then select Add.
  4. In the list of available snap-ins, double-click Active Directory Schema.
  5. Click Close. Click OK.
  6. Open the Active Directory Schema snap-in.
  7. In the console tree, right-click Active Directory Schema and select Operations Masters from the shortcut menu.
  8. The Change Schema Master dialog box opens.
  9. You can view the name of the existing Schema Master in the Current Schema Master (Online) box.
  10. Click Close.

How to view the existing Domain Naming Master role assignment

  1. Open the Active Directory Domains And Trusts console from the Administrative Tools menu.
  2. In the console tree, right-click Active Directory Domains And Trusts and select Operations Masters from the shortcut menu.
  3. The Change Operations Master dialog box opens.
  4. You can view the name of the existing Domain Naming Master in the Domain Naming Operations Master box.
  5. Click Close.

How to view the existing RID Master role, PDC Emulator, and Infrastructure Master role assignments

  1. Open the Active Directory Users And Computers console from the Administrative Tools menu.
  2. In the console tree, right-click Active Directory Users And Computers and click All Tasks, and then Operations Masters from the shortcut menu.
  3. The Operations Masters dialog box contains the following tabs:
    • RID tab: The name of the existing RID Master is displayed in the Operations Master box of this tab.
    • PDC tab: In the Operations Master box of the PDC tab, you can view the name of the existing PDC Emulator.
    • Infrastructure tab: The existing Infrastructure Master's name is displayed in the Operations Master box.
  4. Click Close.

How to transfer the Schema Master role to another domain controller

Before you can transfer the Schema Master role to another domain controller, ensure that you have the required Schema Admins rights, and that both domain controllers you are planning to work with are available. Before you can use the Active Directory Schema MMC snap-in, you first have to add it to a MMC.

To add the Active Directory Schema snap-in to a MMC,

  1. Open a command prompt, and enter regsvr32 schmmgmt.dll to register the schmmgmt.dll on the computer.
  2. Click Start, Run, and enter mmc in the Run dialog box. Click OK.
  3. From the File menu, select Add/Remove Snap-in and then select Add.
  4. In the list of available snap-ins, double-click Active Directory Schema.
  5. Click Close. Click OK

To transfer the Schema Master role,

  1. Open the Active Directory Schema snap-in.
  2. Right-click Active Directory Schema in the console tree, and select Change Domain Controller from the shortcut menu.
  3. The options available when the Change Domain Controller dialog box opens are
    • Any DC: If this option is selected, Active Directory will select a new domain controller for the Schema Master role.
    • Specify Name: If this option is enabled, you have to enter the name of the new location for the Schema Master Role.
  4. Click OK
  5. Right-click Active Directory Schema in the console tree again, and choose Operations Master from the shortcut menu.
  6. When the Change Schema Master dialog box opens, click Change.
  7. Click OK when a message appears prompting for verification of the OM role transfer you want to perform.
  8. Click OK to exit the Change Schema Master dialog box.

How to transfer the Domain Naming Master role to another domain controller

You have to be a member of the Enterprise Admin group to transfer the Domain Naming Master role to another domain controller.

  1. Open the Active Directory Domains And Trusts console from the Administrative Tools menu.
  2. In the console tree, right-click Active Directory Domains And Trusts and select Connect To Domain Controller from the shortcut menu.
  3. The Connect To Domain Controller dialog box opens. This is where you specify the name of the new domain controller that should be assigned the Domain Naming Master role.
  4. Click OK
  5. In the console tree, right-click Active Directory Domains And Trusts and select Operations Masters from the shortcut menu.
  6. When the Change Operations Master dialog box opens, click Change
  7. Click Close

How to transfer the RID Master role, PDC Emulator role, or Infrastructure Master role to another domain controller

  1. Open the Active Directory Users And Computers console from the Administrative Tools menu.
  2. In the console tree, right-click Active Directory Users And Computers and click Connect To Domain from the shortcut menu.
  3. When the Connect To Domain dialog box opens, enter the domain name that you want to work with.
  4. Click OK
  5. In the console tree, right-click Active Directory Users And Computers and click Connect To Domain Controller from the shortcut menu.
  6. When the Connect To Domain Controller dialog box opens, specify the new domain controller for the OM role that you are transferring.
  7. Click OK
  8. In the console tree, right-click Active Directory Users And Computers and click All Tasks, and then click Operations Masters from the shortcut menu.
  9. The Operations Masters dialog box opens. On one of the following tabs,
    • RID tab: Click Change to change the location of the RID Master
    • PDC tab: Click Change to change the location of the PDC Emulator
    • Infrastructure tab: Click Change to change the location of the Infrastructure Master.
  10. Click Yes to verify that you want to transfer the particular OM role to a different domain controller.
  11. Click OK. Click Close.

How to seize an Operations Master role

When you seize an OM role, you need to perform the following tasks:

However, if you need to seize the PDC Emulator or Infrastructure FSMOs, you can use the Active Directory Users and Computers console. The Ntdsutil tool has to though be used to seize the other FSMOs – Schema Master role, Domain Naming Master role, and RID Master role. You can however also use the Ntdsutil tool to seize the PDC Emulator role or Infrastructure Master role.

To seize the PDC Emulator or Infrastructure FSMOs using the Active Directory Users and Computers console,

  1. Open the Active Directory Users and Computers console
  2. In the console tree, right-click the domain object, and choose Connect to Domain Controller from the shortcut menu.
  3. Enter the name of the other domain controller. Click OK
  4. To perform the seizure of the role, right-click the domain object and choose Operations Masters from the shortcut menu.
  5. Click either the PDC tab, or the Infrastructure tab
  6. You will notice that the particular OM role is indicated as being offline.
  7. Click Change.
  8. Click OK to verify that you want to transfer the OM role.
  9. Click Yes when prompted to verify that you want to perform a forced transfer.

To seize any OM roles using the Ntdsutil tool,

  1. Click Start, Command Prompt.
  2. Enter the following at the command prompt: ntdsutil. Press Enter
  3. Enter the following at the ntdsutil prompt: roles. Press Enter
  4. Enter the following at the fsmo maintenance prompt: connections. Press Enter
  5. Enter the following at the server connections prompt: connect to server, and the fully qualified domain name (FQDN). Press Enter
  6. Enter the following at the server connections prompt: quit. Press Enter.
  7. Enter one of the following at the fsmo maintenance prompt:
    • seize schema master. Press Enter
    • seize domain naming master. Press Enter
    • seize RID master. Press Enter
    • seize PDC. Press Enter
    • seize infrastructure master. Press Enter
  8. Enter quit at the fsmo maintenance prompt. Press Enter
  9. Enter quit at the ntdsutil prompt.

How to perform a metadata cleanup

The class objects and attribute objects of the schema are referred to as metadata. A metadata cleanup is usually performed when you are unable to restore a failed domain controller. The cleanup removes any references to the failed domain controller in Active Directory.

To perform the metadata cleanup,

  1. From the command prompt, enter ntdsutil and press Enter.
  2. Enter the following at the ntdsutil prompt: metadata cleanup. Press Enter
  3. Enter the following at the metadata cleanup prompt: connections. Press Enter
  4. Enter the following at the server connections prompt: connect to server, followed by the server name. Press Enter
  5. Enter quit, and press Enter
  6. Enter the following at the metadata cleanup prompt: select operation target. Press Enter
  7. Enter list domains. Press Enter
  8. Enter select domain, followed by the number of the domain that holds the server that you want to remove. Press Enter
  9. Enter list sites. Press Enter
  10. Enter select site, followed by the number of the site that holds the server that you want to remove. Press Enter
  11. Enter list servers in site. Press Enter
  12. Enter select server, followed by the number of the server that you want to remove. Press Enter.
  13. Enter quit and press Enter to return to the metadata cleanup prompt.
  14. Enter remove selected server, and press Enter.
  15. When a message box appears prompting you to verify whether the server should be removed, click Yes
  16. Quit from Ntdsutil.


Top 5 Free Networking Tools

Bookmark Understanding and Managing Operations Master Roles

Latest Blog Posts


English English GermanGerman SpanishSpanish FrenchFrench ItalianItalian PortuguesePortuguese RussianRussian DutchDutch
GreekGreek HindiHindi JapaneseJapanese KoreanKorean ChineseChinese Chinese (Simplified)Chinese (Simplified) ArabicArabic

Copyright 2009 Tech-FAQ. All rights reserved. Privacy Policy.