zoukankan      html  css  js  c++  java
  • 记录因xen而导致lvs,realserver转发activeconn为0

    8.81----vip,keepalived

    8.82----realserver

    8.83----realserver

    8.84----realserver

    在8.81上ipvsadm -Ln的时候

    8.84总是activeconn为0

    查了各种配置,参数等等,无果

    后发现可能是xen的原因;停用xen后,重启机器;

    正常恢复了;

    =========================

    参考资料:

    http://www.mysqlpub.com/thread-1198-1-1.html

    作者:kider,出处:mysqlpub.com


    1、修改Linux启动内核
    [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会有很多项,修改为没有xen的内核启动,这里改为default=1

    2、关闭libvirtd服务
    #ntsysv
    打开的服务列表里,去掉libvirtd服务前面的“*”符号

    3、重启动机器
    reboot
  • 相关阅读:
    MPLS 知识要点1
    ISIS的SSN和SRM标志
    对比ISIS和OSPF
    ISIS帧中继实验
    ISIS 认证实验
    ISIS数据库同步
    ISIS Lab 路由泄露
    ISIS Lab 重分布直连
    32、端口有效范围是多少到多少?
    33、为何需要把 TCP/IP 协议栈分成 5 层(或7层)?开放式回答。
  • 原文地址:https://www.cnblogs.com/taosim/p/3146729.html
Copyright © 2011-2022 走看看