柔中带刚,刚中带柔,淫荡中富含柔和,刚猛中荡漾风骚,无坚不摧,无孔不入!
全部博文(1669)
分类: 系统运维
2013-11-27 15:15:19
- #INSTALL 1key_install.sh for RHEL/CentOS 5.X
- #1key_install.sh (install haproxy and keepalived)
- #configure_dir: /usrl/local/keepalived/keepalived.conf ; /usr/local/haproxy/haproxy.cfg
- #sbin: /usr/local/sbin/keepalived.sh ; /usr/local/sbin/haproxy.sh
- #haproxy_check.sh: /usr/local/keepalived/haproxy_check.sh
- #startup: /etc/rc.local
- #haproxy 1
- #1
- ~]# chmod 755 1key_install.sh
- #2
- ~]# ./1key_install.sh
- Usage: ./1key_install.sh {keepalived_type backup}
- keepalived_type:master|backup|backup-2
- #3
- ~]# ./1key_install.sh keepalived_type backup
- #haproxy 2
- #1
- ~]# chmod 755 1key_install.sh
- #2
- ~]# ./1key_install.sh
- Usage: ./1key_install.sh {keepalived_type backup}
- keepalived_type:master|backup|backup-2
- #3
- ~]# ./1key_install.sh keepalived_type backup-2