You are on page 1of 4

Apply patch for missing filesystem in

OEM 12c
1. Below patch need to be apply

'FILESYSTEMS' METRIC IS NOT COLLECTED FOR 12.1.0.3 AIX AGENTS


(Patch)
--- 10 kb
p17209152_121030_AIX64-
5L.zip

2. Steps:-

Login to server as oemmgr user


a) login as: oemmgr
oemmgr@usnca004's password:
Last unsuccessful login: Mon Oct 28 04:01:03 EDT 2013 on ssh from 10.204.82.58
Last login: Wed Jun 18 05:08:42 EDT 2014 on ssh from 10.204.86.146

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

This system is for the use of authorized users only.


Individuals using this computer system without
authority, or in excess of their authority,
are subject to having all of their activities
on this system monitored and recorded by systems
personnel. In the course of monitoring individuals
improperly using this system, or in the course of
system maintenance, the activities of authorized
users may also be monitored. Anyone using this
system expressly consents to such monitoring and is
advised that if such monitoring reveals possible
criminal activity, system personnel may provide the
evidence of such monitoring to law enforcement officials.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Check the OS :-
b) oemmgr@usnca004a:/home/oemmgr$ uname -a
AIX usnca004a 1 7 00C66F874C00

Check the OS version :-


c) oemmgr@usnca004a:/home/oemmgr$ getconf KERNEL_BITMODE
64
Check the files :-
d) oemmgr@usnca004a:/home/oemmgr$ ls -ltr
total 48
drwxr-xr-x 3 oemmgr oinstall 256 Apr 18 2012 oradiag_oemmgr
-rwxr-xr-x 1 oemmgr oinstall 12254 Apr 26 09:28 blackout_1.sh
-rw-r--r-- 1 oemmgr oinstall 11014 Jun 20 02:47 p17209152_121030_AIX64-5L.zip

Check what OS are running:-


e) oemmgr@usnca004a:/home/oemmgr$ ps -ef|grep smon
kingora 23855366 1 0 May 11 - 20:54 ora_smon_king

Start blackout on Host level :-


f) oemmgr@usnca004a:/home/oemmgr$ sh blackout_1.sh start king
Executing the script in silent mode.
Script identified that 12c agent is running on the host.

Information received is as below:


================================

Chosen blackout only on Database system.


Chosen database name was :

creating a blackout on king Database.

Oracle Enterprise Manager Cloud Control 12c Release 3


Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
Blackout DB_king added successfully
EMD reload completed successfully
Blackout successfully created on database king with name DB_king.
creating a blackout on king listener.
Oracle Enterprise Manager Cloud Control 12c Release 3
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
Blackout LR_king added successfully
EMD reload completed successfully
Blackout successfully created on listener king with name king.
oemmgr@usnca004a:/home/oemmgr$
oemmgr@usnca004a:/home/oemmgr$
oemmgr@usnca004a:/home/oemmgr$ ls -ltr
total 48
drwxr-xr-x 3 oemmgr oinstall 256 Apr 18 2012 oradiag_oemmgr
-rwxr-xr-x 1 oemmgr oinstall 12254 Apr 26 09:28 blackout_1.sh
-rw-r--r-- 1 oemmgr oinstall 11014 Jun 20 02:47 p17209152_121030_AIX64-5L.zip

Unzip the patch :-


g) oemmgr@usnca004a:/home/oemmgr$ unzip p17209152_121030_AIX64-5L.zip
Archive: p17209152_121030_AIX64-5L.zip
creating: 17209152/
creating: 17209152/etc/
creating: 17209152/etc/config/
inflating: 17209152/etc/config/inventory.xml
inflating: 17209152/etc/config/actions.xml
creating: 17209152/etc/xml/
inflating: 17209152/etc/xml/GenericActions.xml
inflating: 17209152/etc/xml/ShiphomeDirectoryStructure.xml
creating: 17209152/files/
creating: 17209152/files/sysman/
creating: 17209152/files/sysman/admin/
creating: 17209152/files/sysman/admin/scripts/
inflating: 17209152/files/sysman/admin/scripts/hostGenFunctions.pm
inflating: 17209152/README.txt
inflating: PatchSearch.xml
oemmgr@usnca004a:/home/oemmgr$
oemmgr@usnca004a:/home/oemmgr$

