Hi, My name is Jimmy Sam. If you need DBA help, please email to jimmy_sam001@yahoo.com for further discussion. Thanks.

top   prev   next  

Oracle OEM/EMCC

-- OEM: Oracle Enterprise Manager
-- EMCC: Enterprise Manager Clound Control
-- EMGC: Enterprise Manager Grid Control

docs 


oem 13c installation on linux step by step 

-- -------------------------------------------------------------------------------------

step 1): install database software and create repository database

# 1a): install required package
yum install make -y
yum install binutils -y
yum install gcc -y
yum install libaio -y
yum install glibc-common -y
yum install libstdc++ -y
yum install sysstat -y
yum install glibc -y
yum install glibc-devel.i686 -y
yum install glibc-devel -y
yum install libXtst -y

# 1b): set init.ora and create database
init.ora
alter system set "_allow_insert_with_update_check"=true scope=both;

-- For 12.1.0.2 set the following.
--alter system set optimizer_adaptive_features=false scope=both;

if cdb, run the following:
alter pluggable database emrep save state;

---------------------------------------------------------------------------------------

step 2): oem side

2a):install oem software 
mkdir -p /u01/app/oracle/middleware
mkdir -p /u01/app/oracle/agent

chmod u+x em13300_linux64.bin

unset EMCLI_STATE_DIR

./em13300_linux64.bin

sudo /u01/app/oracle/middleware/allroot.sh

more /u01/app/oracle/middleware/install/setupinfo.txt
1. Enterprise Manager Cloud Control URL: https://myemcchost:7803/em
*2. Admin Server URL: https://myemcchost:7102/console
3. BI Publisher URL: https://myyemcchost:9803/xmlpserver/servlet/home

more /u01/app/oracle/middleware/install/portlist.ini


2b): the gui url
https://myhost:7803/em
sysman/mypassword

2c): startup using service
Cloud Control is set to auto-start using the "gcstartup" service. 
The "/etc/oragchomelist" file contains the items that will be started by the system.

2d): startup db, oms and agent manually

#!/bin/bash
export ORACLE_HOME=/u01/app/oracle/product/12.2.0.1/db_1
export OMS_HOME=/u01/app/oracle/middleware
export AGENT_HOME=/u01/app/oracle/agent/agent_inst

# Start db, oms and agent program
$ORACLE_HOME/bin/dbstart $ORACLE_HOME

$OMS_HOME/bin/emctl start oms

$AGENT_HOME/bin/emctl start agent

2e): check oms status
$OMS_HOME/bin/emctl status oms -details

2f): stop agent, oms and db manually

#!/bin/bash
export ORACLE_HOME=/u01/app/oracle/product/12.2.0.1/db_1
export OMS_HOME=/u01/app/oracle/middleware
export AGENT_HOME=/u01/app/oracle/agent/agent_inst

# Stop agent, oms, db program
$OMS_HOME/bin/emctl stop oms -all

$AGENT_HOME/bin/emctl stop agent

$ORACLE_HOME/bin/dbshut $ORACLE_HOME


-- ------------------------------------------------------------------------------------------

post installation step 

-- -------------------------------------------------------------------------------------------



top   prev   next  

Deploy Agent

# on aix, create soft link to make sure agentDeploy.sh run sucessfully
mkdir -p /var/opt/oracle/
cd /var/opt/oracle/
ln -s /etc/oraInst.loc oraInst.loc

agentDeploy.sh


top   prev   next  

home