Saturday, December 26, 2015

Active Directory Replication step by step

1) Setup IP Configuration :

  • Pune -(Primary) -  192.168.193.30  Gateway 192.168.193.1 DNS - 127.0.0.1 (Self)
    already setup active directory (ibm.com)
  • Mumbai - (Secondary) - 192.168.193.144 Gateway 192.168.193.1 DNS - 192.168.193.30 (Pune DC IP Address)

2) Setup Registry on Primary DC (Pune):

 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\NTDS\Diagnostics -> Knowledge Consistency Checker = 3 (Hexadecimal) and restart

3) Create New Site (MUMBAI) on Primary DC (Pune):

4) Create New Subnet (mumbai - 192.168.193.0/24) on Primary DC (Pune):

5) NTDSUTIL on Primary DC (Pune):
  ntdsutil -> act inst ntds (Enter) you will get this msg: activate instance set to "ntds"
  ifm (Enter) : create sysvol full c:\database (enter) this process will export files to database folder --- share that database flder to everyone and copy all files to MUMBAI PC - C:\data folder

6) Data Copy on Mumbai DC :  and copy previous step shared database all files to C:\data folder

7) DCPROMO on Mumbai DC :   dcpromo  --> select advance mode installation -> NEXT 

     Select Existing Forest --> add new domain controller in Existing forest --> NEXT

     Type -  ibm.com   ...just below ... Click SET .....administrator & password --> NEXT

     Select - ibm.com (forest root domain)  --> NEXT

     Select a Site --> MUMBAI --> NEXT

     Additional domain controller option (keep as it is DNS & GC selected no RODC) ---> NEXT

    Some msg windows -- CLICK YES

   Select (2 option) --> Replicate data from media at the following location 
   and select location Browse  - -- C:\data (where we already copied data files) 

   Let wizard choose appropriate domian controller --> NEXT

   storage location c:\ ......   --> NEXT

   Enter password ... NEXT ...NEXT...after installation machine reboot automatically

   
8) On Primary DC (Pune): create users ...and setup IP site cost and repilcation inerval to 15 in active directory sites and services tool. and force manula replication if equired.
     

     
     

No comments:

Post a Comment