- The general settings for DFS Replication service are missing or deleted : If the settings for a specific domain controller are missing, moving from the Start state to the Prepared states will stop at the transition Preparing status. with domain controller. In this case, you can use the dfsrmig command with the / createGlobalObjects option to create the settings manually.
Note: Because of the general AD DS installation for the DFS Replication service for a read-only domain controller created on the PDC emulator, these settings need to be replicated to a read-only domain controller from the PDC emulator, before DFS Replication service on a read-only domain controller can use these settings. Due to the delay in the replication of the current directory, this copying process may take some time to complete.
/ deleteRoNtfrsMember []Delete the general AD DS setting to copy the FRS corresponding to the read-only domain controller, or delete the general AD DS setting to replicate FRS for all read-only domain controllers, if no value is specified for read_only_domain_controller_name.
You do not need to use this option during normal migration, because the DFS Replication service automatically deletes these AD DS settings while moving from the Redirected state to the Eliminated state. Because the read-only domain controller cannot delete these settings from AD DS, the PDC emulator does this, and the last changes are copied to the read-only domain controller after the waiting time applies. Copy current directory.
You use this option to manually remove the AD DS settings, only when automatically deleting on the read-only domain controller and delaying the read-only domain controller for a long time, when moving from the Redirected state. to Eliminated state.
/ deleteRoDfsrMember []Delete the global AD DS settings for DFS Replication that correspond to the read-only domain controller, or delete the general AD DS settings for DFS Replication, for all read-only domain controllers, if there is no specified value for read_only_domain_controller_name .
Use this option to manually remove AD DS settings, only if automatic deletion fails on the read-only domain controller and delay the read-only domain controller for a long time, when returning too The process moves from Prepared state to Start state.
/? Show help at the command prompt. Equivalent to running dfsrmig without any options.To set the general move state to prepare ( 1 ) and start moving to or back from Prepared status , enter:
dfsrmig /SetGlobalState 1
To set the general move state to start (0) and initiate the return to Start state, enter:
dfsrmig /SetGlobalState 0
To display general migration status, enter:
dfsrmig /GetGlobalState
This example shows a typical output from the dfsrmig / GetGlobalState command.
Current DFSR global state: Prepared Succeeded.
To display information about whether the general migration state on all domain controllers matches the general migration state and local migration state for any domain controller, the local state does not match the state. Any common, please enter:
dfsrmig /GetMigrationState
This example shows typical output from the dfsrmig / GetMigrationState command when the state moves locally on all domain controllers that match the general migration state:
All Domain Controllers have migrated successfully to Global state ( Prepared ). Migration has reached a consistent state on all Domain Controllers. Succeeded.
* The following domain controllers are not synchronized with Global (Prepared) status:
The writable DC move has not reached a consistent state on all domain controllers. Status information may be obsolete due to AD delay.
To create the common objects and settings that DFS Replication uses in AD DS on domain controllers where those settings are not created automatically during migration or are missing, enter:
dfsrmig /createGlobalObjects
To delete the general AD DS settings, to recreate the FRS for the read-only domain controller named contoso-dc2, if those settings are not deleted automatically by the migration process, enter:
dfsrmig /deleteRoNtfrsMember contoso-dc2
To delete the general AD DS settings to replicate FRS for all read-only domain controllers, if those settings are not deleted automatically by the migration process, enter:
dfsrmig /deleteRoNtfrsMember
To delete the general AD DS setting for DFS Replication for a read-only domain controller named contoso-dc2, if those settings are not deleted automatically by the migration process, enter:
dfsrmig /deleteRoDfsrMember contoso-dc2
To delete the global AD DS setting for DFS Replication for all read-only domain controllers, if those settings are not deleted automatically by the migration process, enter:
dfsrmig /deleteRoDfsrMember
See more: