Upload
dinhtuyen
View
253
Download
0
Embed Size (px)
Citation preview
Upgrade OEM Cloud Control 12cR1 no BP1 on OEL 6.1 to
OEM Cloud Control 12cR4 on OEL 6.5
In the article you will have a look at the steps and guidelines for upgrading
OEM Cloud Control 12cR1 no BP1 on OEL 6.1 to OEM Cloud Control 12cR4 on OEL
6.5. This initial configuration is described here. The OMR is Oracle 11.2.0.3
database. Looking at the certification matrix on MOS you will notice that
platforms are certified and supported.
For OEM CC 12cR1 no BP1
For OEM CC 12cR3
For OEM CC 12cR4
The upgrade will be executed in two stages:
1. Upgrade OEL 6.1 to OEL 6.5
2. Upgrade OEM Cloud Control 12c no BP1 to OEM Cloud Control 12cR4
As far as the OEM CC 12c is concerned, the Oracle documentation suggests an
upgrade path as described here. I will slightly deviate from the suggested
upgrade path. I will follow the steps listed below:
1. Patch the OMS with Bundle Patch 1 and some extra patches.
2. Upgrade the OMS plug-ins to OEM CC 12cR2 plug-in version.
3. Upgrade the Management Agent plug-ins to OEM CC 12cR2 plug-in version.
4. Upgrade the OMS patched with Bundle Patch 1 to 12c Release 3
(12.1.0.3).
5. Upgrade OEM CC 12cR3 12.1.0.3 to OEM CC 12cR4 12.1.0.4
The reason for upgrading the plug-ins to 12.1.0.2.0 is the following error
message which I got while attempting to upgrade to OEM CC 12cR3 after
applying BP1 to OEM CC 12cR1.
Along with the guidelines and steps for the upgrade I will describe the
errors encountered that I documented and their respective solution.
1. Upgrade OEL 6.1 to OEL 6.5
Similar upgrade of OEL 6.1 to OEL 6.5 can be found here.
1.1 If during agent startup you encounter the problem described below
look at MOS article ‘12c Agent Fails to Start With Agent status
Could not be Determined And Fatal Error Has Been Detected by the
Java Runtime Environment [libc.so.1+0x62b24] (Doc ID 1396284.1)’
[oracle@oel61 ~]$ ./startOMS.sh
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.0.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0x7) at pc=0x0000003fec28316b, pid=28714, tid=139889230268160
#
# JRE version: 6.0_24-b50
# Java VM: Java HotSpot(TM) 64-Bit Server VM (19.1-b02 mixed mode linux-
amd64 compressed oops)
# Problematic frame:
# C [libc.so.6+0x8316b]
#
# An error report file with more information is saved as:
# /home/oracle/hs_err_pid28714.log
Oracle Enterprise Manager 12c Cloud Control 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
Starting agent .... failed.
Consult the log files in:
/u01/app/oracle/product/11.2.0/em12c/agent/agent_inst/sysman/log
[oracle@oel61 ~]$
1.2 If you need to modify some of the password look at the MOS
articles ‘12c Cloud Control: How to Modify the Password for
SYSMAN and other Enterprise Manager Users at the OMS Level and
Repository Database? (Doc ID 1365930.1)’ and ‘12c Cloud Control:
Steps for Modifying the Password for Weblogic and Nodemanager
User Accounts in the Enterprise Manager Installation (Doc ID
1450798.1)’
1.3 Install flash plug-in if you have not done it yet.
[root@oel61 bin]# rpm -Uvh /media/sf_E_DRIVE/Downloads/Downloads/flash-
plugin-11.2.202.359-release.x86_64.rpm
Preparing... ###########################################
[100%]
1:flash-plugin ###########################################
[100%]
[root@oel61 bin]#
1.4 Stop Oracle Clusterware and Oracle databases where the upgrade is
to be performed.
1.5 Go to /etc/yum.repos.d/ by running cd /etc/yum.repos.d/
1.6 Pull the repository running the following command wget
http://public-yum.oracle.com/public-yum-ol6.repo
1.7 Edit the public-yum-ol6.repo to enable access to ol6_latest,
public_ol6_UEKR3_latest, public_ol6_UEK_latest,
public_ol6_ofed_UEK.
[root@oel61a yum.repos.d]# cat public-yum-ol6.repo
[public_ol6_latest]
name=Oracle Linux $releasever Latest ($basearch)
baseurl=http://public-
yum.oracle.com/repo/OracleLinux/OL6/latest/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1
[public_ol6_addons]
name=Oracle Linux $releasever Add ons ($basearch)
baseurl=http://public-
yum.oracle.com/repo/OracleLinux/OL6/addons/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=0
[public_ol6_ga_base]
name=Oracle Linux $releasever GA installation media copy ($basearch)
baseurl=http://public-
yum.oracle.com/repo/OracleLinux/OL6/0/base/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=0
[public_ol6_u1_base]
name=Oracle Linux $releasever Update 1 installation media copy
($basearch)
baseurl=http://public-
yum.oracle.com/repo/OracleLinux/OL6/1/base/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=0
[public_ol6_u2_base]
name=Oracle Linux $releasever Update 2 installation media copy
($basearch)
baseurl=http://public-
yum.oracle.com/repo/OracleLinux/OL6/2/base/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=0
[public_ol6_u3_base]
name=Oracle Linux $releasever Update 3 installation media copy
($basearch)
baseurl=http://public-
yum.oracle.com/repo/OracleLinux/OL6/3/base/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=0
[public_ol6_u4_base]
name=Oracle Linux $releasever Update 4 installation media copy
($basearch)
baseurl=http://public-
yum.oracle.com/repo/OracleLinux/OL6/4/base/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=0
[public_ol6_u5_base]
name=Oracle Linux $releasever Update 5 installation media copy
($basearch)
baseurl=http://public-
yum.oracle.com/repo/OracleLinux/OL6/5/base/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=0
[public_ol6_UEKR3_latest]
name=Latest Unbreakable Enterprise Kernel for Oracle Linux $releasever
($basearch)
baseurl=http://public-
yum.oracle.com/repo/OracleLinux/OL6/UEKR3/latest/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1
[public_ol6_UEK_latest]
name=Latest Unbreakable Enterprise Kernel for Oracle Linux $releasever
($basearch)
baseurl=http://public-
yum.oracle.com/repo/OracleLinux/OL6/UEK/latest/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1
[public_ol6_UEK_base]
name=Unbreakable Enterprise Kernel for Oracle Linux $releasever
($basearch)
baseurl=http://public-
yum.oracle.com/repo/OracleLinux/OL6/UEK/base/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=0
[public_ol6_playground_latest]
name=Latest mainline stable kernel for Oracle Linux 6 ($basearch) -
Unsupported
baseurl=http://public-
yum.oracle.com/repo/OracleLinux/OL6/playground/latest/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=0
[public_ol6_MySQL]
name=MySQL 5.5 for Oracle Linux 6 ($basearch)
baseurl=http://public-
yum.oracle.com/repo/OracleLinux/OL6/MySQL/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=0
[public_ol6_gdm_multiseat]
name=Oracle Linux 6 GDM Multiseat ($basearch)
baseurl=http://public-
yum.oracle.com/repo/OracleLinux/OL6/gdm_multiseat/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=0
[public_ol6_ofed_UEK]
name=OFED supporting tool packages for Unbreakable Enterprise Kernel on
Oracle Linux 6 ($basearch)
baseurl=http://public-
yum.oracle.com/repo/OracleLinux/OL6/ofed_UEK/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1 enabled=1
[public_ol6_MySQL56]
name=MySQL 5.6 for Oracle Linux 6 ($basearch)
baseurl=http://public-
yum.oracle.com/repo/OracleLinux/OL6/MySQL56/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=0
[public_ol6_spacewalk20_server]
name=Spacewalk Server 2.0 for Oracle Linux 6 ($basearch)
baseurl=http://public-
yum.oracle.com/repo/OracleLinux/OL6/spacewalk20/server/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=0
[public_ol6_spacewalk20_client]
name=Spacewalk Client 2.0 for Oracle Linux 6 ($basearch)
baseurl=http://public-
yum.oracle.com/repo/OracleLinux/OL6/spacewalk20/client/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=0
[root@oel61a yum.repos.d]#
1.8 Run yum update. As the output is quite long I will not include
it. I encountered the following problem.
Total
168 kB/s | 294 kB 00:01
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
libqpidclient.so.5()(64bit) is needed by (installed) matahari-net-0.4.0-
5.el6.x86_64
libqpidclient.so.5()(64bit) is needed by (installed) libvirt-qpid-0.2.22-
6.el6.x86_64
libqpidcommon.so.5()(64bit) is needed by (installed) matahari-net-0.4.0-
5.el6.x86_64
libqpidcommon.so.5()(64bit) is needed by (installed) libvirt-qpid-0.2.22-
6.el6.x86_64
libmcommon.so.0.0.1()(64bit) is needed by (installed) matahari-net-0.4.0-
5.el6.x86_64
libmnet.so.0.0.1()(64bit) is needed by (installed) matahari-net-0.4.0-
5.el6.x86_64
matahari-lib = 0.4.0-5.el6 is needed by (installed) matahari-net-0.4.0-
5.el6.x86_64
libmqmfagent.so.0.0.1()(64bit) is needed by (installed) matahari-net-
0.4.0-5.el6.x86_64
matahari-agent-lib = 0.4.0-5.el6 is needed by (installed) matahari-net-
0.4.0-5.el6.x86_64
libqmf.so.4()(64bit) is needed by (installed) libvirt-qpid-0.2.22-
6.el6.x86_64
Please report this error in http://yum.baseurl.org/report
You could try running: rpm -Va --nofiles --nodigest
Your transaction was saved, rerun it with: yum load-transaction
/tmp/yum_save_tx-2014-05-20-20-10Xp21Gm.yumtx
[root@oel61a yum.repos.d]# yum install
1.9 Use the fix for BUG 919514
In my case I ran the following. If you have problems with different
rpms adjust accordingly.
yum shell
install matahari
remove matahari-service
remove matahari-lib
remove matahari-host
remove matahari-agent
remove matahari-net
run
exit
yum shell
install libvirt-qpid
remove libvirt-qpid
run
exit
1.10 Rerun yum update
1.11 Install Guest Additions CD. Required for Clipboard and mouse
integration.
1.12 Reboot the VM
1.13 Change /etc/grub.conf so that by default to boot 3.8.13-
35.el6uek.x86_64 and optimize it by adding divider=10.
[root@oel61a db_1]# cat /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this
file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/sda5
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=2
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Oracle Linux Server Red Hat Compatible Kernel (2.6.32-
431.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-431.el6.x86_64 ro root=UUID=ef6e890d-860a-
4554-bb70-4315af978e6b rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM
LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us
rhgb quiet numa=off transparent_hugepage=never crashkernel=auto
initrd /initramfs-2.6.32-431.el6.x86_64.img
title Oracle Linux Server (3.8.13-35.el6uek.x86_64.debug)
root (hd0,0)
kernel /vmlinuz-3.8.13-35.el6uek.x86_64.debug ro
root=UUID=ef6e890d-860a-4554-bb70-4315af978e6b rd_NO_LUKS rd_NO_LVM
rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16
KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet numa=off
transparent_hugepage=never
initrd /initramfs-3.8.13-35.el6uek.x86_64.debug.img
title Oracle Linux Server (3.8.13-35.el6uek.x86_64)
root (hd0,0)
kernel /vmlinuz-3.8.13-35.el6uek.x86_64 ro root=UUID=ef6e890d-
860a-4554-bb70-4315af978e6b rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM
LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us
rhgb quiet numa=off transparent_hugepage=never divider=10
initrd /initramfs-3.8.13-35.el6uek.x86_64.img
title Oracle Linux Server-uek (2.6.32-100.34.1.el6uek.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-100.34.1.el6uek.x86_64 ro
root=UUID=ef6e890d-860a-4554-bb70-4315af978e6b rd_NO_LUKS rd_NO_LVM
rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16
KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet numa=off
transparent_hugepage=never
kernel /vmlinuz-2.6.32-100.34.1.el6uek.x86_64 ro
root=UUID=ef6e890d-860a-4554-bb70-4315af978e6b rd_NO_LUKS rd_NO_LVM
rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16
KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet numa=off
transparent_hugepage=never
initrd /initramfs-2.6.32-100.34.1.el6uek.x86_64.img
title Oracle Linux Server-uek-debug (2.6.32-100.34.1.el6uek.x86_64.debug)
root (hd0,0)
kernel /vmlinuz-2.6.32-100.34.1.el6uek.x86_64.debug ro
root=UUID=ef6e890d-860a-4554-bb70-4315af978e6b rd_NO_LUKS rd_NO_LVM
rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16
KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet numa=off
transparent_hugepage=never
initrd /initramfs-2.6.32-100.34.1.el6uek.x86_64.debug.img
title Oracle Linux Server (2.6.32-131.0.15.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-131.0.15.el6.x86_64 ro root=UUID=ef6e890d-
860a-4554-bb70-4315af978e6b rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM
LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us
crashkernel=auto rhgb quiet numa=off transparent_hugepage=never
initrd /initramfs-2.6.32-131.0.15.el6.x86_64.img
[root@oel61a db_1]#
1.14 Shutdown the VM
1.15 Start the VM
1.16 Stop GI and database on the node.
1.17 Re-link Oracle RDBMS and Oracle GI binaries. For GI binary relink
you might want to look at ‘How To Relink The Oracle Grid
Infrastructure Standalone (Restart) Installation Or Oracle Grid
Infrastructure RAC/Cluster Installation (11.2 or 12c). (Doc ID
1536057.1)’
1.18 Start GI and database on the node.
1.19 I had to add few disks to the VM in order to provision around
80GB space to accommodate the need for extra disk space for the
OEM CC installation disk footprint and staging areas. Look here
for details. For adding a single disk you can follow the
procedure below:
- Add disk to system
- Partition it via fdisk. Set partition type to 8e (Linux LVM)
- run pvcreate initialize the partition for LVM
- run vgextend to expand your existing volume group with the new device.
- run lvextend to grow your logical volume.
- finally, run resize2fs (assuming you are using ext3/4) to grow the
file system.
[root@oel61 dev]# fdisk /dev/sdc
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF
disklabel
Building a new DOS disklabel with disk identifier 0x232580d7.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.
Warning: invalid flag 0x0000 of partition table 4 will be corrected by
w(rite)
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-2610, default 1): 1
Last cylinder, +cylinders or +size{K,M,G} (1-2610, default 2610):
Using default value 2610
Command (m for help): p
Disk /dev/sdc: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x232580d7
Device Boot Start End Blocks Id System
/dev/sdc1 1 2610 20964793+ 83 Linux
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
[root@oel61 dev]#
[root@oel61 dev]# ls -l sd*
brw-rw---- 1 root disk 8, 0 Jun 4 12:15 sda
brw-rw---- 1 root disk 8, 1 Jun 4 12:15 sda1
brw-rw---- 1 root disk 8, 2 Jun 4 12:15 sda2
brw-rw---- 1 root disk 8, 32 Jun 4 13:22 sdc
brw-rw---- 1 root disk 8, 33 Jun 4 13:22 sdc1
[root@oel61 dev]# pvcreate /dev/sdc1
Physical volume "/dev/sdc1" successfully created
[root@oel61 dev]#
[root@oel61 dev]# vgextend vg_oel61 /dev/sdc1
Volume group "vg_oel61" successfully extended
[root@oel61 dev]#
[root@oel61 vg_oel61]# lvextend -L+19G /dev/vg_oel61/lv_root
/dev/sdb: stat failed: No such file or directory
Path /dev/sdb no longer valid for device(8,16)
Extending logical volume lv_root to 69.00 GiB
Logical volume lv_root successfully resized
[root@oel61 vg_oel61]#
[root@oel61 vg_oel61]# resize2fs /dev/vg_oel61/lv_root
resize2fs 1.43-WIP (20-Jun-2013)
Filesystem at /dev/vg_oel61/lv_root is mounted on /; on-line resizing
required
old_desc_blocks = 4, new_desc_blocks = 5
The filesystem on /dev/vg_oel61/lv_root is now 18087936 blocks long.
[root@oel61 vg_oel61]#
[root@oel61 vg_oel61]# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/vg_oel61-lv_root
71085448 43852936 23776820 65% /
tmpfs 4088900 203620 3885280 5% /dev/shm
/dev/sda1 487652 149130 308826 33% /boot
/dev/mapper/vg_oel61-lv_home
61560836 55700 58354904 1% /home
D_DRIVE 976759804 966635272 10124532 99%
/media/sf_D_DRIVE
Downloads 1953382396 1905264656 48117740 98%
/media/sf_Downloads
E_DRIVE 1953382396 1905264656 48117740 98%
/media/sf_E_DRIVE
VM 1953382396 1905264656 48117740 98% /media/sf_VM
software 1953382396 1905264656 48117740 98%
/media/sf_software
[root@oel61 vg_oel61]#
1.20 This concludes the upgrade from OEL 6.1 to OEL 6.5.
2. Upgrade OEM Cloud Control 12c to OEM Cloud Control 12cR4
2.1 Patch the OMS with Bundle Patch 1 and some extra patches.
Start by reviewing MOS Notes ‘Mandatory Enterprise Manager Cloud
Control 12c Release 12.1.0.1 Bundle Patch 1 (BP1) for all
available platforms (Doc ID 1430518.1)’,‘Announcing Enterprise
Manager Cloud Control 12c Release 12.1.0.1 Bundle Patch 1(BP1)
and 12.1.0.2 Plug-ins (Doc ID 1395505.1)’ and ‘Enterprise Manager
Cloud Control Workbook for Applying Bundle Patch 1 (February
2012) and 12.1.0.2 Plug-ins (Doc ID 1393173.1)’.
MOS states ‘The EM Cloud Control 12.1.0.1 Bundle Patch 1 (BP1)
patches are mandatory for the OMS and Agent. These are
consolidated patch(es) that address multiple bug fixes and are
required as a minimum for future bug fixes to the EM Base
Platform 12.1.0.1 OMS and Agent. The OMS Bundle Patch is also
required before you can deploy the new 12.1.0.2 Plugins to the
OMS’. The following patches will be applied to the respective
components in the specified order.
OMS
1. Patch 13242773 Bundle Patch 1 (BP1)
2. Patch 13470978 JDeveloper
3. Patch 12321965 Web Services Manager
Agent
1. Patch 13242776 Bundle Patch 1 (BP1)
2. Patch 13491785 Bundle Patch 1 (BP1)
3. Patch 13550565 Bundle Patch 1 (BP1)
4. Patch 13550561 Bundle Patch 1 (BP1)
After applying BP1 you need to apply to the OMS home the
following additional patches
1. Apply the Patch 14040891
2. Then apply Patch 14209224
Refer to Annex A for detailed instructions how to perform the
patching and the output of the patching.
2.2 Update the plug-ins to 12.1.0.2.0
Oracle® Enterprise Manager Bundle Patch 1 Application Guide 12c
Release 1 (12.1.0.1) is a good read before starting deploying
plug-ins. The MOS note ‘EM 12c : Refresh From My Oracle Support
And Opatch Update Jobs Are Failing With Checking for updates at
EM Store Error: ARU Connection failed:0:Connection Establishment
Timed Out (Doc ID 1457376.1)’ will help you ensure proper
connectivity to MOS. Look at this OTM thread if you still have
problems downloading plug-ins.
Let’s determine the plug-ins that needs to be upgraded. Run the
following commands from $OMS_HOME/bin.
./emcli login -username=sysman -password=tihomir1974
./emcli sync
[oracle@oel61 bin]$ ./emcli list_plugins_on_server
OMS name is EMGC_OMS1
Plug-in Name
Version [revision]
Oracle MOS (My Oracle Support)
12.1.0.1.0
Oracle Fusion Middleware
12.1.0.1.0
Oracle Database
12.1.0.1.0
Oracle Exadata
12.1.0.1.0
[oracle@oel61 bin]$
The conclusion is that I will need to upgrade
1. Oracle Exadata plug-in
2. Oracle MOS plug-in
3. Oracle Database plug-in
4. Oracle Fusion Middleware plug-in
For you to successfully deploy the plug-ins download all versions
and attempt to deploy the latest.
2.2.1 Upgrading Exadata Plug-in
Select the plug-in and select deploy on OMS.
Enter the sys password and press continue.
Rman>backup database include current controlfile plus archivelog;
./emctl exportconfig oms
[oracle@oel61 bin]$ ./emctl exportconfig oms
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password :
ExportConfig started...
Machine is Admin Server host. Performing Admin Server backup...
Exporting emoms properties...
Exporting secure properties...
Exporting configuration for pluggable modules...
Preparing archive file...
Backup has been written to file:
/u01/app/oracle/product/11.2.0/em12c/gc_inst/em/EMGC_OMS1/sysman/backup/o
pf_ADMIN_20140615_165128.bka
The export file contains sensitive data.
Please ensure that it is kept secure.
ExportConfig completed successfully!
[oracle@oel61 bin]$
Note the way to monitor the deployment progress.
Wait for the deployment to complete.
[oracle@oel61 bin]$ ./emcli get_plugin_deployment_status -
plugin_id=oracle.sysman.xa
Plugin Deployment/Undeployment Status
Destination : OMS - oel61.gj.com:4890_Management_Service
Plugin Name : Oracle Exadata
Version : 12.1.0.2.0 [u120704]
ID : oracle.sysman.xa
Content : Plugin
Action : Deployment
Status : Success
Steps Info:
---------------------------------------- ------------------------- ------
------------------- ----------
Step Start Time End
Time Status
---------------------------------------- ------------------------- ------
------------------- ----------
Start deployment 6/15/14 4:58:14 PM EEST
6/15/14 4:58:14 PM EEST Success
Initialize 6/15/14 4:58:28 PM EEST
6/15/14 5:00:11 PM EEST Success
Install software 6/15/14 5:00:28 PM EEST
6/15/14 5:00:46 PM EEST Success
Validate plug-in home 6/15/14 5:00:54 PM EEST
6/15/14 5:00:54 PM EEST Success
Perform custom pre-configuration 6/15/14 5:00:54 PM EEST
6/15/14 5:01:15 PM EEST Success
Check mandatory patches 6/15/14 5:01:15 PM EEST
6/15/14 5:01:34 PM EEST Success
Generate metadata SQL 6/15/14 5:01:34 PM EEST
6/15/14 5:01:34 PM EEST Success
Pre-configure repository 6/15/14 5:01:34 PM EEST
6/15/14 5:01:34 PM EEST Success
Pre-register DLF 6/15/14 5:01:34 PM EEST
6/15/14 5:01:34 PM EEST Success
Stop management server 6/15/14 5:01:37 PM EEST
6/15/14 5:03:46 PM EEST Success
Register DLF 6/15/14 5:03:46 PM EEST
6/15/14 5:08:31 PM EEST Success
Configure repository 6/15/14 5:03:46 PM EEST
6/15/14 5:32:09 PM EEST Success
Configure middle tier 6/15/14 5:32:44 PM EEST
6/15/14 5:49:04 PM EEST Success
OPSS jazn policy migration 6/15/14 5:49:11 PM EEST
6/15/14 5:49:11 PM EEST Success
Register metadata 6/15/14 5:49:11 PM EEST
6/15/14 5:50:45 PM EEST Success
Perform custom post-configuration 6/15/14 5:50:45 PM EEST
6/15/14 5:50:45 PM EEST Success
Update inventory 6/15/14 5:50:45 PM EEST
6/15/14 5:50:49 PM EEST Success
Start management server 6/15/14 5:50:49 PM EEST
6/15/14 6:22:11 PM EEST Success
---------------------------------------- ------------------------- ------
------------------- ----------
[oracle@oel61 bin]$
The GUI console confirms. Click deploy on agent.
Select the agent where to deploy to.
Select Continue.
When deployment completes you will have:
[oracle@oel61 bin]$ ./emcli get_plugin_deployment_status -
plugin_id=oracle.sysman.xa
Plugin Deployment/Undeployment Status
Destination : AGENT - oel61.gj.com:3872
Plugin Name : Oracle Exadata
Version : 12.1.0.2.0 [u120704]
ID : oracle.sysman.xa
Content : Discovery
Action : Deployment
Status : Success
Steps Info:
---------------------------------------- ------------------------- ------
------------------- ----------
Step Start Time End
Time Status
---------------------------------------- ------------------------- ------
------------------- ----------
Start deployment 6/15/14 7:00:01 PM EEST
6/15/14 7:00:01 PM EEST Success
Initialize 6/15/14 7:00:21 PM EEST
6/15/14 7:00:21 PM EEST Success
Copy archives 6/15/14 7:00:22 PM EEST
6/15/14 7:00:21 PM EEST Success
Configure plug-in on management agent 6/15/14 7:00:22 PM EEST
6/15/14 7:02:43 PM EEST Success
Update inventory 6/15/14 7:00:22 PM EEST
6/15/14 7:02:43 PM EEST Success
---------------------------------------- ------------------------- ------
------------------- ----------
Destination : AGENT - oel61.gj.com:3872
Plugin Name : Oracle Exadata
Version : 12.1.0.2.0 [u120704]
ID : oracle.sysman.xa
Content : Plugin
Action : Deployment
Status : Success
Steps Info:
---------------------------------------- ------------------------- ------
------------------- ----------
Step Start Time End
Time Status
---------------------------------------- ------------------------- ------
------------------- ----------
Start deployment 6/15/14 7:00:01 PM EEST
6/15/14 7:00:01 PM EEST Success
Initialize 6/15/14 7:02:43 PM EEST
6/15/14 7:02:43 PM EEST Success
Copy archives 6/15/14 7:02:43 PM EEST
6/15/14 7:02:43 PM EEST Success
Configure plug-in on management agent 6/15/14 7:02:43 PM EEST
6/15/14 7:05:25 PM EEST Success
Update inventory 6/15/14 7:02:43 PM EEST
6/15/14 7:05:25 PM EEST Success
---------------------------------------- ------------------------- ------
------------------- ----------
[oracle@oel61 bin]$
2.2.2 Upgrading MOS plug-in
Select the plug-in and select deploy on OMS
Perform the suggested backups.
Rman> backup database include current controlfile plus archivelog;
./emctl exportconfig oms
[oracle@oel61 bin]$ ./emctl exportconfig oms
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password :
ExportConfig started...
Machine is Admin Server host. Performing Admin Server backup...
Exporting emoms properties...
Exporting secure properties...
Exporting configuration for pluggable modules...
Preparing archive file...
Backup has been written to file:
/u01/app/oracle/product/11.2.0/em12c/gc_inst/em/EMGC_OMS1/sysman/backup/o
pf_ADMIN_20140615_194030.bka
The export file contains sensitive data.
Please ensure that it is kept secure.
ExportConfig completed successfully!
[oracle@oel61 bin]$
Take a note of the methods to monitor the deployment progress. Click
Show status.
Wait for the deployment to complete.
Using emcli you can also check the deployment progress.
./emctl status oms -details -sysman_pwd tihomir1974
[oracle@oel61 bin]$ ./emctl status oms -details -sysman_pwd tihomir1974
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
Console Server Host : oel61.gj.com
HTTP Console Port : 7790
HTTPS Console Port : 7803
HTTP Upload Port : 4890
HTTPS Upload Port : 4904
SLB or virtual hostname: oel61.gj.com
Agent Upload is locked.
OMS Console is locked.
Active CA ID: 1
Console URL: https://oel61.gj.com:7803/em
Upload URL: https://oel61.gj.com:4904/empbs/upload
WLS Domain Information
Domain Name : GCDomain
Admin Server Host: oel61.gj.com
Managed Server Information
Managed Server Instance Name: EMGC_OMS1
Managed Server Instance Host: oel61.gj.com
Oracle Management Server is down, may be due to the following plugin being
deployed/undeployed on the server:
Plugin Deployment/Undeployment Status
Destination : OMS - oel61.gj.com:4890_Management_Service
Plugin Name : Oracle MOS (My Oracle Support)
Version : 12.1.0.2.0
ID : oracle.sysman.mos
Content : Plugin
Action : Deployment
Status : Deploying
Steps Info:
---------------------------------------- ------------------------- ------------
------------- ----------
Step Start Time End Time
Status
---------------------------------------- ------------------------- ------------
------------- ----------
Start deployment 6/15/14 7:45:41 PM EEST 6/15/14
7:45:41 PM EEST Success
Initialize 6/15/14 7:46:01 PM EEST 6/15/14
7:47:09 PM EEST Success
Install software 6/15/14 7:47:18 PM EEST 6/15/14
7:47:41 PM EEST Success
Validate plug-in home 6/15/14 7:47:48 PM EEST 6/15/14
7:47:48 PM EEST Success
Perform custom pre-configuration 6/15/14 7:47:48 PM EEST 6/15/14
7:48:11 PM EEST Success
Check mandatory patches 6/15/14 7:48:11 PM EEST 6/15/14
7:48:17 PM EEST Success
Generate metadata SQL 6/15/14 7:48:18 PM EEST 6/15/14
7:48:18 PM EEST Success
Pre-configure repository 6/15/14 7:48:18 PM EEST 6/15/14
7:48:18 PM EEST Success
Pre-register DLF 6/15/14 7:48:18 PM EEST 6/15/14
7:48:18 PM EEST Success
Stop management server 6/15/14 7:48:21 PM EEST 6/15/14
7:50:44 PM EEST Success
Register DLF 6/15/14 7:50:45 PM EEST 6/15/14
7:53:47 PM EEST Success
Configure repository 6/15/14 7:50:45 PM EEST 6/15/14
8:10:02 PM EEST Success
Configure middle tier 6/15/14 8:10:55 PM EEST N/A
Running
---------------------------------------- ------------------------- ------------
------------- ----------
[oracle@oel61 bin]$
[oracle@oel61 bin]$ ./emctl status oms -details -sysman_pwd tihomir1974
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
Console Server Host : oel61.gj.com
HTTP Console Port : 7790
HTTPS Console Port : 7803
HTTP Upload Port : 4890
HTTPS Upload Port : 4904
SLB or virtual hostname: oel61.gj.com
Agent Upload is locked.
OMS Console is locked.
Active CA ID: 1
Console URL: https://oel61.gj.com:7803/em
Upload URL: https://oel61.gj.com:4904/empbs/upload
WLS Domain Information
Domain Name : GCDomain
Admin Server Host: oel61.gj.com
Managed Server Information
Managed Server Instance Name: EMGC_OMS1
Managed Server Instance Host: oel61.gj.com
[oracle@oel61 bin]$
./emcli login -username=sysman -password=tihomir1974
./emcli sync
./emcli get_plugin_deployment_status -plugin_id=oracle.sysman.mos
[oracle@oel61 bin]$ ./emcli get_plugin_deployment_status -
plugin_id=oracle.sysman.mos
Plugin Deployment/Undeployment Status
Destination : OMS - oel61.gj.com:4890_Management_Service
Plugin Name : Oracle MOS (My Oracle Support)
Version : 12.1.0.2.0
ID : oracle.sysman.mos
Content : Plugin
Action : Deployment
Status : Success
Steps Info:
---------------------------------------- ------------------------- ------------
------------- ----------
Step Start Time End Time
Status
---------------------------------------- ------------------------- ------------
------------- ----------
Start deployment 6/15/14 7:45:41 PM EEST 6/15/14
7:45:41 PM EEST Success
Initialize 6/15/14 7:46:01 PM EEST 6/15/14
7:47:09 PM EEST Success
Install software 6/15/14 7:47:18 PM EEST 6/15/14
7:47:41 PM EEST Success
Validate plug-in home 6/15/14 7:47:48 PM EEST 6/15/14
7:47:48 PM EEST Success
Perform custom pre-configuration 6/15/14 7:47:48 PM EEST 6/15/14
7:48:11 PM EEST Success
Check mandatory patches 6/15/14 7:48:11 PM EEST 6/15/14
7:48:17 PM EEST Success
Generate metadata SQL 6/15/14 7:48:18 PM EEST 6/15/14
7:48:18 PM EEST Success
Pre-configure repository 6/15/14 7:48:18 PM EEST 6/15/14
7:48:18 PM EEST Success
Pre-register DLF 6/15/14 7:48:18 PM EEST 6/15/14
7:48:18 PM EEST Success
Stop management server 6/15/14 7:48:21 PM EEST 6/15/14
7:50:44 PM EEST Success
Register DLF 6/15/14 7:50:45 PM EEST 6/15/14
7:53:47 PM EEST Success
Configure repository 6/15/14 7:50:45 PM EEST 6/15/14
8:10:02 PM EEST Success
Configure middle tier 6/15/14 8:10:55 PM EEST 6/15/14
8:25:30 PM EEST Success
OPSS jazn policy migration 6/15/14 8:28:30 PM EEST 6/15/14
8:30:18 PM EEST Success
Register metadata 6/15/14 8:30:18 PM EEST 6/15/14
8:30:34 PM EEST Success
Perform custom post-configuration 6/15/14 8:30:35 PM EEST 6/15/14
8:30:35 PM EEST Success
Update inventory 6/15/14 8:30:35 PM EEST 6/15/14
8:30:36 PM EEST Success
Start management server 6/15/14 8:30:36 PM EEST 6/15/14
9:05:28 PM EEST Success
---------------------------------------- ------------------------- ------------
------------- ----------
[oracle@oel61 bin]$
[oracle@oel61 bin]$
When deployment completes you will have
Note that when you try to deploy on the agent you get.
2.2.3 Upgrading Database plug-in
While attempting to follow the same approach for deploying the
Oracle Database plug-in I got the following message:
12.1.0.2.0 [u120804] prereqisites failed
I found the following notes on MOS to be quite helpful
How to Perform Agent Resynchronization in 12C Cloud Control ?
(Doc ID 1376968.1)
Failure in agent upgrade from 12.1.0.1.0 to PS1 [12.1.0.2.0]
(Doc ID 1494376.1)
I attempted a manual deployment
[oracle@oel61 bin]$ ./emcli deploy_plugin_on_server -
plugin=oracle.sysman.db:12.1.0.2.0 -sys_password=sys1
Performing pre-requisites check... This will take a while.
Agents monitoring the following Management Services are not running.
Make sure these agents are up and running and re-try deployment. List
of Management Services whose monitoring agents are down:
[oel61.gj.com:4890_Management_Service]
[oracle@oel61 bin]$
Upon resyncing the agent I got
resyncState: IN executeCommand
resyncState: validated parameters
Starting resync RESYNC_20140610223813 for agent
oel61.gj.com:3872
Getting list of all the Targets to remove from the the agent -
oel61.gj.com:3872
Removing 36 targets from the agent
Removing list of plugins from the agent
Getting list of all the Targets from the repository for the
agent - oel61.gj.com:3872
Pushing list of plugins to the agent
Promoting list of targets to the agent
Re-deploying Metric Extensions to the targets
Saving target collections to the agent
Error saving collections for target
/EMGC_GCDomain/GCDomain/EMGC_OMS1/oracle.security.apm(11.1.1.3
.0):oracle_apm -
oracle.sysman.emSDK.emd.comm.SetCollectionException: Invalid
CollectionItem (j2ee_application_config). invalid metric
Cleaning state on the agent
size of repos blackout list is 0
Retrieving java callbacks from em_gcha_callbacks table
Pdp settings syncronized successfully
resyncState: resync of agent finished with errors.
MOS note ‘EM12c: Enterprise Manager 12c Cloud Control Shows
the FMW Welcome Page Application(11.1.0.0.0) Target as Down
(Doc ID 1632952.1)’ gave a solution.
Retrying the deployment operation I managed to move through.
[oracle@oel61 bin]$ ./emcli deploy_plugin_on_server -
plugin=oracle.sysman.db:12.1.0.2.0 -sys_password=sys1
Performing pre-requisites check... This will take a while.
Pre-requisites check succeeded
Deployment of plug-in on the management servers is in progress
Use "emcli get_plugin_deployment_status -
plugin_id=oracle.sysman.db" to track plug-in deployment
status.
Note: Deployment of plug-in on Management Server will require
downtime.
All currently connected users will be disconnected from
the Enterprise Manager.
During downtime period, users will not be able to
connect to Enterprise Manager and
Enterprise Manager will not monitor any targets.
Use "emctl status oms -details" to track deployment
status during downtime.
[oracle@oel61 bin]$
[oracle@oel61 bin]$ ./emcli get_plugin_deployment_status -
plugin_id=oracle.sysman.db
Error: Connection to the current OMS could not be established. Check
the log files for further details
[oracle@oel61 bin]$
[oracle@oel61 bin]$ ./emctl status oms -details
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password :
Console Server Host : oel61.gj.com
HTTP Console Port : 7790
HTTPS Console Port : 7803
HTTP Upload Port : 4890
HTTPS Upload Port : 4904
SLB or virtual hostname: oel61.gj.com
Agent Upload is locked.
OMS Console is locked.
Active CA ID: 1
Console URL: https://oel61.gj.com:7803/em
Upload URL: https://oel61.gj.com:4904/empbs/upload
WLS Domain Information
Domain Name : GCDomain
Admin Server Host: oel61.gj.com
Managed Server Information
Managed Server Instance Name: EMGC_OMS1
Managed Server Instance Host: oel61.gj.com
Oracle Management Server is down, may be due to the following plugin
being deployed/undeployed on the server:
Plugin Deployment/Undeployment Status
Destination : OMS - oel61.gj.com:4890_Management_Service
Plugin Name : Oracle Database
Version : 12.1.0.2.0 [u120804]
ID : oracle.sysman.db
Content : Plugin
Action : Deployment
Status : Deploying
Steps Info:
---------------------------------------- ------------------------- --
----------------------- ----------
Step Start Time
End Time Status
---------------------------------------- ------------------------- --
----------------------- ----------
Start deployment 6/14/14 4:21:37 PM EEST
6/14/14 4:21:37 PM EEST Success
Initialize 6/14/14 4:22:02 PM EEST
6/14/14 4:24:23 PM EEST Success
Install software 6/14/14 4:24:50 PM EEST
6/14/14 4:25:18 PM EEST Success
Validate plug-in home 6/14/14 4:25:30 PM EEST
6/14/14 4:25:30 PM EEST Success
Perform custom pre-configuration 6/14/14 4:25:31 PM EEST
6/14/14 4:26:00 PM EEST Success
Check mandatory patches 6/14/14 4:26:05 PM EEST
6/14/14 4:26:22 PM EEST Success
Generate metadata SQL 6/14/14 4:26:22 PM EEST
6/14/14 4:26:23 PM EEST Success
Pre-configure repository 6/14/14 4:26:23 PM EEST
6/14/14 4:26:24 PM EEST Success
Pre-register DLF 6/14/14 4:26:24 PM EEST
6/14/14 4:26:24 PM EEST Success
Stop management server 6/14/14 4:26:30 PM EEST
N/A Running
---------------------------------------- ------------------------- --
----------------------- ----------
[oracle@oel61 bin]$
[oracle@oel61 bin]$ ./emctl status oms -details
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password :
Console Server Host : oel61.gj.com
HTTP Console Port : 7790
HTTPS Console Port : 7803
HTTP Upload Port : 4890
HTTPS Upload Port : 4904
SLB or virtual hostname: oel61.gj.com
Agent Upload is locked.
OMS Console is locked.
Active CA ID: 1
Console URL: https://oel61.gj.com:7803/em
Upload URL: https://oel61.gj.com:4904/empbs/upload
WLS Domain Information
Domain Name : GCDomain
Admin Server Host: oel61.gj.com
Managed Server Information
Managed Server Instance Name: EMGC_OMS1
Managed Server Instance Host: oel61.gj.com
Oracle Management Server is down, may be due to the following plugin
being deployed/undeployed on the server:
Plugin Deployment/Undeployment Status
Destination : OMS - oel61.gj.com:4890_Management_Service
Plugin Name : Oracle Database
Version : 12.1.0.2.0 [u120804]
ID : oracle.sysman.db
Content : Plugin
Action : Deployment
Status : Deploying
Steps Info:
---------------------------------------- ------------------------- --
----------------------- ----------
Step Start Time
End Time Status
---------------------------------------- ------------------------- --
----------------------- ----------
Start deployment 6/14/14 4:21:37 PM EEST
6/14/14 4:21:37 PM EEST Success
Initialize 6/14/14 4:22:02 PM EEST
6/14/14 4:24:23 PM EEST Success
Install software 6/14/14 4:24:50 PM EEST
6/14/14 4:25:18 PM EEST Success
Validate plug-in home 6/14/14 4:25:30 PM EEST
6/14/14 4:25:30 PM EEST Success
Perform custom pre-configuration 6/14/14 4:25:31 PM EEST
6/14/14 4:26:00 PM EEST Success
Check mandatory patches 6/14/14 4:26:05 PM EEST
6/14/14 4:26:22 PM EEST Success
Generate metadata SQL 6/14/14 4:26:22 PM EEST
6/14/14 4:26:23 PM EEST Success
Pre-configure repository 6/14/14 4:26:23 PM EEST
6/14/14 4:26:24 PM EEST Success
Pre-register DLF 6/14/14 4:26:24 PM EEST
6/14/14 4:26:24 PM EEST Success
Stop management server 6/14/14 4:26:30 PM EEST
6/14/14 4:31:58 PM EEST Success
Register DLF 6/14/14 4:32:01 PM EEST
N/A Running
Configure repository 6/14/14 4:32:01 PM EEST
N/A Running
---------------------------------------- ------------------------- --
----------------------- ----------
[oracle@oel61 bin]$
[oracle@oel61 bin]$ ./emctl status oms -details -sysman_pwd
tihomir1974
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
Console Server Host : oel61.gj.com
HTTP Console Port : 7790
HTTPS Console Port : 7803
HTTP Upload Port : 4890
HTTPS Upload Port : 4904
SLB or virtual hostname: oel61.gj.com
Agent Upload is locked.
OMS Console is locked.
Active CA ID: 1
Console URL: https://oel61.gj.com:7803/em
Upload URL: https://oel61.gj.com:4904/empbs/upload
WLS Domain Information
Domain Name : GCDomain
Admin Server Host: oel61.gj.com
Managed Server Information
Managed Server Instance Name: EMGC_OMS1
Managed Server Instance Host: oel61.gj.com
Oracle Management Server is down, may be due to the following plugin
being deployed/undeployed on the server:
Plugin Deployment/Undeployment Status
Destination : OMS - oel61.gj.com:4890_Management_Service
Plugin Name : Oracle Database
Version : 12.1.0.2.0 [u120804]
ID : oracle.sysman.db
Content : Plugin
Action : Deployment
Status : Deploying
Steps Info:
---------------------------------------- ------------------------- --
----------------------- ----------
Step Start Time
End Time Status
---------------------------------------- ------------------------- --
----------------------- ----------
Start deployment 6/14/14 4:21:37 PM EEST
6/14/14 4:21:37 PM EEST Success
Initialize 6/14/14 4:22:02 PM EEST
6/14/14 4:24:23 PM EEST Success
Install software 6/14/14 4:24:50 PM EEST
6/14/14 4:25:18 PM EEST Success
Validate plug-in home 6/14/14 4:25:30 PM EEST
6/14/14 4:25:30 PM EEST Success
Perform custom pre-configuration 6/14/14 4:25:31 PM EEST
6/14/14 4:26:00 PM EEST Success
Check mandatory patches 6/14/14 4:26:05 PM EEST
6/14/14 4:26:22 PM EEST Success
Generate metadata SQL 6/14/14 4:26:22 PM EEST
6/14/14 4:26:23 PM EEST Success
Pre-configure repository 6/14/14 4:26:23 PM EEST
6/14/14 4:26:24 PM EEST Success
Pre-register DLF 6/14/14 4:26:24 PM EEST
6/14/14 4:26:24 PM EEST Success
Stop management server 6/14/14 4:26:30 PM EEST
6/14/14 4:31:58 PM EEST Success
Register DLF 6/14/14 4:32:01 PM EEST
6/14/14 4:51:28 PM EEST Success
Configure repository 6/14/14 4:32:01 PM EEST
6/14/14 5:52:08 PM EEST Success
Configure middle tier 6/14/14 5:53:16 PM EEST
6/14/14 6:07:57 PM EEST Success
OPSS jazn policy migration 6/14/14 6:29:37 PM EEST
6/14/14 6:33:50 PM EEST Success
Register metadata 6/14/14 6:33:50 PM EEST
6/14/14 6:48:37 PM EEST Success
Perform custom post-configuration 6/14/14 6:48:37 PM EEST
6/14/14 6:48:38 PM EEST Success
Update inventory 6/14/14 6:48:38 PM EEST
6/14/14 6:48:56 PM EEST Success
Start management server 6/14/14 6:48:57 PM EEST
N/A Running
---------------------------------------- ------------------------- --
----------------------- ----------
[oracle@oel61 bin]$
[oracle@oel61 bin]$ ./emctl status oms -details -sysman_pwd
tihomir1974
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
Console Server Host : oel61.gj.com
HTTP Console Port : 7790
HTTPS Console Port : 7803
HTTP Upload Port : 4890
HTTPS Upload Port : 4904
SLB or virtual hostname: oel61.gj.com
Agent Upload is locked.
OMS Console is locked.
Active CA ID: 1
Console URL: https://oel61.gj.com:7803/em
Upload URL: https://oel61.gj.com:4904/empbs/upload
WLS Domain Information
Domain Name : GCDomain
Admin Server Host: oel61.gj.com
Managed Server Information
Managed Server Instance Name: EMGC_OMS1
Managed Server Instance Host: oel61.gj.com
[oracle@oel61 bin]$
At the end the plug-in was successfully deployed on OMS
[oracle@oel61 bin]$ ./emcli get_plugin_deployment_status -
plugin_id=oracle.sysman.db
Plugin Deployment/Undeployment Status
Destination : OMS - oel61.gj.com:4890_Management_Service
Plugin Name : Oracle Database
Version : 12.1.0.2.0 [u120804]
ID : oracle.sysman.db
Content : Plugin
Action : Deployment
Status : Success
Steps Info:
---------------------------------------- ------------------------- --
----------------------- ----------
Step Start Time
End Time Status
---------------------------------------- ------------------------- --
----------------------- ----------
Start deployment 6/14/14 4:21:37 PM EEST
6/14/14 4:21:37 PM EEST Success
Initialize 6/14/14 4:22:02 PM EEST
6/14/14 4:24:23 PM EEST Success
Install software 6/14/14 4:24:50 PM EEST
6/14/14 4:25:18 PM EEST Success
Validate plug-in home 6/14/14 4:25:30 PM EEST
6/14/14 4:25:30 PM EEST Success
Perform custom pre-configuration 6/14/14 4:25:31 PM EEST
6/14/14 4:26:00 PM EEST Success
Check mandatory patches 6/14/14 4:26:05 PM EEST
6/14/14 4:26:22 PM EEST Success
Generate metadata SQL 6/14/14 4:26:22 PM EEST
6/14/14 4:26:23 PM EEST Success
Pre-configure repository 6/14/14 4:26:23 PM EEST
6/14/14 4:26:24 PM EEST Success
Pre-register DLF 6/14/14 4:26:24 PM EEST
6/14/14 4:26:24 PM EEST Success
Stop management server 6/14/14 4:26:30 PM EEST
6/14/14 4:31:58 PM EEST Success
Register DLF 6/14/14 4:32:01 PM EEST
6/14/14 4:51:28 PM EEST Success
Configure repository 6/14/14 4:32:01 PM EEST
6/14/14 5:52:08 PM EEST Success
Configure middle tier 6/14/14 5:53:16 PM EEST
6/14/14 6:07:57 PM EEST Success
OPSS jazn policy migration 6/14/14 6:29:37 PM EEST
6/14/14 6:33:50 PM EEST Success
Register metadata 6/14/14 6:33:50 PM EEST
6/14/14 6:48:37 PM EEST Success
Perform custom post-configuration 6/14/14 6:48:37 PM EEST
6/14/14 6:48:38 PM EEST Success
Update inventory 6/14/14 6:48:38 PM EEST
6/14/14 6:48:56 PM EEST Success
Start management server 6/14/14 6:48:57 PM EEST
6/14/14 8:02:55 PM EEST Success
---------------------------------------- ------------------------- --
----------------------- ----------
[oracle@oel61 bin]$
Deploying plug-in on the agent
./emcli login -username=sysman -password=tihomir1974
./emcli sync
./emcli deploy_plugin_on_agent -plugin=oracle.sysman.db:12.1.0.2.0 -
agent=oel61.gj.com:3872
[oracle@oel61 bin]$ ./emcli deploy_plugin_on_agent -
plugin=oracle.sysman.db:12.1.0.2.0 -agent=oel61.gj.com:3872
Agent side plug-in deployment is in progress
Use "emcli get_plugin_deployment_status -plugin_id=oracle.sysman.db"
to track plug-in deployment status.
[oracle@oel61 bin]$
[oracle@oel61 bin]$ ./emcli get_plugin_deployment_status -
plugin_id=oracle.sysman.db
Plugin Deployment/Undeployment Status
Destination : AGENT - oel61.gj.com:3872
Plugin Name : Oracle Database
Version : 12.1.0.2.0 [u120804]
ID : oracle.sysman.db
Content : Discovery
Action : Deployment
Status : Deploying
Steps Info:
---------------------------------------- ------------------------- --
----------------------- ----------
Step Start Time
End Time Status
---------------------------------------- ------------------------- --
----------------------- ----------
Start deployment 6/14/14 8:11:15 PM EEST
6/14/14 8:11:15 PM EEST Success
Initialize 6/14/14 8:11:56 PM EEST
6/14/14 8:11:57 PM EEST Success
---------------------------------------- ------------------------- --
----------------------- ----------
Destination : AGENT - oel61.gj.com:3872
Plugin Name : Oracle Database
Version : 12.1.0.2.0 [u120804]
ID : oracle.sysman.db
Content : Plugin
Action : Deployment
Status : Deploying
Steps Info:
---------------------------------------- ------------------------- --
----------------------- ----------
Step Start Time
End Time Status
---------------------------------------- ------------------------- --
----------------------- ----------
Start deployment 6/14/14 8:11:15 PM EEST
6/14/14 8:11:15 PM EEST Success
---------------------------------------- ------------------------- --
----------------------- ----------
[oracle@oel61 bin]$
[oracle@oel61 bin]$ ./emcli get_plugin_deployment_status -
plugin_id=oracle.sysman.db
Plugin Deployment/Undeployment Status
Destination : AGENT - oel61.gj.com:3872
Plugin Name : Oracle Database
Version : 12.1.0.2.0 [u120804]
ID : oracle.sysman.db
Content : Discovery
Action : Deployment
Status : Deploying
Steps Info:
---------------------------------------- ------------------------- --
----------------------- ----------
Step Start Time
End Time Status
---------------------------------------- ------------------------- --
----------------------- ----------
Start deployment 6/14/14 8:11:15 PM EEST
6/14/14 8:11:15 PM EEST Success
Initialize 6/14/14 8:11:56 PM EEST
6/14/14 8:11:57 PM EEST Success
Copy archives 6/14/14 8:11:59 PM EEST
6/14/14 8:11:57 PM EEST Success
---------------------------------------- ------------------------- --
----------------------- ----------
Destination : AGENT - oel61.gj.com:3872
Plugin Name : Oracle Database
Version : 12.1.0.2.0 [u120804]
ID : oracle.sysman.db
Content : Plugin
Action : Deployment
Status : Deploying
Steps Info:
---------------------------------------- ------------------------- --
----------------------- ----------
Step Start Time
End Time Status
---------------------------------------- ------------------------- --
----------------------- ----------
Start deployment 6/14/14 8:11:15 PM EEST
6/14/14 8:11:15 PM EEST Success
---------------------------------------- ------------------------- --
----------------------- ----------
[oracle@oel61 bin]$
[oracle@oel61 bin]$ ./emcli get_plugin_deployment_status -
plugin_id=oracle.sysman.db
Plugin Deployment/Undeployment Status
Destination : AGENT - oel61.gj.com:3872
Plugin Name : Oracle Database
Version : 12.1.0.2.0 [u120804]
ID : oracle.sysman.db
Content : Discovery
Action : Deployment
Status : Success
Steps Info:
---------------------------------------- ------------------------- --
----------------------- ----------
Step Start Time
End Time Status
---------------------------------------- ------------------------- --
----------------------- ----------
Start deployment 6/14/14 8:11:15 PM EEST
6/14/14 8:11:15 PM EEST Success
Initialize 6/14/14 8:11:56 PM EEST
6/14/14 8:11:57 PM EEST Success
Copy archives 6/14/14 8:11:59 PM EEST
6/14/14 8:11:57 PM EEST Success
Update inventory 6/14/14 8:11:59 PM EEST
6/14/14 8:19:21 PM EEST Success
---------------------------------------- ------------------------- --
----------------------- ----------
Destination : AGENT - oel61.gj.com:3872
Plugin Name : Oracle Database
Version : 12.1.0.2.0 [u120804]
ID : oracle.sysman.db
Content : Plugin
Action : Deployment
Status : Success
Steps Info:
---------------------------------------- ------------------------- --
----------------------- ----------
Step Start Time
End Time Status
---------------------------------------- ------------------------- --
----------------------- ----------
Start deployment 6/14/14 8:11:15 PM EEST
6/14/14 8:11:15 PM EEST Success
Initialize 6/14/14 8:19:21 PM EEST
6/14/14 8:19:22 PM EEST Success
Copy archives 6/14/14 8:19:22 PM EEST
6/14/14 8:19:22 PM EEST Success
Update inventory 6/14/14 8:19:22 PM EEST
6/14/14 8:30:43 PM EEST Success
---------------------------------------- ------------------------- --
----------------------- ----------
[oracle@oel61 bin]$
2.2.4 Upgrading Fusion Middleware plug-in
Go to plug-ins. Select Oracle Fusion Middleware and select deploy
on OMS.
Backup the database and export the management server configuration.
RMAN> backup database include current controlfile plus archivelog;
[oracle@oel61 bin]$ ./emcli login -username=sysman -password=tihomir1974
Error: Already logged in as user "sysman". Use "emcli logout" to logout
the current user.
[oracle@oel61 bin]$
[oracle@oel61 bin]$ ./emcli sync
Synchronized successfully
[oracle@oel61 bin]$ ./emctl exportconfig oms
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password :
ExportConfig started...
Machine is Admin Server host. Performing Admin Server backup...
Exporting emoms properties...
Exporting secure properties...
Exporting configuration for pluggable modules...
Preparing archive file...
Backup has been written to file:
/u01/app/oracle/product/11.2.0/em12c/gc_inst/em/EMGC_OMS1/sysman/backup/o
pf_ADMIN_20140614_222943.bka
The export file contains sensitive data.
Please ensure that it is kept secure.
ExportConfig completed successfully!
[oracle@oel61 bin]$
Monitor the deployment progress until complete successfully.
./emcli login -username=sysman -password=tihomir1974
./emcli sync
./emcli get_plugin_deployment_status -plugin_id=oracle.sysman.emas
=========================================================================
=========================================================================
=======
[oracle@oel61 bin]$ ./emcli get_plugin_deployment_status -
plugin_id=oracle.sysman.emas
Plugin Deployment/Undeployment Status
Destination : OMS - oel61.gj.com:4890_Management_Service
Plugin Name : Oracle Fusion Middleware
Version : 12.1.0.2.0 [u120704]
ID : oracle.sysman.emas
Content : Plugin
Action : Deployment
Status : Deploying
Steps Info:
---------------------------------------- ------------------------- ------
------------------- ----------
Step Start Time End
Time Status
---------------------------------------- ------------------------- ------
------------------- ----------
Start deployment 6/14/14 10:36:05 PM EEST
6/14/14 10:36:05 PM EEST Success
Initialize 6/14/14 10:36:49 PM EEST
6/14/14 10:40:51 PM EEST Success
---------------------------------------- ------------------------- ------
------------------- ----------
[oracle@oel61 bin]$
[oracle@oel61 bin]$ ./emcli get_plugin_deployment_status -
plugin_id=oracle.sysman.emas
Plugin Deployment/Undeployment Status
Destination : OMS - oel61.gj.com:4890_Management_Service
Plugin Name : Oracle Fusion Middleware
Version : 12.1.0.2.0 [u120704]
ID : oracle.sysman.emas
Content : Plugin
Action : Deployment
Status : Deploying
Steps Info:
---------------------------------------- ------------------------- ------
------------------- ----------
Step Start Time End
Time Status
---------------------------------------- ------------------------- ------
------------------- ----------
Start deployment 6/14/14 10:36:05 PM EEST
6/14/14 10:36:05 PM EEST Success
Initialize 6/14/14 10:36:49 PM EEST
6/14/14 10:40:51 PM EEST Success
Install software 6/14/14 10:41:35 PM EEST
6/14/14 10:42:34 PM EEST Success
Validate plug-in home 6/14/14 10:43:15 PM EEST
6/14/14 10:43:17 PM EEST Success
Perform custom pre-configuration 6/14/14 10:43:18 PM EEST N/A
Running
---------------------------------------- ------------------------- ------
------------------- ----------
[oracle@oel61 bin]$ ./emcli get_plugin_deployment_status -
plugin_id=oracle.sysman.emas
Error: Connection to the current OMS could not be established. Check the
log files for further details
[oracle@oel61 bin]$
./emctl status oms -details -sysman_pwd tihomir1974
[oracle@oel61 bin]$ ./emctl status oms -details -sysman_pwd tihomir1974
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
Error occured. Check the log
/u01/app/oracle/product/11.2.0/em12c/gc_inst/em/EMGC_OMS1/sysman/log/emct
l.log
[oracle@oel61 bin]$ ./emctl status oms -details -sysman_pwd tihomir1974
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
Console Server Host : oel61.gj.com
HTTP Console Port : 7790
HTTPS Console Port : 7803
HTTP Upload Port : 4890
HTTPS Upload Port : 4904
SLB or virtual hostname: oel61.gj.com
Agent Upload is locked.
OMS Console is locked.
Active CA ID: 1
Console URL: https://oel61.gj.com:7803/em
Upload URL: https://oel61.gj.com:4904/empbs/upload
WLS Domain Information
Domain Name : GCDomain
Admin Server Host: oel61.gj.com
Managed Server Information
Managed Server Instance Name: EMGC_OMS1
Managed Server Instance Host: oel61.gj.com
Oracle Management Server is down, may be due to the following plugin
being deployed/undeployed on the server:
Plugin Deployment/Undeployment Status
Destination : OMS - oel61.gj.com:4890_Management_Service
Plugin Name : Oracle Fusion Middleware
Version : 12.1.0.2.0 [u120704]
ID : oracle.sysman.emas
Content : Plugin
Action : Deployment
Status : Deploying
Steps Info:
---------------------------------------- ------------------------- ------
------------------- ----------
Step Start Time End
Time Status
---------------------------------------- ------------------------- ------
------------------- ----------
Start deployment 6/14/14 10:36:05 PM EEST
6/14/14 10:36:05 PM EEST Success
Initialize 6/14/14 10:36:49 PM EEST
6/14/14 10:40:51 PM EEST Success
Install software 6/14/14 10:41:35 PM EEST
6/14/14 10:42:34 PM EEST Success
Validate plug-in home 6/14/14 10:43:15 PM EEST
6/14/14 10:43:17 PM EEST Success
Perform custom pre-configuration 6/14/14 10:43:18 PM EEST
6/14/14 10:44:55 PM EEST Success
Check mandatory patches 6/14/14 10:44:56 PM EEST
6/14/14 10:45:45 PM EEST Success
Generate metadata SQL 6/14/14 10:45:45 PM EEST
6/14/14 10:45:45 PM EEST Success
Pre-configure repository 6/14/14 10:45:46 PM EEST
6/14/14 10:45:59 PM EEST Success
Pre-register DLF 6/14/14 10:46:05 PM EEST
6/14/14 10:46:06 PM EEST Success
Stop management server 6/14/14 10:46:23 PM EEST
6/14/14 10:52:33 PM EEST Success
Register DLF 6/14/14 10:52:35 PM EEST N/A
Running
Configure repository 6/14/14 10:52:36 PM EEST N/A
Running
---------------------------------------- ------------------------- ------
------------------- ----------
[oracle@oel61 bin]$
[oracle@oel61 bin]$ ./emctl status oms -details -sysman_pwd tihomir1974
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
Console Server Host : oel61.gj.com
HTTP Console Port : 7790
HTTPS Console Port : 7803
HTTP Upload Port : 4890
HTTPS Upload Port : 4904
SLB or virtual hostname: oel61.gj.com
Agent Upload is locked.
OMS Console is locked.
Active CA ID: 1
Console URL: https://oel61.gj.com:7803/em
Upload URL: https://oel61.gj.com:4904/empbs/upload
WLS Domain Information
Domain Name : GCDomain
Admin Server Host: oel61.gj.com
Managed Server Information
Managed Server Instance Name: EMGC_OMS1
Managed Server Instance Host: oel61.gj.com
Oracle Management Server is down, may be due to the following plugin
being deployed/undeployed on the server:
Plugin Deployment/Undeployment Status
Destination : OMS - oel61.gj.com:4890_Management_Service
Plugin Name : Oracle Fusion Middleware
Version : 12.1.0.2.0 [u120704]
ID : oracle.sysman.emas
Content : Plugin
Action : Deployment
Status : Deploying
Steps Info:
---------------------------------------- ------------------------- ------
------------------- ----------
Step Start Time End
Time Status
---------------------------------------- ------------------------- ------
------------------- ----------
Start deployment 6/14/14 10:36:05 PM EEST
6/14/14 10:36:05 PM EEST Success
Initialize 6/14/14 10:36:49 PM EEST
6/14/14 10:40:51 PM EEST Success
Install software 6/14/14 10:41:35 PM EEST
6/14/14 10:42:34 PM EEST Success
Validate plug-in home 6/14/14 10:43:15 PM EEST
6/14/14 10:43:17 PM EEST Success
Perform custom pre-configuration 6/14/14 10:43:18 PM EEST
6/14/14 10:44:55 PM EEST Success
Check mandatory patches 6/14/14 10:44:56 PM EEST
6/14/14 10:45:45 PM EEST Success
Generate metadata SQL 6/14/14 10:45:45 PM EEST
6/14/14 10:45:45 PM EEST Success
Pre-configure repository 6/14/14 10:45:46 PM EEST
6/14/14 10:45:59 PM EEST Success
Pre-register DLF 6/14/14 10:46:05 PM EEST
6/14/14 10:46:06 PM EEST Success
Stop management server 6/14/14 10:46:23 PM EEST
6/14/14 10:52:33 PM EEST Success
Register DLF 6/14/14 10:52:35 PM EEST
6/14/14 11:36:18 PM EEST Success
Configure repository 6/14/14 10:52:36 PM EEST N/A
Running
---------------------------------------- ------------------------- ------
------------------- ----------
[oracle@oel61 bin]$
[oracle@oel61 bin]$ ./emctl status oms -details -sysman_pwd tihomir1974
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
Console Server Host : oel61.gj.com
HTTP Console Port : 7790
HTTPS Console Port : 7803
HTTP Upload Port : 4890
HTTPS Upload Port : 4904
SLB or virtual hostname: oel61.gj.com
Agent Upload is locked.
OMS Console is locked.
Active CA ID: 1
Console URL: https://oel61.gj.com:7803/em
Upload URL: https://oel61.gj.com:4904/empbs/upload
WLS Domain Information
Domain Name : GCDomain
Admin Server Host: oel61.gj.com
Managed Server Information
Managed Server Instance Name: EMGC_OMS1
Managed Server Instance Host: oel61.gj.com
[oracle@oel61 bin]$
[oracle@oel61 bin]$ ./emcli get_plugin_deployment_status -
plugin_id=oracle.sysman.emas
Plugin Deployment/Undeployment Status
Destination : OMS - oel61.gj.com:4890_Management_Service
Plugin Name : Oracle Fusion Middleware
Version : 12.1.0.2.0 [u120704]
ID : oracle.sysman.emas
Content : Plugin
Action : Deployment
Status : Success
Steps Info:
---------------------------------------- ------------------------- ------
------------------- ----------
Step Start Time End
Time Status
---------------------------------------- ------------------------- ------
------------------- ----------
Start deployment 6/14/14 10:36:05 PM EEST
6/14/14 10:36:05 PM EEST Success
Initialize 6/14/14 10:36:49 PM EEST
6/14/14 10:40:51 PM EEST Success
Install software 6/14/14 10:41:35 PM EEST
6/14/14 10:42:34 PM EEST Success
Validate plug-in home 6/14/14 10:43:15 PM EEST
6/14/14 10:43:17 PM EEST Success
Perform custom pre-configuration 6/14/14 10:43:18 PM EEST
6/14/14 10:44:55 PM EEST Success
Check mandatory patches 6/14/14 10:44:56 PM EEST
6/14/14 10:45:45 PM EEST Success
Generate metadata SQL 6/14/14 10:45:45 PM EEST
6/14/14 10:45:45 PM EEST Success
Pre-configure repository 6/14/14 10:45:46 PM EEST
6/14/14 10:45:59 PM EEST Success
Pre-register DLF 6/14/14 10:46:05 PM EEST
6/14/14 10:46:06 PM EEST Success
Stop management server 6/14/14 10:46:23 PM EEST
6/14/14 10:52:33 PM EEST Success
Register DLF 6/14/14 10:52:35 PM EEST
6/14/14 11:36:18 PM EEST Success
Configure repository 6/14/14 10:52:36 PM EEST
6/15/14 2:52:28 AM EEST Success
Configure middle tier 6/15/14 2:54:58 AM EEST
6/15/14 3:15:15 AM EEST Success
OPSS jazn policy migration 6/15/14 3:51:19 AM EEST
6/15/14 3:54:10 AM EEST Success
Register metadata 6/15/14 3:54:10 AM EEST
6/15/14 4:05:38 AM EEST Success
Perform custom post-configuration 6/15/14 4:05:38 AM EEST
6/15/14 4:05:38 AM EEST Success
Update inventory 6/15/14 4:05:38 AM EEST
6/15/14 4:05:47 AM EEST Success
Start management server 6/15/14 4:05:47 AM EEST
6/15/14 4:59:35 AM EEST Success
---------------------------------------- ------------------------- ------
------------------- ----------
[oracle@oel61 bin]$
Wait for completion
[oracle@oel61 bin]$ ./emcli get_plugin_deployment_status -
plugin_id=oracle.sysman.emas
Plugin Deployment/Undeployment Status
Destination : AGENT - oel61.gj.com:3872
Plugin Name : Oracle Fusion Middleware
Version : 12.1.0.2.0 [u120704]
ID : oracle.sysman.emas
Content : Discovery
Action : Deployment
Status : Deploying
Steps Info:
---------------------------------------- ------------------------- ------
------------------- ----------
Step Start Time End
Time Status
---------------------------------------- ------------------------- ------
------------------- ----------
Start deployment 6/15/14 8:28:48 AM EEST
6/15/14 8:28:48 AM EEST Success
Initialize 6/15/14 8:29:11 AM EEST
6/15/14 8:29:12 AM EEST Success
Copy archives 6/15/14 8:29:12 AM EEST
6/15/14 8:29:12 AM EEST Success
---------------------------------------- ------------------------- ------
------------------- ----------
Destination : AGENT - oel61.gj.com:3872
Plugin Name : Oracle Fusion Middleware
Version : 12.1.0.2.0 [u120704]
ID : oracle.sysman.emas
Content : Plugin
Action : Deployment
Status : Deploying
Steps Info:
---------------------------------------- ------------------------- ------
------------------- ----------
Step Start Time End
Time Status
---------------------------------------- ------------------------- ------
------------------- ----------
Start deployment 6/15/14 8:28:48 AM EEST
6/15/14 8:28:48 AM EEST Success
---------------------------------------- ------------------------- ------
------------------- ----------
[oracle@oel61 bin]$
./emctl status oms -details -sysman_pwd tihomir1974
[oracle@oel61 bin]$ ./emctl status oms -details -sysman_pwd tihomir1974
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
Console Server Host : oel61.gj.com
HTTP Console Port : 7790
HTTPS Console Port : 7803
HTTP Upload Port : 4890
HTTPS Upload Port : 4904
SLB or virtual hostname: oel61.gj.com
Agent Upload is locked.
OMS Console is locked.
Active CA ID: 1
Console URL: https://oel61.gj.com:7803/em
Upload URL: https://oel61.gj.com:4904/empbs/upload
WLS Domain Information
Domain Name : GCDomain
Admin Server Host: oel61.gj.com
Managed Server Information
Managed Server Instance Name: EMGC_OMS1
Managed Server Instance Host: oel61.gj.com
[oracle@oel61 bin]$
[oracle@oel61 bin]$
[oracle@oel61 bin]$ ./emcli get_plugin_deployment_status -
plugin_id=oracle.sysman.emas
Plugin Deployment/Undeployment Status
Destination : AGENT - oel61.gj.com:3872
Plugin Name : Oracle Fusion Middleware
Version : 12.1.0.2.0 [u120704]
ID : oracle.sysman.emas
Content : Discovery
Action : Deployment
Status : Success
Steps Info:
---------------------------------------- ------------------------- ------
------------------- ----------
Step Start Time End
Time Status
---------------------------------------- ------------------------- ------
------------------- ----------
Start deployment 6/15/14 8:28:48 AM EEST
6/15/14 8:28:48 AM EEST Success
Initialize 6/15/14 8:29:11 AM EEST
6/15/14 8:29:12 AM EEST Success
Copy archives 6/15/14 8:29:12 AM EEST
6/15/14 8:29:12 AM EEST Success
Update inventory 6/15/14 8:29:12 AM EEST
6/15/14 8:33:57 AM EEST Success
---------------------------------------- ------------------------- ------
------------------- ----------
Destination : AGENT - oel61.gj.com:3872
Plugin Name : Oracle Fusion Middleware
Version : 12.1.0.2.0 [u120704]
ID : oracle.sysman.emas
Content : Plugin
Action : Deployment
Status : Success
Steps Info:
---------------------------------------- ------------------------- ------
------------------- ----------
Step Start Time End
Time Status
---------------------------------------- ------------------------- ------
------------------- ----------
Start deployment 6/15/14 8:28:48 AM EEST
6/15/14 8:28:48 AM EEST Success
Initialize 6/15/14 8:33:58 AM EEST
6/15/14 8:33:58 AM EEST Success
Copy archives 6/15/14 8:33:58 AM EEST
6/15/14 8:33:58 AM EEST Success
Update inventory 6/15/14 8:33:58 AM EEST
6/15/14 8:42:11 AM EEST Success
---------------------------------------- ------------------------- ------
------------------- ----------
[oracle@oel61 bin]$ ./emcli get_plugin_deployment_status -
plugin_id=oracle.sysman.emas
Error: Session expired. Run emcli login to establish a session.
[oracle@oel61 bin]$ ./emcli login -username=sysman -password=tihomir1974
Error: Login failed
[oracle@oel61 bin]$
[oracle@oel61 bin]$ ./emcli get_plugin_deployment_status -
plugin_id=oracle.sysman.emas
Plugin Deployment/Undeployment Status
Destination : AGENT - oel61.gj.com:3872
Plugin Name : Oracle Fusion Middleware
Version : 12.1.0.2.0 [u120704]
ID : oracle.sysman.emas
Content : Discovery
Action : Deployment
Status : Success
Steps Info:
---------------------------------------- ------------------------- ------
------------------- ----------
Step Start Time End
Time Status
---------------------------------------- ------------------------- ------
------------------- ----------
Start deployment 6/15/14 8:28:48 AM EEST
6/15/14 8:28:48 AM EEST Success
Initialize 6/15/14 8:29:11 AM EEST
6/15/14 8:29:12 AM EEST Success
Copy archives 6/15/14 8:29:12 AM EEST
6/15/14 8:29:12 AM EEST Success
Update inventory 6/15/14 8:29:12 AM EEST
6/15/14 8:33:57 AM EEST Success
---------------------------------------- ------------------------- ------
------------------- ----------
Destination : AGENT - oel61.gj.com:3872
Plugin Name : Oracle Fusion Middleware
Version : 12.1.0.2.0 [u120704]
ID : oracle.sysman.emas
Content : Plugin
Action : Deployment
Status : Success
Steps Info:
---------------------------------------- ------------------------- ------
------------------- ----------
Step Start Time End
Time Status
---------------------------------------- ------------------------- ------
------------------- ----------
Start deployment 6/15/14 8:28:48 AM EEST
6/15/14 8:28:48 AM EEST Success
Initialize 6/15/14 8:33:58 AM EEST
6/15/14 8:33:58 AM EEST Success
Copy archives 6/15/14 8:33:58 AM EEST
6/15/14 8:33:58 AM EEST Success
Update inventory 6/15/14 8:33:58 AM EEST
6/15/14 8:42:11 AM EEST Success
---------------------------------------- ------------------------- ------
------------------- ----------
[oracle@oel61 bin]$
At the end you will have.
2.3 Upgrade the patched OEM CC 12cR1 with BP1 to OEM CC 12cR3
Make a full backup of the OMR database.
Invoke Oracle installer.
Stop the OEM CC 12CR1
[oracle@oel61 bin]$ ./emctl stop oms -all
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
Stopping WebTier...
WebTier Successfully Stopped
Stopping Oracle Management Server...
Oracle Management Server Successfully Stopped
Oracle Management Server is Down
[oracle@oel61 bin]$
2.4 Upgrade the OEM CC 12cR3 to OEM CC 12cR4
As the OMR database is 11.2.0.3 apply the following patches prior
to the installation
Apply Patch 11061801
Apply Patch 13496395
Look at Annex A for details of patch application. Failure to do
so will result in the following error while upgrading to OEM CC
12cR4
Wait for the agent upgrade to complete.
Look at agent upgrade results
Confirm that the status is success.
./emctl config emkey -copy_to_repos
./emctl status emkey
[oracle@oel61 bin]$ ./emctl config emkey -copy_to_repos
Oracle Enterprise Manager Cloud Control 12c Release 3
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password :
The EMKey has been copied to the Management Repository. This
operation will cause the EMKey to become unsecure.
After the required operation has been completed, secure the EMKey
by running "emctl config emkey -remove_from_repos".
[oracle@oel61 bin]$ ./emctl status emkey
Oracle Enterprise Manager Cloud Control 12c Release 3
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password :
The EMKey is configured properly, but is not secure. Secure the
EMKey by running "emctl config emkey -remove_from_repos".
[oracle@oel61 bin]$
Enter the passwords.
Here OMS startup failed. I started it manually and retried the
operation.
[oracle@oel61 ~]$ ./startOMS.sh
Oracle Enterprise Manager Cloud Control 12c Release 4
Copyright (c) 1996, 2014 Oracle Corporation. All rights reserved.
Starting Oracle Management Server...
Starting WebTier...
WebTier Successfully Started
Oracle Management Server Already Started
Oracle Management Server is Up
Oracle Enterprise Manager Cloud Control 12c Release 3
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
Agent is already running
[oracle@oel61 ~]$
[root@oel61 em12cR4]# cd oms
[root@oel61 oms]# ls
allroot.sh common install modules oui
root.sh tg4tera
apm crs instantclient network perl
slax upgrade
archives css inventory nls plsql
soa upgrade_header.log
asr diagnostics javavm ocm
postjava_header.log sqlplus xdk
bin disc jdbc omscarespfile precomp
srvm
bmp doc jlib OPatch
preupgrade_header.log sysman
ccr dummy.ic.linux.txt ldap opmn rcu
tg4ifmx
cfgtoollogs dummy.ic.txt lib oracore rdbms
tg4ingr
clone gccompliance lib32 oraInst.loc relnotes
tg4sybs
[root@oel61 oms]# pwd
/u01/app/oracle/product/12.1.0/em12cR4/oms
[root@oel61 oms]# ./allroot.sh
Starting to execute allroot.sh .........
Starting to execute /u01/app/oracle/product/12.1.0/em12cR4/oms/root.sh
......
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/12.1.0/em12cR4/oms
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying coraenv to /usr/local/bin ...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
/etc exist
/u01/app/oracle/product/12.1.0/em12cR4/oms
Finished execution of /u01/app/oracle/product/12.1.0/em12cR4/oms/root.sh
......
[root@oel61 oms]#
Upgrade completes successfully.
Verify that cleanup is successful.
Make a startup and shutdown scripts. Have a look at the .bash_profile
included in Appendix A.
[oracle@oel61 ~]$ cat startOMS.sh
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
#export OMS_HOME=/u01/app/oracle/product/11.2.0/em12c/oms
#export OMS_HOME=/u01/app/oracle/product/12.1.0/em12cR3/oms
export OMS_HOME=/u01/app/oracle/product/12.1.0/em12cR4/oms
#export
AGENT_HOME=/u01/app/oracle/product/11.2.0/em12c/agent/core/12.1.3.0
#export
AGENT_HOME=/u01/app/oracle/product/11.2.0/em12c/agent/core/12.1.0.3.0
export
AGENT_HOME=/u01/app/oracle/product/11.2.0/em12c/agent/core/12.1.0.4.0
# Start OMS & agent
$OMS_HOME/bin/emctl start oms
$AGENT_HOME/bin/emctl start agent
[oracle@oel61 ~]
[oracle@oel61 ~]
[oracle@oel61 ~]
[oracle@oel61 ~]$ cat stopOMS.sh
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
#export OMS_HOME=/u01/app/oracle/product/11.2.0/em12c/oms
#export OMS_HOME=/u01/app/oracle/product/12.1.0/em12cR3/oms
export OMS_HOME=/u01/app/oracle/product/12.1.0/em12cR4/oms
#export
AGENT_HOME=/u01/app/oracle/product/11.2.0/em12c/agent/core/12.1.0.1.0
#export
AGENT_HOME=/u01/app/oracle/product/11.2.0/em12c/agent/core/12.1.0.3.0
export
AGENT_HOME=/u01/app/oracle/product/11.2.0/em12c/agent/core/12.1.0.4.0
# Start OMS & agent
$OMS_HOME/bin/emctl stop oms -all
$AGENT_HOME/bin/emctl stop agent
[oracle@oel61 ~]$
2.6 This concludes the upgrade to OEM 12cR4
Annex A
Applying patch 13242773
Modify the .bash_profile to include the OMS $OH.
[oracle@oel61 ~]$ cat .bash_profile
# .bash_profile
# .bash_profile
umask 022
ORACLE_BASE=/u01/app/oracle
#ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
ORACLE_HOME=/u01/app/oracle/product/11.2.0/em12c/oms
ORACLE_HOSTNAME=oel61
ORACLE_SID=RMANREP1
ORACLE_UNQNAME=RMANREP
LD_LIBRARY_PATH=$ORACLE_HOME/lib
PATH=$PATH:$ORACLE_HOME/bin:$ORACLE_HOME/OPatch
export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH PATH ORACLE_HOSTNAME
ORACLE_UNQNAME
#export ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
export OMS_HOME=/u01/app/oracle/product/11.2.0/em12c/oms
export AGENT_HOME=/u01/app/oracle/product/11.2.0/em12c/agent/core/12.1.0.1.0
TEMP=/tmp
TMPDIR=/tmp
export TEMP TMPDIR
ulimit -t unlimited
ulimit -f unlimited
ulimit -d unlimited
ulimit -s unlimited
ulimit -v unlimited
ulimit -n 65536
if [ -t 0 ]; then
stty intr ^C
fi
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
[oracle@oel61 ~]$
Make sure that you download the correct OPatch and examine the inventory
[oracle@oel61 ~]$ opatch lsinventory
Oracle Interim Patch Installer version 11.1.0.10.2
Copyright (c) 2013, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/11.2.0/em12c/oms
Central Inventory : /u01/app/oraInventory
from : /u01/app/oracle/product/11.2.0/em12c/oms/oraInst.loc
OPatch version : 11.1.0.10.2
OUI version : 11.1.0.9.0
Log file location :
/u01/app/oracle/product/11.2.0/em12c/oms/cfgtoollogs/opatch/opatch2014-06-
05_11-58-56AM_1.log
OPatch detects the Middleware Home as "/u01/app/oracle/product/11.2.0/em12c"
Lsinventory Output file location :
/u01/app/oracle/product/11.2.0/em12c/oms/cfgtoollogs/opatch/lsinv/lsinventory20
14-06-05_11-58-56AM.txt
-------------------------------------------------------------------------------
-
Installed Top-level Products (1):
EM Platform (OMS) 12.1.0.1.0
There are 1 products installed in this Oracle Home.
There are no Interim patches installed in this Oracle Home.
-------------------------------------------------------------------------------
-
OPatch succeeded.
[oracle@oel61 ~]$
Stop OMS
[oracle@oel61 bin]$ ./emctl stop oms -all
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
Stopping WebTier...
WebTier Successfully Stopped
Stopping Oracle Management Server...
Oracle Management Server Successfully Stopped
AdminServer Successfully Stopped
Oracle Management Server is Down
[oracle@oel61 bin]$
[oracle@oel61 bin]$
[oracle@oel61 bin]$ ./emctl status oms
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
WebTier is Down
Oracle Management Server is Down
[oracle@oel61 bin]$
Bounce the database and Listener.
[oracle@oel61 ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Thu Jun 5 12:27:08 2014
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management,
OLAP,
Data Mining and Real Application Testing options
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 2137886720 bytes
Fixed Size 2230072 bytes
Variable Size 704645320 bytes
Database Buffers 1426063360 bytes
Redo Buffers 4947968 bytes
Database mounted.
Database opened.
SQL>
[grid@oel61 ~]$ lsnrctl stop
LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 05-JUN-2014 12:44:22
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
The command completed successfully
[grid@oel61 ~]$ lsnrctl start
LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 05-JUN-2014 12:44:27
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Starting /u01/app/11.2.0/grid/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.2.0.3.0 - Production
System parameter file is /u01/app/11.2.0/grid/network/admin/listener.ora
Log messages written to /u01/app/grid/diag/tnslsnr/oel61/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production
Start Date 05-JUN-2014 12:44:27
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
Listener Log File
/u01/app/grid/diag/tnslsnr/oel61/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
The listener supports no services
The command completed successfully
[grid@oel61 ~]$
Run opatch apply
[oracle@oel61 13242773]$ opatch apply
Oracle Interim Patch Installer version 11.1.0.10.2
Copyright (c) 2013, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/11.2.0/em12c/oms
Central Inventory : /u01/app/oraInventory
from :
/u01/app/oracle/product/11.2.0/em12c/oms/oraInst.loc
OPatch version : 11.1.0.10.2
OUI version : 11.1.0.9.0
Log file location :
/u01/app/oracle/product/11.2.0/em12c/oms/cfgtoollogs/opatch/13242
773_Jun_05_2014_12_45_49/apply2014-06-05_12-45-47PM_1.log
OPatch detects the Middleware Home as
"/u01/app/oracle/product/11.2.0/em12c"
Applying interim patch '13242773' to OH
'/u01/app/oracle/product/11.2.0/em12c/oms'
Verifying environment and performing prerequisite checks...
All checks passed.
Provide your email address to be informed of security issues,
install and
initiate Oracle Configuration Manager. Easier for you if you use
your My
Oracle Support Email address/User Name.
Visit http://www.oracle.com/support/policies.html for details.
Email address/User Name:
You have not provided an email address for notification of
security issues.
Do you wish to remain uninformed of security issues ([Y]es, [N]o)
[N]: Yes
Backing up files...
Patching component oracle.sysman.oms.core, 12.1.0.1.0...
Verifying the update...
-----------------------------------------------------------------
---------------
*****************************************************************
*********
Please Ensure that you backup the OMS which comprises of your
Repository,
Middleware Home, Instance Home, and Software so that you can
deinstall
this patch. This patch cannot be rolled back until you restore
the
backup taken before patch apply.
If you Havent yet taken the backup, Please run:
$ opatch rollback -id 13242773
to rollback the patch now, and start with the patch application
again
after taking the backup.
*****************************************************************
*********
-----------------------------------------------------------------
---------------
Patch 13242773 successfully applied
Log file location:
/u01/app/oracle/product/11.2.0/em12c/oms/cfgtoollogs/opatch/13242
773_Jun_05_2014_12_45_49/apply2014-06-05_12-45-47PM_1.log
OPatch succeeded.
[oracle@oel61 13242773]$
[oracle@oel61 13242773]$ ./post_deploy.sh
Post deploy OMS automation script [Version: 11.1.0.9.5, Build
date: 5th February, 2012]
_________________________________________________________________
______________________
Please enter Patch Location: /u01/stage/patches/13242773
Please enter SYSMAN password:
Please enter EM repository host name: oel61
Please enter EM repository port: 1521
Please enter EM repository SID: RMANREP1
The script will run the following command(s):
/u01/app/oracle/product/11.2.0/em12c/oms/bin/emctl applypatch
repos -patchHome /u01/stage/patches/13242773
/u01/app/oracle/product/11.2.0/em12c/oms/bin/emctl register oms
metadata -service swlib -core -file_list
/u01/stage/patches/13242773/swlibList -debug
/u01/app/oracle/product/11.2.0/em12c/oms/bin/emctl register oms
metadata -core -service SelfUpdateEntityInstance -file
/u01/app/oracle/product/11.2.0/em12c/oms/sysman/metadata/selfUpda
teInst/851C756E23D7E1FBF7FBE57A8807D990.xml -debug
/u01/app/oracle/product/11.2.0/em12c/oms/bin/emctl register oms
metadata -service oobrules -file
/u01/app/oracle/product/11.2.0/em12c/oms/sysman/metadata/events/o
obrules/target_availability.xml -core -debug
/u01/app/oracle/product/11.2.0/em12c/oms/bin/emctl register oms
metadata -service derivedAssocs -file
/u01/app/oracle/product/11.2.0/em12c/oms/sysman/metadata/derivedA
ssocs/target_installed_at_oracle_home.xml -core -debug
/u01/app/oracle/product/11.2.0/em12c/oms/sysman/admin/emdrep/bin/
RepManager oel61 1521 RMANREP1 -action transx -reposName sysman -
reposPassword *********** -dlfSources
/u01/app/oracle/product/11.2.0/em12c/oms
/u01/app/oracle/product/11.2.0/em12c/oms/perl/bin/perl
/u01/stage/patches/13242773/apply12959056.pl
/u01/app/oracle/product/11.2.0/em12c/oms/perl/bin/perl
/u01/stage/patches/13242773/apply13479448.pl
/u01/app/oracle/product/11.2.0/em12c/oms/bin/exec_13651296_patch
/u01/app/oracle/product/11.2.0/em12c/oms/bin/emctl start oms
Please monitor log file "/u01/stage/patches/13242773/log/2014-06-
05-15-04-47.log"...
Script completed successfully.
[oracle@oel61 13242773]$
Verify
[oracle@oel61 ~]$ source .bash_profile_oms_upgrade
[oracle@oel61 ~]$ opatch lsinventory
Oracle Interim Patch Installer version 11.1.0.10.2
Copyright (c) 2013, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/11.2.0/em12c/oms
Central Inventory : /u01/app/oraInventory
from :
/u01/app/oracle/product/11.2.0/em12c/oms/oraInst.loc
OPatch version : 11.1.0.10.2
OUI version : 11.1.0.9.0
Log file location :
/u01/app/oracle/product/11.2.0/em12c/oms/cfgtoollogs/opatch/opatc
h2014-06-05_16-05-36PM_1.log
OPatch detects the Middleware Home as
"/u01/app/oracle/product/11.2.0/em12c"
Lsinventory Output file location :
/u01/app/oracle/product/11.2.0/em12c/oms/cfgtoollogs/opatch/lsinv
/lsinventory2014-06-05_16-05-36PM.txt
-----------------------------------------------------------------
---------------
Installed Top-level Products (1):
EM Platform (OMS)
12.1.0.1.0
There are 1 products installed in this Oracle Home.
Interim patches (1) :
Patch 13242773 : applied on Thu Jun 05 12:49:33 EEST 2014
Unique Patch ID: 14619029
Created on 10 Feb 2012, 05:21:29 hrs PST8PDT
Bugs fixed:
13472263, 13106443, 13071823, 12989982, 13492366, 12957621,
13374975
13375992, 12957984, 12989821, 13016983, 13080770, 13370175,
13334194
13010282, 13055166, 13094371, 12920846, 13028935, 13062375,
13033378
13403327, 13335076, 12851038, 13358747, 12928995, 13100709,
13242773
13359763, 12865976, 13426571, 12957944, 13251841
-----------------------------------------------------------------
---------------
OPatch succeeded.
[oracle@oel61 ~]$
Apply patch 13470978
[oracle@oel61 oracle_common]$ pwd
/u01/app/oracle/product/11.2.0/em12c/oracle_common
[oracle@oel61 oracle_common]$ export
ORACLE_HOME=/u01/app/oracle/product/11.2.0/em12c/oracle_common
[oracle@oel61 oracle_common]$
[oracle@oel61 patches]$ cd 13470978
[oracle@oel61 13470978]$ echo $ORACLE_HOME
/u01/app/oracle/product/11.2.0/em12c/oracle_common
[oracle@oel61 13470978]$ opatch apply
Oracle Interim Patch Installer version 11.1.0.10.2
Copyright (c) 2013, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/11.2.0/em12c/oracle_common
Central Inventory : /u01/app/oraInventory
from :
/u01/app/oracle/product/11.2.0/em12c/oracle_common/oraInst.loc
OPatch version : 11.1.0.10.2
OUI version : 11.1.0.9.0
Log file location :
/u01/app/oracle/product/11.2.0/em12c/oracle_common/cfgtoollogs/opatch/13470978_
Jun_05_2014_16_07_39/apply2014-06-05_16-07-38PM_1.log
OPatch detects the Middleware Home as "/u01/app/oracle/product/11.2.0/em12c"
Applying interim patch '13470978' to OH
'/u01/app/oracle/product/11.2.0/em12c/oracle_common'
Verifying environment and performing prerequisite checks...
Interim patch 13470978 is a superset of the patch(es) [ 12831411 ] in the
Oracle Home
OPatch will roll back the subset patches and apply the given patch.
All checks passed.
Provide your email address to be informed of security issues, install and
initiate Oracle Configuration Manager. Easier for you if you use your My
Oracle Support Email address/User Name.
Visit http://www.oracle.com/support/policies.html for details.
Email address/User Name:
You have not provided an email address for notification of security issues.
Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]: Yes
Backing up files...
Rolling back interim patch '12831411' from OH
'/u01/app/oracle/product/11.2.0/em12c/oracle_common'
Patching component oracle.jrf.adfrt, 11.1.1.5.0...
RollbackSession removing interim patch '12831411' from inventory
OPatch back to application of the patch '13470978' after auto-rollback.
Patching component oracle.jrf.adfrt, 11.1.1.5.0...
Verifying the update...
Patch 13470978 successfully applied
Log file location:
/u01/app/oracle/product/11.2.0/em12c/oracle_common/cfgtoollogs/opatch/13470978_
Jun_05_2014_16_07_39/apply2014-06-05_16-07-38PM_1.log
OPatch succeeded.
[oracle@oel61 13470978]$
Applying Patch 12321965
[oracle@oel61 13470978]$ cd ../12321965
[oracle@oel61 12321965]$ opatch apply
Oracle Interim Patch Installer version 11.1.0.10.2
Copyright (c) 2013, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/11.2.0/em12c/oracle_common
Central Inventory : /u01/app/oraInventory
from :
/u01/app/oracle/product/11.2.0/em12c/oracle_common/oraInst.loc
OPatch version : 11.1.0.10.2
OUI version : 11.1.0.9.0
Log file location :
/u01/app/oracle/product/11.2.0/em12c/oracle_common/cfgtoollogs/opatch/12321965_
Jun_05_2014_16_11_29/apply2014-06-05_16-11-27PM_1.log
OPatch detects the Middleware Home as "/u01/app/oracle/product/11.2.0/em12c"
Applying interim patch '12321965' to OH
'/u01/app/oracle/product/11.2.0/em12c/oracle_common'
Verifying environment and performing prerequisite checks...
All checks passed.
Provide your email address to be informed of security issues, install and
initiate Oracle Configuration Manager. Easier for you if you use your My
Oracle Support Email address/User Name.
Visit http://www.oracle.com/support/policies.html for details.
Email address/User Name:
You have not provided an email address for notification of security issues.
Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]: Yes
Please shutdown Oracle instances running out of this ORACLE_HOME on the local
system.
(Oracle Home = '/u01/app/oracle/product/11.2.0/em12c/oracle_common')
Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Patching component oracle.jrf.j2ee, 11.1.1.5.0...
Verifying the update...
Patch 12321965 successfully applied
Log file location:
/u01/app/oracle/product/11.2.0/em12c/oracle_common/cfgtoollogs/opatch/12321965_
Jun_05_2014_16_11_29/apply2014-06-05_16-11-27PM_1.log
OPatch succeeded.
[oracle@oel61 12321965]$
Patching agent with patch 13242776
[oracle@oel61 ~]$ cd /u01/stage/patches
[oracle@oel61 patches]$ cd 13242776
[oracle@oel61 13242776]$ opatch apply
Oracle Interim Patch Installer version 11.1.0.9.2
Copyright (c) 2011, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/11.2.0/em12c/agent/core/12.1.0.1.0
Central Inventory : /u01/app/oraInventory
from :
/u01/app/oracle/product/11.2.0/em12c/agent/core/12.1.0.1.0/oraInst.loc
OPatch version : 11.1.0.9.2
OUI version : 11.1.0.9.0
Log file location :
/u01/app/oracle/product/11.2.0/em12c/agent/core/12.1.0.1.0/cfgtoollogs/opatch/1
3242776_Jun_06_2014_10_35_03/apply2014-06-06_10-35-03AM_1.log
OPatch will do the following:
[Oracle Home discovery] : Configure and Validate Oracle
Home info.
[Prerequisite for apply] : Invoke prerequisites to see if
patch can be applied.
[Patch conflict detection for apply patch] : Check if any conflict with
already installed patches in Oracle Home.
Applying interim patch '13242776' to OH
'/u01/app/oracle/product/11.2.0/em12c/agent/core/12.1.0.1.0'
Verifying environment and performing prerequisite checks...
To continue, OPatch will do the following:
[Back up for restore] : Back up 72 files for Oracle Home restore in
case of patching error.
[Back up for rollback] : Back up 71 files for future patch rollback.
[Pre-script processing] : Excute pre script for patch [13242776].
[Patch Oracle Home for apply] : Copy 71 file(s) to Oracle Home.
[Update inventory for apply] : Modify the inventory to record patch
[13242776].
[Post-script processing] : Excute post script for patch [13242776].
Do you want to proceed? [y|n]
Y
User Responded with: Y
All checks passed.
Backing up files...
Patching component oracle.sysman.agent, 12.1.0.1.0...
Verifying the update...
Patch 13242776 successfully applied
Log file location:
/u01/app/oracle/product/11.2.0/em12c/agent/core/12.1.0.1.0/cfgtoollogs/opatch/1
3242776_Jun_06_2014_10_35_03/apply2014-06-06_10-35-03AM_1.log
OPatch succeeded.
[oracle@oel61 13242776]$
Patching agent with patch 13491785
[oracle@oel61 13242776]$ cd ../13491785
[oracle@oel61 13491785]$ opatch apply
Oracle Interim Patch Installer version 11.1.0.9.2
Copyright (c) 2011, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/11.2.0/em12c/agent/core/12.1.0.1.0
Central Inventory : /u01/app/oraInventory
from :
/u01/app/oracle/product/11.2.0/em12c/agent/core/12.1.0.1.0/oraInst.loc
OPatch version : 11.1.0.9.2
OUI version : 11.1.0.9.0
Log file location :
/u01/app/oracle/product/11.2.0/em12c/agent/core/12.1.0.1.0/cfgtoollogs/opatch/1
3491785_Jun_06_2014_10_36_38/apply2014-06-06_10-36-37AM_1.log
OPatch will do the following:
[Oracle Home discovery] : Configure and Validate Oracle
Home info.
[Prerequisite for apply] : Invoke prerequisites to see if
patch can be applied.
[Patch conflict detection for apply patch] : Check if any conflict with
already installed patches in Oracle Home.
Applying interim patch '13491785' to OH
'/u01/app/oracle/product/11.2.0/em12c/agent/core/12.1.0.1.0'
Verifying environment and performing prerequisite checks...
To continue, OPatch will do the following:
[Back up for restore] : Back up 17 files for Oracle Home restore in
case of patching error.
[Back up for rollback] : Back up 10 files for future patch rollback.
[Patch Oracle Home for apply] : Copy 9 file(s) to Oracle Home;
Archive 1 library file(s) with 1 Object
file(s);
Do 3 relink(s).
[Update inventory for apply] : Modify the inventory to record patch
[13491785].
Do you want to proceed? [y|n]
y
User Responded with: Y
All checks passed.
Backing up files...
Patching component oracle.sysman.agent, 12.1.0.1.0...
Copying file to
"/u01/app/oracle/product/11.2.0/em12c/agent/core/12.1.0.1.0/lib/libcore11.a"
Verifying the update...
Patch 13491785 successfully applied
Log file location:
/u01/app/oracle/product/11.2.0/em12c/agent/core/12.1.0.1.0/cfgtoollogs/opatch/1
3491785_Jun_06_2014_10_36_38/apply2014-06-06_10-36-37AM_1.log
OPatch succeeded.
[oracle@oel61 13491785]$
Patching Agent with patch 13550565
Ensure that you set the PLUGIN_HOME environment variable to
<Agent_Base_Directory>/plugins/oracle.sysman.oh.agent.plugin_12.1.0.1.0
export
PLUGIN_HOME=/u01/app/oracle/product/11.2.0/em12c/agent/plugins/oracle.sysman.oh
.agent.plugin_12.1.0.1.0
[oracle@oel61 13550565]$ opatch apply -oh $PLUGIN_HOME
Oracle Interim Patch Installer version 11.1.0.9.2
Copyright (c) 2011, Oracle Corporation. All rights reserved.
Oracle Home :
/u01/app/oracle/product/11.2.0/em12c/agent/plugins/oracle.sysman.oh.agent.plugi
n_12.1.0.1.0
Central Inventory : /u01/app/oraInventory
from :
/u01/app/oracle/product/11.2.0/em12c/agent/plugins/oracle.sysman.oh.agent.plugi
n_12.1.0.1.0/oraInst.loc
OPatch version : 11.1.0.9.2
OUI version : 11.1.0.9.0
Log file location :
/u01/app/oracle/product/11.2.0/em12c/agent/plugins/oracle.sysman.oh.agent.plugi
n_12.1.0.1.0/cfgtoollogs/opatch/13550565_Jun_06_2014_10_49_55/apply2014-06-
06_10-49-55AM_1.log
OPatch will do the following:
[Oracle Home discovery] : Configure and Validate Oracle
Home info.
[Prerequisite for apply] : Invoke prerequisites to see if
patch can be applied.
[Patch conflict detection for apply patch] : Check if any conflict with
already installed patches in Oracle Home.
Applying interim patch '13550565' to OH
'/u01/app/oracle/product/11.2.0/em12c/agent/plugins/oracle.sysman.oh.agent.plug
in_12.1.0.1.0'
Verifying environment and performing prerequisite checks...
To continue, OPatch will do the following:
[Back up for restore] : Back up 11 files for Oracle Home restore in
case of patching error.
[Back up for rollback] : Back up 10 files for future patch rollback.
[Patch Oracle Home for apply] : Copy 10 file(s) to Oracle Home.
[Update inventory for apply] : Modify the inventory to record patch
[13550565].
Do you want to proceed? [y|n]
y
User Responded with: Y
All checks passed.
Backing up files...
Patching component oracle.sysman.oh.plugin.agent, 12.1.0.1.0...
Verifying the update...
Patch 13550565 successfully applied
Log file location:
/u01/app/oracle/product/11.2.0/em12c/agent/plugins/oracle.sysman.oh.agent.plugi
n_12.1.0.1.0/cfgtoollogs/opatch/13550565_Jun_06_2014_10_49_55/apply2014-06-
06_10-49-55AM_1.log
OPatch succeeded.
[oracle@oel61 13550565]$
Patching Agent with patch 13550561
To apply Patch 13550561 to the oracle.sysman.oh.discovery.plugin_12.1.0.1.0
home
Set the following parameters :
$export
PLUGIN_HOME=<Agent_Base_Directory>/plugins/oracle.sysman.oh.discovery.plugin_12
.1.0.1.0
$export ORACLE_HOME=<Agent_Base_Directory>/core/12.1.0.1.0
$export PATH=<Agent_Base_Directory>/core/12.1.0.1.0/OPatch:$PATH
Apply the patch using opatch:
$ cd <patch_stage_location>/13550561
$ <Agent_Base_Directory>/core/12.1.0.1.0/OPatch/opatch apply -oh $PLUGIN_HOME
[oracle@oel61 13550561]$ export
PLUGIN_HOME=/u01/app/oracle/product/11.2.0/em12c/agent/plugins/oracle.sysman.oh
.discovery.plugin_12.1.0.1.0
[oracle@oel61 13550561]$ opatch apply -oh $PLUGIN_HOME
Oracle Interim Patch Installer version 11.1.0.9.2
Copyright (c) 2011, Oracle Corporation. All rights reserved.
Oracle Home :
/u01/app/oracle/product/11.2.0/em12c/agent/plugins/oracle.sysman.oh.discovery.p
lugin_12.1.0.1.0
Central Inventory : /u01/app/oraInventory
from :
/u01/app/oracle/product/11.2.0/em12c/agent/plugins/oracle.sysman.oh.discovery.p
lugin_12.1.0.1.0/oraInst.loc
OPatch version : 11.1.0.9.2
OUI version : 11.1.0.9.0
Log file location :
/u01/app/oracle/product/11.2.0/em12c/agent/plugins/oracle.sysman.oh.discovery.p
lugin_12.1.0.1.0/cfgtoollogs/opatch/13550561_Jun_06_2014_10_55_15/apply2014-06-
06_10-55-14AM_1.log
OPatch will do the following:
[Oracle Home discovery] : Configure and Validate Oracle
Home info.
[Prerequisite for apply] : Invoke prerequisites to see if
patch can be applied.
[Patch conflict detection for apply patch] : Check if any conflict with
already installed patches in Oracle Home.
Applying interim patch '13550561' to OH
'/u01/app/oracle/product/11.2.0/em12c/agent/plugins/oracle.sysman.oh.discovery.
plugin_12.1.0.1.0'
Verifying environment and performing prerequisite checks...
To continue, OPatch will do the following:
[Back up for restore] : Back up 7 files for Oracle Home restore in
case of patching error.
[Back up for rollback] : Back up 6 files for future patch rollback.
[Patch Oracle Home for apply] : Copy 6 file(s) to Oracle Home.
[Update inventory for apply] : Modify the inventory to record patch
[13550561].
Do you want to proceed? [y|n]
y
User Responded with: Y
All checks passed.
Backing up files...
Patching component oracle.sysman.oh.plugin.discovery, 12.1.0.1.0...
Verifying the update...
Patch 13550561 successfully applied
Log file location:
/u01/app/oracle/product/11.2.0/em12c/agent/plugins/oracle.sysman.oh.discovery.p
lugin_12.1.0.1.0/cfgtoollogs/opatch/13550561_Jun_06_2014_10_55_15/apply2014-06-
06_10-55-14AM_1.log
OPatch succeeded.
[oracle@oel61 13550561]$
Apply the Patch 14040891
1. Navigate to the <PATCH_TOP_DIR>/14040891 directory: $ cd <PATCH_TOP_DIR>/14040891
2. Install the patch by running the following command:
$ opatch napply
3. Run the following command:
$ emctl applypatch repos -patchHome $PWD/13653571
4. Run the following command:
$ emctl register oms metadata -service swlib -file
$ORACLE_HOME/sysman/metadata/swlib/multioms -core
$ emctl register oms metadata -service swlib -file
$ORACLE_HOME/sysman/metadata/swlib/patch -core
$ emctl register oms metadata -service procedures -file
$ORACLE_HOME/sysman/metadata/procedures/multioms/MultiOMS.xml -core
$ emctl register oms metadata -service derivedAssocs -file
$ORACLE_HOME/sysman/metadata/derivedAssocs/emSystemAssocRules.xml -core
This is from the patch note. In my case I had ORA-20103 error. Useful notes
are:
When applying a patch that includes post install scripts and
command "emctl applypatch repos" needs to be run, this could fail
with the following error:
ORA-20103: Patch pre-req failed, EM Jobs are in running state.
Please stop all jobs and retry
Rediscovery Notes:
when running "emctl applypatch repos", the command fails with
error "ORA-20103: Patch pre-req failed, EM Jobs are in running
state. Please stop all jobs and retry", the bug is present.
Workaround
Manually remove/stop the running jobs by calling these
procedures:
emd_maintenance.remove_em_dbms_jobs/emd_maintenance.kill_running_
em_dbms_jobs,
and then retry applying the patch.
oracle@oel61 14040891]$ emctl applypatch repos -patchHome
$PWD/13653571
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights
reserved.
***********************************************
Executing Patch Application Steps.....
***********************************************
Enter the SYSMAN password:
Please enter the database password(User:SYSMAN):
Processing command line ....
Repository_Patching_Utility - Checking Prerequisites
Checking Global Prerequisites
Repository_Patching_Utility - Checking Prerequisites
Checking Component Prerequisites
Repository_Patching_Utility - Creating Tablespaces
Validating and Creating Tablespaces
Repository_Patching_Utility - ApplyRepositoryPatch
Repository ApplyRepositoryPatch in progress.
Percent Complete: 7
Percent Complete: 14
Percent Complete: 21
Percent Complete: 32
Percent Complete: 94
Repository_Patching_Utility: ApplyRepositoryPatch - Completion
Summary
Database details:
Connect Descriptor :
(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oel61)(PO
RT=1521)))(LOAD_BALANCE=ON)(CONNECT_DATA=(SERVICE_NAME=RMANREP)))
Connected As : SYSMAN
RCU Logfile :
/u01/app/oracle/product/11.2.0/em12c/oms/rcu/log/empatch/rcu_2014
_05_10__13_11_52.log
Component schemas created:
Component Status Logfile
EM Repository Patch Application Success
/u01/app/oracle/product/11.2.0/em12c/oms/rcu/log/empatch/em
_patch_apply.log
Repository_Patching_Utility - ApplyRepositoryPatch : Operation
Completed
***********************************************
Executing Post Patch Action Steps.....
***********************************************
Please enter the database password(User:SYSMAN):
Processing command line ....
Repository_Patching_Utility - Checking Prerequisites
Checking Global Prerequisites
Repository_Patching_Utility - Checking Prerequisites
Checking Component Prerequisites
Repository_Patching_Utility - Creating Tablespaces
Validating and Creating Tablespaces
Repository_Patching_Utility - ApplyRepositoryPatch
Repository ApplyRepositoryPatch in progress.
Percent Complete: 7
Percent Complete: 35
Percent Complete: 97
Repository_Patching_Utility: ApplyRepositoryPatch - Completion
Summary
Database details:
Connect Descriptor :
(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oel61)(PO
RT=1521)))(LOAD_BALANCE=ON)(CONNECT_DATA=(SERVICE_NAME=RMANREP)))
Connected As : SYSMAN
RCU Logfile :
/u01/app/oracle/product/11.2.0/em12c/oms/rcu/log/empatch/rcu_2014
_05_10__13_11_52.log
Component schemas created:
Component Status Logfile
EM Repository Patch Application Success
/u01/app/oracle/product/11.2.0/em12c/oms/rcu/log/empatch/em
_patch_apply.log
Repository_Patching_Utility - ApplyRepositoryPatch : Operation
Completed
Renaming logfile
/u01/app/oracle/product/11.2.0/em12c/oms/rcu/log/empatch/em_patch
_apply.log to
/u01/app/oracle/product/11.2.0/em12c/oms/rcu/log/empatch/em_patch
_apply_13653571_2014_05_10__13_11_52.log
Renaming logfile
/u01/app/oracle/product/11.2.0/em12c/oms/rcu/log/empatch/em_patch
_apply_dbmsOutput.log to
/u01/app/oracle/product/11.2.0/em12c/oms/rcu/log/empatch/em_patch
_apply_13653571_2014_05_10__13_11_52_dbmsOutput.log
*****************************************************************
***********
*****************************************************************
***********
PATCH APPLICATION HAS SUCCEEDED
*****************************************************************
**********
*****************************************************************
**********
[oracle@oel61 14040891]$ emctl register oms metadata -service
swlib -file $ORACLE_HOME/sysman/metadata/swlib/multioms -core
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights
reserved.
SYSMAN password:
Metadata registration successful
[oracle@oel61 14040891]$ emctl register oms metadata -service
swlib -file $ORACLE_HOME/sysman/metadata/swlib/patch -core
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights
reserved.
SYSMAN password:
Metadata registration successful
[oracle@oel61 14040891]$ emctl register oms metadata -service
procedures -file
$ORACLE_HOME/sysman/metadata/procedures/multioms/MultiOMS.xml -
core
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights
reserved.
SYSMAN password:
Metadata registration successful
[oracle@oel61 14040891]$ emctl register oms metadata -service
derivedAssocs -file
$ORACLE_HOME/sysman/metadata/derivedAssocs/emSystemAssocRules.xml
-core
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights
reserved.
SYSMAN password:
Metadata registration successful
[oracle@oel61 14040891]$
Then apply Patch 14209224
1. Navigate to the <PATCH_TOP_DIR>/14209224 directory:
$ cd <PATCH_TOP_DIR>/14209224
2. Install the patch by running the following command:
$ opatch apply
3. $ emctl applypatch repos -patchHome $PWD
3. $ emctl register oms metadata -service derivedAssocs -file
$ORACLE_HOME/sysman/metadata/derivedAssocs/emSystemAssocRules.xml -core –debug
oracle@oel61 14209224]$ opatch napply
Oracle Interim Patch Installer version 11.1.0.10.2
Copyright (c) 2013, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/11.2.0/em12c/oms
Central Inventory : /u01/app/oraInventory
from : /u01/app/oracle/product/11.2.0/em12c/oms/oraInst.loc
OPatch version : 11.1.0.10.2
OUI version : 11.1.0.9.0
Log file location :
/u01/app/oracle/product/11.2.0/em12c/oms/cfgtoollogs/opatch/opatch2014-06-
09_19-24-09PM_1.log
OPatch detects the Middleware Home as "/u01/app/oracle/product/11.2.0/em12c"
Verifying environment and performing prerequisite checks...
OPatch continues with these patches: 14209224
Do you want to proceed? [y|n]
Y
User Responded with: Y
All checks passed.
Provide your email address to be informed of security issues, install and
initiate Oracle Configuration Manager. Easier for you if you use your My
Oracle Support Email address/User Name.
Visit http://www.oracle.com/support/policies.html for details.
Email address/User Name:
You have not provided an email address for notification of security issues.
Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]: Yes
Backing up files...
Applying interim patch '14209224' to OH
'/u01/app/oracle/product/11.2.0/em12c/oms'
Patching component oracle.sysman.repository.core, 12.1.0.1.0...
Verifying the update...
Patches 14209224 successfully applied.
Log file location:
/u01/app/oracle/product/11.2.0/em12c/oms/cfgtoollogs/opatch/opatch2014-06-
09_19-24-09PM_1.log
OPatch succeeded.
[oracle@oel61 14209224]$
5. Run the following command:
./emctl applypatch repos -patchHome $PWD
[oracle@oel61 14209224]$ emctl applypatch repos -patchHome $PWD
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
***********************************************
Executing Patch Application Steps.....
***********************************************
Enter the SYSMAN password:
Please enter the database password(User:SYSMAN):
Processing command line ....
Repository_Patching_Utility - Checking Prerequisites
Checking Global Prerequisites
Repository_Patching_Utility - Checking Prerequisites
Checking Component Prerequisites
Repository_Patching_Utility - Creating Tablespaces
Validating and Creating Tablespaces
Repository_Patching_Utility - ApplyRepositoryPatch
Repository ApplyRepositoryPatch in progress.
Percent Complete: 7
Percent Complete: 14
Percent Complete: 21
Percent Complete: 32
Percent Complete: 94
Repository_Patching_Utility: ApplyRepositoryPatch - Completion Summary
Database details:
Connect Descriptor :
(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oel61)(PORT=1521)))(LOA
D_BALANCE=ON)(CONNECT_DATA=(SERVICE_NAME=RMANREP)))
Connected As : SYSMAN
RCU Logfile :
/u01/app/oracle/product/11.2.0/em12c/oms/rcu/log/empatch/rcu_2014_05_9__19_32_0
3.log
Component schemas created:
Component Status Logfile
EM Repository Patch Application Success
/u01/app/oracle/product/11.2.0/em12c/oms/rcu/log/empatch/em_patch_apply.l
og
Repository_Patching_Utility - ApplyRepositoryPatch : Operation Completed
***********************************************
Executing Post Patch Action Steps.....
***********************************************
Please enter the database password(User:SYSMAN):
Processing command line ....
Repository_Patching_Utility - Checking Prerequisites
Checking Global Prerequisites
Repository_Patching_Utility - Checking Prerequisites
Checking Component Prerequisites
Repository_Patching_Utility - Creating Tablespaces
Validating and Creating Tablespaces
Repository_Patching_Utility - ApplyRepositoryPatch
Repository ApplyRepositoryPatch in progress.
Percent Complete: 7
Percent Complete: 35
Percent Complete: 97
Repository_Patching_Utility: ApplyRepositoryPatch - Completion Summary
Database details:
Connect Descriptor :
(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oel61)(PORT=1521)))(LOA
D_BALANCE=ON)(CONNECT_DATA=(SERVICE_NAME=RMANREP)))
Connected As : SYSMAN
RCU Logfile :
/u01/app/oracle/product/11.2.0/em12c/oms/rcu/log/empatch/rcu_2014_05_9__19_32_0
3.log
Component schemas created:
Component Status Logfile
EM Repository Patch Application Success
/u01/app/oracle/product/11.2.0/em12c/oms/rcu/log/empatch/em_patch_apply.l
og
Repository_Patching_Utility - ApplyRepositoryPatch : Operation Completed
Renaming logfile
/u01/app/oracle/product/11.2.0/em12c/oms/rcu/log/empatch/em_patch_apply.log to
/u01/app/oracle/product/11.2.0/em12c/oms/rcu/log/empatch/em_patch_apply_1420922
4_2014_05_9__19_32_03.log
Renaming logfile
/u01/app/oracle/product/11.2.0/em12c/oms/rcu/log/empatch/em_patch_apply_dbmsOut
put.log to
/u01/app/oracle/product/11.2.0/em12c/oms/rcu/log/empatch/em_patch_apply_1420922
4_2014_05_9__19_32_03_dbmsOutput.log
****************************************************************************
****************************************************************************
PATCH APPLICATION HAS SUCCEEDED
***************************************************************************
***************************************************************************
[oracle@oel61 14209224]$
Inventory will look something like this.
[oracle@oel61 14040891]$ opatch lsinventory
Oracle Interim Patch Installer version 11.1.0.10.2
Copyright (c) 2013, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/11.2.0/em12c/oms
Central Inventory : /u01/app/oraInventory
from : /u01/app/oracle/product/11.2.0/em12c/oms/oraInst.loc
OPatch version : 11.1.0.10.2
OUI version : 11.1.0.9.0
Log file location :
/u01/app/oracle/product/11.2.0/em12c/oms/cfgtoollogs/opatch/opatch2014-06-
10_13-35-45PM_1.log
OPatch detects the Middleware Home as "/u01/app/oracle/product/11.2.0/em12c"
Lsinventory Output file location :
/u01/app/oracle/product/11.2.0/em12c/oms/cfgtoollogs/opatch/lsinv/lsinventory20
14-06-10_13-35-45PM.txt
-------------------------------------------------------------------------------
-
Installed Top-level Products (1):
EM Platform (OMS) 12.1.0.1.0
There are 1 products installed in this Oracle Home.
Interim patches (35) :
Patch 14185017 : applied on Tue Jun 10 12:54:46 EEST 2014
Unique Patch ID: 15246661
Created on 12 Jun 2012, 03:49:28 hrs PST8PDT
Bugs fixed:
13601669, 14174347
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 14145361 : applied on Tue Jun 10 12:53:16 EEST 2014
Unique Patch ID: 15246661
Created on 1 Jun 2012, 02:38:32 hrs PST8PDT
Bugs fixed:
14125970, 13867770
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 14087064 : applied on Tue Jun 10 12:52:38 EEST 2014
Unique Patch ID: 15246661
Created on 21 May 2012, 01:53:59 hrs PST8PDT
Bugs fixed:
13782742, 13791985, 13706002, 13700197, 13952740, 13826026, 13933371
13700217, 13954371
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 14086992 : applied on Tue Jun 10 12:47:05 EEST 2014
Unique Patch ID: 15246661
Created on 21 May 2012, 03:29:52 hrs PST8PDT
Bugs fixed:
14051255, 13638422, 13857866, 14056654, 13814413, 13644897, 13903572
13725952, 14061840, 13840155, 14025586, 13793097, 13697187, 13939028
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 14086831 : applied on Tue Jun 10 12:41:30 EEST 2014
Unique Patch ID: 15246661
Created on 21 Jun 2012, 08:20:36 hrs PST8PDT
Bugs fixed:
14215204, 13982128, 13949461
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 14040891 : applied on Tue Jun 10 12:40:55 EEST 2014
Unique Patch ID: 15246661
Created on 17 May 2012, 11:27:04 hrs PST8PDT
Bugs fixed:
14040891, 13707704
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 13988371 : applied on Tue Jun 10 12:40:30 EEST 2014
Unique Patch ID: 15246661
Created on 24 Apr 2012, 07:53:47 hrs PST8PDT
Bugs fixed:
13988371
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 13964076 : applied on Tue Jun 10 12:37:12 EEST 2014
Unique Patch ID: 15246661
Created on 17 May 2012, 10:13:01 hrs PST8PDT
Bugs fixed:
13964076
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 13962917 : applied on Tue Jun 10 12:36:55 EEST 2014
Unique Patch ID: 15246661
Created on 17 Apr 2012, 06:47:00 hrs PST8PDT
Bugs fixed:
13962917
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 13958487 : applied on Tue Jun 10 10:25:18 EEST 2014
Unique Patch ID: 15246661
Created on 18 Apr 2012, 09:27:57 hrs PST8PDT
Bugs fixed:
13958487
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 13921309 : applied on Tue Jun 10 10:25:06 EEST 2014
Unique Patch ID: 15246661
Created on 3 Apr 2012, 09:18:42 hrs PST8PDT
Bugs fixed:
13839117, 13653908
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 13910654 : applied on Tue Jun 10 10:24:24 EEST 2014
Unique Patch ID: 15246661
Created on 13 Apr 2012, 02:17:57 hrs PST8PDT
Bugs fixed:
13910654
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 13898923 : applied on Tue Jun 10 10:23:56 EEST 2014
Unique Patch ID: 15246661
Created on 27 Apr 2012, 01:24:31 hrs PST8PDT
Bugs fixed:
13898923
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 13895257 : applied on Tue Jun 10 10:20:22 EEST 2014
Unique Patch ID: 15246661
Created on 6 Apr 2012, 03:14:17 hrs PST8PDT
Bugs fixed:
13895257
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 13874613 : applied on Tue Jun 10 10:20:17 EEST 2014
Unique Patch ID: 15246661
Created on 3 Apr 2012, 06:06:37 hrs PST8PDT
Bugs fixed:
13874613
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 13870924 : applied on Tue Jun 10 10:20:11 EEST 2014
Unique Patch ID: 15246661
Created on 4 Apr 2012, 01:41:02 hrs PST8PDT
Bugs fixed:
13870924
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 13857278 : applied on Tue Jun 10 10:19:24 EEST 2014
Unique Patch ID: 15246661
Created on 3 Apr 2012, 03:53:01 hrs PST8PDT
Bugs fixed:
13857278
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 13850180 : applied on Tue Jun 10 10:19:06 EEST 2014
Unique Patch ID: 15246661
Created on 20 Apr 2012, 01:30:40 hrs PST8PDT
Bugs fixed:
13850180
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 13849724 : applied on Tue Jun 10 10:19:00 EEST 2014
Unique Patch ID: 15246661
Created on 3 Apr 2012, 03:44:51 hrs PST8PDT
Bugs fixed:
13849724
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 13838155 : applied on Tue Jun 10 10:18:01 EEST 2014
Unique Patch ID: 15246661
Created on 19 Mar 2012, 09:11:11 hrs PST8PDT
Bugs fixed:
13838155
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 13831721 : applied on Tue Jun 10 10:13:53 EEST 2014
Unique Patch ID: 15246661
Created on 3 Apr 2012, 03:40:34 hrs PST8PDT
Bugs fixed:
13831721
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 13827938 : applied on Tue Jun 10 10:13:12 EEST 2014
Unique Patch ID: 15246661
Created on 12 Apr 2012, 05:12:32 hrs PST8PDT
Bugs fixed:
13827938
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 13824044 : applied on Tue Jun 10 10:12:59 EEST 2014
Unique Patch ID: 15246661
Created on 19 Mar 2012, 09:18:25 hrs PST8PDT
Bugs fixed:
13824044
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 13811012 : applied on Tue Jun 10 10:12:51 EEST 2014
Unique Patch ID: 15246661
Created on 19 Mar 2012, 06:37:57 hrs PST8PDT
Bugs fixed:
13811012
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 13793831 : applied on Tue Jun 10 10:12:07 EEST 2014
Unique Patch ID: 15246661
Created on 19 Mar 2012, 08:00:40 hrs PST8PDT
Bugs fixed:
13793831
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 13787027 : applied on Tue Jun 10 10:09:21 EEST 2014
Unique Patch ID: 15246661
Created on 8 Mar 2012, 07:57:06 hrs PST8PDT
Bugs fixed:
13787027
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 13785995 : applied on Tue Jun 10 10:04:47 EEST 2014
Unique Patch ID: 15246661
Created on 8 Mar 2012, 07:25:23 hrs PST8PDT
Bugs fixed:
13785995
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 13780971 : applied on Tue Jun 10 10:04:24 EEST 2014
Unique Patch ID: 15246661
Created on 19 Apr 2012, 02:37:33 hrs PST8PDT
Bugs fixed:
13780971
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 13772774 : applied on Tue Jun 10 10:04:21 EEST 2014
Unique Patch ID: 15246661
Created on 8 Mar 2012, 07:21:45 hrs PST8PDT
Bugs fixed:
13772774
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 13717908 : applied on Tue Jun 10 10:04:16 EEST 2014
Unique Patch ID: 15246661
Created on 8 Mar 2012, 06:23:54 hrs PST8PDT
Bugs fixed:
13717908
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 13653571 : applied on Tue Jun 10 10:04:09 EEST 2014
Unique Patch ID: 15246661
Created on 13 Apr 2012, 03:48:46 hrs PST8PDT
Bugs fixed:
13653571
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 13651813 : applied on Tue Jun 10 10:03:27 EEST 2014
Unique Patch ID: 15246661
Created on 8 Mar 2012, 05:28:12 hrs PST8PDT
Bugs fixed:
13651813
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 13644440 : applied on Tue Jun 10 09:58:40 EEST 2014
Unique Patch ID: 15246661
Created on 8 Mar 2012, 05:20:18 hrs PST8PDT
Bugs fixed:
13644440
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 13626367 : applied on Tue Jun 10 09:54:20 EEST 2014
Unique Patch ID: 15246661
Created on 8 Mar 2012, 05:20:42 hrs PST8PDT
Bugs fixed:
13626367
This patch overlays patches:
13242773
This patch needs patches:
13242773
as prerequisites
Patch 13242773 : applied on Thu Jun 05 12:49:33 EEST 2014
Unique Patch ID: 14619029
Created on 10 Feb 2012, 05:21:29 hrs PST8PDT
Bugs fixed:
13472263, 13106443, 13071823, 12989982, 13492366, 12957621, 13374975
13375992, 12957984, 12989821, 13016983, 13080770, 13370175, 13334194
13010282, 13055166, 13094371, 12920846, 13028935, 13062375, 13033378
13403327, 13335076, 12851038, 13358747, 12928995, 13100709, 13242773
13359763, 12865976, 13426571, 12957944, 13251841
-------------------------------------------------------------------------------
-
OPatch succeeded.
[oracle@oel61 14040891]$
Apply patch 11061801
[oracle@oel61 patches]$ cd 11061801
[oracle@oel61 11061801]$ pwd
/u01/stage/patches/11061801
[oracle@oel61 11061801]$
[oracle@oel61 11061801]$ perl -v
This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi
Copyright 1987-2009, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
[oracle@oel61 11061801]$
[oracle@oel61 ~]$ echo $PATH
/usr/lib64/qt-
3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/
local/sbin:/usr/sbin:/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/home/oracle
/bin:/home/oracle/bin:/home/oracle/bin
[oracle@oel61 ~]$ cd $ORACLE_HOME/OPatch
[oracle@oel61 OPatch]$ pwd
/u01/app/oracle/product/11.2.0/db_1/OPatch
[oracle@oel61 OPatch]$ export
PATH=/u01/app/oracle/product/11.2.0/db_1/OPatch:$PATH
[oracle@oel61 OPatch]$
[oracle@oel61 11061801]$ opatch lsinventory
Invoking OPatch 11.2.0.1.7
Oracle Interim Patch Installer version 11.2.0.1.7
Copyright (c) 2011, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/11.2.0/db_1
Central Inventory : /u01/app/oraInventory
from : /etc/oraInst.loc
OPatch version : 11.2.0.1.7
OUI version : 11.2.0.3.0
Log file location :
/u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2014-06-17_09-16-
30AM.log
Lsinventory Output file location :
/u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2014-
06-17_09-16-30AM.txt
-------------------------------------------------------------------------------
-
Installed Top-level Products (1):
Oracle Database 11g 11.2.0.3.0
There are 1 products installed in this Oracle Home.
There are no Interim patches installed in this Oracle Home.
-------------------------------------------------------------------------------
-
OPatch succeeded.
[oracle@oel61 11061801]$
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 -
64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management,
OLAP,
Data Mining and Real Application Testing options
[oracle@oel61 11061801]$ opatch apply
Invoking OPatch 11.2.0.1.7
Oracle Interim Patch Installer version 11.2.0.1.7
Copyright (c) 2011, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/11.2.0/db_1
Central Inventory : /u01/app/oraInventory
from : /etc/oraInst.loc
OPatch version : 11.2.0.1.7
OUI version : 11.2.0.3.0
Log file location :
/u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2014-06-17_09-25-
53AM.log
Applying interim patch '11061801' to OH '/u01/app/oracle/product/11.2.0/db_1'
Verifying environment and performing prerequisite checks...
Do you want to proceed? [y|n]
y
User Responded with: Y
All checks passed.
Backing up files...
Patching component oracle.ovm, 11.2.0.3.0...
Patch 11061801 successfully applied
Log file location:
/u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2014-06-17_09-25-
53AM.log
OPatch succeeded.
[oracle@oel61 11061801]$
SQL> @@?/rdbms/admin/owmctrg.plb
SQL> alter trigger wmsys.no_vm_ddl enable ;
SQL> alter trigger wmsys.no_vm_drop_a enable ;
If there are any invalid packages these can be
revalidated with @@?/rdbms/admin/utlrp.sql
Patch 13496395
[oracle@oel61 13496395]$ opatch lsinventory
Invoking OPatch 11.2.0.1.7
Oracle Interim Patch Installer version 11.2.0.1.7
Copyright (c) 2011, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/11.2.0/db_1
Central Inventory : /u01/app/oraInventory
from : /etc/oraInst.loc
OPatch version : 11.2.0.1.7
OUI version : 11.2.0.3.0
Log file location :
/u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2014-06-18_11-04-
52AM.log
Lsinventory Output file location :
/u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2014-
06-18_11-04-52AM.txt
-------------------------------------------------------------------------------
-
Installed Top-level Products (1):
Oracle Database 11g 11.2.0.3.0
There are 1 products installed in this Oracle Home.
Interim patches (1) :
Patch 11061801 : applied on Tue Jun 17 09:26:12 EEST 2014
Unique Patch ID: 16493357
Created on 24 Jun 2013, 23:28:20 hrs PST8PDT
Bugs fixed:
11061801
-------------------------------------------------------------------------------
-
OPatch succeeded.
[oracle@oel61 13496395]$
[oracle@oel61 13496395]$ opatch apply
Invoking OPatch 11.2.0.1.7
Oracle Interim Patch Installer version 11.2.0.1.7
Copyright (c) 2011, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/11.2.0/db_1
Central Inventory : /u01/app/oraInventory
from : /etc/oraInst.loc
OPatch version : 11.2.0.1.7
OUI version : 11.2.0.3.0
Log file location :
/u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2014-06-18_11-05-
08AM.log
Applying interim patch '13496395' to OH '/u01/app/oracle/product/11.2.0/db_1'
Verifying environment and performing prerequisite checks...
Do you want to proceed? [y|n]
y
User Responded with: Y
All checks passed.
Please shutdown Oracle instances running out of this ORACLE_HOME on the local
system.
(Oracle Home = '/u01/app/oracle/product/11.2.0/db_1')
Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Patching component oracle.rdbms, 11.2.0.3.0...
Patch 13496395 successfully applied
Log file location:
/u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2014-06-18_11-05-
08AM.log
OPatch succeeded.
[oracle@oel61 13496395]$
[oracle@oel61 ~]$ cat .bash_profile
# .bash_profile
# .bash_profile
umask 022
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
ORACLE_HOSTNAME=oel61
ORACLE_SID=RMANREP1
ORACLE_UNQNAME=RMANREP
LD_LIBRARY_PATH=$ORACLE_HOME/lib
PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH PATH ORACLE_HOSTNAME
ORACLE_UNQNAME
#export ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
#export OMS_HOME=/u01/app/oracle/product/11.2.0/em12c/oms
#export AGENT_HOME=/u01/app/oracle/product/11.2.0/em12c/agent/core/12.1.0.1.0
#export OMS_HOME=/u01/app/oracle/product/12.1.0/em12cR3/oms
export OMS_HOME=/u01/app/oracle/product/12.1.0/em12cR4/oms
#export AGENT_HOME=/u01/app/oracle/product/11.2.0/em12c/agent/core/12.1.0.1.0
#export AGENT_HOME=/u01/app/oracle/product/11.2.0/em12c/agent/core/12.1.0.3.0
export AGENT_HOME=/u01/app/oracle/product/11.2.0/em12c/agent/core/12.1.0.4.0
TEMP=/tmp
TMPDIR=/tmp
export TEMP TMPDIR
ulimit -t unlimited
ulimit -f unlimited
ulimit -d unlimited
ulimit -s unlimited
ulimit -v unlimited
ulimit -n 65536
if [ -t 0 ]; then
stty intr ^C
fi
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
[oracle@oel61 ~]$
Summary:
In the article you looked at a way to upgrade OEM Cloud control 12cR1 on OEL
6.1 to OEM cloud Control 12cR4 on OEL6.5