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.9, “Backing Up Oracle VM Manager” for information on backing up Oracle VM Manager.

A log of the upgrade is available in the /tmp/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
    Warning

    If you are upgrading from Oracle VM Manager Release 3.0.2 and have not restarted Oracle VM Manager since the initial installation, restart it before you continue with the upgrade to Release 3.0.3. Failure to restart Oracle VM Manager could result in incorrect undeployment of the Oracle VM Manager application during the upgrade.

  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.0.x.iso /OVMCD

    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.0.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 ...
    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.0.x.xx
    Using /tmp/directory for backup and export location.
    Using /tmp/directory for patching.
    Enter password for user ovs :

    Enter the password for the ovs user, then enter it again to confirm it. The upgrade continues.

    Please re-enter the password :
    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 ...
    Exporting Oracle VM Manager repository ...
    Please wait as this can take a long time ...
    Oracle VM Manager repository export completed ...
    Creating backup file ...
    Oracle VM Manager repository backup in /tmp/ovm-manager-3-backup-date_id.zip
    Deleting Oracle VM Manager repository ...
    Oracle VM Manager repository delete completed ...
    Upgrading Oracle VM Manager ...
    Removing old files ...
    Unpacking Oracle VM Manager 3.0.x.xx
    Patching Oracle VM Manager repository ...
    Please wait as this can take a long time ...
    Oracle VM Manager repository patching completed ...
    Importing Oracle VM Manager repository ...
    Oracle VM Manager repository import completed ...
    Redeploying Oracle VM Manager core container ...
    Redeploying Oracle VM Manager console ...
    Redeploying Oracle VM Manager help ...
    Completed upgrade to 3.0.x.xx ...
    Writing updated config in /u01/app/oracle/ovm-manager-3/.config
    Done ...

    The Oracle VM Manager upgrade is complete.