Stop the agent:-


h) oemmgr@usnca004a:/home/oemmgr$ emctl stop agent;
Oracle Enterprise Manager Cloud Control 12c Release 3
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
Stopping agent ... stopped.
oemmgr@usnca004a:/home/oemmgr$

Go to patch home :-
i) oemmgr@usnca004a:/home/oemmgr$ cd 17209152
oemmgr@usnca004a:/home/oemmgr/17209152$ ls -ltr
total 16
drwxr-xr-x 3 oemmgr oinstall 256 Aug 05 2013 files
drwxr-xr-x 4 oemmgr oinstall 256 Aug 05 2013 etc
-rw-r--r-- 1 oemmgr oinstall 5155 Aug 05 2013 README.txt
oemmgr@usnca004a:/home/oemmgr/17209152$

Check the Inventory path , if # , uncommented it :-


j) oemmgr@usnca004a:/home/oemmgr/17209152$ cat /etc/oraInst.loc
#inventory_loc=/mnt/oraking/kingdb/oraInventory
#inventory_loc=/mnt/oraking/kingarch/fs01/agent/oraInventory
#inventory_loc=/mnt/oem/oraInventory
inst_group=oinstall
oemmgr@usnca004a:/home/oemmgr/17209152$
oemmgr@usnca004a:/home/oemmgr/17209152$ vi /etc/oraInst.loc
oemmgr@usnca004a:/home/oemmgr/17209152$
oemmgr@usnca004a:/home/oemmgr/17209152$
oemmgr@usnca004a:/home/oemmgr/17209152$ cat /etc/oraInst.loc
#inventory_loc=/mnt/oraking/kingdb/oraInventory
#inventory_loc=/mnt/oraking/kingarch/fs01/agent/oraInventory
inventory_loc=/mnt/oem/oraInventory
inst_group=oinstall
oemmgr@usnca004a:/home/oemmgr/17209152$
Apply the patch :-
k) oemmgr@usnca004a:/home/oemmgr/17209152$ $ORACLE_HOME/OPatch/opatch apply
Oracle Interim Patch Installer version 11.1.0.10.0
Copyright (c) 2013, Oracle Corporation. All rights reserved.

Oracle Home : /mnt/oem/agent/core/12.1.0.3.0


Central Inventory : /mnt/oem/oraInventory
from : /mnt/oem/agent/core/12.1.0.3.0/oraInst.loc
OPatch version : 11.1.0.10.0
OUI version : 11.1.0.11.0
Log file location :
/mnt/oem/agent/core/12.1.0.3.0/cfgtoollogs/opatch/17209152_Jun_20_2014_02_55_29/apply2014-
06-20_02-55-29AM_1.log

Applying interim patch '17209152' to OH '/mnt/oem/agent/core/12.1.0.3.0'


Verifying environment and performing prerequisite checks...
All checks passed.
Backing up files...

Patching component oracle.sysman.top.agent, 12.1.0.3.0...

Verifying the update...


Patch 17209152 successfully applied
Log file location:
/mnt/oem/agent/core/12.1.0.3.0/cfgtoollogs/opatch/17209152_Jun_20_2014_02_55_29/apply2014-
06-20_02-55-29AM_1.log

OPatch succeeded.
oemmgr@usnca004a:/home/oemmgr/17209152$

Start the Agent :-


l) oemmgr@usnca004a:/home/oemmgr/17209152$ emctl start agent;
Oracle Enterprise Manager Cloud Control 12c Release 3
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
Starting agent ..................... started.
oemmgr@usnca004a:/home/oemmgr/17209152$

Stop Blackout : -
m) oemmgr@usnca004a:/home/oemmgr$ sh blackout_1.sh stop king

You might also like