打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
keepalived程序包

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

 

 

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
keepalived健康检查方式
LVS(DR) KeepAlived On CentOS6 安装配置说明书
架构设计:负载均衡层设计方案(7)
RHEL 5.4下部署LVS(DR)+keepalived实现高性能高可用负载均衡
Lvs+Keepalived+Nginx+Tomcat高可用集群
keepalived 实现LVS负载均衡高可用集群(一)
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服