Skip to content

SaltStack Formula to set up and configure keepalived, a router and loadbalancer based on VRRP

Notifications You must be signed in to change notification settings

yfRen/saltstack-haproxy-keepalived

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

saltstack-haproxy-keepalived

你可以通过Saltstack自动化安装及配置Haproxy和Keepalived

setenforce 0

sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config

systemctl stop firewalld && systemctl disable firewalld

Installation, configuration and startup services

yum -y install epel-release

yum -y install salt-master salt-minion

cp -prf /root/saltstack-haproxy-keepalived/config/* /etc/salt/

cp -prf /root/saltstack-haproxy-keepalived/salt /srv/

systemctl start salt-master

systemctl start salt-minion

salt查看salt-minion认证

salt-key

salt同意salt-minion认证

salt-key -A # -A:同意所有

Use saltstack

salt '' test.ping salt '' state.highstate

About

SaltStack Formula to set up and configure keepalived, a router and loadbalancer based on VRRP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published