Replmon 정복하기

? ??? ??? ??? ??? ??? ???? ??? ????. ????? ??? ????.

https://blogs.technet.com/askds/archive/2009/07/01/getting-over-replmon.aspx

??(Ned)???. AD ?? ??? ????(Replmon.exe)? ??? DC ??? ??? ???? ?? GUI ?????? ??? ??? Windows Server 2000 ?? ?????. Window Server 2008?? Replmon? ???? ??? ???? ????? ??? ?? ??????. ???? ?? ??? ?????. "Windows Server 2008? Replmon? ??? ???? ? ????" ????. ?? ????. ? ?? ??? ???. ????. ??? ?????. ?? ????, ??? Windows Server 2003 ???? ???? ???. ??? ??? ???, Repadmin.exe? ???? ?? ?? ????? ???.

??

Replmon? AD ??? ? ??? ???(dssites.msc)?? ? ??? ??? ?? ??????. DS ???? ????? ???? ??? ????, ?????? ??? ??? ??? ???? ?? ??? ???? ???.

???, Replmon? ? ?? ??? ???? AD ???? ??? ?? ? ?? ?? ??? ?????. ?? Windows ?? ??? ?? ???????? ??????? ????? ?? ?????. ?? ?? ?????, ??? ???? ?? "??"?? ?????.

Replmon? ???? ??? ??? ? ? ??? ??, ???? ??? ?? ???? ?? ? ??, ????? ?? ??? ? ?? ????.

Replmon? ??? ???????? ????? ??? ???????. Active Directory? 10??? ??????, ???? ??? ??? ???? GUI? ? ????. ???? NT? ???? AD? ??? ??? ????? GUI? Active Directory? ?? ???? ? ???? ?? ??? ?? ?? ??? ?????.

??? ?????.

??? AD? Windows?? ??? ?? ??? ?? ?? ????. Windows ???? ???? ?? ??? ????. ??? ????. ???? repadmin.exe ? ?? Replmon?? ??? ?? ???? ????. ?? ?? ???????? ?? ??????.

Repadmin Syncall ? ????

Replmon? ?? ???? ??? ??? DC??? ??? ??? AD ??? "????(push)" ?? ????? ??? ???? ????. "????(push)"? ??? ??? AD ??? ?? ????(pull)???? ???, ????(push) ?? ?? ?? ?????. Replmon? ??? ?? ?? ??? DC? ???? ? ??? ?? ??? ????? ???? ????. ??? ??? ?? ???.

           1. Replmon? ?????.

           2. DC(?? ????? DC)? ?????.

           3. DC?? ??? ??? ??? ??? ??? ????? ?? Synchronize? ?????.

           4. ????(pull) ?? ????(push), cross AD sites(?? ??), transitivity(?? ??)? ?????.

 

????? ???? ???? ???. ?? ? ? ?? ??? ??, ??? ??? ??? ???? ?? ? ?? ??. ?? ????? ?? ???? ?????.

??? ??? ?? ?? ? ? ????.

?? ??? ??? ??? ?????, ?? ??? ????. ?? ??, ??? ???? ??? ???? DC ? ??? ????? ?? ???? ???? ??? ?????.

 

 

?? ???? Repadmin.exe ??? ?????, ?? ???? ???? ??? ?????.

           1. ??? ?? ?????.

           Repadmin /syncall DC_name /APed

           2. 2? ??? ???. ?? ????. :-)

repadmin? /syncall /A(ll partitions) P(ush) e(nterprise, cross sites) d(istinguished names) ????? ?? ?????, Replmon? ?? ?? ??? ?? ?? ???. ?? ??? ???, ????? ??? ?? ???. ??? ??? ??? ?????? ?? ??? ? ? ?? ??? ????. ?? ? DC?? ?? ?????, ?? ?? ???? ???? ?????.

 

??? ? ??? DC? ????? ??? ???? ??? ??? ????? ? ??? ??? ????? ??? synchronize ???? ????, ??? ??? ?? ????(push)? ????.

           Repadmin /syncall /Pe dc_name naming_context

Repadmin? ?? ?? ? ??? ??? ?? ? ????.

 

 

?? ??????? ???? ? ?? ??? ?????.

?? ??

Replmon? ?? ???? ?????? ???? ??? ????. ?? ?? ??? ?? ?? ??? ????? ??????, ?? ??? ???? ?? ?????. ??? ? ????, ???? ? ??? ???? ???? ????. Repadmin.exe? ??? ??? ??? ??? ??? ?????. ?? ??, ??? ?? ?? ???? ?? ? ????.

           Repadmin /replsummary *

???? DC? ???????. Repadmin? 58?? ??? ??? ????? ?? DC? ???? ??? ??? ? ? ??? ?????.

?? Repadmin?? ??? ???? ???? ?? DC? ???? ????? ?? ????? ? ? ????.

           Repadmin /showrepl *

??? ?? ??? ?? ????? 'repadmin ?? ???'? ??? ???, ??? ??? ????? ????.

@echo off

echo.

echo Gathering Report for DCLIST = %1

echo.

Echo Report for DCLIST = %1 > replreport.txt

echo. >> replreport.txt

echo. >> replreport.txt

echo Gathering Verbose Replication and Connections

echo Verbose Replication and Connections >> replreport.txt echo. >> replreport.txt

repadmin /showrepl %1 /all >> replreport.txt

echo. >> replreport.txt

echo Gathering Bridgeheads

echo Bridgeheads >> replreport.txt

echo. >> replreport.txt

repadmin /bridgeheads %1 /verbose >> replreport.txt

echo. >> replreport.txt

echo Gathering ISTG

echo ISTG >> replreport.txt

