Posts

Showing posts with the label OEM

BIP report create and schedule

  1.Login the BI publisher site https://oemserver.yourdomain:9851/xmlpserver with sysman. 2. On top right click “catalog”. 3. on the left, In the tree menu, create a new folder under “Shared Folders” called manual reports. 4. Within the manual reports folder create a new folder called “manual data models”. 5. Create a new data model by going to the shortcut in the top right. 6. Within the new data model window create a new SQL query 7. Paste the following in to the SQL query pop-up Window and click ok. 8. Again within the new data model window create a new SQL query -- if we want new table 9. The resulting data model should appear as shown. Click save and save it to the manual data models folder. 10. We are now required to “Create Sample Data” before we can create a report. Click on “View Data” near the top right of your screen and then click the “view” button on the next screen. Finally click “Save as Sample Data” to complete this step. 11. On the main catalog page create a new re...

OEM queries

col target_name for a60 col metric_name for a20 col metric_column for a20 col value for a20 set lines 300 select target_name,metric_name,metric_column,value from sysman.mgmt$metric_current where metric_label='Database Size' and metric_column='ALLOCATED_GB'; Database Options/Management Packs Usage Reporting for Oracle Databases 11.2 and later (Doc ID 1317265.1) ./emcli get_on_demand_metrics -target_type=oracle_database -target_name=<target_name>    ./emcli modify_collection_schedule -targetType="oracle_database" -targetNames="<target_name>" -collectionName="ME\$database_size" -freqType="Minute" -freqValue=5 -preview="N"    ./emcli modify_collection_schedule -targetType="oracle_database" -targetNames="<target_name>" -collectionName="ha_backup_last" -collectionStatus=Disabled -preview="N"    ./emcli get_targets -target='oracle_database' | awk '{print $4}...

OEM patches & vulnerabilities

Image
  Tools: Agent: agentpatcher OMS: omspatcher coherence/weblogic: optach 1. Agent JDK update. please refer the below oracle reference page Supported Java SE Downloads on MOS (oracle.com) 2. Removing log4j-core-2.8.2.jar validate jar file exist cd $OEM_BASE/gc_inst/user_projects/domains/GCDomain/servers/EMGC_OMS1/tmp/_WL_user/emdb/1danf1/database/jet/emsaasui/emcdbms-ui/ear/APP-INF/lib $OEM_BASE/agent_13.5.0.0.0/oracle_common/jdk/bin/jar tvf log4j-core-2.8.2.jar | grep JndiLookup.class output 2974 Sun Apr 02 15:24:22 AEST 2017 org/apache/logging/log4j/core/lookup/JndiLookup.class stop OMS  $OEM_BASE/middleware/bin/emctl status oms -details  $OEM_BASE/middleware/bin/emctl stop oms -all remove log4j zip -q -d log4j-core-2.8.2.jar org/apache/logging/log4j/core/lookup/JndiLookup.class validate jar file exist $OEM_BASE/agent_13.5.0.0.0/oracle_common/jdk/bin/jar tvf log4j-core-2.8.2.jar | grep JndiLookup.class start OMS  $OEM_BASE/middleware/bin/emctl status oms -details ...

Popular Posts

AWR Report Analysis

Goldengate 19c Installation with issue resolution

OEM queries

Oracle 11g Physical Standy Setup

Oracle 12c 2-node RAC setup in VMware Player 15 -- Part01

Oracle to Postgres

General Queries

Execution_Explain Plan

Oracle 11.2.0.4 to 19c DB Upgrade

Active Session History Analysis