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)
-   Module 8: High Availability Features (http://quantrinet.com/forum/forumdisplay.php?f=253)
-   -   IIS + Network Load Balancing And DFS In Windows Server 2008 (http://quantrinet.com/forum/showthread.php?t=4672)

hoctinhoc 03-02-2010 10:37 PM

IIS + Network Load Balancing And DFS In Windows Server 2008
 


IIS + Network Load Balancing And DFS In Windows Server 2008



Mục đích của bài lab này sẽ giúp cho hệ thống server web của bạn high available tới 99% với khả năng handle được số lượng connection cao hơn so với hiện tại.

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://trungnghia.info/NLB/NLB.jpeg


Trong bài lab gồm 3 phần:
Phần I: Cài đặt IIS.
Phần II: Cài đăt Network Load Balancing và cấu hình.
Phần III: Cài đặt DFS và cấu hình.
Phần I: Cài đặt IIS.

A: Cài đặt cho server Web 01 - IP: 192.168.1.51
1/ Mở Server Manager –> Roles –> Add Roles

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://trungnghia.info/NLB/IIS_01.jpg


2/ Click chọn Web Server ( IIS ) –> xuất hiện hộp thoại Add Roles Wizard click chọn Add Feature Require


http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://trungnghia.info/NLB/IIS_02.jpg
http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://trungnghia.info/NLB/IIS_03.jpg
http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://trungnghia.info/NLB/IIS_04.jpg

3/ Click Next 3 lần với các thông số default để tiến hành cài đặt IIS.

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://trungnghia.info/NLB/IIS_05.jpg
http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://trungnghia.info/NLB/IIS_06.jpg

Sau khi cài đặt xong nhấn finish để hoàn tất quá trình cài đặt và testing.
Testing bằng cách mở trình duyệt từ client gõ vào địa chỉ IP:

http://192.168.1.51

B: Tương tự như vậy và cài đặt IIS cho server Web 02 - IP: 192.168.1.52

Sau khi cài đặt cũng test lại từ máy client bằng cách truy cập địa chỉ http://192.168.1.52 để đảm bảo IIS config okay.

Phần II: Cài đăt Network Load Balancing và cấu hình.

A: Cài đặt.

1/ Mở Server Manager –> Features –> Add Features

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://trungnghia.info/NLB/Install_NLB_01.jpg

2/ Click chọn Network Load Balancing

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://trungnghia.info/NLB/Install_NLB_02.jpg

3/ Click Next nhiều lần để bắt đầu quá trình cài đặt NLB.
Tương tự như vậy và tiến hành cài đặt NLB cho server Web 02.

B: Cấu hình Network Loadbalancing

1/ Mở Network Load Balancing Manager –> Right Click Network Load Balancing Cluster –> Chọn New Cluster.
http://trungnghia.info/NLB/Configure_NLB_01.jpg

2/ Xuất hiện cửa sổ New Cluster, gõ IP 192.168.1.51 của server Web 01 vào ô Host –>Click Connect và chờ một lúc thì sẽ liệt kê ra NIC của server Web 01 –> Chọn Local Area Network và click Next.

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://trungnghia.info/NLB/Configure_NLB_02.jpg

3/ Sau khi nhấn Next thì sẽ chuyển qua bảng config thông số cluster của server Web 01 –> Để default và click Next

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://trungnghia.info/NLB/Configure_NLB_03.jpg

4/ Xuất hiện cửa sổ Cluster IP Address –> Click Add

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://trungnghia.info/NLB/Configure_NLB_04.jpg

5/ Nhập vào địa chỉ IP đại điện cho cluster này: 192.168.1.90 và Subnet Mask: 255.255.255.0 –> CLick OK

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://trungnghia.info/NLB/Configure_NLB_05.jpg
http://nhatnghe.vn/forum/undefined/i.../wol_error.gif
http://trungnghia.info/NLB/Configure_NLB_06.jpg

6/ Click Next –> tại ô Full Internet Name: gõ tên domain web của 2 server này. Cluster OPeration chọn Unicast

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://trungnghia.info/NLB/Configure_NLB_07.jpg

7/ Click Next để chuyển qua bảng Porl Rules –> Click Edit và đặt thông số như trong hình –> Click OK

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://trungnghia.info/NLB/Configure_NLB_08.jpg

8/ Click Finish và chờ vài giây để NLB build Cluster.

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://trungnghia.info/NLB/Configure_NLB_09.jpg

9/ Sau khi build xong thì sẽ hiện ra như trong hình.

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://trungnghia.info/NLB/Configure_NLB_10.jpg

10/ Tiến hành Add server Web 02 và cluster. Right click lên cluster vừa tạo và chọn Add Host To Cluster.

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://trungnghia.info/NLB/Configure_NLB_11.jpg

11/ Xuất hiện bảng Add Host và gõ IP 192.168.1.52 vào ô Host –> click Connect –>Tương tự bước 2 và sẽ liệt kê ra các NIC của server Web 02 –> Click chọn Local Area Network và click Next.

http://nhatnghe.vn/forum/undefined/i.../wol_error.gif

http://trungnghia.info/NLB/Configure_NLB_12.jpg

12/ Host Parameter: các thông số để default và click Next

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://trungnghia.info/NLB/Configure_NLB_13.jpg

13/ Porl Rules để default và click Finish

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://trungnghia.info/NLB/Configure_NLB_14.jpg

14/ Sau khi click Finish thì ta sẽ được kết quả như trong hình.

http://nhatnghe.vn/forum/undefined/i.../wol_error.gifhttp://trungnghia.info/NLB/Configure_NLB_15.jpg

C: Testing

Quá trình testing ta sẽ test lần lượt như sau:
- Stop Web 01 và truy cập http://192.168.1.90 thành công.
- Stop Web 02 và truy cập http://192.168.1.90 thành công.

http://nhatnghe.vn/forum/undefined/i.../wol_error.gif

Phần III: Cài đặt DFS và cấu hình.

Tham khảo bài viết của Microsoft

Hẹn các bạn trong bài kế tiếp. http://blog.trungnghia.info/wp-inclu...on_biggrin.gif

Đang updating............................


Theo: Nhất Nghệ



:battay:


Bây giờ là 02:26 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 - 2024, Jelsoft Enterprises Ltd.