This release of vRealize Operations Manager for Linux does not include a clean uninstall option. To remove the product, you run the uninstall command and manually remove the remaining artifacts that vRealize Operations Manager installs.

Before you begin

Log in to the console as root, in vCenter Server or by direct access. In vCenter Server, use Alt+F1 to access the login prompt.

For security, vRealize Operations Manager remote terminal sessions are disabled by default.

Procedure

  1. Uninstall the product by running the following command:
    /usr/bin/sh /usr/lib/vmware-vcopssuite-installsupport/_vRealize\ Operations\ Manager\ Enterprise_installation/Uninstall\ vRealize\ Operations\ Manager\ Enterprise -i silent

    Alternatively, if you are removing the Beta version, run the following command:

    /usr/bin/sh /usr/lib/vmware-vcopssuite-installsupport/_vCenter\ Operations\ Manager\ Enterprise_installation/Uninstall\ vCenter\ Operations\ Manager\ Enterprise -i silent
  2. Stop the HTTPD service by running the following command:
    /sbin/service httpd stop
    
  3. Remove the RPMs by running the following commands:
    /bin/rpm -e --nodeps httpd
    /bin/rpm -e --nodeps httpd-tools
    /bin/rpm -e --nodeps VMware-Postgres
    /bin/rpm -e --nodeps VMware-Postgres-libs
    /bin/rpm -e --nodeps VMware-Postgres-osslibs
    /bin/rpm -e --nodeps VMware-Postgres-osslibs-server
    
  4. Remove the extra users and groups by running the following commands:
    /usr/sbin/userdel -fr admin
    /usr/sbin/userdel -fr postgres
    /usr/sbin/groupdel admin
    
  5. Remove the extra files and directories by running the following commands:
    /bin/rm -rf /usr/lib/openssl/lib/libcrypto.so.10
    /bin/rm -rf /usr/lib/openssl/lib/libssl.so.10
    /bin/rm -rf /usr/lib/openssl/lib/
    /bin/rm -rf /usr/lib/openssl/
    /bin/rm -rf /usr/lib/vmware-vcopssuite-installsupport/.buildInfo.<build_number>
    /bin/rm -rf /usr/lib/vmware-vcopssuite-installsupport/
    /bin/rm -rf /etc/rc.d/*/*vmware-vcops-watchdog
    /bin/rm -rf /etc/rc.d/*/*vmware-casa
    /bin/rm -rf /etc/rc.d/*/*vmware-vcops
    /bin/rm -rf /etc/rc.d/*/*vmware-vcops-web
    /bin/rm -rf /etc/rc.d/*/*vmware-vcops-reboot-config
    /bin/rm -rf /var/log/firstboot
    /bin/rm -rf /var/log/preb2b
    /bin/rm -rf /var/log/postb2b
    /bin/rm -rf /var/log/firstboot
    /bin/rm -rf /var/log/casa_logs
    /bin/rm -rf /var/log/tomcat_logs
    /bin/rm -rf /var/log/vcops_logs
    /bin/rm -rf /var/.com.zerog.registry.xml
    /bin/rm -rf /var/log/log
    
  6. Remove the sudoers entries by running the following commands. If you ran the installer multiple times, you might need to run the following commands multiple times.
    /bin/sed -i '/# ------ vCenter Operations Manager Settings for VCOPS_USER/,/# ------ End of vCenter Operations Manager Settings for VCOPS_USER/d' /etc/sudoers
    /bin/sed -i '/# ------ vCenter Operations Manager Settings for CaSA/,/# ------ End of vCenter Operations Manager Settings for CaSA/d' /etc/sudoers
    /bin/sed -i '/# ------ vCenter Operations Manager Settings for vsutilities/,/# ------ End of vCenter Operations Manager Settings for vsutilities/d' /etc/sudoers
    
  7. Review the sudoers file /etc/sudoers to ensure that there are no vRealize Operations Manager entries.