3.10. Removing Red Hat Enterprise Virtualization Manager

Summary
Red Hat Enterprise Virtualization Manager provides the engine-cleanup script to allow quick and easy removal of the files associated with the Red Hat Enterprise Virtualization Manager environment.

Procedure 3.8. Removing Red Hat Enterprise Virtualization Manager

  1. Run the engine-cleanup command on the system on which Red Hat Enterprise Virtualization Manager is installed.
    # engine-cleanup
  2. You are prompted to confirm removal of all Red Hat Enterprise Virtualization Manager components. These components include PKI keys, the locally hosted ISO domain file system layout, PKI configuration, the local NFS exports configuration, and the Engine database content.
    Do you want to remove all components? (Yes, No) [Yes]:

    Note

    A backup of the Engine database and a compressed archive of the PKI keys and configuration are always automatically created. These are saved under /var/lib/ovirt-engine/backups/, and include the date and engine- and engine-pki- in their file names respectively.
  3. You are given another opportunity to change your mind and cancel the removal of the Red Hat Enterprise Virtualization Manager. If you choose to proceed, the ovirt-engine service is stopped, and your environment's configuration is removed in accordance with the options you selected.
    During execution engine service will be stopped (OK, Cancel) [OK]:
    ovirt-engine is about to be removed, data will be lost (OK, Cancel) [Cancel]:OK
Result
The configuration files of your environment have been removed according to your selections when you ran engine-cleanup.
          --== SUMMARY ==--
         
A backup of the database is available at /var/lib/ovirt-engine/backups/engine-date-and-extra-characters.sql
Engine setup successfully cleaned up
A backup of PKI configuration and keys is available at /var/lib/ovirt-engine/backups/engine-pki-date-and-extra-characters.tar.gz
         
          --== END OF SUMMARY ==--
         
[ INFO  ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20130827181911-cleanup.conf'
[ INFO  ] Stage: Clean up
          Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-remove-date.log
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ INFO  ] Execution of cleanup completed successfully
You can now safely remove the Red Hat Enterprise Virtualization packages using the yum command.
# yum remove rhevm* vdsm-bootstrap