Ku Qasab Ku-noqoshada Labada Maamule Domain-ka ee Hagaha Firfircoon

Bal qiyaas(Imagine) in aad leedahay hal albaab oo keliya oo gurigaaga ah. Ma jiro daaqado, ma jiro albaab barxad ah, kaliya hal albaab. Maxaa dhacaya haddii aadan furi karin albaabkaas? Guriga iyo wax kasta oo ku dhex jiraba, waxba kuma taraan.

Xakamaynta domainku waa sida albaabka, dareen ahaan. Mid ka soo booday. Waa albaabka laga galo gudaha waxyaabaha aad rabto. Hagaha(Directory) firfircoon (AD) waa soobadaha albaabka. Waxay hubinaysaa aqoonsigaaga, waxay go'aaminaysaa haddii laguu oggol yahay inaad ka soo gudubto albaabka, iyo agabka aad geli karto markaad gudaha gasho. 

Haddii aad waddo shabakad nooc kasta ah oo aad leedahay hal maamule oo keliya, waxaad ku nooshahay guri hal albaab leh. Haddii ay wax ku dhacaan maamulaha domain-kaas, nidaamkaaga server-yada oo dhan ayaa kala baxaya. Had iyo jeer hay wax ka badan hal domain controller (DC).

Laakiin sidee ayaad u hubinaysaa in labada maamulayaasha domain ay leeyihiin xog isku mid ah? Aynu nidhaahno waxaad samaysay isbeddel la xidhiidha amniga hal DC. Waxaad doonaysaa inaad hubiso in isbeddelku ku soo noqnoqonayo DC-yada kale isla(DCs) markaaba. Maxaad u sugaysaa 15 daqiiqo ama ka badan si ay ugu dhacdo jadwalka? Waxaad u baahan tahay inaad ku qasabto ku-celinta kontaroolayaasha bogga ee Hagaha Firfircoon(Active Directory)

Waxaa jira 3 siyaabood oo tan loo wajaho; iyada oo loo marayo interface interface user ( GUI ), iyada oo loo marayo interface-line interface ( CLI ), ama iyada oo loo marayo PowerShell .

Ku qasbi Ku-noqoshada Maamulaha Domain-ka iyada oo loo marayo GUI(Force Replication Of Domain Controller Through GUI)

Adeegayaasha Windows ayaa aad u isticmaala GUI(GUIs) -yada , taas oo u fiican Maamulayaasha Nidaamyada(Systems Administrators) cusub . Way fududahay in la barto oo mararka qaarkood waxay kaa caawinaysaa inaad sawirto waxa run ahaantii dhacaya. 

  1. Gal mid ka mid ah DC-yadaada oo fur Goobaha iyo Adeegyada Hagaha Active(Active Directory Sites and Services) .

  1. U gudub goobta aad jeceshahay inaad ku soo celiso maamulayaasha domainka. Kordhi adigoo gujinaya falaarta ku xigta magaca goobta. Balaadhi Server(Servers) -yada . Kordhi DC-ga aad jeceshahay inaad ku celceliso. Guji(Click) NTDS Settings(NTDS Settings) .

  1. Shaxda saxda ah, midig-guji server-ka oo dooro Ku celceli Hadda(Replicate Now) .

  1. Iyadoo ku xiran inta DC(DCs) -yada jira, tani waxay qaadan kartaa wax ka yar ilbiriqsi ilaa dhowr daqiiqo. Marka ay dhammaato, waxaad arki doontaa ogeysiiska, "Adeegyada Domain Directory Active Directory ayaa soo koobay isku xirka." Guji (Click) OK si aad u dhammayso

Ku qasbida maamulayaasha Domain-ka iyada oo loo marayo Taliska CLI(Force Replication of Domain Controllers Through CLI Command)

Haddii aad aqoon u leedahay da'dii hore ee Windows CMD , markaa amarka repadmin waa adiga. Tani waa habka ugu dhaqsaha badan ee hal mar ah oo lagu qasbi karo nuqul ka mid ah DC. Haddi aanad aqoon u lahayn markaa waa wakhti ku haboon inaad wax ka barato Windows CMD(learn about Windows CMD)

  1. Gal(Log) mid ka mid ah DC- yadaada(DCs) oo fur Command Prompt .

  1. Geli(Enter) amarka soo socda, ka dibna taabo furaha Gelida(Enter ) .
repadmin /syncall /AdeP

  1. Xog badan ayaa kor u qaadi doonta shaashadda. Haddii aad aragto in xariiqda u dambaysa ay akhrido, "SyncAll la joojiyay iyada oo aan wax qalad ah lahayn.", ka dibna amarka hoostiisa, DC - yada(DCs) si guul leh ayaa loo soo koobay.

Ku Qasab Ku-noqoshada Maamulaha Domain-ka ee PowerShell(Force Domain Controller Replication With PowerShell)

