4.2. Upgrading Oracle VM Manager

Before you upgrade Oracle VM Manager, you should back up the Oracle VM Manager repository and configuration file. See Section 3.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.1.1.100 to 3.1.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.1.x to 3.1.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/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
    Note

    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
    Note

    You cannot use the absolute path to run the runUpgrader.sh script; you must run it from the directory in which it resides. For example, the following command:

    # /OVMCD/runUpgrader.sh

    Results in the error:

    sh: upgrade: No such file or directory

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

    Oracle VM Manager 3.x.x.xx upgrade utility
    Upgrade logfile : /tmp/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 Host          : hostname
      Database SID           : SID
      Database LSNR          : port
      Oracle VM Schema       : ovs
      Oracle VM Manager UUID : UUID
      Current Build ID       : 3.x.x.xx
    Using /temp/directory for backup and export location.
    Using /temp/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 /temp/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
    Done ...

    The Oracle VM Manager upgrade is complete.