标签:ini 技术 password date 运维 mod 开启 rest 介绍
[root@linux-node1 salt]# salt ‘*‘ service.reload httpd
linux-node2.zhurui.com:
True
linux-node1.zhurui.com:
True
[root@linux-node1 salt]# salt ‘*‘ service.status httpd
linux-node1.zhurui.com:
True
linux-node2.zhurui.com:
True
[root@linux-node1 salt]#
[root@linux-node1 salt]# salt ‘*‘ network.active_tcp
linux-node2.zhurui.com:
----------
0:
----------
local_addr:
0.0.0.0
local_port:
2049
remote_addr:
0.0.0.0
remote_port:
0
1:
----------
local_addr:
0.0.0.0
local_port:
35682
remote_addr:
0.0.0.0
remote_port:
0
10:
----------
local_addr:
192.168.0.16
local_port:
48670
remote_addr:
192.168.0.15
remote_port:
4506
2:
----------
local_addr:
0.0.0.0
local_port:
875
remote_addr:
0.0.0.0
remote_port:
0
3:
----------
local_addr:
0.0.0.0
local_port:
111
remote_addr:
0.0.0.0
remote_port:
0
4:
----------
local_addr:
0.0.0.0
local_port:
51349
remote_addr:
0.0.0.0
remote_port:
0
5:
----------
local_addr:
0.0.0.0
local_port:
22
remote_addr:
0.0.0.0
remote_port:
0
6:
----------
local_addr:
0.0.0.0
local_port:
55993
remote_addr:
0.0.0.0
remote_port:
0
7:
----------
local_addr:
0.0.0.0
local_port:
58267
remote_addr:
0.0.0.0
remote_port:
0
8:
----------
local_addr:
192.168.0.16
local_port:
22
remote_addr:
192.168.0.101
remote_port:
49285
9:
----------
local_addr:
192.168.0.16
local_port:
59181
remote_addr:
192.168.0.15
remote_port:
4505
linux-node1.zhurui.com:
----------
0:
----------
local_addr:
0.0.0.0
local_port:
58975
remote_addr:
0.0.0.0
remote_port:
0
1:
----------
local_addr:
0.0.0.0
local_port:
49856
remote_addr:
0.0.0.0
remote_port:
0
10:
----------
local_addr:
0.0.0.0
local_port:
4505
remote_addr:
0.0.0.0
remote_port:
0
11:
----------
local_addr:
0.0.0.0
local_port:
4506
remote_addr:
0.0.0.0
remote_port:
0
12:
----------
local_addr:
192.168.0.15
local_port:
4505
remote_addr:
192.168.0.15
remote_port:
51071
13:
----------
local_addr:
192.168.0.15
local_port:
4506
remote_addr:
192.168.0.16
remote_port:
48670
14:
----------
local_addr:
192.168.0.15
local_port:
4506
remote_addr:
192.168.0.15
remote_port:
33972
15:
----------
local_addr:
192.168.0.15
local_port:
22
remote_addr:
192.168.0.101
remote_port:
49268
16:
----------
local_addr:
192.168.0.15
local_port:
33972
remote_addr:
192.168.0.15
remote_port:
4506
17:
----------
local_addr:
192.168.0.15
local_port:
4505
remote_addr:
192.168.0.16
remote_port:
59181
18:
----------
local_addr:
127.0.0.1
local_port:
45016
remote_addr:
127.0.0.1
remote_port:
4506
19:
----------
local_addr:
192.168.0.15
local_port:
51071
remote_addr:
192.168.0.15
remote_port:
4505
2:
----------
local_addr:
0.0.0.0
local_port:
2049
remote_addr:
0.0.0.0
remote_port:
0
3:
----------
local_addr:
0.0.0.0
local_port:
44356
remote_addr:
0.0.0.0
remote_port:
0
4:
----------
local_addr:
0.0.0.0
local_port:
40808
remote_addr:
0.0.0.0
remote_port:
0
5:
----------
local_addr:
0.0.0.0
local_port:
11211
remote_addr:
0.0.0.0
remote_port:
0
[root@linux-node1 salt]# vim /etc/salt/master
client_acl:
zhurui1:
- test.ping
- network.*
user01:
- linux-node1*:
- test.ping
标签:ini 技术 password date 运维 mod 开启 rest 介绍
原文地址:http://www.cnblogs.com/hackerer/p/6618001.html