Uninstalling Open Horizon Management Hub
In the Installing All-In-One (AIO) Open Horizon Management Hub section of Chapter 6, we learned how to install AIO Open Horizon Management Hub. Though the Open Horizon Management Hub may not need to be uninstalled once it’s running, it is good to know how this can be done just in case.
If you run the deploy-mgmt-hub.sh
script with the –h
option, you will notice that the same script has an uninstall option that can be invoked using the -S
and -
P
options.
As you may have noticed in Chapter 6, the installation process allocates disk volumes and runs various containers that make up the components of the Open Horizon Management Hub. The uninstallation process does the reverse by stopping the containers, and then purging the volumes and the images. Run the following command to stop and uninstall the Management Hub:
sudo -s -E ./deploy-mgmt-hub.sh -S -P
You will see an output similar to the following:
------- Checking input...