In this short example we upgrade Oracle VM Manager to 3.2.6.
Download Patch 16410417 to your Oracle VM Manager Server. When you extract it, you will get a ISO File.
Mount the ISO File on your System:
[root@server01-manager 3.2.6]# mount -o loop,ro ./ovmm-3.2.6-upgrade-OracleLinux-b726.iso /mnt/ovmm/
Change to the Mountpoint and start the Upgrade
[root@server01-manager 3.2.6]# cd /mnt/ovmm/ [root@server01-manager ovmm]# ./runUpgrader.sh Upgrade logfile : /tmp/ovm-manager-3-upgrade-2013-10-13-53.log 2013-10-13 21:53:53 2013-10-13 21:53:53 Starting Oracle VM Manager upgrade... 2013-10-13 21:53:53 2013-10-13 21:53:53 Oracle VM Manager 220.127.116.116 upgrade utility 2013-10-13 21:53:53 2013-10-13 21:53:53 2013-10-13 21:53:53 It is highly recommended to do a full database repository backup prior to upgrading Oracle VM Manager ... 2013-10-13 21:53:53 2013-10-13 21:53:53 Press [Enter] key to continue ... 2013-10-13 21:54:03 2013-10-13 21:54:03 Oracle VM Manager is running ... 2013-10-13 21:54:23 Verifying installation status ... 2013-10-13 21:54:23 Read Oracle VM Manager config file ... 2013-10-13 21:54:23 Skipping database upgrade for the same product version (3.2.2 to 3.2.6) 2013-10-13 21:54:23 Found Oracle VM Manager install files ... 2013-10-13 21:54:23 Found Oracle VM Manager upgrader ... 2013-10-13 21:54:23 Found Oracle WebLogic Server ... 2013-10-13 21:54:23 Found Java ... 2013-10-13 21:54:23 Using the following information : 2013-10-13 21:54:23 Database type : MySQL 2013-10-13 21:54:23 Database Host : localhost 2013-10-13 21:54:23 Database SID : ovs 2013-10-13 21:54:23 Database LSNR : 49500 2013-10-13 21:54:23 Oracle VM Schema : ovs 2013-10-13 21:54:23 Oracle VM Manager UUID : 0004fb00000100008f3145baea1d51f8 2013-10-13 21:54:23 Current Build ID : 18.104.22.1680 2013-10-13 21:54:23 Upgrade from version : 3.2.2 2013-10-13 21:54:23 Upgrade to version : 3.2.6 2013-10-13 21:54:24 Using /tmp/workdir.0a4fZad4Eb for backup and export location. 2013-10-13 21:54:24 Using /tmp/patchdir.f2sJQJe6O for patching. 2013-10-13 21:54:24 Undeploying previous version of Oracle VM Manager application ... 2013-10-13 21:54:24 Undeploying Oracle VM Manager help ... 2013-10-13 21:54:52 Undeploying Oracle VM Manager console ... 2013-10-13 21:55:13 Undeploying Oracle VM Manager core ... 2013-10-13 21:56:20 Waiting for Oracle VM Manager core to fully undeploy... Waiting... 2013-10-13 21:56:44 Finished undeploying previous version ... 2013-10-13 21:56:44 Upgrading Oracle VM Manager ... 2013-10-13 21:56:44 Backing up old files to /tmp/ovm-manager-3-backup-2013-10-13-215644... 2013-10-13 21:56:45 Removing old files ... 2013-10-13 21:56:45 Unpacking Oracle VM Manager 22.214.171.1246 2013-10-13 21:56:47 Refresh system-jazn-data.xml file ... 2013-10-13 21:56:47 Redeploying Oracle VM Manager core container ... 2013-10-13 21:57:51 Redeploying Oracle VM Manager console ... 2013-10-13 22:00:58 Redeploying Oracle VM Manager help ... 2013-10-13 22:01:40 Unpacking Oracle VM Manager CLI Tool iptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ] 2013-10-13 22:01:41 Disabling HTTP and enabling HTTPS 2013-10-13 22:02:01 Completed upgrade to 126.96.36.1996 ... 2013-10-13 22:02:01 Writing updated config in /u01/app/oracle/ovm-manager-3/.config 2013-10-13 22:02:02 Restart WebLogic ... Stopping Oracle VM Manager [ OK ] Starting Oracle VM Manager [ OK ] 2013-10-13 22:05:22 2013-10-13 22:05:22 Oracle VM Manager upgrade finished
After performing the Oracle VM Manager upgrade to the latest Oracle VM Manager patch update, users must run the following commands on the Oracle VM Manager server. It is to allow https connection with Microsoft Internet Explorer 7, 8, or 9 after applying the recent security update.
[root@server01-manager ovmm]# cd /u01/app/oracle/ovm-manager-3/weblogic [root@server01-manager weblogic]# sh configureIdentityTrust.sh Configuring OVM Manager Identity and Trust Keystore ... Please enter the password for weblogic : Initializing WebLogic Scripting Tool (WLST) ... Welcome to WebLogic Server Administration Scripting Shell Type help() for help on available commands Connecting to t3://localhost:7001 with userid weblogic ... Successfully connected to Admin Server 'AdminServer' that belongs to domain 'base_adf_domain'. Warning: An insecure protocol was used to connect to the server. To ensure on-the-wire security, the SSL port or Admin port should be used instead. Location changed to edit tree. This is a writable tree with DomainMBean as the root. To make changes you will need to start an edit session via startEdit(). For more help, use help(edit) You already have an edit session in progress and hence WLST will continue with your edit session. Starting an edit session ... Started edit session, please be sure to save and activate your changes once you are done. Saving all your changes ... Saved all your changes successfully. Saving all your changes ... Saved all your changes successfully. Activating all your changes, this may take a while ... The edit lock associated with this edit session is released once the activation is completed. The following non-dynamic attribute(s) have been changed on MBeans that require server re-start: MBean Changed : com.bea:Name=t3,Type=NetworkAccessPoint,Server=AdminServer Attributes changed : CustomPrivateKeyPassPhraseEncrypted Activation completed Disconnected from weblogic server: AdminServer Configuring OVM Manager Identity and Trust Keystore succeeded, it needs to restart OVM Manager to take effect.
Restart the Manager Service
[root@server01-manager weblogic]# service ovmm stop Stopping Oracle VM Manager [ OK ] [root@server01-manager weblogic]# service ovmm start Starting Oracle VM Manager [ OK ]
After you have restarted the Service the Upgrade should be done.