Friday, January 1, 2016

How to deploy Oracle OEM agent on Windows

/u02/oem/oms/bin/emcli get_supported_platforms

Error: Session expired. Run emcli login to establish a session.
ERROR: Could not retrieve the platform list.

./emcli setup -url="https://oem.domain.com:7803/em" -username=sysman -trustall

/u02/oem/oms/bin/emcli get_supported_platforms

./emcli get_agentimage -destination=/u03 -platform="Microsoft Windows x64 (64-bit)" -version=12.1.0.3.0


Copy the files OMS server to Windows server and unzip it


Disable UAC

http://windows.microsoft.com/en-us/windows/turn-user-account-control-on-off#1TC=windows-7

Run bleow command as Administrator

agentDeploy.bat AGENT_BASE_DIR=F:\app\agent12c RESPONSE_FILE=F:\app\agent_sw\agent.rsp –ignorePrereqs

Agent.rsp

OMS_HOST=oem.domain.com
EM_UPLOAD_PORT=4904
AGENT_REGISTRATION_PASSWORD=test123
AGENT_INSTANCE_HOME=F:\app\agent12c
AGENT_PORT=4904
b_startAgent=true
ORACLE_HOSTNAME=my-pc
s_agentHomeName=agent_12c

No comments: