D.3. Restoring Red Hat Enterprise Virtualization Manager Configuration Files

Summary
Restore a backed up copy of configuration files to the Red Hat Enterprise Virtualization Manager.

Procedure D.3. Restoring Red Hat Enterprise Virtualization Manager Configuration Files

  1. Stop the Engine service:
    # service ovirt-engine stop
  2. Completely remove all previous installations of the Red Hat Enterprise Virtualization Manager:
    # yum remove rhevm
  3. Remove /etc/pki/ovirt-engine:
    # rm -rf /etc/pki/ovirt-engine
    
  4. Remove the main rhevm directory:
    # rm -rf /etc/ovirt-engine
  5. Install the Red Hat Enterprise Virtualization Manager:
    # yum install -y rhevm
  6. Run rhevm-setup, giving the same answers as when you originally installed rhevm:
    # rhevm-setup
  7. Restore the backed up configuration files to their original locations.
  8. Make sure the ownership of the .keystore file is correct:
    # chown ovirt:ovirt /etc/pki/ovirt-engine/.keystore
    
  9. Make sure the permissions of the notifier.conf file is correct:
    # chmod 644 /etc/ovirt-engine/notifier/notifier.conf
    
  10. Start the Engine service:
    # service ovirt-engine start
Result
You have restored a backed up copy of configuration files to the Red Hat Enterprise Virtualization Manager.