Finalize the deployment

Finalize the deployment

The last step of a manual deployment is ensuring highstates on all nodes.

To ensure highstates:

  1. Log in to the Salt Master node.

  2. Verify that all machines have connectivity with the Salt Master node:

    salt '*' test.ping
    
  3. Ensure highstate on the Salt Master node:

    salt-call state.apply -l debug
    
  4. Ensure highstate on the GlusterFS nodes one by one to avoid race condition:

    salt -C 'I@glusterfs:server' state.apply -b1 -l debug
    
  5. Ensure highstate on the rest of the nodes:

    salt -C '* and not I@glusterfs:server and not cfg*' state.apply -l debug