Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng

Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng (http://quantrinet.com/forum/index.php)
-   Manage Windows Server 2003 (290) (http://quantrinet.com/forum/forumdisplay.php?f=118)
-   -   Triển khai DHCP Cluster trên windows 2003 (http://quantrinet.com/forum/showthread.php?t=2761)

hoctinhoc 19-05-2009 10:55 PM

Triển khai DHCP Cluster trên windows 2003
 
Triển khai DHCP Cluster trên windows 2003
1.Giới thiệu
Tổ chức mạng trong các doanh nghiệp lớn, chúng ta đã biết độ ổn định hay tính sẵn dùng cao luôn là mục tiêu hàng đầu. Vì vậy trong thiết kế mạng luôn có tính dư thừa, ví dụ: sử dụng 2 đường ADSL, 2 máy DC, 2 Web server …mặc dù chi phí cho việc thiết kế dư thừa có thể làm cho chi phí dự án tăng thêm từ 70%-100%.
Chúng ta chắc cũng biết hoặc từng nghe nói đến kỹ thuật Server Clustering – dùng một nhóm các server cùng thực hiện một dịch vụ nào đó để đảm bảo dịch vụ vẫn đáp ứng khi có 1 server trong nhóm bị sự cố. Các bạn có thể tìm thấy nhiều tài liệu về Server Clustering trên diễn đàn.
Kỹ thuật server clustering có thể được triển khai cho Exchange, SQL server, Lotus Notes,..Trong bài viết này tôi sẽ trình bày kỹ thuật Server Clustering ứng dụng cho dịch vụ DHCP của windows 2003.

2.Triển khai
2.1 Mô hình
Gồm 4 máy windows 2003: 1 máy DC, 2 máy Node1, Node2 làm DHCP Server clustering và 1 máy làm client, máy này sẽ được gán IP tự động.

http://ngoc.nhatnghe.vn/dhcpcluster/...s/image067.jpg

2.2Chuẩn bị
Bạn có thể triển kai bài Lab trên Virtual Server 2005 hoặc VMware
-Cài đặt máy DC
-Join 2 máy node1, node2 vào domain 2 máy này sẽ làm cluster
-Việc tạo các ổ đĩa dùng chung, các bạn có thể tham khảo: http://www.nhatnghe.com/forum/showthread.php?t=17832

2.3 Thực hiện
http://ngoc.nhatnghe.vn/dhcpcluster/...s/image002.jpg

Quan sát các disk trên node 1 và node2

http://ngoc.nhatnghe.vn/dhcpcluster/...s/image004.jpg

Trên Node1 mở cluster Administrator, chọn Create new cluster

http://ngoc.nhatnghe.vn/dhcpcluster/...s/image006.jpg

Nhập tên domain: nhatnghe.com

http://ngoc.nhatnghe.vn/dhcpcluster/...s/image008.jpg

Nhập tên Node1

http://ngoc.nhatnghe.vn/dhcpcluster/...s/image010.jpg

Nhập địa chỉ IP

http://ngoc.nhatnghe.vn/dhcpcluster/...s/image012.jpg

Nhấn Quorum, chọn Disk Q, nhấn Finish để kết thúc

http://ngoc.nhatnghe.vn/dhcpcluster/...s/image014.jpg

Cluster đã có Node1, chọn New Node để thêm Node2 vào cluster

http://ngoc.nhatnghe.vn/dhcpcluster/...s/image016.jpg

Nhập tên Node2, Add

http://ngoc.nhatnghe.vn/dhcpcluster/...s/image018.jpg

Thực hiện các bước tiếp theo, khi hoàn tất ta có màn hình sau:

http://ngoc.nhatnghe.vn/dhcpcluster/...s/image020.jpg

Đổi tên Group 0 thành DHCP service

http://ngoc.nhatnghe.vn/dhcpcluster/...s/image022.jpg

Tạo tài nguyên cho Cluster: IP address

http://ngoc.nhatnghe.vn/dhcpcluster/...s/image024.jpg

Nhập IP cho Cluster
http://ngoc.nhatnghe.vn/dhcpcluster/...s/image026.jpg

Tương tự, tạo Network Name

http://ngoc.nhatnghe.vn/dhcpcluster/...s/image028.jpg

Add Node1 và Node2, Next

http://ngoc.nhatnghe.vn/dhcpcluster/...s/image030.jpg

Chọn DHCP disk và DHCP Ip address

http://ngoc.nhatnghe.vn/dhcpcluster/...s/image032.jpg

Sau khi kết thúc, chọn Bring Online

http://ngoc.nhatnghe.vn/dhcpcluster/...s/image034.jpg

Chọn Configure Application

http://ngoc.nhatnghe.vn/dhcpcluster/...s/image036.jpg

Chọn DHCP Service

http://ngoc.nhatnghe.vn/dhcpcluster/...s/image038.jpg

Chọn Yes,…Next

http://ngoc.nhatnghe.vn/dhcpcluster/...s/image040.jpg

Chọn DHCP Service

http://ngoc.nhatnghe.vn/dhcpcluster/...s/image042.jpg

Chọn Dependencies, Modify..
http://ngoc.nhatnghe.vn/dhcpcluster/...s/image044.jpg

Add các tài nguyên của cluster
http://ngoc.nhatnghe.vn/dhcpcluster/...s/image046.jpg

Nhấn Finish để kết thúc
http://ngoc.nhatnghe.vn/dhcpcluster/...s/image048.jpg

Quá trình tạo Cluster hoàn thành

http://ngoc.nhatnghe.vn/dhcpcluster/...s/image050.jpg

Cài và cấu hình DHCP trên Node2
http://ngoc.nhatnghe.vn/dhcpcluster/...s/image052.jpg

Cài DHCP trên Node1, thông tin cấu hình DHCP sẽ được cập nhật từ Node1 sang.
http://ngoc.nhatnghe.vn/dhcpcluster/...s/image054.jpg

Tại máy client, nhập ipconfig /renew để xin IP, thành công

http://ngoc.nhatnghe.vn/dhcpcluster/...s/image056.jpg

Quan sát DHCP trên Node1

http://ngoc.nhatnghe.vn/dhcpcluster/...s/image058.jpg

Quan sát DHCP trên Node2

http://ngoc.nhatnghe.vn/dhcpcluster/...s/image060.jpg

Shutdown Node2
http://ngoc.nhatnghe.vn/dhcpcluster/...s/image062.jpg

Node1 active tự động

http://ngoc.nhatnghe.vn/dhcpcluster/...s/image064.jpg

Client xin lại IP, Thành công
http://ngoc.nhatnghe.vn/dhcpcluster/...s/image066.jpg

Nhất Nghệ Support Team
..:Đỗ Quang Ngọc:..


Bây giờ là 08:07 AM. Giờ GMT +7

Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.