Oracle 12c Agent Install for Windows

Source: Internet
Author: User
Tags alphanumeric characters windows x64 ssh

There are two ways to deploy the agent in Oracle EM12C, one is to install the agent "push" directly to the managed side via SSH via the EM12C console, which is simpler on the OMS and managed side of the Linux platform, because the Linux platform has its own SSH tool , there is no need to configure the SSH tool. But if the OMS and the managed side of the Windows platform are to be installed with the Cygwin tool, the upfront preparation steps are much more. The second approach is to use a script-silently installed method (silentinstallation), which is relatively simple to install on the managed side of windows, although this approach is also applicable on Linux.

Here's how to deploy the agent on Windows with the EM CLI tool

1. Configure the Software Library

Silent installation requires the Software Download Agent zip file, the software library to be configured in advance.

Below is the configuration software library in the login EM12C environment:

Click Add, enter a name and location:


The agent deployment zip file will be downloaded using this location.

2. Download the agent Deployment file

Download the agent installation package using EMCLI (Enterprisemanager command line Interface), EMCLI has been successfully installed on the server side of OMS with em12c Release3.

Use EMCLI to ensure that the Java 1.6 environment is installed.

C:\users\administrator>java-version

Java Version "1.7.0_51"

Java (TM) SE Runtime Environment (build 1.7.0_51-b13)

Java HotSpot (TM) 64-bit Server VM (build24.51-b03, Mixed mode)

Log in to the EMCLI environment with Sysman users

E:\APP\EM\MW\OMS\BIN>EMCLI Login-username=sysman

Enter Password

Login Successful

Synchronize Sync

E:\APP\EM\MW\OMS\BIN>EMCLI Sync

Synchronized successfully

Querying the OMS support management platform

E:\app\em\mw\oms\bin>emcliget_supported_platforms

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

Version = 12.1.0.3.0

Platform = Microsoft Windows x64 (64-bit)

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

Platforms list displayed successfully.

3. Deploying Agents

Download the agent installation package that supports managed platforms

Emcli get_agentimage-destination=e:\app\em\swlib\12.3-platform= "Microsoft Windows x64 (64-bit)"-version=12.1.0.3.0

===partition Detail = = =

Space free:138 GB

Space required:1 GB

Check the logs Ate:\app\em\gc_inst\em\emgc_oms1\sysman\emcli\setup/.emcli/get_a

Gentimage_2014-03-11_17-42-19-pm.log

Downloading E:\app\em\swlib\12.3\12.1.0.3.0_AgentCore_233.zip

File savedas E:\app\em\swlib\12.3\12.1.0.3.0_agentcore_233.zip

Downloadinge:\app\em\swlib\12.3\12.1.0.3.0_pluginsoneoffs_233.zip

File Savedas E:\app\em\swlib\12.3\12.1.0.3.0_PluginsOneoffs_233.zip

Downloadinge:\app\em\swlib\12.3\unzip

File Savedas E:\app\em\swlib\12.3\unzip

Agent Image Download completedsuccessfully.

A zip file is in the following directory:

Copy this file to the managed target server, unzip and deploy the EM12C agent

After decompression note the following two main files

Agentdeploy.bat Batch file to deploy the agent.

AGENT.RSP Agent response file that requiresconfiguration.

The agent.rsp file needs to be modified with the appropriate parameters:

oms_host=oms_orcl.com #OMS HOST servername,the name is confing in \etc\hosts

em_upload_port=4800 #Upload PORT foroms

Agent_registration_password=pssword #You can add a newone in security if you don't already have.

agent_instance_home=e:\app\agent12c #Installation directory on new Target

agent_port=3872 #Agent PORT

B_startagent=true

oracle_hostname=trgt_orcl.com #Name of Targethost

S_AGENTHOMENAME=TRGT_ORCL #Name of thetarget in em12c

Performing proxy configuration ...

Executing command: E:\app\core\12.1.0.3.0\oui\bin\runconfig.batoracle_home=e:\app\co

RE\12.1.0.3.0RESPONSE_FILE=E:\APP\CORE\12.1.0.3.0\AGENT.RSP action=configure MO

De=perform Component_xml={oracle.sysman.top.agent.11_1_0_1_0.xml}rerun=true

Configuration Log Location:e:\app\core\12.1.0.3.0\cfgtoollogs\cfgfw\cfmlogger<ti

Mestamp>.log

Error: Agent configuration failed severe:oracle home directory name is not valid. The Oracle home directory name can contain up to

128 characters, and can only contain alphanumeric characters and underscores.

Reference:

http://dbakevlar.com/2013/10/em12c-agent-deployment-on-windows/

EM CLI Deployment See:

Http://docs.oracle.com/cd/E24628_01/em.121/e17786/deploy.htm

Oracle 12c Agent Install for Windows

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.