Agent installation is done in two phases:
The installation is done through the standard way on Windows: Let's check the structure of the agent:
PS C:\App\p28239183_112000_Generic\archives\13.3.0.0.0_AgentCore_233> dir Directory: C:\App\p28239183_112000_Generic\archives\13.3.0.0.0_AgentCore_233 Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 12/12/2019 10:14 agentDeploy -a---- 12/12/2019 13:50 4159 agent.rsp ------ 15/06/2018 05:43 40607 agentDeploy.bat ------ 15/06/2018 05:43 207 agentimage.properties ------ 15/06/2018 05:43 626502218 setup_agent_win64.exe ------ 15/06/2018 05:43 272896 unzip.exe ------ 15/06/2018 05:43 135168 zip.exe PS C:\App\p28239183_112000_Generic\archives\13.3.0.0.0_AgentCore_233>
The agent installation is done through the setup_agent_win64.exe. You have to specify the Agent Base Dir.
The deployment is done little bit more complicated.
After the agent is installation we have to deploy it. The deployment file is in the same location as the setup file in the archive:
Windows PowerShell Copyright (C) 2016 Microsoft Corporation. All rights reserved. PS C:\Windows\system32> cd C:\App\p28239183_112000_Generic\archives\13.3.0.0.0_AgentCore_233\ PS C:\App\p28239183_112000_Generic\archives\13.3.0.0.0_AgentCore_233> .\agentDeploy.bat ORACLE_HOSTNAME=AGENT_HOST_NAME_FULL AGENT_BASE_DIR=C:\App\Agent RESPONSE_FILE=C:\App\p28239183_112000_Generic\archives\13.3.0.0.0_AgentCore_23 3\agent.rsp -force C:\App\p28239183_112000_Generic\archives\13.3.0.0.0_AgentCore_233 Present working directory:C:\App\p28239183_112000_Generic\archives\13.3.0.0.0_AgentCore_233 Archive location:C:\App\p28239183_112000_Generic\archives\13.3.0.0.0_AgentCore_233 directory C:\App\Agent Agent base directory:C:\App\Agent ECHO is off. ECHO is on. Agent base directory:C:\App\Agent OMS Host: Agent image loc : "C:\App\p28239183_112000_Generic\archives\13.3.0.0.0_AgentCore_233" "Space available in AgentBaseDirectory is 479843 MB" C:\App\Agent Reading the properties file: "C:\App\p28239183_112000_Generic\archives\13.3.0.0.0_AgentCore_233"\agentimage.properties 1 file(s) copied. This is the version 13.3.0.0.0 This is the type agent INFO: ORACLE_HOSTNAME=tain-cx-uatcsql1.net.tain.com Dec 12, 2019 2:08:16 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile INFO: EMCTLCFG_MODE=NONE Dec 12, 2019 2:08:16 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile INFO: AGENT_MODE=NONE Dec 12, 2019 2:08:16 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile INFO: s_agentSrvcName=Oracleagent13c2Agent Dec 12, 2019 2:08:16 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile INFO: OMS_HOST=tbp-cx-oms01.ipa.tainbp.net Dec 12, 2019 2:08:16 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile INFO: EM_UPLOAD_PORT=4903 Dec 12, 2019 2:08:16 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile INFO: AGENT_BASE_DIR=C:/App/Agent Dec 12, 2019 2:08:16 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile INFO: AGENT_PORT=3872 Dec 12, 2019 2:08:16 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile INFO: EM_INSTALL_TYPE="AGENT" log loction is setlog Writing the following contents into C:\App\Agent\agent_13.3.0.0.0\install\oragchomelist C:\App\Agent\agent_13.3.0.0.0:C:\App\Agent\agent_inst Both /etc/oragchomelist and /var/opt/oracle/oragchomelist does not exist. The value of chainInstall : false forceConfigure : false skipValidation : false Validating oms host & port with url: https://tbp-cx-oms01.ipa.tainbp.net:4903/empbs/genwallet Validating oms host & port with url: http://tbp-cx-oms01.ipa.tainbp.net:4903/empbs/genwallet The status is 0 Validated the oms host and port :- tbp-cx-oms01.ipa.tainbp.net----4903 Getting Inet Addresses for host TAIN-CX-UATCSQL1 ** Agent Port Check completed successfully.** Validated the agent port :- ----3872 shared agent value is :false servicname is:Oracleagent13c2Agent service cmd is:cmd /c C:\App\Agent\agent_13.3.0.0.0\bin\nmesrvops create Oracleagent13c2Agent C:\App\Agent\agent_13.3.0.0.0\bin\nmesrvc.exe auto chain install is :false Agent Configuration completed successfully PS C:\App\p28239183_112000_Generic\archives\13.3.0.0.0_AgentCore_233> PS C:\App\p28239183_112000_Generic\archives\13.3.0.0.0_AgentCore_233>
Please be sure you start the console as Administrator, otherwise it will fail while locking the Central Inventory. I used the following response file:
OMS_HOST=FULL_HOSTNAME_OF_OMS EM_UPLOAD_PORT=4903 AGENT_REGISTRATION_PASSWORD=PASSWORD_DURING_OMS_INSTALLATION AGENT_BASE_DIR=C:\App\Agent AGENT_PORT=3872 EM_INSTALL_TYPE="AGENT" <- This space is VERY IMPORTANT :)