여기에서는 salt-minion 설치 및 설정에 대해서만 다룹니다.
나머지 설정은 Quick Installation Guide on Linux Agent node를 참고하세요.
Installer Download: https://github.com/snetsystems/salt/releases/download/v3001.4-5/Salt-Minion-3001.4-Py3-x86-Setup.exe
Config Path:
C:\salt\conf\minion
(salt root path:c:\salt
)## log_level ## # One of 'garbage', 'trace', 'debug', info', 'warning'(default), 'error', 'critical'. log_level: info master: <master ip address> id: <유일한 minion id 설정해야 하며, 생략 시, hostname = minion id> # The maximum number of bytes a single log file may contain before it is rotated. # A value of 0 disables this feature. # Currently only supported on Windows. # On other platforms, use an external tool such as 'logrotate' to manage log files. log_rotate_max_bytes: 314572800 #300MB # The number of backup files to keep when rotating log files. # Only used if log_rotate_max_bytes is greater than 0. # Currently only supported on Windows. # On other platforms, use an external tool such as 'logrotate' to manage log files. log_rotate_backup_count: 7
윈도우 서비스에서 salt-minion [재]시작.
0 Comments