Skip to content

offline oracle agent install on windows

offline oracle agent install on windows published on 2 комментария к записи offline oracle agent install on windows

get list of supported platform:

[oracle@monitoring tmp]$  emcli get_supported_platforms
-----------------------------------------------
Version = 12.1.0.3.0
 Platform = Linux x86-64
-----------------------------------------------
Version = 12.1.0.4.0
 Platform = Microsoft Windows x64 (64-bit)
-----------------------------------------------
Version = 12.1.0.3.0
 Platform = Oracle Solaris on SPARC (64-bit)
-----------------------------------------------
Version = 12.1.0.4.0
 Platform = Linux x86-64
-----------------------------------------------
Version = 12.1.0.3.0
 Platform = Microsoft Windows (32-bit)
-----------------------------------------------
Version = 12.1.0.3.0
 Platform = Microsoft Windows x64 (64-bit)
-----------------------------------------------
Platforms list displayed successfully.

get agent :

[oracle@monitoring tmp]$ emcli get_agentimage -destination=/tmp/win_agent -platform="Microsoft Windows x64 (64-bit)" -version=12.1.0.4.0
 === Partition Detail ===
Space free : 1 GB
Space required : 1 GB
Check the logs at /oracle/.emcli/get_agentimage_2015-04-13_18-42-53-PM.log
Downloading /tmp/win_agent/12.1.0.4.0_AgentCore_233.zip
File saved as /tmp/win_agent/12.1.0.4.0_AgentCore_233.zip
Downloading /tmp/win_agent/12.1.0.4.0_PluginsOneoffs_233.zip
File saved as /tmp/win_agent/12.1.0.4.0_PluginsOneoffs_233.zip
Downloading /tmp/win_agent/unzip
File saved as /tmp/win_agent/unzip
ERROR: Command /tmp/win_agent/unzip /tmp/win_agent/12.1.0.4.0_AgentCore_233.zip agentcoreimage.zip -d /tmp/win_agent execution failed.
RECOMMENDATION: If your agent image platform and the emcli client setup is on a different platform then you need to set the environment variable ZIP_LOC to absolute path to the zip utility which is greater than or equal to version 3.0.
Example: setenv ZIP_LOC /usr/local/bin/zip
[oracle@monitoring tmp]$

copy to destination & install:

C:\Users\sql> C:\oracle_agent\distrib\agentDeploy.bat AGENT_BASE_DIR=c:\oracle_agent\agent12c4 RESPONSE_FILE=C:\oracle_agent\distrib\agent3.rsp -ignorePrereqs


C:\Users\sql> C:\oracle_agent\distrib\agentDeploy.bat AGENT_BASE_DIR=c:\oracle_agent\agent12c4 RESPONSE_FILE=C:\oracle_agent\distrib\agent3.rsp -ignorePrereqs
C:\oracle_agent\distrib
Present working directory:C:\oracle_agent\distrib
Archive location:C:\oracle_agent\distrib  directory
AGENT_BASE_DIR
AGENT_BASE_DIR
c:\oracle_agent\agent12c4
Agent base directory:c:\oracle_agent\agent12c4
c:\oracle_agent\agent12c4
RESPONSE_FILE
C:\oracle_agent\distrib\agent3.rsp
-ignorePrereqs
Режим вывода команд на экран (ECHO) отключен.
Agent base directory:c:\oracle_agent\agent12c4
OMS Host:
Agent image loc :"C:\oracle_agent\distrib"
c:\oracle_agent\agent12c4 configonlyfalse
Reading the properties file: "C:\oracle_agent\distrib"\agentimage.properties
Скопировано файлов:         1.
This is the version 12.1.0.4.0
This is the type core
This is the aru id 233
"Validating the OMS_HOST & EM_UPLOAD_PORT"
"c:\oracle_agent\agent12c4\core\12.1.0.4.0"
"Executing command : c:\oracle_agent\agent12c4\core\12.1.0.4.0\jdk\bin\java -classpath c:\oracle_agent\agent12c4\core\12.1.0.4.0\jlib\agentInstaller.jar:c:\oracle_agent\agent12c4\core\12.1.0.4.0\oui\jlib\OraInstaller.jar oracle.sysman.agent.installer.AgentInstaller c:\or

Validating oms host & port with url: http://192.168.226.20:4900/empbs/genwallet
Validating oms host & port with url: https://192.168.226.20:4900/empbs/genwallet
Return status:3-oms https port is passed
"C:\oracle_agent\distrib"\12.1.0.4.0_PluginsOneoffs_233.zip
"Executing command : c:\oracle_agent\agent12c4\core\12.1.0.4.0\jdk\bin\java -classpath c:\oracle_agent\agent12c4\core\12.1.0.4.0\jlib\OraInstaller.jar:c:\oracle_agent\agent12c4\core\12.1.0.4.0\sysman\jlib\emInstaller.jar:c:\oracle_agent\agent12c4\core\12.1.0.4.0\jlib\xml

Cloning the agent home...
Executing command: cmd /c C:\oracle_agent\agent12c4\core\12.1.0.4.0\oui\bin\setup.exe -debug -noconsole -ignoreSysPrereqs   -clone -forceClone -silent -waitForCompletion -nowait ORACLE_HOME=C:\oracle_agent\agent12c4\core\12.1.0.4.0 -responseFile C:\oracle_agent\distrib\a

Cloning of agent home completed successfully

Attaching sbin home...
Executing command: cmd /c C:\oracle_agent\agent12c4\core\12.1.0.4.0\oui\bin\setup.exe -debug -noconsole -ignoreSysPrereqs   -attachHome -waitForCompletion -nowait ORACLE_HOME=C:\oracle_agent\agent12c4\sbin ORACLE_HOME_NAME=sbin12c1 -force

