Saltstack管理系统安装初解

  • A+
所属分类:Basic

基础环境:

[root@SaltM ~]# uname -a
Linux SaltM.t4x.org 2.6.32-642.el6.x86_64 #1 SMP Tue May 10 17:27:01 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
[root@SaltM ~]# uname -n
SaltM.t4x.org
[root@SaltM ~]# uname -r
2.6.32-642.el6.x86_64
[root@SaltM ~]# cat /etc/redhat-release
CentOS release 6.8 (Final)

IP地址规划:

[root@SaltM ~]# ifconfig | grep "inet addr:"
inet addr:1.1.1.114 Bcast:1.1.1.255 Mask:255.255.255.0

[root@Salt1 salt]# ifconfig | grep "inet addr:"
inet addr:1.1.1.115 Bcast:1.1.1.255 Mask:255.255.255.0

[root@Salt2 salt]# ifconfig | grep "inet addr:"
inet addr:1.1.1.116 Bcast:1.1.1.255 Mask:255.255.255.0

服务端安装:

客户端安装:

默认配置文件:

启动master:

启动minion:

配置管理:

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: