歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Linux基礎 >> 關於Linux

如何搭建父子域環境?

很多公司在創建初期會用一個域來進行管理,隨著公司的壯大發展,會在其他地域比如北京、上海有分公司,此時就需要有新的域加入供管理使用,這時就需要使用域林,在域林中根節點域叫父域,新加入的child domain叫子域。

下面我們以Windows2012為例,看下父子域的要求及搭建情況:

要求:

兩台Windows Server配置兩個域,一個作為父域,一個子域;

搭建步驟: 父域Domain A正常安裝,在登錄Windows Server後,點擊Server Manager,點擊"Promote this server to a domain controller",在彈出的配置Domain時候選擇"Domain in a new forest"選項,點擊Next直到配置完成。

Machine generated alternative text:Server Manager Server Manager · Dashboard Manage Tools View Help Dashboard Lo ℃ , Server All Servers AD DS File and Storage Services > Post deployment Configura.. WELCOME TO SERVER MAN Configuration required , or Active Directory Domain Services at Sp2010A10 Promote this server 10 a domain controller , k Details QU ℃ K START

 

Machine generated alternative text:Ive Dlrectory Domaln Servlces Conflguratlon WIzar Deployment Configuration 匚 三 # 0 丿 = : 二 on , § 」 , cn Select the deployment op tion ( 〕 Add a domain

登錄子域Domain B機器,打開網卡配置,在TCP/IP Properties中的DNS Server處輸入Domain A域的IP;

Machine generated alternative text:Ethernet Propertles Internet Eth ern et nternet Protocol Version 4 (TCP/IPv4) Propertles General You 〔 以 n get IP settings assigned 以 utom 以 t 〔 引 , if your netvvork suppZ喎?http://www.2cto.com/kf/ware/vc/vcnRzIHRoaXMgobIg0tQgcCDS1CCjrCDYrSBpdC8gT3RoZXJ3aXNlIKOsIG91IG5lZWQgdG8gYXNrIHlvdXIgbmVXdm9yayBhZG1pbmlzdHJhdG9yIGZvciB0aGUgYXBwcm9wcmlhdGUgSVAgc2V0Ym5ncy4gMGIgw8cg0v0gMSBJUCBhZGRyZXNzIHRvbSDS1CB0IKGyINL9IKOsIDI1NSChpCBVc2UgdGhlIGZvIKHtIMPHIGcgSVAgYWRkcmVzcy4gSVAgYWRkcmVzcy4gU3VibmV0IG1hc2s6IERlZmF1bHRnYXRld2F5OiAyNTUgMjUyIDU0IKOoIKGzIE9idGFpbiBETlMgc2VydmVyIGFkZHJlc3Mg0tQgdXRvbSDS1CB0IKGyINL9IKOsIKOuIHRoZSBmbyCh7SDDxyBnIEROUyBzZXJ2ZXIgUHJlZmVycmVkIEROUyBzZXJ2ZXIgQWx0ZXJuYXRlIEROUyBzZXJ2ZXIgWyChsyBWYWxpZGF0ZSBzZXR0aW5ncyB1cG9uIGV4aXQgtKgg" height="503" src="http://www.2cto.com/uploadfile/Collfiles/20160406/20160406092440351.png" width="452" />

點擊Server Manager,點擊"Promote this server to a domain controller";

Machine generated alternative text:Server Manager Server Manager · Dashboard Manage Tools View Help Dashboard Lo ℃ , Server All Servers AD DS File and Storage Services > Post deployment Configura.. WELCOME TO SERVER MAN Configuration required , or Active Directory Domain Services at Sp2010A10 Promote this server 10 a domain controller , k Details QU ℃ K START

在彈出配置Domain的窗口中,選擇 "Domain tree in an existing forest",在下面Select domain type處選擇Child Domain;

