标签:outside https unix stat keepalive haproxy hot clu alived
直接git配置文件
yum -y install git
cd /root/tools
git clone https://github.com/unixhot/saltbook-code
cd /root/tools/saltbook-code/salt/prod/keepalived
p -r * /srv/salt/prod/modules/keepalived/
修改一下install.sls
可以执行了
salt ‘10-8-86-172‘ state.sls modules.keepalived.install saltenv=prod
cd /root/tools/saltbook-code/salt/prod/cluster
cp haproxy-outside-keepalived.sls /srv/salt/prod/cluster/
cp haproxy-outside-keepalived.conf /srv/salt/prod/cluster/files/
cd /srv/salt/prod/cluster/
vim haproxy-outside-keepalived.sls
salt ‘10-8-86-172‘ state.sls cluster.haproxy-outside-keepalived saltenv=prod
下面是nginx+php
标签:outside https unix stat keepalive haproxy hot clu alived
原文地址:http://www.cnblogs.com/minseo/p/6882844.html