DOYENSYS Knowledge Portal




We Welcome you to visit our DOYENSYS KNOWLEDGE PORTAL : Doyensys Knowledge Portal




Tuesday, September 29, 2015

Steps to Install OEM agent in silent mode



Steps to Install OEM agent in silent mode


1] Go to the server:-

Ssh hostname

Go to any of the Oracle Base directory

Cd /oracle/app/oracle/product
mkdir -p Agent_12C/agent_inst

Go to .profile or .bash_profile
Set the environment variables.

Eg:- add this entry.
echo "Enter $B 2 $N to access OEM agent 12C  "
echo ""

Entry to be put in the env file  :- agent_12C
oracle


software for linux - 12.1.0.2.0_AgentCore_226.zip


2) unzip the software and see the below one inside
   ------------------------------------------------------------


unzip 12.1.0.2.0_AgentCore_226.zip - please use this command to unzip


-rw-rw-r-- 1 oracle oracle       178 Aug 31  2012 agentimage.properties
-rwxr-xr-x 1 oracle oracle    145976 Aug 31  2012 unzip
-rw-rw-r-- 1 oracle oracle      3856 Aug 31  2012 agent.rsp
-rwxrwxr-x 1 oracle oracle     23988 Aug 31  2012 agentDeploy.sh
-rw-rw-r-- 1 oracle oracle 233316475 Aug 31  2012 agentcoreimage.zip
-rwxr-xr-x 1 oracle oracle   6625902 Aug  7 14:51 12.1.0.2.0_PluginsOneoffs_226.zip
-rw-r----- 1 oracle oracle 240022130 Aug  7 15:11 12.1.0.2.0_AgentCore_226.zip




3) Please change the below in the server under agent.rsp file as per your requirement
  -------------------------------------------------------------------------------------------------------


OMS_HOST=oemprod01
EM_UPLOAD_PORT=7800
AGENT_REGISTRATION_PASSWORD=OemProd2015
AGENT_INSTANCE_HOME=/oracle/app/oracle/product/Agent_12C/agent_inst
AGENT_PORT=1565



once changing the above one in the server please run the below command as per your required changes


./agentDeploy.sh AGENT_BASE_DIR=/orahome/app/oracle/product/Agent_12C RESPONSE_FILE=/u09/agent_software/agent.rsp - use this command for silent installation which will take time to
get complete



4) Please check the status of the agent by using the below command
   --------------------------------------------------------------------------------

emctl status agent - to check the current status whether it is up and running or not

emctl start agent - to start the agent

emctl stop agent - to stop the agent

emctl upload agent - to upload the XML pending files



Please set the below one .bash_profile or .profile accordingly as per the server
-----------------------------------------------------------------------------------------------


export ORACLE_HOME=/db1/oracle/product/Agent_12C/agent_inst
export PATH=$ORACLE_HOME/bin:$PATH
export PLUGIN_HOME=/oracle/app/oracle/product/Agent_12C/plugins/oracle.sysman.db.agent.plugin_12.1.0.5.0
PATH=.:$ORACLE_HOME/bin:/usr/ccs/bin:/usr/X/bin:/usr/openwin/bin:/usr/bin/X11:/usr/dt/bin:/usr/openwin/bin:/bin:/usr/bin:/usr/ucb:/usr/aontrib/bin:/usr/local/bin:/usr/sbin:/usr/oracle/lib:/usr/proc/bin:$AGENT_HOME/OPatch;export PATH

No comments: