centos5安装salt-master】的更多相关文章

首先得先安装epel的yum源: rpm -ivh http://mirrors.skyshe.cn/epel/6/x86_64/epel-release-6-8.noarch.rpm 1.SaltStack服务端(salt-master)安装: 1.安装Master: yum install salt-master -y 2.启动salt-master服务 service salt-master start 至此SaltStack的服务端就安装和启动完成了. 2.SaltStack客户端(sa…
本篇文档主要解决2个问题: 1. centos5通过yum安装的master版本肯定低于centos6安装的minion,所以必须升级salt-master 2. zeromq版本太低会报这个错 2014-10-29 14:36:04,597 [salt.master      ][WARNING ] You have a version of ZMQ less than ZMQ 3.2! There are known connection keep-alive issues with ZMQ…
总结: 对于python2.7环境下的salt来说,要安装pip install mysql-python 对于python3环境下的salt来说,pip install mysqlclient的时候要和salt在同一个目录下 1.生产环境3.6的,这个怎么整呢 1.2019.2 的salt [root@IP ~]# salt-call --versions-report Salt Version: Salt: 2019.2.0 Dependency Versions: cffi: Not In…
Issue: When you set up a Salt Master server and several Minions, you may find that none of minions could be seen by master. nc -v -z salt.master.ip.addr 4505 nc: connect to 10.61.22.98 port 4505 (tcp) failed: No route to host Reason: The firewall on…
#!/bin/bash for i in $(cat ./host.txt) do echo $i > ./tmp.txt HOSTNAME=$(cut -d ':' -f1 ./tmp.txt) IP=$(cut -d ':' -f2 ./tmp.txt) PASS=$(cut -d ':' -f3 ./tmp.txt) /usr/bin/expect <<-EOF spawn ssh $IP expect { "yse/no" { send "yse\r…
salt查看日志: salt --log-level=all "10.199.165.244" state.highstate 进入调试模式: salt-minion -l debug [DEBUG   ] Reading configuration from /etc/salt/minion [DEBUG   ] Configuration file path: /etc/salt/minion [INFO    ] Setting up the Salt Minion "…
在salt master端执行salt ‘*’ test.ping时,某一节点出现如下报错:Minion did not return. [No response] 登陆到这一节点查看minion的日志,发现如下的问题: $ tail -f /var/log/salt/minion The master may need to be updated , or If you are confident that you are connecting to a valid Salt Master,…
2.salt master已缓存此节点的公钥,此salt minion将等待10秒,然后再尝试重新验证. [ERROR ] The Salt Master has cached the public key for this node, this salt minion will wait for 10 seconds before attempting to re-authenticate 解决办法: 请务必关闭selinux和iptables…
You are using the EPEL 5 version of the repo instead of 6, go into your /etc/yum.repos.d/epel.repo file and change: mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch to mirrorlist=http://mirrors.fedoraproject.org/mirro…
参考:http://www.52devops.com/chuck/814.html 查看salt-minion的运行状态,显示salt-master已经缓存了这个minion,但是minion在重新认证之前将要等待10秒,其实此情况是正常情况,因为salt-master没有接收minion的认证,但是由于master上无法查看minion的应有id而是显示了错误的id导致 minion删除minion_id /etc/salt/minion_id master端删除key salt-key -a…