Use this Knowledge Script to monitor the placement of a Flexible Single Master Operations (FSMO) role.
Active Directory follows Microsoft Best Practices for the placement of FSMO roles:
The FSMO role of the infrastructure master must not host a global catalog unless all domain controllers in the domain of the Infrastructure Master are hosting global catalogs.
The Domain-Naming Master must host a global catalog.
This script raises an event if the placement of the FSMO role violates either rule.
Active Directory domain
The default interval for this script is Every 4 hours.
Set the following parameters as needed:
Parameter |
How to Set It |
---|---|
General Settings |
|
Raise event if job fails |
|
Event severity when job fails |
Set the severity level, from 1 to 40, to indicate the importance of an event in which the FSMOPlacement job fails. The default is 35. |
Monitor FSMO role placement |
|
Enable job delegation? |
Select Yes to enable the delegation of the job to another server where appropriate. If enabled, runs the job on the selected computer that holds the server role that you selected for the Delegate domain-wide monitoring to the... parameter. The default is unselected. For more information, see Section 3.1, AD Knowledge Script Job Delegation. |
Delegate domain-wide monitoring to the |
Select the server role to which the job should be delegated: Primary Domain Controller (PDC), Infrastructure Master, or RID Master. The default is PDC. |
Raise event when DC assumes this role? |
If you enabled job delegation, set to Yes to raise events if the DC assumes the server role you selected for the Delegate domain-wide monitoring to the... parameter. The event indicates that the monitored computer has assumed the selected role. The default is Yes. |
Event severity when DC assumes this role |
Set the severity level, from 1 to 40, to indicate the importance of an event in which the DC assumes the role you selected for the Delegate domain-wide monitoring to the... parameter. The default is 30. |
Raise event when DC relinquishes this role? |
If you enabled job delegation, set to Yes to raise events if the DC gives up the server role you selected for the Delegate domain-wide monitoring to the... parameter. The event indicates that the monitored computer has relinquished the selected role. The default is Yes. |
Event severity when DC relinquishes this role |
Set the severity level, from 1 to 40, to indicate the importance of an event in which the DC relinquishes the role you selected for the Delegate domain-wide monitoring to the... parameter. The default is 30. |
Event Notification |
|
Raise event if role placement invalid? |
Select Yes to raise an event if the FSMO role placement is invalid. The default is Yes. |
Event severity when role placement invalid |
Set the severity level, from 1 to 40, to indicate the importance of an event in which the FSMO role placement is invalid. The default is 10. |
Data Collection |
|
Collect data for role placement status (valid or invalid)? |
Select Yes to collect data for charts and reports. If enabled, data collection returns:
The default is unselected. |