biolab/salt-share

Name: salt-share

Owner: Bioinformatics Laboratory

Description: null

Created: 2017-09-11 07:43:09.0

Updated: 2018-03-07 18:35:55.0

Pushed: 2018-01-10 09:57:05.0

Homepage: null

Size: 47

Language: SaltStack

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

salt-share: Automated administration for biolab cloud network

Master / Salt server

Note that install script reboots the server. Edit the script to change this behaviour.

./scripts/saltinstall.sh

After reboot, register salt server key:

./ADD.sh saltdrive
cd generate && python salt.py
./scripts/enable-fw.sh
Minions

When a new server is added to the cloud (run this once):

./DEPLOY.sh hostname
sudo ./KEYS.sh hostname
./ADD.sh hostname

Apply the salt rules on minion:

./APPLY.sh hostname

You need to run these two commands after each configuration change.

./UPDATE.sh
./APPLY.sh hostname

To delete keys before existing machine can be re-deployed.

./REMOVE.sh hostname
Troubleshooting

Check the keys. Salt will not apply the rules if the keys have not been accepted.

sudo salt-key

You may need to check minions if there is a problem with connection. It may also inicate a problem with minion keys.

sudo salt-run manage.status 

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.