Uninstalling the App Host
Perform the following procedures to uninstall the App Host .
Before uninstalling the App Host software,
identify the App Host instances provided by
this system and then delete them from the SOAR Platform. See the Managing App Hosts topic in the System Administrator
Guide for details. If you are unsure which App Host instances are on the system, you can enter
the following command to see a list of names:
sudo kubectl get namespaces -L "apps.isc.ibm.com/apphost-name"If you have the virtual appliance of App Host, you uninstall the App Host by deleting the App Host OVA. There are no other steps to complete.
If you have the standalone version of the App Host, perform the following procedure:
- Remove the App Host packages to remove
the App Host and its dependencies, k3s,
k3s-selinux and resilient-IBM®-jre, as
follows:
sudo yum remove apphost --setopt=clean_requirements_on_remove=1 sudo yum remove k3s - Clear the
k3snetwork interfaces fromfirewalld:sudo firewall-cmd --permanent --zone=trusted --remove-interface=cni0 && sudo firewall-cmd --permanent --zone=trusted --remove-interface=flannel.1 && sudo firewall-cmd --permanent --zone=trusted --remove-port=6443/tcp && sudo firewall-cmd --permanent --zone=trusted --remove-port=10250/tcpsudo firewall-cmd --reload && sudo systemctl restart firewalld - If there are no other interfaces in the "trusted" zone, clear port 443 from
firewalldas follows:- Verify that there are no interfaces in the trusted
zone:
sudo firewall-cmd --zone=trusted --list-interfaces - If the command did not return any interfaces,
run:
sudo firewall-cmd --permanent --zone=trusted --remove-port=443/tcp && sudo firewall-cmd --reload
- Verify that there are no interfaces in the trusted
zone:
- Use the following command to remove the
container-selinuxandcreaterepopackages, only if they are not used by any other services. This command also removescreaterepodependencies,deltarpmandpython-delta rpm, if they are unused.Important: Do not complete this step if the App Host is installed on the same system as the SOAR Platform.sudo yum remove container-selinux && sudo yum remove createrepo --setopt=clean_requirements_on_remove=1
The App Host software is uninstalled.