Saltstack基本安装认证
# rpm -ivh http://mirrors.ustc.edu.cn/fedora/epel//6/x86_64/epel-release-6-8.noarch.rpmRetrieving http://mirrors.ustc.edu.cn/fedora/epel//6/x86_64/epel-release-6-8.noarch.rpm
warning: /var/tmp/rpm-tmp.LBQFzi: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Preparing... ###########################################
1:epel-release ###########################################
#
# yum install –y salt-minion
客户端配置
# vim /etc/salt/minion
master: 192.168.1.221(修改 master 为 master 的IP地址)
id: (客户端的 id。默认不设置会取客户端的 FQDN 主机名)
客户端启动
# /etc/init.d/salt-minion start
Starting salt-minion daemon: [确定]
客户端日志
# tail -f /var/log/salt/minion
2016-03-25 10:36:29,597 The Salt Master has cached the public key for this node, this salt minion will wait for 10 seconds before attempting to re-authenticate
2016-03-25 10:36:39,616 The Salt Master has cached the public key for this node, this salt minion will wait for 10 seconds before attempting to re-authenticate
(注意,需要做认证,日志会报客户端在等待)
页:
[1]