Haddii aadan u isticmaalin PowerShell nolol maalmeedkaaga, waa kaa maqan tahay. Runtii adiga ayaa kugu leh inaad barato PowerShell(learn PowerShell) . Waxay kuu fududayn doontaa noloshaada, iyo haddii aad tahay Maamule Nidaamyada(Systems Administrator) Junior- ka waxay si weyn gacan uga geysan doontaa inaad xirfaddaada u qaado tallaabada xigta.

Tallaabooyinkan waxaa lagu samayn karaa PowerShell CLI ee caadiga ah , laakiin waxaan ku samaynay PowerShell ISE si aan si wanaagsan u tuso amarrada iyo natiijooyinkooda. Waxaan dhisi doonaa qoraal aad kaydin karto ama xitaa u rogi karto cmdlet oo aad ka wici karto khadka taliska PowerShell .

  1. Gal mid ka mid ah DC-gaaga oo fur PowerShell ama PowerShell ISE .

  1. Kahor intaadan qorin qoraal kasta, ku keydi kan magac sifayn leh sida force-DCReplication.ps1 si aad dib ugu isticmaali karto. Geli koodka soo socda oo socodsii si aad u aragto sida uu u helayo dhammaan magacyada DC(DCs) -gaaga .
(Get-ADDomainController -Filter *).Name

Eeg sida ay u soo celiso magacyada DC- yada(DCs) ? Hadda waxaad ku shubi kartaa natiijadaas cmdlet soo socota. Dhuumaha waa xarafka toosan ( | ), kaas oo inta badan laga helo kiiboodhka wax yar ka sarreeya furaha Gelida(Enter) .

  1. Dhamaadka amarkii hore, geli koodka soo socda:
| Foreach-Object { repadmin /syncall $_ (Get-ADDomain).DistinguishedName /AdeP }

Amarka waa inuu u eg yahay sawirka hoose. Orod. Waa inay soo celisaa fariinta la mid ah ta dib ugu celinaysa Awooda Domain Controller Replication(Force Domain Controller Replication) iyada oo loo marayo qaybta GUI ee sare. Haddii ay ku dhamaato, " SyncAll la joojiyay iyada oo aan wax qalad ah lahayn." ka dib way shaqeysay. 

Ma aragtay sida ay sidoo kale u isticmaasho amarka repadmin ?

  1. Aan ku darno sadar kale si uu kaaga caawiyo inaad hubiso in ku celcelinta ay dhab ahaantii dhammaatay. Koodhkan soo socdaa wuxuu soo celin doonaa taariikhda iyo wakhtiga markii mid kasta oo ka mid ah DC- yadaada(DCs) la sameeyay. Amarkan waxa la istcimaali karaa kaligiis wakhti kale haddi aad uun xiisaynayso markii ugu danbaysay ee DCs -gaaga la soo koobay. Geli(Enter) koodka oo socodsii
Get-ADReplicationPartnerMetadata -Target "$env:userdnsdomain" -Scope Domain | Select-Object Server, LastReplicationSuccess

Natiijadu waa inay u ekaataa sawirka hoose. Waxaad hoosta ka arki doontaa taariikhda saxda ah iyo wakhtiga ku-noqoshada ugu dambeysay ay dhacday.

  1. Si aad farta wax uga dhejiso, aynu ka dhigno wax soo saarkeeda mid hadal yar. Meel u dhow dhamaadka safka kowaad, geli | Out-Null inta u dhaxaysa /AdeP iyo garabka dhamaadka. Taasi waxay u sheegaysaa in aan la damin natiijada cmdlet. Natiijada kama dambaysta ah waxay u ekaan doontaa sawirka soo socda.

Ku celi(Keep’em Replicated)

Hadda waxaad taqaan 3 dariiqo oo aad ku qasbi karto ku-celinta kontaroolayaasha domain ee AD. Waxa kale oo aad meel dhigtay far dib loo isticmaali karo oo PowerShell ah oo aad ka wici karto khadka taliska PowerShell mar kasta oo aad rabto. (PowerShell)Ma jirto wax cudur daar ah oo ku saabsan isbeddeladaagii u dambeeyay DC si aad u fariisato oo aad u sugto ku celcelinta soo socota ee la qorsheeyay, mar kasta oo ay taasi dhacdo.



About the author

Waxaan ahay injineer maqal ah oo xirfad leh oo leh khibrad 10 sano ka badan. Waxaan ka shaqeynayay warshadaha muusikada dhowrkii sano ee la soo dhaafay, waxaanan ku yeeshay sumcad xooggan gudaha goobtaas. Waxaan sidoo kale ahay koontada isticmaale ee khibrad sare leh iyo hawlwadeenka badbaadada qoyska. Mas'uuliyadahayga waxaa ka mid ah maaraynta xisaabaadka isticmaalaha, bixinta taageerada macaamiisha, iyo bixinta talooyinka badbaadada qoyska shaqaalaha.



Related posts