Minion Primary Configuration(/etc/salt/minion)

master

Default: salt
the hostname or ipv4 of the master. Default: salt
master: salt
the option can can also be set to a list of masters, enabling multi-master mode.
master:
- address1
- address2

In addition, instead of using multi-master mode, the minion can be configured to use the list of master addresses as a failover list, trying the first address, then the second, etc. until the minion successfully connects. To enable this behavior, set master_type to failover:
master:
- address1
- address2
master_type: failover

master_alive_interval

Default: 0
Configures how often, in seconds, the minion will verify that the current master is alive and responding. the minion will try to establish a connection to the next master in the list if it finds the existing one is dead.
master_alive_interval: 30

master_port

Default: 4506
the port of the master ret server, this needs to coincide with the ret_port option on the Salt master.
master_port: 4506

id

Default: the system’s hostname
See also: Salt Walkthrough
the Setting up a Salt Minion section contains detailed information on how the hostname is determined.Explicitly declare the id for this minion to use. Since Salt uses detached ids it is possible to run multiple minions on the same machine but with different ids.
id: foo.bar.com

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值