分享

keepalived程序包

 WindySky 2018-02-25

keepalived自带两个程序包

1. keepalived守护进程

[root@lvs /root]# keepalived –-help
keepalived Version 0.6.1 (06/13, 2002)
Usage:
keepalived
keepalived -n
keepalived -f keepalived.conf
keepalived -d
keepalived -h
keepalived -v
Commands:
Either long or short options are allowed.
keepalived --dont-fork -n Dont fork the daemon process.
keepalived --use-file -f Use the specified configuration file.
Default is /etc/keepalived/keepalived.conf.
keepalived --dump-conf -d Dump the configuration data.
keepalived --log-console -l Log message to local console.
keepalived --help -h Display this short inlined help screen.
keepalived --version -v Display the version number

 

2. hash码生成工具

[root@lvs /root]# genhash –-help
genhash Version 0.5.8 (05/17, 2001)
Usage:
genhash -s server-address -p port -u url
genhash -S -K priv-key-file -P pem-password -s server-address -p port -u url
genhash -S -K priv-key-file -P pem-password -C cert-file -s server-address -p port -u url
genhash -h
genhash -v
Commands:
Either long or short options are allowed.
genhash --use-ssl -S Use SSL connection to remote server.
genhash --server -s Use the specified remote server address.
genhash --port -p Use the specified remote server port.
genhash --url -u Use the specified remote server url.
genhash --use-private-key -K Use the specified SSL private key.
genhash --use-password -P Use the specified SSL private key password.
genhash --use-virtualhost -V Use the specified VirtualHost GET query.
genhash --use-certificate -C Use the specified SSL Certificate file.
genhash --help -h Display this short inlined help screen.

3.运行keepalived守护进程

  1. 运行keepalived

     [root@lvs tmp]# /etc/rc.d/init.d/keepalived.init start
     Starting Keepalived for LVS: [ OK ]

  2. 查看日志信息

    /var/log/messages

 

 

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多