✨ New: Try our AI‑powered Search (Ctrl + K) — Read more

Graceful Shutdown and Restart

Prev Next

This article explains the graceful shutdown and restart process. It is important to note, that before you go through a power cycling, the solution should be removed. This will not purge data, it will only disable the running application.

To Perform a Graceful Shutdown

  1. Sign in as admin user
  2. Run the following command:
/etc/aod/solution.sh rm aod

All the docker containers will shutdown gracefully.

To Verify Shutdown is Complete

  1. Run the following command:
docker ps

This will only show the Vault container that is running. After verifying the shutdown is complete, following your internal procedures, you can power down your virtual machine .

To Restart the Solution

  1. Power up your system as usual.
    Note that the DockerSwarm takes a few minutes to fully initialize.

To Verify Minimum Services are Running

  1. Run the following command:
docker node ls

docker ps | grep -i vault

The vault must be unsealed before proceeding.

To Unseal the Vault

  1. Run the following command (with your saved deployment root key):
/home/admin/skylight-installer/bin/vaultCmd.sh operator unseal

You can now re-deploy the solution.

To deploy the Solution

  1. Run the following command:
etc/aod/solution.sh deploy aod

All services will now come up gracefully.

To Verify Services

  1. Run the following command:

watch "docker service ls | grep 0/1"

If further troubleshooting is needed, please reach out to your support contact.