Removing an HCI system
In order to remove an HCI system, complete the following steps across all instances.
Procedure
Stop the
For example, if you used systemd to run HCI.service, you would use the following commands to stop and disable it:run
script using whatever method you used to start it.sudo systemctl stop HCI.service
sudo systemctl disable HCI.service
/etc/systemd/system
.Run the following command to stop all HCI Docker containers on the instance:
sudo <installation-directory>/bin/stop
Delete the HCI Docker containers.
List all Docker containers:
sudo docker ps
Note the container IDs for all containers that use a com.hds.ensemble image.
Delete the containers:
sudo docker rm <container-id>
Delete the HCI Docker images.
List all Docker images:
sudo docker images
Note the image IDs for all images that use a com.hds.ensemble repository.
Delete the images:
sudo docker rmi <image-id>
Delete the HCI installation folder:
For example:sudo <installation-directory>/bin/stop
rm -rf /opt/hci