Silent-Install Method for Installation of Agent12c on Windows. {CYGWIN not required.}

In this document I have explained how easily you can install Oracle Agent12c without using “CYGWIN” software. It was recommended that If you have to install Oracle Agent12c on windows server you have to install and configure CYGWIN first. However If you do not want to install CYGWIN there is one alternate method {silent Install} as well.

Using silent install method you can install Oracle Agent on windows either with or without using the “Response file”.

In this example I have installed Agent12c on one of my windows server without using  response file.

OMS Server Name = “”
Windows Server Name = “”
Step 1: Navigate to OMS Home and login and Synchronized to SL using “sysman” credentials.

[ bin]$ pwd

[ bin]$ ./emcli login -username=sysman -password=formula123
Login successful

[ bin]$ ./emcli sync
Synchronized successfully

Step 2: Get the list of available agent softwares for supported platforms.

[ bin]$ ./emcli get_supported_platforms
Getting list of platforms …
Check the logs at /app/oracle/product/middleware/oms12cr2/gc_inst/em/EMGC_OMS1/sysman/emcli/setup/.emcli/agent.log
About to access self-update code path to retrieve the platforms list..

Getting Platforms list  …
Version =
Platform = Linux x86-64
Version =
Platform = Microsoft Windows (32-bit)
Version =
Platform = Microsoft Windows x64 (64-bit)
Platforms list displayed successfully.

Step 3: Download the Agent software compatible with your Windows Server.

[ bin]$
[ bin]$ ./emcli get_agentimage -destination=/tmp/agent12c_silent/ -platform=”Microsoft Windows x64 (64-bit)” -version=

Platform:Microsoft Windows x64 (64-bit)
=== Partition Detail ===
Space free : 3 GB
Space required : 1 GB
Check the logs at /app/oracle/product/middleware/oms12cr2/gc_inst/em/EMGC_OMS1/sysman/emcli/setup/.emcli/get_agentimage_2014-12-05_05-56-33-AM.log
Setting property ORACLE_HOME to:/app/oracle/product/middleware/oms12cr2/oms
calling pulloneoffs with arguments:/app/oracle/product/middleware/oms12cr2/oms/data2/oms12cr2/omsshared/54/CF64262D86B08797E040FE0A2401565412.
Check this logs for more information: /app/oracle/product/middleware/oms12cr2/oms/sysman/prov/agentpush/logs

Step 4: Transfer the downloaded ZIP file to a temporary directory on the destination host where you want to install the Management Agent. On the destination host, extract the contents of the ZIP file using the Unzip utility.

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
D:\>cd AgentCore
Volume in drive D is New Volume
Volume Serial Number is 04C8-BC5D
Directory of D:\AgentCore
12/05/2014  08:42 AM    <DIR>          .
12/05/2014  08:42 AM    <DIR>          ..
12/05/2014  05:56 AM         6,222,065
12/05/2014  08:10 AM             4,024 agent.rsp
09/01/2014  06:07 AM       248,650,151
09/01/2014  06:07 AM             8,977 agentDeploy.bat
12/05/2014  08:17 AM           806,256 agentDeploy.log
09/01/2014  06:06 AM               206
09/01/2014  06:07 AM           167,936 unzip.exe
7 File(s)    255,859,615 bytes
2 Dir(s)  145,714,135,040 bytes free
Step 5: Install Oracle Agent using the “agentDeploy.bat” file. Below mentioned are 4 parameters which you have to provide.

“OMS_HOST” {OMS server on which OEM software is installed}
“EM_UPLOAD_PORT” {EM upload port which will be used by agent to connect with OMS}
“AGENT_BASE_DIR” {Location where Oracle agent will be installed}
“AGENT_REGISTRATION_PASSWORD” {Password required to secure/unsecure or to resynchronize an agent}

D:\AgentCore>agentDeploy.bat AGENT_BASE_DIR=D:\app\oracle\product\agent12c EM_UPLOAD_PORT=4904 AGENT_REGISTRATION_PASSWORD=formula1

Present working directory:D:\AgentCore
Archive location:D:\AgentCore  directory
Agent base directory:D:\app\oracle\product\agent12c
Agent base directory:D:\app\oracle\product\agent12c
Agent image loc : “D:\AgentCore”
D:\app\oracle\product\agent12c configonlyfalse
Reading the properties file: “D:\AgentCore”\
1 file(s) copied.
This is the version
This is the type core
This is the aru id 233
“Validating the OMS_HOST & EM_UPLOAD_PORT”

“Executing command : D:\app\oracle\product\agent12c\core\\jdk\bin\java -classpath D:\app\oracle\product\agent12c\core\\jlib\agentInstaller.jar:D:\app\oracle\product\agent12c\core\\oui\jlib\OraInstaller.jar oracle.sysman.agent.installer.AgentInstaller D:\app\oracle\product\agent12c\core\ “D:\AgentCore” D:\app\oracle\product\agent12c -prereq”

Validating oms host & port with url:
Validating oms host & port with url:
Return status:3

