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