當(dāng)前位置:
首頁 >
记录因xen而导致lvs,realserver转发activeconn为0
發(fā)布時(shí)間:2025/3/19
41
豆豆
生活随笔
收集整理的這篇文章主要介紹了
记录因xen而导致lvs,realserver转发activeconn为0
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
8.81----vip,keepalived
8.82----realserver
8.83----realserver
8.84----realserver
在8.81上ipvsadm -Ln的時(shí)候
8.84總是activeconn為0
查了各種配置,參數(shù)等等,無果
后發(fā)現(xiàn)可能是xen的原因;停用xen后,重啟機(jī)器;
正?;謴?fù)了;
?
=========================
參考資料:
http://www.mysqlpub.com/thread-1198-1-1.html
| 作者:kider,出處:mysqlpub.com 1、修改Linux啟動(dòng)內(nèi)核 [root@node02 ~]# more /etc/grub.conf? # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,0) # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 # initrd /initrd-version.img #boot=/dev/sda default=1 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title Red Hat Enterprise Linux Server (2.6.18-92.el5xen) root (hd0,0) kernel /xen.gz-2.6.18-92.el5 module /vmlinuz-2.6.18-92.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet module /initrd-2.6.18-92.el5xen.img title Red Hat Enterprise Linux Server-base (2.6.18-92.el5) root (hd0,0) kernel /vmlinuz-2.6.18-92.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet initrd /initrd-2.6.18-92.el5.img 找到default=?,如果你打很多patch會(huì)有很多項(xiàng),修改為沒有xen的內(nèi)核啟動(dòng),這里改為default=1 2、關(guān)閉libvirtd服務(wù) #ntsysv 打開的服務(wù)列表里,去掉libvirtd服務(wù)前面的“*”符號(hào) 3、重啟動(dòng)機(jī)器 #reboot |
轉(zhuǎn)載于:https://www.cnblogs.com/taosim/p/3146729.html
總結(jié)
以上是生活随笔為你收集整理的记录因xen而导致lvs,realserver转发activeconn为0的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: JS、JQuery和ExtJs的跨域处理
- 下一篇: jspServlet(2)