“Executing command : D:\app\oracle\product\agent12c\core\\jdk\bin\java -classpath D:\app\oracle\product\agent12c\core\\jlib\OraInstaller.jar:D:\app\oracle\product\agent12c\core\\sysman\jlib\emInstaller.jar:D:\app\oracle\product\agent12c\core\\jlib\xmlparserv2.jar:D:\app\oracle\product\agent12c\core\\jlib\srvm.jar:D:\app\oracle\product\agent12c\core\\jlib\emCfg.jar:D:\app\oracle\product\agent12c\core\\sysman\jlib\agentInstaller.jar oracle.sysman.agent.installer.AgentInstaller D:\app\oracle\product\agent12c\core\”

Executing agent install prereqs…
Executing command: D:\app\oracle\product\agent12c\core\\oui\bin\setup.exe -ignoreSysPrereqs -prereqchecker -silent -ignoreSysPrereqs -waitForCompletion  -prereqlogloc D:\app\oracle\product\agent12c\core\\cfgtoollogs\agentDeploy -entryPoint -detailedExitCodes PREREQ_CONFIG_LOCATION=D:\app\oracle\product\agent12c\core\\prereqs
Prereq Logs Location:D:\app\oracle\product\agent12c\core\\cfgtoollogs\agentDeploy\prereq<timestamp>.log
Agent install prereqs completed successfully

Cloning the agent home…
Executing command: D:\app\oracle\product\agent12c\core\\oui\bin\setup.exe -ignoreSysPrereqs -clone -forceClone -silent -waitForCompletion -nowait ORACLE_HOME=D:\app\oracle\product\agent12c\core\   AGENT_BASE_DIR=D:/app/oracle/product/agent12c AGENT_BASE_DIR=D:/app/oracle/product/agent12c EM_UPLOAD_PORT=4904 AGENT_REGISTRATION_PASSWORD=formula1 -noconfig  ORACLE_HOME_NAME=agent12c1 -force b_noUpgrade=true AGENT_PORT=-1
Clone Action Logs Location:C:\Program Files\Oracle\Inventory\logs\cloneActions<timestamp>.log
Cloning of agent home completed successfully

Attaching sbin home…
Executing command: D:\app\oracle\product\agent12c\core\\oui\bin\setup.exe -ignoreSysPrereqs -attachHome -waitForCompletion -nowait ORACLE_HOME=D:\app\oracle\product\agent12c\sbin ORACLE_HOME_NAME=sbin12c1 -force
Attach Home Logs Location:D:\app\oracle\product\agent12c\core\\cfgtoollogs\agentDeploy\AttachHome<timestamp>.log
Attach home for sbin home completed successfully.

Updating home dependencies…
Executing command: D:\app\oracle\product\agent12c\core\\oui\bin\setup.exe -ignoreSysPrereqs -updateHomeDeps -waitForCompletion HOME_DEPENDENCY_LIST={D:\app\oracle\product\agent12c\sbin:D:\app\oracle\product\agent12c\core\,} -invPtrLoc D:\app\oracle\product\agent12c\core\\oraInst.loc -force
Update Home Dependencies Location:D:\app\oracle\product\agent12c\core\\cfgtoollogs\agentDeploy\UpdateHomeDeps<timestamp>.log
Update home dependency completed successfully.

Performing the agent configuration…
Executing command: D:\app\oracle\product\agent12c\core\\oui\bin\runConfig.bat ORACLE_HOME=D:\app\oracle\product\agent12c\core\ RESPONSE_FILE=D:\app\oracle\product\agent12c\core\\agent.rsp ACTION=configure MODE=perform COMPONENT_XML={} RERUN=true
Configuration Log Location:D:\app\oracle\product\agent12c\core\\cfgtoollogs\cfgfw\CfmLogger<timestamp>.log
Agent Configuration completed successfully

Agent deployment log location:
Agent deployment completed successfully.

Step 6: Navigate to Agent Home Bin directory and verify the status of Agent using below mentioned command.

D:\AgentCore>cd ..
D:\>cd app\oracle\product\agent12c\agent_inst\bin

D:\app\oracle\product\agent12c\agent_inst\bin>emctl status agent

Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2014 Oracle Corporation.  All rights reserved.
Agent Version     :
OMS Version       :
Protocol Version  :
Agent Home        : D:/app/oracle/product/agent12c/agent_inst
Agent Binaries    : D:\app\oracle\product\agent12c\core\
Agent Process ID  : 4520
Parent Process ID : 4724
Agent URL         :
Repository URL    :
Started at        : 2014-12-05 08:59:25
Started by user   : HANXXX.XXX.COM$
Last Reload       : (none)
Last successful upload                       : 2014-12-05 09:10:36
Last attempted upload                        : 2014-12-05 09:10:36
Total Megabytes of XML files uploaded so far : 0.04
Number of XML files pending upload           : 0
Size of XML files pending upload(MB)         : 0
Available disk space on upload filesystem    : 67.58%
Collection Status                            : Collections enabled
Heartbeat Status                             : Ok
Last attempted heartbeat to OMS              : 2014-12-05 09:10:30
Last successful heartbeat to OMS             : 2014-12-05 09:10:30
Next scheduled heartbeat to OMS              : 2014-12-05 09:11:30
Agent is Running and Ready


You can ask me for any doubt or queries on my email “

One thought on “Silent-Install Method for Installation of Agent12c on Windows. {CYGWIN not required.}

Leave a Reply to manish kumar Jaiswal Cancel reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s