TopicActive Directory →
⌚ About 2 min read
This BAOI guide provides a structured method for checking active sites and services, without multiplying unnecessary changes.
Avant de commencer : adaptez toujours les commandes et manipulations à votre environnement. Sur un système de production, prévoyez une backup ou un retour arrière lorsque l’action peut modifier la configuration.
Étapes à suivre
-
1
Set perimeter
Identify the equipment, service, affected users and start time.
-
2
Collect Elements
Record the exact messages, logs and useful settings.
-
3
Test methodically
Start with the basic dependencies before the application components.
-
4
Apply correction
Change only the identified parameter or component.
-
5
Validate
Rewrite the full scenario and document the result.
Commands utiles
nltest /dsgetsite
nltest /dsgetdc:domain.local
À retenir
- Keep the initial values for a backwards.
- Avoid multiple simultaneous changes.
- Compare with a functional configuration when possible.
AD replication: global health, partner and topology
Technical checkpoints
- repadmin /replsummary gives a global view; repadmin /showrepl shows partner and last error per partition.
- Sites/Subnets determine site placement and influence replication partners/costs.
- DNS, time, RPC and secure channel can cause replication errors before AD itself is the root cause.
Replication view
Start with the summary then drill into only the failing DC/partition.
repadmin /replsummary
repadmin /showrepl * /errorsonly
dcdiag /test:replicationsTopic-specific pitfalls
- Forcing /syncall everywhere can multiply errors and does not fix a network/DNS root cause.
- A missing AD subnet can send clients to a remote DC without an obvious replication error.
How to validate
- All expected DCs replicate without recent errors and latency remains within the normal window.
- Client subnets map to the correct site and DC discovery reflects that topology.