版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、<p> 徹底掌握IIS 6.0功能及應(yīng)用詳解</p><p> 關(guān)于IIS 6.0的故事一言難盡,如果你已經(jīng)在IIS技術(shù)上有所投資,IIS 6.0無(wú)疑是一個(gè)動(dòng)人的、非聽(tīng)不可的話題。鑒于IIS 6.0和以前版本的差別實(shí)在太大了,只用一篇文章很難做到面面俱到,所以本文首先探討IIS 6.0的安裝、體系結(jié)構(gòu)以及由于體系結(jié)構(gòu)方面的差異帶 來(lái)的全新服務(wù)功能,下一篇文章接著介紹IIS 6.0的新特性——其中有
2、些你可能還沒(méi)有聽(tīng)說(shuō)過(guò),另外還有默認(rèn)配置方面的一些重要變化,這些變化可能會(huì)影響到你的遷移計(jì)劃。</p><p><b> 安裝IIS 6.0</b></p><p> 首先從最基本的說(shuō)起吧。IIS 6.0包含在Windows Server 2003服務(wù)器的四種版本之中:數(shù)據(jù)中心版,企業(yè)版,標(biāo)準(zhǔn)版,Web版。另外,順便再回答一個(gè)最常見(jiàn)的IIS 6.0問(wèn)題:IIS 6.
3、0不能在Windows XP、2000或NT上運(yùn)行。 安裝好Windows 2003之后,馬上就可以看到Windows 2003/IIS 6.0的與眾不同之處,其中一個(gè)關(guān)鍵的變化是,除了Windows 2003 Web版之外,Windows 2003的其余版本默認(rèn)不再安裝IIS。按照微軟過(guò)去的理念,安裝操作系統(tǒng)的同時(shí)IIS也自動(dòng)啟動(dòng),為許多Web應(yīng)用提供服務(wù),Windows 2003的做法可謂一大突破。在Windows 2003中
4、,安裝IIS有三種途徑:利用“管理您的服務(wù)器”向?qū)В每刂泼姘濉疤砑踊騽h除程序”的“添加/刪除Windows組件”功能,或者執(zhí)行無(wú)人值守安裝。</p><p> 選擇“添加或刪除”角色,在“配置服務(wù)器”向?qū)е锌梢钥吹揭幌盗锌膳渲玫姆?wù)器角色,其中就有“應(yīng)用程序服務(wù)器(IIS,ASP.NET)”選項(xiàng),如圖二,選中該選項(xiàng)之后點(diǎn)擊“下一步”,向?qū)峁┝耸欠癜惭bASP.NET和Microsoft FrontPage服
5、務(wù)器擴(kuò)展的選項(xiàng)??梢钥吹?,微軟在這里采用了一種新型的“安裝任何部件之前總是 征求用戶意見(jiàn)”的IIS安裝策略,對(duì)于微軟來(lái)說(shuō),這是一個(gè)徹底的轉(zhuǎn)變,證明微軟確實(shí)在認(rèn)真對(duì)待安全問(wèn)題</p><p> 使用控制面板中的“添加/刪除Windows組件”功能還要靈活一些。在向?qū)е羞x擇“應(yīng)用程序服務(wù)器”,再點(diǎn)擊“詳細(xì)信息”,向?qū)э@示出一系列組件的清單,其中就有“Internet信息服務(wù)(IIS)”選項(xiàng),還有一些選項(xiàng)是以前的“添
6、加/刪除Windows組件”向?qū)](méi)有提供的,表一概括比較了IIS 6.0和IIS 5.0 的主要組件。如果從這里安裝IIS 6.0,最后得到的Web服務(wù)器可能只支持靜態(tài)內(nèi)容(除非在安裝期間選中了某些擴(kuò)展組件)。選中Internet信息服務(wù)選項(xiàng),再點(diǎn)擊“詳細(xì)信息”,可以看到IIS 6.0的子組件 </p><p> 表一 IIS 6.0 和 IIS 5.0
7、的 比 較</p><p> 另外,在IIS 5.0的IISHelp虛擬目錄中有一些錯(cuò)誤處理頁(yè)面,這些錯(cuò)誤處理頁(yè)面以ASP的方式實(shí)現(xiàn)。如果你要用到定制的(或者修改過(guò)的)幫助文件、錯(cuò)誤處理頁(yè)面,在IIS 6.0網(wǎng)站上必須自己創(chuàng)建該目錄。</p><p> 進(jìn)一步分析IIS 6.0的子組件清單,可以發(fā)現(xiàn):原來(lái)在IIS 5.0和IIS 4.0中默認(rèn)安裝的Internet服務(wù)管理器(ISM)已
8、經(jīng)不見(jiàn)了。但是,如果你點(diǎn)擊“萬(wàn)維網(wǎng)服務(wù)”,再點(diǎn)擊“詳細(xì)信息”,可以發(fā)現(xiàn)IIS 6.0的萬(wàn)維網(wǎng)服務(wù)還有子組件,其中包括原來(lái)的Internet服務(wù)器管理器,不過(guò)現(xiàn)在已經(jīng)改名為“遠(yuǎn)程管理(HTML)”;還有Windows 2003和XP版本的終端服務(wù)高級(jí)客戶端(TSAC)——現(xiàn)在它叫做“遠(yuǎn)程桌面Web連接”?,F(xiàn)在,我們不僅可以方便地添加或刪除這兩個(gè)子組件,對(duì)其他子組件也一樣,包括:ASP,Internet數(shù)據(jù)連接器,在服務(wù)器端的包含文件,We
9、bDAV發(fā)布,當(dāng)然還有萬(wàn)維網(wǎng)服務(wù)。</p><p> 安裝IIS 6.0的最后一種方式是無(wú)人值守安裝。和以前一樣,這仍舊是唯一一種能夠?qū)⒐ぞ吆湍J(rèn)Web網(wǎng)站安裝到其他驅(qū)動(dòng)器(而不是系統(tǒng)驅(qū)動(dòng)器)的安裝方式。Windows 2003無(wú)人值守安裝方式大體上仍和Win 2K一樣,都是用Sysocmgr和一個(gè)應(yīng)答文件實(shí)施安裝。當(dāng)然,新的特性需要新的參數(shù)、選項(xiàng),有關(guān)這方面的詳細(xì)說(shuō)明,可以在Windows 2003 Rele
10、ase Candidate 2 (RC2)找到。</p><p> 如果將IIS 5.0或IIS 4.0服務(wù)器升級(jí)到Windows 2003,IIS 6.0不會(huì)被設(shè)置成自動(dòng)啟動(dòng)。也就是說(shuō),如果采用升級(jí)的方式安裝,IIS 6.0默認(rèn)是禁用的,除非遇到下列情況之一:</p><p> ⑴ 以前的IIS服務(wù)器上已經(jīng)安裝了IIS Lockdown工具。</p><p>
11、 ⑵ 存在注冊(cè)子鍵 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\RetainW3SVCStatus,且它包含一個(gè)任意的注冊(cè)鍵。例如,你可以創(chuàng)建一個(gè)名為EnableIIS6的鍵,設(shè)定它的值為DWORD類型的1。</p><p> ?、?在無(wú)人值守的升級(jí)安裝中,應(yīng)答文件的[InternetServer]部分存在DisableWebServic
12、eOnUpgrade = True/False條目。</p><p><b> 二、支持服務(wù)</b></p><p> 自IIS 6.0發(fā)布以來(lái),它的某些新特性一直是人們關(guān)注和議論的焦點(diǎn),成為眾人矚目的明星,但另一些Internet支持服務(wù)雖然不是經(jīng)常有人說(shuō)起,卻同樣值得關(guān)注,其中之一就是POP3服務(wù)和POP3服務(wù)Web管理器。我們無(wú)從得知微軟為何不在“應(yīng)用程序服
13、務(wù)器”組件清單中列出POP3服務(wù),但是繼SMTP服務(wù)之后(SMTP服務(wù)隨同POP3服務(wù)一起安裝),管理員們盼望POP3服務(wù)已經(jīng)很久了,他們一直在期盼著用一個(gè)簡(jiǎn)單的POP3服務(wù)來(lái)替代龐大的Microsoft Exchange Server。</p><p> 統(tǒng)一描述、發(fā)現(xiàn)和集成協(xié)議(Universal Description, Discovery, and Integration,即UDDI)服務(wù)是Window
14、s 2003提供的又一種新的功能,它也與IIS有關(guān),但默認(rèn)不安裝(注意,Windows 2003 Web版不能安裝UDDI)。UDDI是一種產(chǎn)業(yè)標(biāo)準(zhǔn)(即不是微軟的發(fā)明),能夠通過(guò)廣告發(fā)布IIS服務(wù)器提供的Web服務(wù)——這里“廣告”一詞的含義與日常生活中的廣告不同,它是指一種讓客戶程序(通常是Web瀏覽器)獲知Web服務(wù)(通常是ASP.NET應(yīng)用)各種細(xì)節(jié)的方式。UDDI仍在發(fā)展之中,但一些企業(yè)已經(jīng)在內(nèi)部采用UDDI,以便開(kāi)發(fā)者將自己的代
15、碼發(fā)布給其他協(xié)作開(kāi)發(fā)的人。</p><p> 最后一種重要的支持服務(wù)是后臺(tái)智能傳送服務(wù),即 Background Intelligent Transfer Service或BITS。BITS是一種后臺(tái)文件傳輸機(jī)制和隊(duì)列管理器,也稱作節(jié)流傳輸服務(wù)。BITS控制文件請(qǐng)求,減少帶寬消耗并改善最終用戶的體驗(yàn)。針對(duì)IIS啟用BITS可保證Web服務(wù)器的服務(wù)質(zhì)量,如果沒(méi)有BITS,當(dāng)100個(gè)用戶同時(shí)下載一個(gè)500 MB的文
16、件,服務(wù)器的帶寬可能就被消耗殆盡,導(dǎo)致其他訪問(wèn)Web服務(wù)的用戶頻繁地遇到超時(shí)錯(cuò)誤。如果BITS就象廣告說(shuō)的那樣有效,可以料想它將是一種非常實(shí)用的服務(wù)。Windows 2003發(fā)布之后,按照計(jì)劃,BITS還將移植到Win2K上。</p><p><b> 三、全新的內(nèi)核 </b></p><p> 從體系結(jié)構(gòu)上看,IIS 5.0和IIS 4.0其實(shí)是一樣的:它們都是
17、在用戶模式下運(yùn)行的發(fā)布Web內(nèi)容的應(yīng)用程序,或者在Inetinfo進(jìn)程之內(nèi)以System帳戶運(yùn)行,或者在Inetinfo進(jìn)程之外以IWAM用戶運(yùn)行。雖然在較重的負(fù)載下,IIS 5.0也有相當(dāng)出色的表現(xiàn);不過(guò)從IIS 6.0開(kāi)始,我們對(duì)IIS底層結(jié)構(gòu)的看法應(yīng)該改變了。為了使IIS不僅能夠輕松地支持1000個(gè)Web網(wǎng)站,而且能夠支持10000個(gè)甚至更多的網(wǎng)站,同時(shí)還要提高Web服務(wù)器的安全性和可靠性,微軟放棄了原有的IIS內(nèi)核,重新構(gòu)造了一
18、個(gè)。</p><p> 另一個(gè)促使微軟重新構(gòu)建IIS內(nèi)核的原因是,微軟(以及其他廠商)認(rèn)識(shí)到,Web服務(wù)器的性能和可靠性問(wèn)題絕大部分是由于質(zhì)量低劣的Web應(yīng)用造成。IIS 5.0通過(guò)帶緩沖池的Out of Process容器減輕這類問(wèn)題。在IIS 5.0中,在Out of Process池中運(yùn)行的應(yīng)用一旦崩潰,一般不會(huì)波及到IIS本身,因?yàn)閼?yīng)用程序在Inetinfo之外的進(jìn)程中運(yùn)行,但運(yùn)行在Out of Pro
19、cess池之內(nèi)的所有Web應(yīng)用都會(huì)終止——在默認(rèn)情況下,所有的應(yīng)用程序都在該池之中運(yùn)行。在這種情況下,排解故障很不容易,因?yàn)橐_定哪一個(gè)應(yīng)用程序?qū)е铝藛?wèn)題非常困難。IIS 6.0將監(jiān)聽(tīng)請(qǐng)求、創(chuàng)建和監(jiān)視Web網(wǎng)站、運(yùn)行Web服務(wù)這些不同的任務(wù)隔離了開(kāi)來(lái),這一新型體系可望解決IIS 5.0存在的問(wèn)題。從理論上看,新的體系將極大地改善可用性、安全和性能;從實(shí)際情況看,根據(jù)微軟和Beta測(cè)試者的報(bào)告,新的體系令穩(wěn)定性和性能有了奇跡般地提高。II
20、S 6.0的內(nèi)核體系主要建立在三個(gè)組件之上:W3SVC,http.sys,以及W3Core。</p><p><b> ■ W3SVC</b></p><p> W3SVC也許是IIS 6.0體系中最不令人注意的組件,不過(guò)這并不說(shuō)明它不重要。W3SVC的任務(wù)是根據(jù)配置數(shù)據(jù)的設(shè)置創(chuàng)建和監(jiān)視工作線程,由工作線程運(yùn)行Web網(wǎng)站應(yīng)用。在IIS 5.0中,與IIS 6.0
21、W3SVC組件最接近的是IIS管理服務(wù),IIS管理服務(wù)是Inetinfo的一部分;</p><p> 因此,如果Inetinfo出現(xiàn)問(wèn)題,IIS管理服務(wù)也會(huì)出現(xiàn)問(wèn)題,而且此時(shí)的IIS管理服務(wù)不能再重新啟動(dòng)Inetinfo或其他故障的應(yīng)用程序。在IIS 6.0中,W3SVC作為一個(gè)獨(dú)立的進(jìn)程運(yùn)行,Web應(yīng)用的故障不可能波及W3SVC,因?yàn)閃3SVC之內(nèi)根本沒(méi)有第三方的代碼運(yùn)行。W3SVC總是處于運(yùn)行狀態(tài),因此它能
22、夠監(jiān)視Web應(yīng)用的健康狀況,并在必要時(shí)采取行動(dòng)。由于這一策略,服務(wù)器能夠根據(jù)用戶指定的參數(shù)監(jiān)視和重新啟動(dòng)應(yīng)用程序。</p><p> ■ http.sys </p><p> IIS 6.0體系設(shè)計(jì)中最重大的變化是加入了http.sys驅(qū)動(dòng)程序,http.sys驅(qū)動(dòng)程序的任務(wù)是處理HTTP請(qǐng)求,而且它在內(nèi)核模式下執(zhí)行操作。不要小看這一改變,將處理HTTP請(qǐng)求的任務(wù)從IIS 5.0、II
23、S 4.0的用戶模式改變到IIS 6.0的內(nèi)核模式標(biāo)志著亂淮鶬IS服務(wù)器的誕生。</p><p> 在Win 2K和NT 4.0中,IIS在用戶模式下運(yùn)行。運(yùn)行在用戶模式下的應(yīng)用程序不直接與硬件通信,它們直接調(diào)用的是一些標(biāo)準(zhǔn)過(guò)程,這些標(biāo)準(zhǔn)過(guò)程或者將數(shù)據(jù)傳入內(nèi)核模式的組件(例如網(wǎng)卡驅(qū)動(dòng)程序,圖形子系統(tǒng)),或者調(diào)用內(nèi)核模式組件的函數(shù),以此完成保存文件、設(shè)置IP地址、將HTML文件發(fā)送到網(wǎng)絡(luò)之類的任務(wù)。 </p
24、><p> 用戶模式和內(nèi)核模式之間的轉(zhuǎn)換是一項(xiàng)開(kāi)銷很大的操作,服務(wù)器首先從內(nèi)核模式的TCP/IP棧將傳入的HTTP請(qǐng)求傳遞給用戶模式的Winsock,由Winsock將請(qǐng)求傳遞給IIS。從內(nèi)核模式到用戶模式的切換很快發(fā)生,但不可避免地給處理過(guò)程帶來(lái)瞬間的延遲。當(dāng)負(fù)載較大時(shí),這種延遲不斷累加,同時(shí)由于這種轉(zhuǎn)換是必不可少的,所以管理員根本沒(méi)有辦法優(yōu)化處理過(guò)程。</p><p><b>
25、 四、應(yīng)用程序池詳解</b></p><p> 下面來(lái)看看有關(guān)應(yīng)用程序池的一些問(wèn)題。應(yīng)用程序池的“屬性”對(duì)話框有四頁(yè)——回收,性能,運(yùn)行狀況,標(biāo)識(shí)。在這些選項(xiàng)頁(yè)中,最引人注目的恐怕就是“回收”頁(yè),使用該選項(xiàng)頁(yè)可以管理工作進(jìn)程的回收。在工作進(jìn)程隔離模式中, IIS可以配置成定期重新啟動(dòng)應(yīng)用程序池中的工作進(jìn)程,從而更好地管理那些有錯(cuò)誤的工作進(jìn)程。這確保了池中的應(yīng)用程序運(yùn)行正常,并且可以恢復(fù)丟失的系統(tǒng)資
26、源。為了回收工作進(jìn)程,失敗工作進(jìn)程接收請(qǐng)求的能力將被限制,直到它處理完存儲(chǔ)在請(qǐng)求隊(duì)列中的所有剩余請(qǐng)求。為了排出當(dāng)前請(qǐng)求,可以給予進(jìn)程配置限制。同一命名空間組的替換工作進(jìn)程在舊的工作進(jìn)程停止前啟動(dòng),從而防止服務(wù)中斷。舊的進(jìn)程完成其未決的請(qǐng)求,然后正常關(guān)閉,或者如果在達(dá)到了配置的時(shí)間限制、請(qǐng)求數(shù)、設(shè)置的時(shí)間計(jì)劃,或當(dāng)達(dá)到指定的內(nèi)存用量限制后仍沒(méi)有關(guān)閉,則明確地終止進(jìn)程。默認(rèn)情況下,應(yīng)用程序池每隔1740分鐘(29小時(shí))回收一次。</p
27、><p> W3SVC根據(jù)“運(yùn)行狀況”頁(yè)的選項(xiàng)來(lái)判斷應(yīng)用程序池運(yùn)行是否正常,包括:每隔指定的時(shí)間Ping工作進(jìn)程,時(shí)間按秒計(jì),默認(rèn)值30秒;啟動(dòng)時(shí)間限制(工作進(jìn)程必須在指定的時(shí)間內(nèi)開(kāi)始);關(guān)閉時(shí)間限制(工作進(jìn)程必須在指定的時(shí)間內(nèi)關(guān)閉);是否啟動(dòng)快速失敗保護(hù)(如果在指定的時(shí)間段內(nèi)一定數(shù)目的工作進(jìn)程發(fā)生失敗,則禁用應(yīng)用程序池)。另外,ISAPI應(yīng)用程序(包括ASP.NET和asp.dll)可以聲明自己不再適合提供服務(wù),
28、要求回收。</p><p> 默認(rèn)情況下,當(dāng)IIS 6.0回收一個(gè)池時(shí),它會(huì)使用一種稱為overlapped recycle的回收技術(shù)。在這種回收模式下,失敗的工作進(jìn)程仍會(huì)保持運(yùn)行狀態(tài),同時(shí)創(chuàng)建一個(gè)新的工作進(jìn)程。IIS 6.0把新傳入的請(qǐng)求傳遞給新的工作進(jìn)程,但不拆除老的工作進(jìn)程,直至老的工作進(jìn)程處理完它隊(duì)列中的請(qǐng)求,或者遇到超時(shí)錯(cuò)誤。在此期間,TCP/IP連接不會(huì)丟失,因?yàn)橛衕ttp.sys保持著連接的有效性
29、。當(dāng)失敗的工作進(jìn)程超時(shí)出錯(cuò)時(shí),下一個(gè)請(qǐng)求傳遞給工作進(jìn)程的請(qǐng)求是新的請(qǐng)求,因此原來(lái)保存在進(jìn)程中的會(huì)話信息就會(huì)丟失。所有這類回收操作都自動(dòng)進(jìn)行,無(wú)需管理員干預(yù),而且在大多數(shù)情況下,不會(huì)造成明顯的服務(wù)中斷現(xiàn)象。如有必要,可以將配置數(shù)據(jù)屬性LogEventOnRecycle的值設(shè)置為1,指示W(wǎng)3SVC執(zhí)行回收操作時(shí)生成一條事件日志記錄。</p><p> 對(duì)于那些不能以多個(gè)實(shí)例運(yùn)行的應(yīng)用程序,overlapped re
30、cycle回收技術(shù)可能引起問(wèn)題。如果遇到這類問(wèn)題,可以將配置數(shù)據(jù)屬性DissallowOverlappingRotation的值設(shè)置成True(1),關(guān)閉某個(gè)應(yīng)用程序池回收操作時(shí)的進(jìn)程“重疊”現(xiàn)象。另外,對(duì)于失敗的工作進(jìn)程,有時(shí)我們可能不想將它拆除,仍舊保留該進(jìn)程,以便檢測(cè)和尋找發(fā)生問(wèn)題的根源,這時(shí)可以將配置數(shù)據(jù)屬性O(shè)rphanActionExe設(shè)置成執(zhí)行文件的名字,使得工作進(jìn)程成為“孤兒”時(shí)執(zhí)行文件仍保持運(yùn)行狀態(tài)。</p>
31、<p> 另一個(gè)與應(yīng)用程序池有關(guān)的特性是,IIS 6.0允許將應(yīng)用程序池配置成一個(gè)Web園(Web Garden)。要理解Web園的概念,可以設(shè)想這樣一種情形:假設(shè)有一個(gè)IIS 5.0服務(wù)器和三個(gè)Web網(wǎng)站,每一個(gè)Web網(wǎng)站運(yùn)行著相同的應(yīng)用程序,如果IIS 5.0能夠自動(dòng)按照?qǐng)A形循環(huán)的模式將請(qǐng)求依次發(fā)送給這些功能上等價(jià)、實(shí)際上分離的Web網(wǎng)站,將負(fù)載分離到三個(gè)不同的進(jìn)程,就可以構(gòu)成一個(gè)小型的Web農(nóng)場(chǎng)(Web Farm)
32、——這就是Web園。</p><p> IIS 6.0 thorough grasp and application of functional Comments</p><p> IIS 6.0 on the untold story, if you have IIS technically investment IIS 6.0 is a moving, not listening
33、to the non-topic. In view of previous versions of IIS 6.0 and the difference is so large that only difficult exhaustive article, This paper discusses why the IIS 6.0 installed. Architecture as well as the difference betw
34、een architecture and bring new services, Then an article under IIS 6.0 on the new features -- some of which you may have never heard, Another tacit approval of the allocation of</p><p> 1.installed IIS 6.0
35、</p><p> Speaking from the basics right first. IIS 6.0 on Windows Server 2003 server includes among four versions : Data Center Edition, Enterprise Edition, Standard Edition, Web Edition. In addition, the m
36、ost common way to answer a question : IIS 6.0 IIS 6.0 on Windows XP,2000 not operate their own encoding. Installed Windows 2003, we can immediately see the distinguished feature of Windows 2003/IIS 6.0. One of the key ch
37、anges is that, in addition to Windows 2003 Web Edition, Windows 2003 version of the</p><p> Choose "Add or delete" role "server" can be seen in a series of guides can be configured serve
38、r role which include "application servers (IIS, ASP)" option, as illustrated in figure 2. After clicking on the option selected "next step" NET provides a guide to whether or not to install Microsoft
39、FrontPage server extension and option. We can see that Microsoft used in a new type of "always seek the views of users before installing any components" IIS installation strategy For Microsoft, this is a ra<
40、/p><p> Use the Control Panel "Add / remove Windows components" function, but also flexible. Guide in choosing "application servers" and then click on "detailed information". The
41、guide shows a series of components list which include "Internet Information Service (IIS)" option. Some choice before the "Add / remove Windows components" failed to provide guides, Table 1 summarizes
42、 the comparison of the main components of IIS 6.0 and IIS 5.0. IIS 6.0 installed from here. Finally the device may only support s</p><p> Table 1 than in IIS 6.0 and IIS 5.0 </p><p> In ad
43、dition, IIS 5.0 IISHelp there is something wrong with handling virtual catalog page. ASP pages to the wrong address these means. If you had to use customization (or modified) to help document handling error page. IIS 6.0
44、 on the website must create its own list. Further analysis of the sub-components of IIS 6.0 list can be found : IIS 5.0 and IIS 4.0, which originally acquiescence in the installation of Internet Service Management (ISM)
45、has disappeared. However, if you click the "Web service</p><p> Finally a way to install IIS 6.0 installation is unmanned. And before, it is still only a tool and acquiescence can be installed to other
46、 Web Driver (rather than system actuators) installation method. Still largely unattended installation of Windows 2003 and Windows 2000 server, Sysocmgr been used in the installation and implementation of a response docum
47、ent. Of course, the need for a new characteristic parameter choice, the details in this regard, in Windows 2003 Release Candidate 2 (RC2) to fi</p><p> If IIS 5.0 or IIS 4.0 will upgrade to Windows Server 2
48、003. IIS 6.0 will be installed as automatic failover. In other words, if the installation of the upgrade, IIS 6.0 acquiescence is banned, except under the following circumstances :</p><p> (1). Appropri pre
49、vious IIS server has been installed on IIS Lockdown tool.</p><p> (2). Key elements exist registered HKEY_LOCAL_MACHINE\SYSTEM\CurrentC ontrolSet\Services\W3SVC\RetainW3SVCStat us, and it contains an arbitr
50、ary registration key. For example, you can establish a bond EnableIIS6 known, it set the DWORD value for the type 1 .</p><p> (3).Escalation in the installation of unattended, [InternetServer] part of the r
51、esponse document exists DisableWebServi ceOnUpgrade = True/False entries.</p><p> 2.the support services</p><p> IIS 6.0 has been released since, it has some new features, and became the focus
52、 of people's attention. become the focus of everyone's attention to the stars, but some other Internet services, although not often talked about. equally worthy of attention, one of which was the POP3 and POP3 se
53、rvices for the management of Web services. We have no idea why Microsoft is not "application server" POP3 services components included in the list. But after following SMTP (SMTP POP3 services accompanying ins&
54、lt;/p><p> Unified Description, Discovery and Integration protocol (Universal Description, Discovery, and Integration. that UDDI) service is also provided by a new Windows 2003 functional, it is also the IIS.
55、But acquiescence is not installed (Note that Windows 2003 Web Edition can not be installed UDDI). UDDI is an industry standard (that is, not Microsoft's invention). IIS server through the Web advertisement is publish
56、ed here -- "advertisement" and the meaning of the word daily The advertisement, It is </p><p> Finally, the support services are important background intelligent transmission services. Background
57、Intelligent Transfer Service or that BI TS. BITS is a background file transfer mechanism and queue manager, also known as cutting expenditure transmission services. BITS control document request, reducing bandwidth consu
58、mption and improve the end user experience. IIS Web server against opening BITS can guarantee the quality of service, if not BITS. When downloading a 500 MB 100 simultaneous docum</p><p> 3. New kernel</
59、p><p> From the system structure, IIS 5.0 and IIS 4.0 is the same : They are issued in user mode of operation of Web applications, Inetinfo process or operation within a System account. Inetinfo IWAM user to p
60、rocess or operation. Although the heavier load, and there are also quite remarkable performance IIS 5.0; But from IIS 6.0, We should change the structure of the bottom of the IIS. To not only be able to easily support 1,
61、000 IIS Web. Moreover, the website can support 10,000 or more, and also to enh</p><p> Another re-building to promote Microsoft IIS core reason is that Microsoft (and other companies) understand that Web se
62、rver performance and reliability problems are mostly due to the poor quality of the resulting Web application. IIS 5.0 Out of the pool through the buffer zone Process containers to reduce such problems. In IIS 5.0, in th
63、e Out of the pool operation Process Application collapse, normally does not affect IIS itself, but because the application process in Inetinfo operation However,</p><p><b> ■ W3SVC</b></p>
64、<p> W3SVC IIS 6.0 system is perhaps the most noteworthy components, but this does not mean that it does not matter. W3SVC task is the creation and distribution of data installed surveillance thread. Working thre
65、ad running Web applications. In IIS 5.0, IIS 6.0 and IIS W3SVC components is the closest management services Inetinfo is part of the IIS management services; Therefore, if Inetinfo problems. IIS management services will
66、be problems. but this time no longer restart the IIS management services </p><p> ■ http.sys</p><p> IIS 6.0 system design of the most significant changes is the inclusion of http.sys driver.
67、http.sys Driver's mandate is to deal with the HTTP request, but it is implemented in kernel mode operation. Do not belittle this change, which will deal with IIS 5.0 HTTP request from the task. IIS 4.0 IIS 6.0 of the
68、 kernel to user mode change Huai 鶬 IS server model marks the birth of chaos. </p><p> Win 2K and NT 4.0, the user mode IIS operation. Applications run in user mode of communication is not directly related t
69、o hardware, they are transferred directly to the standards process. These standards process or data into kernel mode components (such as network interface card driver, graphics subsystems). Calling kernel mode components
70、 or functions, thereby completing the preservation of documents, set up IP addresses. HTML document will be sent to the type of network tasks. </p><p> Conversion between the user mode and kernel mode is a
71、great operating expenses. First, the kernel mode TCP stack from the server to the HTTP request into the mode of transmission to users Wins ock, Winsock request to be passed to IIS. From kernel to user mode switching mode
72、 quickly, but the process is inevitable to bring an instant delay. When the load is large, such a delayed continuous accumulation, a result of this change is essential, Therefore, managers will not be able to optimize th
73、e proc</p><p> 4.Comments application pool </p><p> Now look at the application pool some of the problems. Application pools "Attributes" dialog box with four pages -- recovery, perf
74、ormance, operation, marking. In these pages option, the most striking is probably the "recovery" pages. management can use the option-page recovery process. In the process isolation mode, IIS can be configured
75、to periodically re-start the application process ponds. better management of those mistakes in the process. This will ensure the normal operation of the pool of</p><p> W3SVC under "Operation" pag
76、e option to determine whether the application pool normal operation, including : Ping process at the time, the time by seconds, 30 seconds default values; start time limits (in the process must be started within a specif
77、ied period of time); closing time constraints (the process to be closed within the specified time); whether to activate rapid failure protection (if in the process designated for a specific period of time a certain numbe
78、r of failures occurred, Applicati</p><p> Acquiescence circumstances, a pool recovery IIS 6.0, It will use a technology called overlapped sure that the recovery. In this recovery model, the failure of the p
79、rocess will maintain operations and the creation of a new process. IIS 6.0 new cases at the request of transmission to the new process, but the process does not remove the old, The old process of dealing with it until th
80、e queue the request, or face overtime wrong. During this period, the TCP will not be lost, because the effectiveness</p><p> For those who can operate in a number of application examples, overlapped sure th
81、at recovery technology might lead to problems. If encountered such problems, Configuration data attribute values can be established DissallowOverlappingRotation Purchase% True (1), the closure of a recycling operation in
82、 the process of application pools "overlapping" phenomenon. Moreover, the failure of the process, and sometimes, we may not want to tear it down, be retained in the process, Detection and happened to</p>
83、<p> Another characteristic is the application pool, IIS 6.0 allows a Web application pool configured Park (Web Garden). Web garden concept to understand, such a situation could be envisaged : Suppose a three Web
84、servers and IIS 5.0. Each Web application with the same operating procedures, If IIS 5.0 can be automatically followed by a request in accordance with the circular will be sent to the model cycle of these functional equi
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 眾賞文庫(kù)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
評(píng)論
0/150
提交評(píng)論