You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Salt Minion

Installing Salt Minion, as root:

wget -O /tmp/install_salt.sh http://bootstrap.saltstack.org

sh /tmp/install_salt.sh

Once installed, and before you start it, be sure to edit the `/etc/salt/minion` file and add the following details based on the server's role and environment.

Note, the EIP for the Salt Master in the I2 CommIT environment is

LDAP Servers

.h5 ldap-master1

master: <ip addr or fqdn of salt master>

log_level: debug

grains:
  env: <environment>
  roles:
    - ldap
    - ldap-master1

mine_functions:
  grains.item:
    - roles
    - fqdn_ip4

.h5 ldap-master2

master: <ip addr or fqdn of salt master>

log_level: debug

grains:
  env: <environment>
  roles:
    - ldap
    - ldap-master2

mine_functions:
  grains.item:
    - roles
    - fqdn_ip4

.h5 cpr-pg-master

master: <ip addr or fqdn of salt master>
log_level: debug

grains:
  env: <environment>
  roles:
    - tomcat
    - activemq
    - pg_master
    - cpr
    - cpr_master

mine_functions:
  grains.item:
    - roles
    - fqdn_ip4

.h5 cpr-pg-slave

master: <ip addr or fqdn of salt master>
log_level: debug

grains:
  env: <environment>
  roles:
    - tomcat
    - activemq
    - pg_replica
    - cpr

mine_functions:
  grains.item:
    - roles
    - fqdn_ip4

salt-key -L

salt-key -y -a <fqdn of salt minion>

  • No labels