歡迎您光臨本站 註冊首頁

關於lvs做負載均衡出現的問題

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

關於lvs做負載均衡出現的問題

做了個LVS   Tunl 方式
一台 LB  假設為 61.61.61.61
一台DR  假設為 61.61.61.62

下面帶了3台webserver

分別是 55.55.55.51  55.55.55.52  55.55.55.53

調度採用輪詢方式 rr
設置Persistence 為 600s

webserver 是php動態內容 cookie方式

3台伺服器都可以輪詢到 沒有問題

但是現在問題來啦 用戶提交表單 或者 叫做發表一篇文章 那個速度慢啊

如果我在本地hosts 綁定域名到RS里的一台機器 比如 55.55.55.51 提交發表文章就超級快

最近被這個問題困擾了 有經驗的大哥指點下  ?  
《解決方案》

回復 #1 hawking8987 的帖子

1.use firefox with FireBug to analyse this problem.

2.use also network analyzer to anylse.such as ethereal ,the lastest name is wireshark.

wish it can help you.
《解決方案》

多謝樓上
我先去download 下wireshark.
《解決方案》

the easy way to install wireshark-gone and wireshark is yum

yum install ethereal
yum install ethereal

or
yum install wireshark
yum install wireshark-gnome

for wireshark-gnome.you have to install Gnome desktop environments
《解決方案》

看樣子是跳轉的問題,撇開lvs速度就正常了.檢查一下你lvs探測的情況了
《解決方案》

碰到了類似的問題,用apache+2個tomcat模式,刷新的時候總是偶爾卡在CSS或者image上,看不出來配置有什麼問題,請問jackeyj 如何查看LVS探測情況?

[火星人 ] 關於lvs做負載均衡出現的問題已經有514次圍觀

http://coctec.com/docs/service/show-post-21225.html