增加集群服务器ha配置;更新pyinstaller打包后找不到依赖库的bug.
This commit is contained in:
BIN
roles/ha_master/files/ipvsadm-1.27-8.el7.x86_64.rpm
Normal file
BIN
roles/ha_master/files/ipvsadm-1.27-8.el7.x86_64.rpm
Normal file
Binary file not shown.
BIN
roles/ha_master/files/keepalived-1.3.5-16.el7.x86_64.rpm
Normal file
BIN
roles/ha_master/files/keepalived-1.3.5-16.el7.x86_64.rpm
Normal file
Binary file not shown.
16
roles/ha_master/files/keepalived.service.j2
Normal file
16
roles/ha_master/files/keepalived.service.j2
Normal file
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=LVS and VRRP High Availability Monitor
|
||||
After=syslog.target network-online.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/var/run/keepalived.pid
|
||||
KillMode=process
|
||||
EnvironmentFile=-/etc/sysconfig/keepalived
|
||||
ExecStart=/usr/sbin/keepalived $KEEPALIVED_OPTIONS
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
RestartSec=30s
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user