In the following example, the UpgradeServers.py script is used to update a single Oracle VM Server. The example shows typical output for the upgrade process, but you should be aware that output may vary depending on the parameters used when invoking the script:
$ cd /u01/app/oracle/ovm-manager-3/ovm_tools/bin/ $./UpgradeServers.py --noprompt -u admin -H localhost -v MyServer1 Enter your OVM Manager password: Sun May 18 16:01:08 2014 INFO: Sun May 18 16:01:08 2014 INFO: UpgradeServers script starting... Sun May 18 16:01:08 2014 INFO: OVM Manager version: 3.3.x
.y
Sun May 18 16:01:08 2014 INFO: Command line args: ['UpgradeServers.py', '--noprompt', '-v', 'MyServer1'] Sun May 18 16:01:10 2014 INFO: Server: MyServer1. Transition Server Update Repository: 3.3_trans_repo, URL/path: http://myrepos.example.com/ovs_upgrade_repo/Transition Sun May 18 16:01:10 2014 INFO: Server: MyServer1. OVS Server Update Repository: 3.3_ovs_repo, URL/path: http://myrepos.example.com/ovs_upgrade_repo/Server Sun May 18 16:01:10 2014 INFO: Getting update packages list in Server Update Repository: 3.3_ovs_repo, using oldest server: MyServer1, version: 3.2.8-735 Sun May 18 16:01:10 2014 INFO: Disabling Server Update Repository: 3.3_trans_repo Sun May 18 16:01:10 2014 INFO: Waiting up to 35 seconds for updates of the Server Update Repositories to complete on server MyServer1. Sun May 18 16:01:17 2014 INFO: Finished updating Server Update Repositories. Sun May 18 16:01:22 2014 INFO: Checking servers for non-native packages (those installed after initial server installation) Sun May 18 16:01:23 2014 INFO: Non-native package status: Sun May 18 16:01:23 2014 INFO: Non-native package Status in 3.3_ovs_repo Sun May 18 16:01:23 2014 INFO: ----------------------------- ---------------------- Sun May 18 16:01:23 2014 INFO: osc-oracle-netapp OK: package exists Sun May 18 16:01:23 2014 INFO: osc-oracle-s7k OK: package exists Sun May 18 16:01:23 2014 INFO: python-ontapi OK: package exists Sun May 18 16:01:24 2014 INFO: Non-generic plug-ins have been found: [u'Oracle/Oracle NetApp Filer Plugin'], that are in use on existing storage arrays. Sun May 18 16:01:24 2014 INFO: Evaluating server: MyServer1, version: 3.2.8-735, for upgrading. [1 of 1 servers]. Sun May 18 16:01:24 2014 INFO: Disabling Server Update Repository: 3.3_ovs_repo Sun May 18 16:01:24 2014 INFO: Enabling Server Update Repository: 3.3_trans_repo Sun May 18 16:01:25 2014 INFO: Waiting up to 35 seconds for updates of the Server Update Repositories to complete on server MyServer1. Sun May 18 16:01:30 2014 INFO: Finished updating Server Update Repositories. Sun May 18 16:01:31 2014 INFO: Starting upgrade of server: MyServer1, type: X86_64, version: 3.2.8-735, using Server Update Repository: 3.3_trans_repo Sun May 18 16:01:33 2014 INFO: No VMs are on server: MyServer1, starting server upgrade. Sun May 18 16:02:03 2014 INFO: Waiting for upgrade of server: MyServer1, to complete. The server is running. [RUNNING] Sun May 18 16:02:45 2014 INFO: Server: MyServer1, upgraded successfully to version: 3.2.8-735.1 (using Server Update Repository: 3.3_trans_repo). Sun May 18 16:02:45 2014 INFO: Disabling Server Update Repository: 3.3_trans_repo Sun May 18 16:02:46 2014 INFO: Enabling Server Update Repository: 3.3_ovs_repo Sun May 18 16:02:46 2014 INFO: Waiting up to 35 seconds for updates of the Server Update Repositories to complete on server MyServer1. Sun May 18 16:02:53 2014 INFO: Finished updating Server Update Repositories. Sun May 18 16:02:55 2014 INFO: Starting upgrade of server: MyServer1, type: X86_64, version: 3.2.8-735.1, using Server Update Repository: 3.3_ovs_repo Sun May 18 16:02:56 2014 INFO: No VMs are on server: MyServer1, starting server upgrade. Sun May 18 16:03:27 2014 INFO: Waiting for upgrade of server: MyServer1, to complete. The server is performing the upgrade. [STOPPING] Sun May 18 16:03:57 2014 INFO: Waiting for upgrade of server: MyServer1, to complete. The server is performing the upgrade. [STOPPING] ... Sun May 18 16:14:31 2014 INFO: Waiting for upgrade of server: MyServer1, to complete. The server is rebooting after the upgrade. [STOPPED] Sun May 18 16:15:01 2014 INFO: Waiting for upgrade of server: MyServer1, to complete. The server is rebooting after the upgrade. [STOPPED] ... Sun May 18 16:19:32 2014 INFO: Waiting for upgrade of server: MyServer1, to complete. The server is starting back up. [STARTING] Sun May 18 16:20:03 2014 INFO: Server: MyServer1, upgraded successfully to version: 3.3.x
-y
(using Server Update Repository: 3.3_ovs_repo). Sun May 18 16:20:03 2014 INFO: Evaluating if any storage arrays need their plug-ins updated. Sun May 18 16:20:03 2014 INFO: No plug-ins were found that needed updating. Sun May 18 16:20:03 2014 INFO: Log file is available at /opt/ovm/ovmwsh/bin/UpgradeServers.log Sun May 18 16:20:03 2014 INFO: UpgradeServers script stopping...