Attach home for sbin home completed successfully.

Updating home dependencies...
Executing command: cmd /c C:\oracle_agent\agent12c4\core\12.1.0.4.0\oui\bin\setup.exe -debug -noconsole -ignoreSysPrereqs   -updateHomeDeps -waitForCompletion HOME_DEPENDENCY_LIST={C:\oracle_agent\agent12c4\sbin:C:\oracle_agent\agent12c4\core\12.1.0.4.0} -invPtrLoc C:\or

Update home dependency completed successfully.
Executing command: C:\oracle_agent\agent12c4\core\12.1.0.4.0\oui\bin\runConfig.bat ORACLE_HOME=C:\oracle_agent\agent12c4\core\12.1.0.4.0 RESPONSE_FILE=c:\oracle_agent\agent12c4\core\12.1.0.4.0\agent.rsp ACTION=configure MODE=perform COMPONENT_XML={oracle.sysman.top.agent

ERROR: Agent Configuration Failed SEVERE:emctl secure agent command has failed with status=1SEVERE:emctl secure agent command has failed with status=1SEVERE:emctl secure agent command has failed with status=1

Agent Deploy Log Location:c:\oracle_agent\agent12c4\core\12.1.0.4.0\cfgtoollogs\agentDeploy\agentDeploy_2015-06-25_12-40-40-PM.log

fix local host file to include hostname for CC12 host

after


C:\Users\sql> c:\oracle_agent\agent12c4\core\12.1.0.4.0\bin\emctl status agent
Oracle Enterprise Manager Cloud Control 12c Release 4
Copyright (c) 1996, 2014 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent is Not Running

C:\Users\sql> ;c:\oracle_agent\agent12c4\core\12.1.0.4.0\bin\emctl start agent
Oracle Enterprise Manager Cloud Control 12c Release 4
Copyright (c) 1996, 2014 Oracle Corporation.  All rights reserved.
Служба "Oracleagent12cAgent" запускается.............
Служба "Oracleagent12cAgent" успешно запущена.

C:\Users\sql> c:\oracle_agent\agent12c4\core\12.1.0.4.0\bin\emctl secure agent truepasswd
Oracle Enterprise Manager Cloud Control 12c Release 4
Copyright (c) 1996, 2014 Oracle Corporation.  All rights reserved.
Agent successfully stopped...   Done.
Securing agent...   Started.
Agent successfully restarted...   Done.
Securing agent...   Successful.


C:\Users\sql>C:\oracle_agent\agent12c4\core\12.1.0.4.0\bin\emctl config agent addinternaltargets
Oracle Enterprise Manager Cloud Control 12c Release 4
Copyright (c) 1996, 2014 Oracle Corporation.  All rights reserved.

C:\Users\sql>;

extract from rsp file:


RESPONSEFILE_VERSION=2.2.1.0.0
s_agentHomeName="agent12gR1"
OMS_HOST=monitoring.sys.local
EM_UPLOAD_PORT=4900
AGENT_REGISTRATION_PASSWORD=truepasswd
AGENT_INSTANCE_HOME=C:\oracle_agent\agent12c4\
AGENT_PORT=3872
b_startAgent=true
s_agentHomeName=agent12c4_home
s_agentSrvcName="OracleAgent12c"
EM_INSTALL_TYPE="AGENT"

if faced with

Validating the OMS_HOST EM_UPLOAD_PORT
ERROR: OMS_HOST cannot be null.

do the same in one string

C:\Users\sql> C:\oracle_agent\distrib\agentDeploy.bat AGENT_BASE_DIR=C:\oraclea_agent\agent12c4 OMS_HOST=192.168.226.20 EM_UPLOAD_PORT=4900 AGENT_INSTANCE_HOME=C:\oracle_agent\agent12c4\ s_agentHomeName=agent12c4_home s_agentSrvcName=Oracleagent12cAgent b_forceInstCheck=true AGENT_PORT=3872 EM_INSTALL_TYPE=AGENT AGENT_REGISTRATION_PASSWORD=xxxxxx -ignorePrereqs

upload ms sql agent plugin to agent


[oracle@monitoring ~]$ emcli get_plugin_deployment_status
Displaying status for the latest deployment activity(deployment ID 260)
Plug-in Deployment/Undeployment Status

Destination          : Management Agent - MKSSQL1:3872
Plug-in Name         : Microsoft SQLServer Database
Version              : 12.1.0.5.0
ID                   : oracle.em.smss
Content              : Plug-in
Action               : Deployment
Status               : Deploying
Steps Info:
---------------------------------------- ------------------------- ------------------------- ----------
Step                                     Start Time                End Time                  Status
---------------------------------------- ------------------------- ------------------------- ----------
Submit job for deployment                6/25/15 12:04:41 PM MSK   6/25/15 12:04:41 PM MSK   Success

Initialize                               6/25/15 12:04:43 PM MSK   6/25/15 12:04:52 PM MSK   Success

Validate Environment                     6/25/15 12:04:52 PM MSK   N/A                       Running

---------------------------------------- ------------------------- ------------------------- ----------

Deploy MS SQL SERVER PLUGIN

ms sql extension 1

ms sql extension 2

ms sql extension 3

ms-sql-extension-4

ms sql extension 5

ms sql extension 6

ms sql extension 7

ms sql extension 8

2 комментария

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

Этот сайт использует Akismet для борьбы со спамом. Узнайте, как обрабатываются ваши данные комментариев.

Primary Sidebar