OpsCenter Update 1 Blog Call

Preview:

Citation preview

Enterprise Manager Ops Center 12cUpdate 1 – Information and Best PracticesEran Steiner, Technical Architect

Agenda

• Highlights• Planning the upgrade• Where to download• Tips for upgrading from 11g• Step-by-step highlights & additional tips• New agent bundle for Solaris 11• Open Q&A

Update 1 Highlights

© 2011 Oracle Corporation – Proprietary and Confidential

Highlights

Upgrade, Update and Install

Update 1 is the first multi-purpose bundle for Ops Center. It allows you to:– Update your 12c GA version to Update 1 (via Web UI or command line)– Upgrade your 11g U3 environment to 12c (via Web UI or command line)– Perform a fresh install straight into Update 1 (command line)

Highlights

SPARC VM Server Pool HA

• Ops Center can now automatically recover LDOMS guests (OVM for SPARC) to a surviving Control Domain

• New option to power-off failed servers

Highlights

SPARC VM IaaS (Virtual Datacenters/clouds)

• Prior to Update 1, you could create Virtual Datacenters using Zones and Oracle VM (OVM for X86) guests

• Now you can create Virtual Datacenters using SPARC VMs (LDOMS)

Highlights

Additional highlights

• Oracle Linux 5.8 and 6.x Support • WANBoot Improvements with OBP Handling Enhancements - Update 1

fixes a number of issues around WANBoot and now allows you to also use WANBoot when provisioning LDOM guests

• SPARC SuperCluster Support - a few enhancements to SPARC SuperCluster features

• Stability fixes - many bug fixes and small enhancements across the board

Planning the Upgrade

© 2011 Oracle Corporation – Proprietary and Confidential

Planning the Upgrade

• Before starting the upgrade, make sure to review the Upgrade documentation:http://docs.oracle.com/cd/E27363_01/doc.121/e25143/upgrading.htm

• The release notes:http://docs.oracle.com/cd/E27363_01/doc.121/e25144/toc.htm

Where to download Update 1

• Update 1 is available through eDelivery:– Visit https://edelivery.oracle.com/ and login with your MOS user– Under "Select a Product Pack" choose "Oracle Enterprise Manager" and the relevant platform

and click "Go“– From the result list, find "Oracle Enterprise Manager Ops Center 12c Release 1 Media Pack", or

Release "12.1.1.0.0" and click it– You will see the bundles next

• OTN: http://www.oracle.com/technetwork/oem/ops-center/oem-ops-center-188778.html

• For existing installation, can be downloaded through the User Interface

Tips for 11g installations

© 2011 Oracle Corporation – Proprietary and Confidential

Tips for 11g installations

Key differences between 11g and 12c• New requirements: make sure you verify the new requirements by running

# /var/opt/sun/xvm/OCDoctor/OCDoctor.sh --update

# /var/opt/sun/xvm/OCDoctor/OCDoctor.sh --troubleshoot

• Additional information about requirements can be found here:

http://docs.oracle.com/cd/E27363_01/doc.121/e25147/toc.htm

• ‘satadm’ command now changed to ‘ecadm’

• We strongly recommend you perform a backup. Not only you will have a copy of your environment saved, it also restarts the services in the process and will have the EC services fresh and ready to go

• 11g Backup documentation is here:

http://docs.oracle.com/cd/E18440_01/doc.111/e18414/backup_and_recovery.htm

Tips for 11g installations

New Oracle Database in 12c• New database: 12c is using Oracle DB which is different than the PostgreSQL used in 11g

• You can have the Oracle DB installed on the same server as the Enterprise controller (called "local" database) or you can use a remote Oracle database. You can choose which way to go based on your needs.

• If you upgrade through the HTML user interface, you only have the option to use a local database. If you upgrade manually through the command line, you can either upgrade to a local database or a remote database

• There is a method that allows you to move from a local database to a remote database, if you choose to do so later on

• Before the upgrade, make sure you download the required Oracle DB installation files. Download instructions are provided in the Upgrade documentation

Step by step highlights

© 2011 Oracle Corporation – Proprietary and Confidential

Step by step highlights

• We strongly recommend you perform a backup – While the Upgrade process is designed to perform a backup, running it ahead of time will eliminate any surprises

• 12c Backup documentation is here:http://docs.oracle.com/cd/E27363_01/doc.121/e25143/backup_and_recovery.htm• OCDoctor - The OCDoctor utility is updated very often with all the known issues we hear

from support and folks like you• It can point out potential issues, possible workarounds or even automatic fixes • We cannot stress enough how important it is to run the OCDoctor before and after

the upgrade

Step by step highlights

If this is a new install, you can get the latest Doctor here:https://updates.oracle.com/OCDoctor/OCDoctor-latest.zip

Then run the following on the designated machine to check for the prerequisites:# unzip OCDoctor-latest.zip

# cd OCDoctor

# ./OCDoctor.sh --ec-prereq

Step by step highlights

• If you are upgrading from the User interface, once you start the upgrade you will only see an Upgrade splash screen with no status updates.

• Since the upgrade can easily take 30-60 minutes, you can view the progress of the upgrade through the following log:

# tail -f /var/opt/sun/xvm/update-saved-state/updatelog_stdout.txt

• After the upgrade is done, the install log can be found here:/var/opt/sun/xvm/update-saved-state/update_satellite_bundle_12.1.1.2076/updatelog.txt

Step by step highlights

Upgrade is done when the following shows up in the update log:

Update "EC_patch_bundle" from version 12.1.0.2001 to version 12.1.1.2076 succeeded.

Copying distribution to