Machine generated alternative text:Actlve Dlrectory Domaln Servlces Conflguratlon WIzard Deployment Configuration Deployment 00n , § 」 r 以 , cr Select the deployment operation ( 〕 Add a domain controller 10 3 n existing domain . 以 d a new domain 10 引 1 existing forest new forest Specify the domain Information forthis operation TARGET SERVER SP2010AIODemo.cn Select... ( h 引 垮 已 . Select domain type 巳 New , — Child Domain Child Domain Tree Domain Next > Suppb

Domain Type選擇後,下面Forest Name填寫父域Domain A的名字,New domain name填寫子域Domain B的名,在認證處點擊change…;

Machine generated alternative text:Actlve Dlrectory Domaln Servlces Conflguratlon WIzard Deployment Configuration Deployment 00n , § 」 r 以 , cr Select the deployment operation 匚 0m 引 n Controller Cp , cn 三 ( 〕 Add a domain controller 10 3 n existing domain @ Add a new domain 10 引 1 existing forest ( 〕 Add a new forest Specify the domain Information forthis operation TARGET SERVER SP2010AIODemo.cn Select... ( h 引 Suppb' the credentials 10 perform this operation demoxadmnistrator More about deployme , It configurations < Install Cancel ">

在彈出認證窗口中輸入父域 Domain A的賬戶名和密碼,點擊OK;

Machine generated alternative text:Actlve Dlrectory Domaln Servlces Conflguratlon WIzard Deployment Configuration Windows Securl 匚 三 # ” = : 二 on , § 」 丨 Credentials for deployment operation Supply credentials for the deployment operation demoladministrator Domain: demo Connect a smart card [ 〔 〔 〔 亟 二 ] [ 〕 〕 亟 〕 〕 ] TARGET SERVER Sp2010A10 ( h 引 垮 已 . Cancel Install Next > More about deployme , It configurations <

在Domain Controller Options頁面天下DSRM Password,點擊Next;

Machine generated alternative text:Actlve Dlrecto Domain Controller Options Domaln Servlces Conflguratlon WIzard TARGET SERVER SP2010AIODemo.cn 匚 三 , 鬱 三 啵 匚 on , § 」 r 三 , cn 匚 0 引 n Contrcller Opticns 匚 N 三 0 , , 〕 匕 匕 , cn 引 Options F 主 Revlew Cp , cn 三 Prerequisites 匚 h 以 北 Select functio , level ofthe new domain Domain functional level Windows Server 2m2 R2 Specify domain controller capabilities and site information 丨 丨 Domain Name System (DNS) server 立 Global Catalog & 0 [ 〕 Read on , 以 om n controller (RCDC) Install Cancel Site name: Default-First-Site-Name Type the Directory Services Restore Mode (DSRM) pa wo Password: Con , irm passvvord: More about domain controller OP , on ( Next >

 

Machine generated alternative text:Actlve Dlrecto Domaln Servlces Confl uratlon Wlzard TARGET SERVER SP2010AIODemo.cn ( h 引 垮 已 . DNS Options Deployment 匚 on , § ur 三 , cn 匚 0 三 , Controller [ 孓 , cn 三 D N S Op , 〕 ns 匕 匕 , cn 引 Options F 主 Revlew Cp , cn 三 Prerequisites 匚 h 以 北 Next > Specify DNS delegation options 丨 丨 Create DNS delegation Credentials for delegation creation demoxadministrator More about DNS d egatio , 1 ( Install Cancel

在DNS設置頁面填寫NetBIOS Name,點擊Next;

Machine generated alternative text:Actlve Dlrecto Additional Options Deployment 匚 on , § ur 三 , cn Domaln Servlces Confl uratlon Wlzard TARGET SERVER SP2010AIODemo.cn Cancel 、 ri , the NetBIOS name assigned to the domain 引 Id change 1 if necessary 匚 om 引 n Controller Cp , on 三 The NetBIOS domain name: 匚 N S 0 以 ion 三 d 匕 ition 引 Options F 主 Preparatlon [ 孓 tic 下 Revlew Cp , cn 三 Prerequisites 匚 h 以 北 More about additional 0 ion § CHILD ( Next > Install

之後按提示填寫,點擊Next到最後安裝domain,等待安裝完成,父子域配置就完成了。 此時我們可以登錄子域Windows Server,My Computer右鍵屬性,查看Computer full name,顯示的是包含父域和子域的名字:Child.Demo.cn,正確。

注意:在子域中是沒有DNS Server的,如果要添加Host需要登錄父域機器添加。

感謝閱讀!

Copyright © Linux教程網 All Rights Reserved