• keepalived安装


    下载: keepalived-1.1.17

    tar -zxf keepalived-1.1.17.tar.gz

    ln -s /usr/src/kernels/2.6.18-308.el5-x86_64  /usr/src/linux

    cd keepalived-1.1.17

    ./configure

    make 

    make install

    之后配置规范启动
    [root@mode keepalived-1.1.17]# ln -s /usr/src/kernels/2.6.18-308.el5-x86_64 /usr/src/linux
    ln: creating symbolic link `/usr/src/linux/2.6.18-308.el5-x86_64' to `/usr/src/kernels/2.6.18-308.el5-x86_64': File exists
    [root@mode keepalived-1.1.17]# /bin/cp /usr/local/etc/rc.d/init.d/keepalived /etc/init.d
    [root@mode keepalived-1.1.17]# /bin/cp /usr/local/etc/sysconfig/keepalived /etc/sysconfig/
    [root@mode keepalived-1.1.17]# mkdir /etc/keepalived
    [root@mode keepalived-1.1.17]# /bin/cp /usr/local/etc/keepalived/keepalived.conf /etc/keepalived
    [root@mode keepalived-1.1.17]# /bin/cp /usr/local/sbin/keepalived /usr/sbin/
    [root@mode keepalived-1.1.17]# /etc/init.d/keepalived start
    Starting keepalived: [  OK  ]
    [root@mode keepalived-1.1.17]# /etc/init.d/keepalived stop
    Stopping keepalived: [  OK  ]
    [root@mode keepalived-1.1.17]# /etc/init.d/keepalived start
    Starting keepalived: [  OK  ]

    [root@mode keepalived-1.1.17]# ps -ef|grep keepalive
    root      6021     1  0 22:49 ?        00:00:00 keepalived -D
    root      6022  6021  0 22:49 ?        00:00:00 keepalived -D
    root      6023  6021  0 22:49 ?        00:00:00 keepalived -D
    root      6039  3674  0 22:56 pts/0    00:00:00 grep keepalive


  • 相关阅读:
    intersect参数
    创建图层只是保存lyr,此路不通
    点在线上
    GPS点和底图叠加
    Ifeature.set_value(index,value)怎么没结果,请高手指点
    GP的输入参数
    关于调用ArcGIS中GP工具.Erase、SymDiff
    ArcEngine 导出图层(shp)
    转载 高效实用的异或操作
    判断一个整数是否是奇数的小解
  • 原文地址:https://www.cnblogs.com/yjbjingcha/p/6918859.html
Copyright © 2020-2023  润新知