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 4.12, “Backing Up Oracle VM Manager”.
To restore Oracle VM Manager from a backup:
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 4.4, “Installing Oracle VM Manager” for information on how to perform the installation. See Section 5.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 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.
After installation, reinstallation or upgrade, stop Oracle VM Manager and the database before you restore the backup
# /sbin/service ovmm stop # /sbin/service ovmm_mysql stop
Restore the Oracle VM Manager OVS database schema. If you are using an Oracle Database, follow your usual database restoration procedure. If you are using the bundled MySQL database provided with Oracle VM Manager, refer to Appendix B, Oracle VM Manager MySQL Backup and Restore for more information on Oracle VM Manager MySQL database backup and restore facilities.
Restart the database and Oracle VM Manager:
# /sbin/service ovmm_mysql start # /sbin/service ovmm start
Within Oracle VM Manager go to the Servers and VMs tab and perform a Refresh All on your existing server pools. See Oracle VM User's Guide for more information.