Uninstallation of multi-node cluster
This section describes how to uninstall the IBM® Cloud Infrastructure Center multi-node cluster from your management server.
To uninstall IBM Cloud Infrastructure Center, you must uninstall the IBM Cloud Infrastructure Center operations manager.
Uninstalling IBM Cloud Infrastructure Center does not remove or change anything in the environment that you created while you were using IBM Cloud Infrastructure Center. Any Red Hat® Enterprise Linux® prerequisite packages that are installed during the IBM Cloud Infrastructure Center installation remain. Run the following command to uninstall IBM Cloud Infrastructure Center multi-node cluster.
Note: login to the terminal through ssh to the real IP of the management node, not the virtual IP.
icic-opsmgr uninstall -c <cluster_name>
-h The optional -h parameter displays this help message and exits.
-c The mandatory-c parameter displays the cluster details. You can specify the cluster name to uninstall.
-f The optional -f parameter forcefully removes IBM Cloud Infrastructure Center OpsMgr. It runs the uninstall even if the initial IBM Cloud Infrastructure Center OpsMgr install check fails.
-v The optional -v parameter is the standard verbose argument. Use this option to specify verbosity while uninstalling IBM Cloud Infrastructure Center multi-node cluster.
A log file can be found in the following location:
/var/log/icic-uninstall.log
.
After uninstalling IBM Cloud Infrastructure Center, OpsMgr
remains on the node on which uninstallation was triggered. To
remove OpsMgr,
/tmp/
directory where
the uninstall-opsmgr.sh is located. Run
uninstall-opsmgr.sh
script to
complete the uninstallation. For more information on
uninstall-opsmgr.sh
, refer to
Uninstall Opsmgr
Uninstall a failed node
Note:
In a case:
- When a failed node in a cluster is replaced by another node and the original node is up after sometime, you must not run the icic-opsmgr uninstall command to uninstall the original node. Instead, use the following command on the failed node to uninstall.
- When cluster status is in chaotic state before uninstalling IBM Cloud Infrastructure Center multi-node cluster, use the following command to run on all three management nodes.
./opt/ibm/icic-opsmgr/scripts/icic-failed-node-uninstall -f -y