-
- Tổng tiền thanh toán:
![Công ty cổ phần công nghệ Nghĩa Hưng](http://bizweb.dktcdn.net/100/394/825/themes/774936/assets/logo.png?1686556359363)
Hướng dẫn cách thiết lập 2 Domain Controller chạy song song
Việc sử dụng chỉ một Domain Controller duy nhất có thể dẫn đến quá tải server. Vì vậy ta nên thiết lập 2 Domain Controller chạy song song để nâng cao hiệu suất.
Giới thiệu
Trong các hệ thống Active Directory lớn, nếu chỉ có một Domain Controller thì server sẽ dễ bị quá tải khi xử lý lượng xác thực lớn. Bên cạnh đó, nếu Domain Controller này bị lỗi thì toàn bộ hệ thống sẽ ngừng hoạt động. Và người dùng sẽ không thể được xác thực nữa. Do đó, ta nên triển khai nhiều Domain Controller chạy song song.
![cách thiết lập 2 Domain Controller chạy song song](https://vietnix.vn/wp-content/uploads/2022/09/thiet-lap-2-domain-controller-chay-song-song-1024x366.webp)
Hướng dẫn thiết lập 2 Domain Controller chạy song song
Chuẩn bị:
- 01 máy Windows Server đã triển khai làm Primary Domain Controller (PDC)
- 01 máy Windows Server sẽ xây dựng thành Additional Domain Controller (ADC)
Tóm tắt các bước thực hiện:
- Build Domain Controller cho Server1.
- Sử dụng Server2 để join Domain với Server1.
- Cấu hình Server 2.
- Đồng bộ hóa 2 server và join các domain cho client trong Server 1.
Bước 1: Build Domain Controller cho Server1
Đặt IP tĩnh cho DC theo các thông số sau:
- IP: 192.168.1.1
- Netmask: 255.255.255.0
- Preferred DNS Server: 192.168.1.1
![Thiết lập 2 domain controller chạy song song](https://vietnix.vn/wp-content/uploads/2021/06/thiet-lap-2-domain-controller-chay-song-song-4.webp)
Click vào Add roles and features
![Thiết lập 2 domain controller chạy song song](https://vietnix.vn/wp-content/uploads/2021/06/thiet-lap-2-domain-controller-chay-song-song-27.webp)
Chọn Active Directory Domain Services
![cách thiết lập 2 domain controller chạy song song](https://vietnix.vn/wp-content/uploads/2021/06/thiet-lap-2-domain-controller-chay-song-song-28.webp)
Chọn vào Add Features
![Thiết lập 2 domain controller chạy song song](https://vietnix.vn/wp-content/uploads/2021/06/thiet-lap-2-domain-controller-chay-song-song-26.webp)
Click Next để tiếp tục
![hướng dẫn thiết lập 2 domain controller chạy song song](https://vietnix.vn/wp-content/uploads/2021/06/thiet-lap-2-domain-controller-chay-song-song-24.webp)
Nhấp Install để cài đặt
![cấu hình 2 domain controller chạy song song](https://vietnix.vn/wp-content/uploads/2021/06/thiet-lap-2-domain-controller-chay-song-song-25.webp)
Chọn Close
![cách cấu hình 2 domain controller chạy song song](https://vietnix.vn/wp-content/uploads/2021/06/thiet-lap-2-domain-controller-chay-song-song-22.webp)
Tiếp theo, chọn vào phần Promote this server to a domain controller
![hướng dẫn cách cấu hình 2 domain controller chạy song song](https://vietnix.vn/wp-content/uploads/2021/06/thiet-lap-2-domain-controller-chay-song-song-23.webp)
Chọn Add a new forest > Enter the domain name > Next
![triển khai 2 domain controller chạy song song](https://vietnix.vn/wp-content/uploads/2021/06/thiet-lap-2-domain-controller-chay-song-song-21.webp)
Nhập password vào ô, rồi chọn Next để tiếp tục
![cách triển khai 2 domain controller chạy song song](https://vietnix.vn/wp-content/uploads/2021/06/thiet-lap-2-domain-controller-chay-song-song-20.webp)
Click vào Next
![hướng dẫn cách triển khai Thiết lập 2 domain controller chạy song song](https://vietnix.vn/wp-content/uploads/2021/06/thiet-lap-2-domain-controller-chay-song-song-19.webp)
![hướng dẫn cách thiết lập 2 domain controller chạy song song](https://vietnix.vn/wp-content/uploads/2021/06/thiet-lap-2-domain-controller-chay-song-song-18.webp)
![Thiết lập 2 domain controller chạy song song](https://vietnix.vn/wp-content/uploads/2021/06/thiet-lap-2-domain-controller-chay-song-song-17.webp)
![Thiết lập 2 domain controller chạy song song chi tiết](https://vietnix.vn/wp-content/uploads/2021/06/thiet-lap-2-domain-controller-chay-song-song-16.webp)
Tiếp theo, nhấp vào Install
![cấu hình 2 domain controller chạy song song dễ dàng](https://vietnix.vn/wp-content/uploads/2021/06/thiet-lap-2-domain-controller-chay-song-song-15.webp)
Bước 2: Sử dụng Server2 để join Domain với Server1
Nhập IP tĩnh cho Server2 theo các thông số sau:
- IP: 192.168.1.2
- Netmask: 255.255.255.0
- Preferred DNS Server: 192.168.1.1
![hướng dẫn chi tiết cách thiết lập 2 domain controller chạy song song](https://vietnix.vn/wp-content/uploads/2021/06/thiet-lap-2-domain-controller-chay-song-song-14.webp)
Tiếp theo, join vào domain
![chi tiết cách cấu hình 2 domain controller chạy song song](https://vietnix.vn/wp-content/uploads/2021/06/thiet-lap-2-domain-controller-chay-song-song-12.webp)
![Thiết lập 2 domain controller chạy song song](https://vietnix.vn/wp-content/uploads/2021/06/thiet-lap-2-domain-controller-chay-song-song-13.webp)
Bước 3: Cấu hình Server 2
Cài đặt Active Directory Domain Services
Chọn Choose Add a domain controller to an existing domain rồi nhấn vào Next
![Thiết lập 2 domain controller chạy song song hay nhất](https://vietnix.vn/wp-content/uploads/2021/06/thiet-lap-2-domain-controller-chay-song-song-11.webp)
Nhập password
![cấu hình nhanh 2 domain controller chạy song song](https://vietnix.vn/wp-content/uploads/2021/06/thiet-lap-2-domain-controller-chay-song-song-10.webp)
Trong phần Replicate from: Chọn server1 rồi nhấn Next để tiếp tục
![hướng dẫn nhanh thiết lập 2 domain controller chạy song song](https://vietnix.vn/wp-content/uploads/2021/06/thiet-lap-2-domain-controller-chay-song-song-8.webp)
Chọn Next
![Thiết lập 2 domain controller chạy song song](https://vietnix.vn/wp-content/uploads/2021/06/thiet-lap-2-domain-controller-chay-song-song-9-1.webp)
![2 domain controller chạy song song](https://vietnix.vn/wp-content/uploads/2021/06/thiet-lap-2-domain-controller-chay-song-song-7.webp)
Cuối cùng là nhấn Install để cài đặt
![Thiết lập 2 domain controller chạy song song](https://vietnix.vn/wp-content/uploads/2021/06/2-domain-controller-chay-song-song.webp)
Bước 4: Đồng bộ hóa 2 server và join các domain cho client trong Server 1
Tools > Active Directory Site and Services
![cách thiết lập 2 domain controller chạy song song dễ dàng](https://vietnix.vn/wp-content/uploads/2021/06/thiet-lap-2-domain-controller-chay-song-song-6.webp)
Sites > Defaults > First-Site-Name > Servers
![hướng dẫn Thiết lập 2 domain controller chạy song song](https://vietnix.vn/wp-content/uploads/2021/06/thiet-lap-2-domain-controller-chay-song-song-5.webp)
Click chuột phải vào phần NTDS Settings trong mỗi server rồi check vào Global Catalog
![Thiết lập 2 domain controller chạy song song](https://vietnix.vn/wp-content/uploads/2021/06/cau-hinh-2-domain-controller-chay-song-song.webp)
![hướng dẫn cách Thiết lập 2 domain controller chạy song song](https://vietnix.vn/wp-content/uploads/2021/06/thiet-lap-2-domain-controller-chay-song-song-3.webp)
Trong Network setting, đặt Alternate DNS Server thành Server2 (192.168.1.2)
Trong phần Server 2, đặt Alternate DNS server thành Server1 (192.168.1.1)
![Thiết lập 2 domain controller chạy song song](https://vietnix.vn/wp-content/uploads/2021/06/thiet-lap-2-domain-controller-chay-song-song-2.webp)
Cuối cùng là reboot lại Server 1 và Server 2.
Như vậy là ta đã hoàn tất việc cấu hình 2 Domain Controller chạy song song với 4 bước thực hiện cực kỳ đơn giản ở trên. Việc triển khai nhiều domain controller chạy song song như thế sẽ giúp đồng bộ hóa dữ liệu một cách nhanh chóng và hiệu quả. Đem đến những lợi ích to lớn khi thông tin bị đánh cắp, giảm bớt gánh nặng khi sử dụng biện pháp copy lên một file server khác. Chúc các bạn thực hiện thành công.