Introduction
To deploy the EM-Agent to the targets (push) you need ssh-access from the OMS-Host to the Monitoring-Host. For security reasons, some security admins disallow ssh-connections to the server. In this case you need to install the EM-Agent manually on the target-system.
The installation process for the EM-Agent is done within a few steps.
Downloading agent on oms server
emcli login -username=sysman emcli sync emcli get_supported_platforms emcli get_agentimage -destination=/tmp/agentinstaller \ -platform="Linux x86-64" -version="13.3.0.0.0"
Copy the Agent to the client
scp -r TARGETHOST.gabrielkeusen.com:/tmp/agentinstaller /tmp/ unzip /tmp/agentinstaller/13.3.0.0.0_AgentCore_226.zip
Get the required connection-details from OMS config
execute on OMS-Host:
$> emctl status oms -details
Install the EM-Agent on the target-system and add internal targets
# as application user (oracle) mkdir -p /tmp/agentinstaller/$(hostname) /tmp/agentinstaller/agentDeploy.sh \ -force -ignorePrereqs -invPtrLoc /etc/oraInst.loc \ AGENT_BASE_DIR=/u00/app/oracle/product/agent13c \ AGENT_INSTANCE_HOME=/u00/app/oracle/product/agent13c/agent_inst \ AGENT_PORT=**AGENT_PORT** \ EM_UPLOAD_PORT=**UPLOAD_PORT** \ OMS_HOST=oms.gabrielkeusen.com \ ORACLE_HOSTNAME=$(hostname) \ AGENT_REGISTRATION_PASSWORD=**secret** \ SCRATCHPATH=/tmp/agentinstaller/$(hostname -s) # as root user /u00/app/oracle/product/agent13c/agent_13.3.0.0.0/root.sh # as application user (oracle) emctl start agent emctl config agent addinternaltargets emctl status agent