echo. >> replreport.txt

repadmin /istg %1 >> replreport.txt

echo. >> replreport.txt

echo Gathering DRS Calls

echo Outbound DRS Calls >> replreport.txt

echo. >> replreport.txt

repadmin /showoutcalls %1 >> replreport.txt

echo. >> replreport.txt

echo Gathering Queue

echo Queue >> replreport.txt

echo. >> replreport.txt

repadmin /queue %1 >> replreport.txt

echo. >> replreport.txt

echo Gathering KCC Failures

echo KCC Failures >> replreport.txt

echo. >> replreport.txt

repadmin /failcache %1 >> replreport.txt

echo. >> replreport.txt

echo Gathering Trusts

echo Trusts >> replreport.txt

echo. >> replreport.txt

repadmin /showtrust %1 >> replreport.txt

echo. >> replreport.txt

echo Gathering Replication Flags

echo Replication Flags >> replreport.txt

echo. >> replreport.txt

repadmin /bind %1 >> replreport.txt

echo. >> replreport.txt

echo Done.

???? ???? ????? ? ??, CMD ??? ???? ????, ?????? ???? ??, ?? *? ?? ?????. ?? Repadmin?? ?????.

??? ??? ??? ???? ??? ???, ??? ?? Replmon? ?????.

           Replreport.cmd server1

?? ?? DC (Replmon? ??? ? ?? DC) ?? ???? ?????,

           Replreport.cmd *

?? ????? "SANFRAN"?? ???? ?? ??? ???? ?? ????,

           Replreport.cmd sanfran*

replreport.txt?? ??? ?????? ???? ????. Repadmin? ? ? ????, ? ?????? ? ? ????.

?, ?, ? ?? ? ? ?? ??

??? ??, Repadmin ? ??? ????? ? ? ????.

DC ? ??? ??? ??? ?? ???, ?? ???? DSASignature ???? ????.

           Repadmin /showbackup *

?? ?? DC? ?? ?? ??? ?? ???? CSV ??? ???? ??????? ???????? ? ? ????. ???? ? DC? ?? ????? ?? ???? ??? ?????. ????? ?? ???? ????.

           Repadmin /showrepl * /csv

 

?? ??? ??, ?? ?? ???(backlog)? ?? ?? ??? ? ? ????.

           Repadmin /queue *

?? ?? ????? ????? ???? ?????? ???, ?? ????? ????? ???? ???? ??? ??????, /showchanges ? ?? ? ? ????.

           repadmin /showchanges destination_DC source_DSA_GUID domain_DN

           (69) add CN=Ned Pyle,CN=Users,DC=adatum,DC=com

           1> parentGUID: a90a9633-2682-4896-be86-21220cf24f0c

           1> objectGUID: e8f0e0a2-69aa-4e4e-9f74-3db79ad6f3b7

           4> objectClass: top; person; organizationalPerson; user

           1> sn: Pyle

           1> givenName: Ned

           1> instanceType: 0x4 = ( WRITE )

           1> whenCreated: 6/21/2009 9:05:32 AM Pacific Daylight Time

           1> displayName: Ned Pyle

           1> nTSecurityDescriptor: O:DAG:DAD:AI

           1> name: Ned Pyle

           1> userAccountControl: 0x10200 = ( NORMAL_ACCOUNT | DONT_EXPIRE_PASSWD )

           1> codePage: 0

           1> countryCode: 0

           1> pwdLastSet: 6/21/2009 9:05:32 AM Pacific Daylight Time

           1> primaryGroupID: 513 = ( GROUP_RID_USERS )

           1> objectSid: S-1-5-21-3776065869-1984782319-1196103478-1107

           1> accountExpires: (never)

           1> sAMAccountName: nedpyle

           1> sAMAccountType: 805306368 = ( NORMAL_USER_ACCOUNT )

           1> userPrincipalName: nedpyle@adatum.com

           1> objectCategory: <GUID=4ed8da23575bed48b12cd36061257c14>;CN=Person,CN=Schema,CN=Configuration,DC=adatum,DC=com

          

???? ???? ????? ????, DC? ?????? ?? ?? ??????. ???? ????? ?? ? ??? ?????. ???? DC? ???? ???? ? ? ?? ??? ????? ??? ??? ??? ? ?? ?? ??? ????.

?? Repadmin ???

Repadmin? ????, ??, ??? ????? ?? ??? ? ?? ?? ???? ????.

??? Replmon? ? ? ?? ??? ??? ????.

l ?? ????? ?? ??

l ???? DC(RODC)?? ???? ??? ????? ???? ?? ?? ? ??

l ?? ????? ???, ????, ??? ????

l ??? ????(lingering objects) ????

l ??? ???? ??? ????

l ?? ????? ? ????

l ???? ?? ? ?? ???? ????

l ?? ???...

?? ???? ?? ????

Basic help - Repadmin /?

??? DC? ?? ???? Repadmin /listhelp

?? ??? ???? - Repadmin /experthelp

?? ????? ?? ???? ??? - Repadmin /?:Your specific parameter here

??

Repadmin ? Replmon?? Dssites.msc ? ?? ???, ? ? ?????? ????? ?? ?????. AD ???? ID ??, ??, ??, ??? ?? ??? ?? ???? ?? ?? ??? ??? ???. ???? ???? ????, AD? ?? ??? ??? ??? ? ??? ??????.

2009? 6? 2? ???? : ???? ??? Repadmin? ???? ??? ??? ? ?? ??? ??? ????????. ?? ??? ?????.

https://www.microsoft.com/downloads/details.aspx?familyid=c6054092-ee1e-4b57-b175-5aabde591c5f&displaylang=en

(Mike!, ????)