9.2.2. Restoring Red Hat Storage Console Configuration Files

Taking regular backups of Red Hat Storage Console configuration files allows you to quickly return a broken Console installation to a working state. With all of the files in Table 9.1, “Configuration files and directories requiring backup.” backed up, you can re-install the same version of the console, and restore the backed up files over top of the new installation.
All commands in the console restoration procedure are entered as the root user.

Procedure 9.3. To Restore the Red Hat Storage Console

  1. Stop the JBoss service:
    # service jbossas stop
  2. Completely remove all previous installations of the Red Hat Storage Console:
    # yum remove rhsc
  3. Remove /etc/pki/ovirt-engine:
    # rm -rf /etc/pki/ovirt-engine
    
  4. Install the Red Hat Storage Console:
    # yum install -y rhsc
  5. Restore the files listed in Table 9.1, “Configuration files and directories requiring backup.” to their original locations.
  6. Make sure the ownership of the .keystore file is correct:
    # chown jboss:jboss /etc/pki/ovirt-engine/.keystore
    
  7. Make sure the permissions of the notifier.conf file is correct:
    # chmod 644 /etc/rhsc/notifier/notifier.conf
    
  8. Start the JBoss service:
    # service jbossas start
You have now recovered from an unforeseen event that adversely affected your installation of the Red Hat Storage Console.