部署 Web Farm 草稿
建立 Web Farm 有好幾種方法達成
1、IIS + Cluster of File Server (放置共用網站資料) + shared config (放置共用設定檔 applicationhost.config、administration.config)
2、IIS + DFS (同步網站的資料。雖說沒有共用設定檔,但只要確認網站設定一致無誤即可)
3、IIS + Web Farm Framework
上述的 3 種方法都可以搭配 NLB 進行網站負載平衡。第 2、3 種方法是屬於沒有採購硬體預算的作法。如果沒把握確認自己設定網站能夠一致,建議採用第 3 種方法,而本文也是介紹第 3 種方法
設定步驟如下:
(0) 記得先裝上 Web Platform Installer ,接著下載 & 安裝 Web Farm Framework 2.0 )。最後打開 IIS 就可發現設定節點。
(1) 建立新的伺服器群組 (群組內的主機務必將其帳號密碼設定一致)
(2) 加入所有主機至該群組 (primary server 只能有一台)
(3) 加入第 2 台主機
(註:如果有發生下述錯誤,記得要在進階防火牆規則中打開 SMB & 遠端系統管理)
4、建立完畢後會如下圖所示,primary server 就會將所有設定值、網站檔案與 secondary server 進行同步
下圖是筆者一個小小的失誤,如果大家有收到下述的錯誤訊息時,那就代表 primary server 和 secondary server 的作業系統版本不一致,以我自己為例,我的 primary server 是標準版,但是 secondary server 是 web 版,所以就造成了以下的錯誤了。 |
後續可以發現在服務中多了 Web Deployment Agent Service & Web Farm Agent Service 這 2 個服務
防火牆規則也會被打開
接著就看著 secondary server 一直被 primary server 同步吧,會有一系列的安裝訊息
我個人真的是覺得這個工具超方便的 ^__^
留言與評論
www.quickieseo.com
SEO Doncasterwww.quickieseo.com
Hexa LtdGreat blog! Do you have any helpful hints for aspiring writers? I'm planning to start my own site soon but I'm a little lost on everything. Would you advise starting with a free platform like Wordpress or go for a paid option? There are so many choices out there that I'm completely overwhelmed .. Any recommendations? Thank you!
Internet MarketingF*ckin’ remarkable issues here. I’m very happy to peer your article. Thanks a lot and i am taking a look ahead to contact you. Will you kindly drop me a e-mail?
SEOGreat post. I was checking constantly this weblog and I am impressed! Extremely useful info particularly the remaining section :) I take care of such information much. I was looking for this certain information for a long time. Thank you and good luck.
Cool blogs of 2013Hi there! I could have sworn I've been to this website before but after checking through some of the post I realized it's new to me. Anyhow, I'm definitely happy I found it and I'll be bookmarking and checking back often!
Tom ClaytonHello there! I know this is kinda off topic but I was wondering which blog platform are you using for this site? I'm getting fed up of Wordpress because I've had issues with hackers and I'm looking at options for another platform. I would be fantastic if you could point me in the direction of a good platform.
Hi BloggersMy brother suggested I may like this website. He was entirely right. This submit truly made my day. You cann't consider simply how a lot time I had spent for this info! Thank you!
Hi Bloggers983477 148505There is noticeably a great deal of dollars to comprehend this. I assume you produced certain good points in attributes also. 335054
z7IUlMu本篇文章的留言功能已關閉!