CentOS 5.x/ RHEL 5.x install salt to upgrade ZMQ2.x to ZMQ4.x
RHEL5.8 install salt-minion through the EPEL source. When starting, the log reports an error: [WARNING] You have a version of ZMQ less than ZMQ 3.2! There are known connection keep-alive issues with ZMQ <3.2 which may result in loss of contact with minions. Please upgrade your ZMQ!
The reason is that the salt-master version uses ZMQ3, the salt-miniton version uses ZMQ2.2, and the communication between them is caused by the unavailability of keep-alive. The method is to upgrade ZMQ version> 3.2, I found a solution on the Internet, and it was really a place to copy and paste it, which is very troublesome. In fact, the easy solution is to download two files first:
Http://copr-be.cloud.Fedoraproject.org/results/saltstack/zeromq4/epel-5-x86_64/zeromq-4.0.4-2.el5/zeromq-4.0.4-2.el5.x86_64.rpm
And
Http://copr-be.cloud.fedoraproject.org/results/saltstack/zeromq4/epel-5-x86_64/python-zmq-14.3.1-3.el5/python26-zmq-14.3.1-3.el5.x86_64.rpm
Run rpm-Uvh python26-zmq-14.3.1-3.el5.x86_64.rpm zeromq-4.0.4-2.el5.x86_64.rpm
Restart salt-minion:
/Etc/init. d/salt-minion restart
Related Articles:
Https://github.com/saltstack/salt/issues/4440
Http://copr-be.cloud.fedoraproject.org/results/saltstack/zeromq4/epel-5-x86_64/