Installation - absalon-james/cloud-workloads GitHub Wiki
Installation via installer script
The installer script takes care of most setup related tasks.
- salt-master is installed and configured
- salt-minion is installed on minion machines
- cloud-workloads states and pillars are downloaded
- cloud-workloads python package is installed
- first execution of cloud-workloads-runner is performed.
Requirements
- Minion machines should be up and running.
- The master machine should be able to ssh into the minion machines and should be able to sudo without a password.
Usage
wget -O installer.sh <link to come soon>
sudo bash installer.sh
Custom Installation
- Install and configure salt-master on the master machine.
- Install and configure salt-minion on minion machines.
- Accept the minions on the master
- Download cloud-workloads salt states and pillars - link to come soon
- Move uncompressed contents of salt states into the file roots directory
- Move uncompressed contents of salt pillars into the pillar roots directory
- Ensure that the following settings are in the salt master config.
# Our formulas use the salt mine and peer system. Increase or lower depending on
# number of minion machines
worker_threads: 20
# Cloud workloads has to occasionally parse large log files created on a minion.
# This setting allows a minion to push such a log file to the master.
file_recv: True
# Enable peers to execute network commands
peer:
.*:
- network.*
# Enable the salt mine
mine_functions:
network.interfaces: []
test.ping: []
- Install cloud-workloads - link to come soon
- Setup interfaces on pillar_roots_dir/interfaces.sls