2020-07-05 19:52:31 +02:00
|
|
|
# ANSIBLE
|
2019-06-01 16:02:49 +02:00
|
|
|
|
2020-07-05 19:52:31 +02:00
|
|
|
## How to proceed
|
2019-06-01 16:02:49 +02:00
|
|
|
|
2020-07-05 19:52:31 +02:00
|
|
|
For each machine, **one by one** do:
|
|
|
|
- Check that cluster is healthy
|
2020-07-05 20:12:51 +02:00
|
|
|
- `sudo gluster peer status`
|
|
|
|
- `sudo gluster volume status all` (check Online Col, only `Y` must appear)
|
2020-07-05 20:15:28 +02:00
|
|
|
- Check that Nomad is healthy
|
|
|
|
- Check that Consul is healthy
|
|
|
|
- Check that Postgres is healthy
|
2020-07-05 19:52:31 +02:00
|
|
|
- Run `ansible-playbook -i production --limit <machine> site.yml`
|
|
|
|
- Reboot
|
|
|
|
- Check that cluster is healthy
|
2019-06-01 16:02:49 +02:00
|
|
|
|