5.2 Upgrading Oracle VM Manager

5.2.1 Post-upgrade Steps

Before you upgrade Oracle VM Manager, you should back up the Oracle VM Manager repository and configuration file. See Section 4.12, “Backing Up Oracle VM Manager” for information on backing up Oracle VM Manager.

The upgrade script is designed to skip the database upgrade for the same revision of Oracle VM Manager, for example when upgrading from 3.2.1.100 to 3.2.1.250. If a database upgrade is needed for the same revision you can force an upgrade by passing an argument to the upgrade script:

# ./runUpgrader.sh --dbupgrade

If no argument is passed the script does not upgrade the database for the same product version. When the database is not being upgraded, the script prints the message: "Skipping database upgrade for the same product version (3.2.x to 3.2.x)".

To see the upgrade script usage, enter:

# ./runUpgrader.sh --help
Note

You may be asked for a password during the upgrade procedure, in which case you should enter the password you set for that component during the original installation.

A log of the upgrade is available in the /temp/ovm-manager-3-upgrade-date_id.log file.

To upgrade Oracle VM Manager:

  1. Log in to the Oracle VM Manager host computer as the root user.

  2. Oracle VM Manager must be running to perform the upgrade. If Oracle VM Manager is not running, start it:

    # service ovmm start
  3. If you downloaded the Oracle VM Manager ISO file from the Oracle Software Delivery Cloud, mount the Oracle VM Manager ISO file. This example uses the ISO file and mounts it to a directory named OVMCD.

    # mount -o loop  OracleVM-Manager-3.x.x.iso /OVMCD
    Tip

    Instead of downloading the full Oracle VM Manager installer, you can also choose the upgrade ISO file. The procedure is the same as for the installer ISO file, but the download size of the upgrade is much smaller.

    Alternatively you can burn the ISO file to a CD or DVD and load the DVD on the Oracle VM Manager host computer. If you downloaded an Oracle VM Manager patch file from My Oracle Support, extract the zip file contents to a directory on the Oracle VM Manager host computer and use that directory for further installation instructions.

  4. Start the Oracle VM Manager upgrade script:

    # cd /OVMCD
    # ./runUpgrader.sh

    The upgrade starts and reminds you to back up Oracle VM Manager.

    Oracle VM Manager 3.x.x.xx upgrade utility
    Upgrade logfile : /tmp/ovm-manager-3-upgrade-date-id.log
     
    It is highly recommended to do a full database repository backup prior to upgrading 
    Oracle VM Manager ...
     
    Press any key to continue ...

    Press Enter to continue with the upgrade.

    Oracle VM Manager is running ...
    Verifying installation status ...
    Read Oracle VM Manager config file ...
    Skipping database upgrade for the same product version (3.x.x to 3.x.x)
    Found Oracle VM Manager install files ...
    Found Oracle VM Manager upgrader ...
    Found Oracle WebLogic Server ...
    Found Java ...
    Using the following information :
      Database Type          : type
      Database Host          : hostname
      Database SID           : SID
      Database LSNR          : port
      Oracle VM Schema       : ovs
      Oracle VM Manager UUID : UUID
      Current Build ID       : 3.x.x.xx
      Upgrade from version   : 3.x.x
      Upgrade to version     : 3.x.x
    Using /tmp/directory for backup and export location.
    Using /tmp/directory for patching.
    Undeploying previous version of Oracle VM Manager application ...
    Undeploying Oracle VM Manager help ...
    Undeploying Oracle VM Manager console ...
    Undeploying Oracle VM Manager core ...
    Waiting for Oracle VM Manager core to fully undeploy...
    Waiting...
    Finished undeploying previous version ...
    Upgrading Oracle VM Manager ...
    Backing up old files to /tmp/directory
    Removing old files ...
    Unpacking Oracle VM Manager 3.x.x.xx
    Redeploying Oracle VM Manager core container ...
    Redeploying Oracle VM Manager console ...
    Redeploying Oracle VM Manager help ...
    Completed upgrade to 3.x.x.xx ...
    Writing updated config in /u01/app/oracle/ovm-manager-3/.config
    Restart WebLogic ...
    Stopping Oracle VM Manager                                 [  OK  ]
    Starting Oracle VM Manager                                 [  OK  ]
    
    Starting with Oracle VM Manager Release 3.2, HTTPS is required to connect to the Manager.
    Please adjust your URL and firewall settings accordingly.
    For example: 
      In Release 3.1 your URL  may have looked like: http://<managementsystem>:7001/ovm/console
      In Release 3.2 your new URL should look like: https://<managementsystem>:7002/ovm/console
    Please change your firewall settings to allow traffic through port 7002 to the management 
    system.
    
    Oracle VM Manager upgrade finished on date

    The Oracle VM Manager upgrade is complete.

5.2.1 Post-upgrade Steps

After you have finished an upgrade of Oracle VM Manager from a previous release, it is highly recommended that you run the following commands on the server where Oracle VM Manager is installed:

# cd /u01/app/oracle/ovm-manager-3/weblogic
# sh configureIdentityTrust.sh
# service ovmm stop
# service ovmm start

These instructions will update your SSL certificates to enable HTTPS connectivity to Oracle VM Manager for Microsoft Internet Explorer 7, 8 and 9. Note that it is important that Internet Explorer has been updated with the latest security update described at http://support.microsoft.com/kb/2661254.

For more information about updating your SSL certificates, please see Section 4.8, “Adding a Trusted CA Certificate and Keystore for SSL Encryption”.