热更新
在服务或软件不停止的情况下更新软件或服务的工作方式,完成对软件不停工更新,典型的热更新设备,usb,在使用usb进行插拔时,电脑系统时不需要停止工作的,这中设备叫热插拔设备
1.安装
root@haproxy \~# dnf install socat -y
root@haproxy \~# socat -h
2.利用socat查看haproxy信息


3.利用socat更改haproxy信息
#直接更改报错
root@haproxy \~# echo "set weight webcluster/haha 2 " | socat stdio /var/lib/haproxy/stats
Permission denied
#对socket进行授权
root@haproxy \~# vim /etc/haproxy/haproxy.cfg

root@haproxy \~# rm -rf /var/lib/haproxy/*
root@haproxy \~# systemctl restart haproxy.service
root@haproxy \~# ll /var/lib/haproxy/

#执行泉州更改

#测试
