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
- Sign in as admin user
- Run the following command:
/etc/aod/solution.sh rm aod
All the docker containers will shutdown gracefully.
To Verify Shutdown is Complete
- 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
- Power up your system as usual.
Note that the DockerSwarm takes a few minutes to fully initialize.
To Verify Minimum Services are Running
- Run the following command:
docker node ls
docker ps | grep -i vault
The vault must be unsealed before proceeding.
To Unseal the Vault
- 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
- Run the following command:
etc/aod/solution.sh deploy aod
All services will now come up gracefully.
To Verify Services
- Run the following command:
watch "docker service ls | grep 0/1"
If further troubleshooting is needed, please reach out to your support contact.