客戶端操做系統:windows2008R2windows
下載相應的saltstack_minion版本:Salt-Minion-3000-Py2-AMD64-Setup服務器
官方連接:https://repo.saltstack.com/#windowside
在管理員模式下安裝,出現下面的信息時,master IP or Hostaname輸入saltstack master服務器IP,下面的minion name可根據本身的hostname輸入(最好能統一規則,這樣方便在後續中進行分組管理)。操作系統
安裝完成後,在服務中會看到有一個salt-minion的服務,處於自動啓動狀態。code
回到saltstack-master服務器上,使用salt-key -L檢查與minion的通信狀態。get
[root@localhost ~]# salt-key Accepted Keys: Node-1 Denied Keys: Unaccepted Keys: R2 Rejected Keys:
從上面的Unaccepted Keys能夠看到有一個R2的minioin客戶端。使用salt-key -A接受minion的通信。it
[root@localhost ~]# salt-key -a R2 The following keys are going to be accepted: Unaccepted Keys: R2 Proceed? [n/Y] y Key for minion R2 accepted.
再次執行salt-key,能夠看到R2的minion客戶端已經加入到了Accepted Keys列表中。io
[root@localhost ~]# salt-key Accepted Keys: Node-1 R2 Denied Keys: Unaccepted Keys: Rejected Keys: