Uninstalling
This topic describes how to uninstall PowerVC from your management server.
To uninstall PowerVC, you must uninstall PowerVC operations manager.
Uninstalling PowerVC does not remove or change anything in the environment that you created while you were using PowerVC. Any Red Hat® Enterprise Linux® prerequisite packages that are installed during the PowerVC installation remain.
Run the following command to uninstall PowerVC operations manager.
powervc-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 PowerVC OpsMgr. It runs the uninstall even if the initial PowerVC OpsMgr install check fails. . - -v
- The optional
-v
parameter is the standard verbose argument. Use this option to specify verbosity while uninstalling PowerVC multinode.
A log file can be found in the following location:
/var/log/powervc-uninstall.log
.After uninstalling PowerVC, OpsMgr remains on the node on which uninstallation was triggered. To remove OpsMgr, navigate to powervc-opsmgr/ directory where the powervc-opsmgr-<OS-architecture-release>.tgz file was extracted. Run uninstall-opsmgr.sh script.
For PowerVC management server
running on SLES, remove the following packages manually after uninstall.
apache2
memcached
python3-oslo-context
python3-prettytable
Notes:
- After uninstalling PowerVC, you must restart the system.
- If uninstall fails due to timeout issue, reboot the system and retry.
Uninstall a failed node
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 powervc-opsmgr uninstall command to
uninstall the original node. Instead, use the following command on the failed node to uninstall the
same.
./opt/ibm/powervc-opsmgr/scripts/powervc-failed-node-uninstall