lvs負載平衡realserver windows配置

來源:互聯網
上載者:User

標籤:interface   windows   linux   本地串連   網路   

linux中在lo上綁定vip比較簡單,windows也不難。


首先開啟運行——>輸入hdwwiz會彈出添加裝置:




  1. 650) this.width=650;" src="https://s2.51cto.com/wyfs02/M00/96/BF/wKioL1klGQ_DCxf3AAG-pL5PO6w145.jpg" style="float:none;" title="搜狗17年05月24日1321_6.jpg" alt="wKioL1klGQ_DCxf3AAG-pL5PO6w145.jpg" />



  1. 650) this.width=650;" src="https://s2.51cto.com/wyfs02/M01/96/BE/wKiom1klGRHCHCFKAAEOLL6GbtU622.jpg" style="float:none;" title="搜狗17年05月24日1321_7.jpg" alt="wKiom1klGRHCHCFKAAEOLL6GbtU622.jpg" />

  2. 650) this.width=650;" src="https://s4.51cto.com/wyfs02/M01/96/BE/wKiom1klGRTAI32DAAFAF7hTdUI836.jpg" style="float:none;" title="搜狗17年05月24日1321_8.jpg" alt="wKiom1klGRTAI32DAAFAF7hTdUI836.jpg" />

  3. 650) this.width=650;" src="https://s4.51cto.com/wyfs02/M01/96/BF/wKioL1klGRrS9I5RAAHjTy818yE044.jpg" style="float:none;" title="搜狗17年05月24日1322_9.jpg" alt="wKioL1klGRrS9I5RAAHjTy818yE044.jpg" />

  4. 650) this.width=650;" src="https://s1.51cto.com/wyfs02/M01/96/BF/wKioL1klGSGwCOinAAIoCDrd2r0021.jpg" style="float:none;" title="搜狗17年05月24日1323_10.jpg" alt="wKioL1klGSGwCOinAAIoCDrd2r0021.jpg" />

650) this.width=650;" src="https://s2.51cto.com/wyfs02/M00/96/BF/wKioL1klGQrhG6OwAAGBlEtR1iI765.jpg" title="搜狗17年05月24日1323_11.jpg" style="float:none;" alt="wKioL1klGQrhG6OwAAGBlEtR1iI765.jpg" />


在lo中綁定好vip地址以後,還需要做一項工作,至關重要!!!

編寫指令碼:test.bat

@echo offnetsh interface ipv4 set interface "realserver" weakhostreceive=enablednetsh interface ipv4 set interface "realserver" weakhostsend=enablednetsh interface ipv4 set interface "本地串連 2" weakhostreceive=enablednetsh interface ipv4 set interface "本地串連 2" weakhostsend=enabledpause


註:realserver為本機建立lo網路的名稱,本地串連2位網路自動的網路名稱,這兩個名字自行修改即可。



本文出自 “王家東哥” 部落格,謝絕轉載!

lvs負載平衡realserver windows配置

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.