iT邦幫忙

2019 iT 邦幫忙鐵人賽

DAY 25
3
自我挑戰組

IT系統建置系列 第 25

IT系統建置--系統面建置(25)-Windows server IIS網頁+NLB網路負載平衡建置

  • Windows server NLB功能為網路負載平衡,可以採用多台Server提供WEB服務來達到負載平衡及容錯的效果,另外windows server 2012 R2以上NLB才有支援網路負載平衡的功能唷。

  • 這邊LAB是採用IIS搭配DFS檔案複寫及NLB網路負載平衡功能,DFS複寫主要用於有更新或是修改Web網頁檔案時,可不需再至第2台以上的IIS主機手動同步更新。

https://ithelp.ithome.com.tw/upload/images/20181107/20110771MCcAonC4im.jpg

  1. 至2台Server安裝IIS及NLB服務
    https://ithelp.ithome.com.tw/upload/images/20181107/20110771zCCxkKZety.jpg

  2. 下一步
    https://ithelp.ithome.com.tw/upload/images/20181107/20110771mznfhPFOKs.jpg

  3. 安裝完成
    https://ithelp.ithome.com.tw/upload/images/20181107/20110771bG1lP09Pjj.jpg

  4. 於IIS01主機上的NLB服務新增叢集
    https://ithelp.ithome.com.tw/upload/images/20181107/20110771JVRmBRSryG.jpg

  5. 輸入IIS01主機的IP
    https://ithelp.ithome.com.tw/upload/images/20181107/20110771liRhHvBVKZ.jpg

  6. 下一步
    https://ithelp.ithome.com.tw/upload/images/20181107/20110771OvC61yzQpA.jpg

  7. 新增叢集IP位址
    https://ithelp.ithome.com.tw/upload/images/20181107/20110771cyAfZEXpyl.jpg

  8. 下一步
    https://ithelp.ithome.com.tw/upload/images/20181107/20110771g9rW1fl40i.jpg

  9. 選擇多點傳送,並指定叢集IP
    https://ithelp.ithome.com.tw/upload/images/20181107/20110771tFj6FZ3hKP.jpg

10.完成即可
https://ithelp.ithome.com.tw/upload/images/20181107/20110771WbWcgfm09U.jpg

11.於NLB管理站台新增IIS02主機到叢集
https://ithelp.ithome.com.tw/upload/images/20181107/20110771jimWvjTjZY.jpg

12.輸入IIS02主機IP位址
https://ithelp.ithome.com.tw/upload/images/20181107/20110771ldyozXyrmg.jpg

13.下一步
https://ithelp.ithome.com.tw/upload/images/20181107/20110771S799WrN7QU.jpg

14.完成
https://ithelp.ithome.com.tw/upload/images/20181107/20110771dZp7hTAx1i.jpg

15.IIS02主機也已順利啟用
https://ithelp.ithome.com.tw/upload/images/20181107/20110771PBqNYJ4ReU.jpg

16.測試連線至172.16.0.21是連線至IIS01主機
https://ithelp.ithome.com.tw/upload/images/20181107/20110771RqpWsoqhKJ.jpg

17.測試將IIS01主機關機
https://ithelp.ithome.com.tw/upload/images/20181107/20110771jTSHktKnux.jpg

18.連線至172.16.0.21頁面即可跳轉至IIS02主機
https://ithelp.ithome.com.tw/upload/images/20181107/20110771auhoYsv2XT.jpg

19.接著開始設定DFS複寫,於2台IIS主機安裝DFS複寫功能
https://ithelp.ithome.com.tw/upload/images/20181107/20110771w69GCGLtfE.jpg

20.於DFS管理員新增複寫群組
https://ithelp.ithome.com.tw/upload/images/20181107/20110771HGxBhTLJXa.jpg

21.下一步
https://ithelp.ithome.com.tw/upload/images/20181107/201107711vbvru8lV3.jpg

22.下一步
https://ithelp.ithome.com.tw/upload/images/20181107/20110771F7W2593fQO.jpg

23.加入IIS01及IIS02主機
https://ithelp.ithome.com.tw/upload/images/20181107/20110771YCFqWpfdZ8.jpg

24.下一步
https://ithelp.ithome.com.tw/upload/images/20181107/201107718XPBPnnrel.jpg

25.下一步
https://ithelp.ithome.com.tw/upload/images/20181107/20110771pGIZsPCdgO.jpg

26.主要成員為IIS01主機
https://ithelp.ithome.com.tw/upload/images/20181107/20110771V6877TBFxE.jpg

27.指定web網頁目錄
https://ithelp.ithome.com.tw/upload/images/20181107/20110771eVv3sgnLpL.jpg

28.下一步
https://ithelp.ithome.com.tw/upload/images/20181107/20110771rNDlgCDHrg.jpg

29.完成
https://ithelp.ithome.com.tw/upload/images/20181107/20110771r8JXNdXia9.jpg

30.測試至IIS網頁存放區新增資料夾,可發現IIS01主機與IIS02同步新的資料夾過來
https://ithelp.ithome.com.tw/upload/images/20181107/20110771CMCidXLuU1.jpg

下一篇SQL Server容錯移轉叢集建置


上一篇
IT系統建置--系統面建置(24)-個人資料夾導向檔案伺服器網路資料夾
下一篇
IT系統建置--系統面建置(26)-SQL Server容錯移轉叢集建置
系列文
IT系統建置30
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言