3.13. Restoring Oracle VM Manager

To restore Oracle VM Manager, and the Oracle VM Manager database schema from a backup, you must have performed the steps to back up Oracle VM Manager in Section 3.12, “Backing Up Oracle VM Manager”.

To restore Oracle VM Manager from a backup:

  1. First, if you need to reinstall or upgrade Oracle VM Manager, use the Oracle VM Manager installation media to perform an install or upgrade of the software on your server. See Section 3.4, “Installing Oracle VM Manager” for information on how to perform the installation. See Section 4.2, “Upgrading Oracle VM Manager” for information on how to perform the upgrade.

    You should perform the install using the runInstaller.sh --uuid uuid option and provide the UUID from the previous manager installation you created a backup from. The UUID can be found in the Oracle VM Manager configuration file.


    The Oracle VM Manager UUID is also persisted in the /etc/sysconfig/ovmm file. If the system disk of the server on which you are installing or restoring Oracle VM Manager was not wiped entirely, the existing UUID is still present and will be detected when running the installer.

    • The --uuid option overrides this existing UUID.

    • If no UUID is present in /etc/sysconfig/ovmm, the --uuid option adds the UUID to the file.

    The install command syntax is as shown in this example:

    # ./runInstaller.sh --uuid 0004FB000000100002CB7F2DFFA8D8

    When the Oracle VM Manager installer prompts for installation information other than passwords, reuse the same usernames for the Oracle Database schema, Oracle WebLogic Server and Oracle VM Manager administration user, as set out in the backup of the Oracle VM Manager configuration file. You must set the passwords again as the passwords are not backed up and cannot be restored.

  2. After installation, reinstallation or upgrade, stop Oracle VM Manager before you restore the backup:

    # /sbin/service ovmm stop
  3. Log into the Oracle Database as the sys or system user to delete the Oracle VM Manager administration user (default: ovs):

    $ sqlplus system/password
    SQL> drop user ovs cascade;

    Then, re-create the Oracle VM Manager administration user, with the necessary grants:

    SQL> create user ovs identified by password;
    SQL> grant connect, resource to ovs;
    SQL> exit;
  4. Restore the Oracle VM Manager OVS database schema. Import the OVS schema from the backup file:

    # export ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
    # export PATH=$ORACLE_HOME/bin:$PATH
    # export ORACLE_SID=XE
    # imp ovsschema/password file=/location/ovsbackup.dmp full=y

    The ovsschema user in the imp command should be replaced with the name of your OVS schema; the default schema name in an Oracle XE install is ovs.

  5. Restart Oracle VM Manager:

    # /sbin/service ovmm start