Uninstall of Altair SLC Hub¶
The Altair SLC Hub software is supplied an RPM, as such an uninstall of
the slchub
using the DNF package manager will remove all of the necessary components.
Note
Before starting the uninstall, the Altair SLC Hub should be stopped.
Deactivate all Deployment API endpoints by browsing to Deployment Services > Deployment in Altair SLC Hub portal, from here select all Deployment API endpoints and click on Deactivate selected, make sure to do this for all pages and in all Namespaces.
Deactivate all Published Libraries by browsing to Enterprise > Manage Published Libraries in Altair SLC Hub portal, from here select all Published Libraries and click on Deactivate selected, make sure to do this for all pages and in all Namespaces.
Next, stop the Altair SLC Hub services by running the following command:
hubctl service stop
hubctl
command:
hubctl service status
All services should be in the Inactive
state.
To properly remove all of the Altair SLC Hub software, use the command:
sudo dnf remove -y slchub
The process for a worker node is similar:
sudo dnf remove -y slchub-worker
Uninstall only removes the Altair SLC Hub software. Data files and
user created configuration files within the [etc directory]/config.d
directory are not removed.
Note
Any installation-provided configuration files that have been modified after
installation are removed. The recommendation is never to modify
the installation-provided configuration files and instead create additional
configuration files in the [etc directory]/config.d
directory.
Force removal¶
As a final recovery option, it is possible to completely remove the Altair SLC Hub software from the host, including any information recorded by RPM.
Warning
This process will completely remove the Altair SLC Hub installation directory, including any user modified configuration files and any data files that might be in that directory.
This removal option is only intended for use in exceptional circumstances and to return to a clean starting point. If necessary take a backup of the installation directory first.
To completely remove Altair SLC Hub using this method, run the following commands:
sudo dnf remove --setopt=tsflags=noscripts slchub*
rm -rf /opt/altair/slchub
dnf clean all