You can upgrade an environment with a single Enterprise Controller through the command line.
Upgrade your systems in the following order:
Download the upgrade bundle for your environment.
Upgrade the Enterprise Controller. This also upgrades the co-located Proxy Controller.
Upgrade the separate Proxy Controllers.
Upgrade the Agent Controllers through the UI or manually.
Some of the procedures described in this guide use the ecadm
, proxyadm
, and agentadm
commands.
On Oracle Solaris systems, these commands are in the /opt/SUNWxvmoc/bin/
directory.
On Linux systems, these commands are in the /opt/sun/xvmoc/bin/
directory.
Note:
The upgrade process creates a backup file for the Enterprise Controller. If the upgrade fails, the Enterprise Controller is uninstalled, the initial version of the Enterprise Controller is reinstalled, and the system is automatically restored from the backup file.
Once you have begun the upgrade, complete it as soon as possible. Do not allow the Enterprise Controller or Proxy Controllers to be restarted before all systems have been upgraded.
You can download the upgrade bundle for Oracle Enterprise Manager Ops Center. This includes upgrades for the Enterprise Controller, Proxy Controllers, and Agent Controllers. Downloading an upgrade does not install it on managed assets.
You can download the upgrade bundles through the user interface, from the Oracle Technology Network, or from the Oracle Software Delivery Cloud.
The following topics are covered:
You can download upgrades for Oracle Enterprise Manager Ops Center through the user interface.
Upgrades are downloaded to these directories:
Enterprise Controller upgrades: /var/opt/sun/xvm/images/productUpdate
Proxy Controller upgrades: /var/opt/sun/xvm/images/productUpdate
Agent Controller upgrades: /var/opt/sun/xvm/images/agent
Note:
The Enterprise Controller upgrade includes the Proxy Controller and Agent Controller upgrades, but the Proxy Controller and Agent Controller upgrades are not saved to these directories until the Enterprise Controller upgrade is applied.
You can download upgrade bundles for the Enterprise Controller and Proxy Controller from the Oracle Technology Network.
This procedure describes the steps to download upgrades from the Oracle Technology Network.
/var/opt/sun/xvm/images/productUpdate/
directory on the Enterprise Controller system.You can upgrade a single Enterprise Controller from the command line interface.
Before you begin:
The following procedures describe how to upgrade the Enterprise Controller, with either an embedded database or a customer-managed database. If you are running Oracle Enterprise Manager Ops Center in Disconnected Mode, you must upgrade from the command line. The co-located Proxy Controller is upgraded as well, even if it is not enabled.
The Enterprise Controller upgrade log is saved locally as /var/opt/sun/xvm/update-saved-state/update_satellite_bundle_<version number>/updatelog.txt
.
The upgrade log file is stored in the /var/opt/sun/xvm/update-saved-state
directory on the Enterprise Controller.
If an error occurs during this process, the system is restored to the prior version.
Note:
The upgrade disables the Oracle Solaris 11 update manager service, svc:/application/pkg/update:default
, if it is enabled.
Verify that the Enterprise Controller has at least five (5) GB of free space for the upgrade bundle other than the space required for the patch downloads.
Acquire the upgrade bundle from Oracle and transfer it to the Enterprise Controller system.
Review pending and scheduled jobs before updating the Enterprise Controller. The upgrade shuts down the Enterprise Controller, which causes running jobs to fail. Scheduled jobs cannot be launched while the upgrade is being applied.
Use the OCDoctor to verify that there are no outstanding issues on the Enterprise Controller system. Run the OCDoctor with the --update
option, then run the OCDoctor script with the --troubleshoot
option.
When you are using an embedded database, verify that the required Oracle Database Enterprise Edition installation files are present in the /var/tmp/downloads
directory on the Enterprise Controller system.
If you are upgrading to Oracle Enterprise Manager Ops Center 12.3.0, the Oracle Database 11g Enterprise Edition 11.2.0.4 installation files must be present.
If you are upgrading to Oracle Enterprise Manager Ops Center 12.3.1 or later, the Oracle Database 12c Enterprise Edition 12.1.0.2 installation files must be present.
To download Oracle Database 12c Release 1 (12.1.0.2.0) Enterprise Edition version installation bundles:
Create a /var/tmp/downloads
directory on the Enterprise Controller system.
Download the Oracle 12c Enterprise Edition installation files from http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index-092322.html
.
Copy or move the downloaded installation files to the /var/tmp/downloads
directory on the Enterprise Controller system.
To download Oracle Database 11g Enterprise Edition version installation bundles:
Note:
The download procedure requires a valid My Oracle Support (MOS) account, which must be associated with a Customer Service Identifier (CSI) with a software contract.
Create a /var/tmp/downloads
directory on the Enterprise Controller system.
Navigate to My Oracle Support page, click Sign In, and sign in with your My Oracle Support (MOS) credentials. See Related Resources for Single EC Upgrade Using the Command Line for the link to log in.
Click the Patches & Updates tab.
Enter the patch number for your version in the field next to Patch Name or Number. For Oracle Database 11g Enterprise Edition version 11.2.0.4, enter 13390677.
Click the Add Filter icon, then select your Enterprise Controller system's operating system and architecture in the drop-down menu next to Platform.
Click Search.
The Oracle Database 11g Enterprise Edition patch set of the appropriate version is displayed.
Click Download.
The file download popup is displayed.
Download the first two files. For Oracle Solaris x86, these files end with _1of6.zip
and _2of6.zip
. For Oracle Solaris SPARC and Linux, these files end with _1of7.zip
and _2of7.zip
Copy or move the downloaded installation bundles to the /var/tmp/downloads
directory on the Enterprise Controller system.
To upgrade an Enterprise Controller with an embedded database from the command line:
Disable the Auto Service Request (ASR) feature if it is enabled.
Expand the Administration section of the Navigation pane, then select Enterprise Controller.
Click Disable ASR in the Actions pane.
As root, log in to the Enterprise Controller.
Verify that the Enterprise Controller is online using ecadm
command. If necessary, use the ecadm start
command to start the Enterprise Controller. For example:
# /opt/SUNWxvmoc/bin/ecadm status online
Create a temporary directory within the directory where you installed Oracle Enterprise Manager Ops Center, then copy or move the upgrade bundle to the new directory. For example:
# mkdir /var/tmp/OC/update # cp enterprise-controller.Solaris.sparc.12.3.1.608.tar.zip /var/tmp/OC/update
Change to the directory containing the upgrade bundle.
# cd /var/tmp/OC/update
Unzip and un-tar the bundle.
If your upgrade bundle has the .tar.zip
extension, use the unzip
and tar
commands to uncompress and un-tar the bundle, then list the contents of the temporary directory. The following command example retains the original compressed bundle file. For example:
# unzip enterprise-controller.Solaris.i386.12.3.1.608.tar.zip | tar xf - # ls enterprise-controller.Solaris.i386.12.3.1.608.tar.zip xvmoc_full_bundle #
If your upgrade bundle has the .zip
extension, use the unzip
command to uncompress the bundle. For example:
# unzip enterprise-controller.Solaris.i386.12.3.1.608.zip # ls enterprise-controller.Solaris.i386.12.3.1.608.zip xvmoc_full_bundle #
Change to the xvmoc_full_bundle
directory and run the install script.
# cd xvmoc_full_bundle # ./install
The following option can be used with the install script:
--verbose or -v: Increases verbosity of output from upgrade program. Without this option, non-verbose output is given.
When the upgrade is complete, the install script indicates that all Oracle Enterprise Manager Ops Center components have been upgraded to the latest version.
Clear your browser cache and refresh your browser before you log in to the newly upgraded Enterprise Controller.
Back up your Oracle Enterprise Manager Ops Center data using the ecadm
command and the backup
subcommand.
(Optional) Once the upgrade has completed successfully, remove the version 12.2 installer to reclaim disk space.
# rm -rf /var/opt/sun/xvm/EnterpriseController_installer_12.2.*
Enable the Auto Service Request (ASR) feature if you disabled it at the beginning of the upgrade.
Expand the Administration section of the Navigation pane, then select Enterprise Controller.
Click Enable ASR in the Actions pane.
Note:
If an error message is displayed indicating that the database must be migrated manually. see Manually Upgrading Database Tables for this procedure.
Note:
To revert to an earlier version after upgrading to version 12.3.1 or later, if you are using a customer-managed database, you must revert both the Enterprise Controller system and database system to the same pre-upgrade state. If you revert to an earlier version, all monitoring data gathered since the reversion point is lost.
You can manually update Proxy Controllers to the latest available version to gain access to new and updated features.
The Proxy Controller upgrade log is saved locally as /var/opt/sun/xvm/update-saved-state/update_proxy_bundle_<version number>/updatelog.txt
.
If an error occurs during this process, the system is restored to the prior version.
Note:
During the upgrade process, the Proxy Controller is shut down. However, the Proxy Controller must be online at the beginning of the process.
Note:
The upgrade disables the Oracle Solaris 11 update manager service, svc:/application/pkg/update:default
, if it is enabled.
Upgrade the Enterprise Controllers before you upgrade the Proxy Controllers.
You can upgrade Agent Controllers manually. Before you upgrade an Agent Controller, you must upgrade the Proxy Controller that manages it.
If you are upgrading Agent Controllers running in non-global zones, upgrade the Agent Controller in the global zone before upgrading all of the non-global zones. If you are upgrading Agent Controllers running in zones within a Logical Domain, upgrade the Agent Controller in the Control Domain before upgrading the Agent Controllers on the zones.
Caution:
If you upgrade Agent Controllers on virtualized systems in an order other than that specified here, the assets do not display correctly in the user interface. To display the assets correctly, unconfigure the Agent Controllers, then reconfigure or reinstall them in the specified order.
Note:
The upgrade disables the Oracle Solaris 11 update manager service, svc:/application/pkg/update:default
, if it is enabled.
This procedure requires root access.
You can view the Oracle Enterprise Manager Ops Center documents for additional information.
For more information, see these Oracle resources:
For information on ecadm
, proxyadm
, and agentadm
commands and for information on OCDoctor, see the following chapters in the Oracle Enterprise Manager Ops Center Administration:
For Oracle Technology Network Oracle Enterprise Manager Ops Center log in page, go to http://www.oracle.com/technetwork/oem/ops-center/index.html
For Oracle Software Delivery Cloud log in page, go to http://edelivery.oracle.com
For My Oracle Support page, go to http://support.oracle.com
To download Oracle Database 12c Enterprise Edition installation bundle, see http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index-092322.html
The Oracle Enterprise Manager Ops Center Documentation Library is located at http://docs.oracle.com/cd/E59957_01/index.htm
For more information on product administration, see http://docs.oracle.com/cd/E59957_01/nav/administer.htm
For end-to-end examples, see the Deploy How To library at http://docs.oracle.com/cd/E59957_01/nav/deploy.htm
and the Operate How To library at http://docs.oracle.com/cd/E59957_01/nav/operate.htm
For more information on Enterprise Manager Ops Center, see the Ops Center blog at https://blogs.oracle.com/opscenter/