/var/opt/sun/xvm/update-saved-state/update_EC_patch_bundle_12.1.1.2076/distribution.

This will take several minutes.

Copied full_bundle from /var/tmp/_ec12.1.1.2076_slc02vah.us.oracle.com.11/new/xvmoc_full_bundle/ successful

Oracle Configuration Manager already configured.

Upgrade of the Enterprise Controller to 12.1.1.2076 has completed.

Step by step highlights

• Correct order: upgrade the Enterprise Controller first. This will also upgrade the collocated proxy and agent

• Next, proceed and upgrade the remote proxies. If you have proxies on different architecture than the Enterprise Controller, you may have to download the Proxy upgrade bundle for that architecture as well (either through the UI or get it from eDelivery)

• Finally, it is strongly recommended that you upgrade all the agents as soon as possible • Important: In 12c, the upgrade agents screen has moved! It is no longer under the

Administration tab. Instead, under "Assets", change "All Assets" to "Operating Systems", choose the right OS group (for example, Solaris), click the "Summary Tab" and then "Agent Controllers"

Additional tips

If Update 1 does not show up in the HTML user interface, try restarting the following services:On Linux:# /etc/init.d/uce_scheduler stop

# /etc/init.d/uce_server stop

# /etc/init.d/uce_server start

# /etc/init.d/uce_scheduler start

On Solaris:# svcadm disable –st uce-scheduler

# svcadm disable –st uce-server

# svcadm enable –s uce-server

# svcadm enable –s uce-scheduler

Then wait for a few minutes for the Knowledgebase to refresh and try again.

Additional tips

• If installing from command line, use “--verbose“ or “-v” to increase the output level

• Don’t forget to clear your browser cache after upgrading• Run the OCDoctor --troubleshoot again after upgrading• Disconnected customers (offline customers):

– Can download the bundles from eDelivery and upgrade manually– Follow the same steps for command line upgrade:

http://docs.oracle.com/cd/E27363_01/doc.121/e25143/upgrading.htm#autoId11

– Refresh the KB and patches using the Harvester utility

Post Update 1:New Solaris 11 agent – version 2078

© 2011 Oracle Corporation – Proprietary and Confidential

New Solaris 11 agent bundle

• New versions of Solaris 11, SRU 9 and above, introduce a new bug in Ops Center• Some packages require “--accept“ flag to be provided when installing• By using the new Agent bundle (2078), you will be able to successfully install Ops

Center agents on Solaris 11 and run IPS jobs• This new Agent also fixes Ops Center bug on an OVM for SPARC control domain

that is running Solaris 11 and JRE 1.7 update 5 or higher• Download: http://www.oracle.com/technetwork/oem/ops-center/oem-ops-center-188778.html or through

the user interface• Readme: http://docs.oracle.com/cd/E27363_01/doc.121/e25145/toc.htm

• Upgrade doc: http://docs.oracle.com/cd/E27363_01/doc.121/e25143/upgrading.htm#sthref190

New Solaris 11 agent bundle

• 2078 Readmehttp://docs.oracle.com/cd/E27363_01/doc.121/e25145/toc.htm

• How to Upgrade agentshttp://docs.oracle.com/cd/E27363_01/doc.121/e25143/upgrading.htm#sthref190

New Solaris 11 agent - tips

• After downloading the new agent bundle, run the “OCDoctor.sh --troubleshoot“ on the Enterprise Controller

• This will warn about a known issue of having multiple Solaris 11 agents• You should only have the latest version (2078) otherwise Ops Center will

deploy the oldest version instead of the newest (delete versions 2001 and/or 2076)

# cd /var/opt/sun/xvm/images/agent

# rm OpsCenterAgent.SolarisIPS.all.12.1.0.2001.zip OpsCenterAgent.SolarisIPS.all.12.1.0.2001.zip.sig

# rm OpsCenterAgent.SolarisIPS.all.12.1.1.2076.zip OpsCenterAgent.SolarisIPS.all.12.1.1.2076.zip.sig

• After removing the old version (follow the OCDoctor instructions), you will need to stop the Enterprise Controller and Proxies and restart for the change to take effect

New Solaris 11 agent - tips# /var/opt/sun/xvm/OCDoctor/OCDoctor.sh --troubleshoot

……

OK: Disconnected mode is not configured

OK: Locales are OK ("C")

ERROR: Found multiple Solaris 11 agent bundles in /var/opt/sun/xvm/images/agent/

This will cause issues deploying agent bundles to Solaris 11 hosts (CR 7181066):

-rw-r--r-- 1 root root 19132 Jul 17 17:16 OpsCenterAgent.SolarisIPS.all.12.1.1.2076.zip

-rw-r--r-- 1 root root 41 Jul 17 17:17 OpsCenterAgent.SolarisIPS.all.12.1.1.2076.zip.sig

-rw-r--r-- 1 uce-sds uce-sds 196683561 Aug 1 14:27 OpsCenterAgent.SolarisIPS.all.12.1.1.2078.zip

-rw-r--r-- 1 root sys 20 Aug 1 14:27 OpsCenterAgent.SolarisIPS.all.12.1.1.2078.zip.sig

To fix, remove all the old versions (and their .sig files) and keep only the latest version.

or use '# ./OCDoctor.sh --troubleshoot --fix' to automatically fix this

New Solaris 11 agent - tips

More minor known issues are covered in the 2078 Readme:http://docs.oracle.com/cd/E27363_01/doc.121/e25145/toc.htm

Questions?

© 2011 Oracle Corporation – Proprietary and Confidential

Eran Steiner, Technical ArchitectEmail: eran.steiner@oracle.com

Recommended