2017-590 HowTo Install Oracle Enterprise Manager (OEM) ClastCortrd Agert Ze Marualy - Managed Hosting eral -Cerfluerce Preducon
2L0_DB HowTo
HowTo - Install Oracle Enterprise Manager (OEM) Cloud Control Agent 12c
- Manually
crated oy Pon Venkat st oie on Mae 22,7018
[@ Tieascn cota rom anno rat Gel CEM Chl Cat ge 2 ry pe
+ 1, Stop and Cleanup Oracle Agent Sofware on the DB Server If any pre-existing OEM Agent)
+ 2! Install Oracle OEM Cloue Control Agent 12c on VASIVAZ Dala Centers
1 8! Add Database Instance and Listener in OEM Appleation Server - fo Monitor
1, Stop and Cleanup Oracle Agent Software on the DB Server (If any pre-existing OEM Agent)
‘Stop OEM Agent running on the DB Server -if any
[AGENT_HohE=/home/orcle/preduct/agenti2c/core/12.1.0.3.85 export AGENT_HOME
SAGENT_HOME/bin/enct] stop agent
x: /none/oracle/product/agentiig/sin/enctl stop agent
-+ Cleanup iF any Agent processes are running
rm -RF (howe/oracle/product/agentlig OK ra -RF /hone/oracle/preduct/agent12c
= Cleanup oratnventory inventory.xel ile
a /ono/oracie/precuct/eratnventory/Content xm.
cp doventory.xml inventory.xml.2gent2< OR
Ione oracle/product/oratnventory/ContentsxM Inventory xal. /hore/oracle/pnoduct /orataventory/ContentsxMl/Laventory.xal agent
s+ vi Anventory xm fr celete all the Agent Install Entrses Example given below
Exanple:
<2eml verston="1.8" stanalones"yes” 73
INVENTORY
‘42.1,0,11..0¢/SAVED_WITH>
“HENIMOM_VER>2.1,0.6.0¢/MINEMLM_V
‘
2. Install Oracle OEM Cloud Control Agent 12c on VA3/VA2 Data Centers
{| Perform to Unlock DBSNMP user i ts is Locked:
salplus /oolog
connect as sysdba
set Lines 199
sez pages 5e0e
select USERNAME, USER_ID,ACCOUNT_STATUS, LOCK_DATE,EXPIRY_DATE,D
set Lines 420
alter user DESNWP account unlocks
ext
[LT_TABLESPACE, CREATED from dba_users order by ACCOUNT_STATUS
hips ileoruence hopd jo B443cisplay MHINT/How Tor-+lnsialltOrace+ Enterprise Manager+*%280EM%29+CloudsConirolvAgen+12c++-*Marually 1/22017-530 _HowTo- Install Oracle Enterprise Manager (OEM) Cloud Contra Agent 12e - Manually - Managed Hosting Internal - Corluence Production
sup Hp Shi, following Environment Varia
SOFT_LoCe/ant/asp/utils/éb/cloue/ver2e; export SOFT_LOC
nudin -p /hone/oracle/product/agentizc_install
ca /hone/oracle/procuct/agent12<_{nstall
Unzip $S0FT-L0C/22.1.8,3.0_AgentZore_225.25p -<¢
= # $S0FT_{0C/agentdeploy.sh -nelp # IF you need ary command Line help execute this step
(Install OEM Agentt2e:
SOFT_LOC/agent.rsp ORACLE HOST
-Jagentdeploy.sh RESPONSE F Host Nane> AGENT_SASE_DIR=/hone/oracle/product/agenti2¢
SAGENT_HOWE/bin/enctl status agent
SAGENTIHOME/Din/enctl upload agent
SAGENT_HOME/bin/enctl reload agent
Note: Remember to check pwd to make sure you execute the command from /homeloraclproductlagent2e. instal location Verity Installation logs
‘and execute the command as a instructed,
3. Add Database Instance and Listener in OEM Application Server - to Monitor
Login to VAS OEM App Server as an oracle user and execute the following to add Database Instance and Listener Process to mentor
‘ome ad_target-namo="".ypes"oracle_database”-bost=" mint”
‘redertal=" Use-Name:obsrmp passwort Opry teh: Role Normal -propertes="SID:;Por152%;OracleHeme:
ORACLE HOME>:MachineName:. min
‘emt ad taget -name="LISTENER_.mhin”-propertee=LemnName:ISTENER ListenerOraDir-
SORACLE HOME> /network/admin:Pon-1521:OratleHome Machine