Removing an HCI system
To completely remove your system, do the following on all instances:
Procedure
Stop the
run
script from running. You do this using whatever method you're currently using to run the script.For example, if you used systemd to run HCI.service, you run these commands to stop it and then disable it:
sudo systemctl stop HCI.service sudo systemctl disable HCI.service
Additionally, if you used systemd to run Hitachi Content Intelligence, delete the HCI.service file from where you copied it when you installed Hitachi Content Intelligence on the instance. Typically, the HCI.service is copied to /etc/systemd/system.
Run this command to stop all Hitachi Content Intelligence Docker containers on the instance:
sudo <installation-directory>/bin/stop
Delete the Hitachi Content Intelligence Docker containers:
List all Docker containers:
sudo docker ps
Note the container IDs for all containers that use a com.hds.ensemble image.
Delete each of those containers:
sudo docker rm <container-id>
Delete the Hitachi Content Intelligence Docker images:
List all Docker images:
sudo docker images
Note the image IDs for all images that use a com.hds.ensemble repository.
Delete each of those images:
sudo docker rmi <image-id>
Delete the Hitachi Content Intelligence installation folder:
rm -rf /<installation-directory>
For example:
rm -rf /opt/hci