aboutsummaryrefslogblamecommitdiff
path: root/os/config/README.md
blob: fb4f6e78d06c53efb43a828c5daafbaeced5e1f3 (plain) (tree)
1
2
3
4
5
6
7
8
9
         
 
                 
 

                                    


                                                                                 
                                 

                              
                                  
                        
                                    
                                                                       

                                 
 
# ANSIBLE

## How to proceed

For each machine, **one by one** do:
  - Check that cluster is healthy
    - Check gluster
      - `sudo gluster peer status`
      - `sudo gluster volume status all` (check Online Col, only `Y` must appear)
    - Check that Nomad is healthy
      - `nomad server members`
      - `nomad node status`
    - Check that Consul is healthy
      - `consul members`
    - Check that Postgres is healthy
  - Run `ansible-playbook -i production.yml --limit <machine> site.yml`
  - Reboot
  - Check that cluster is healthy