Oracle 12c agent install for windows, oracle12c
There are two methods to deploy the agent in Oracle EM12c: one is to install the agent "push" directly to the managed end through the EM12c console through ssh, this method is relatively simple on the OMS and the managed end of the linux platform, because the Linux platform has its own ssh tool and does not require ssh tool configuration. However, if you want to install the Cygwin tool on OMS and the managed side of the windows platform, there are many preparation steps in the early stage. The second method is Silentinstallation, which is relatively simple to install the agent on the managed terminal of windows. Of course, this method is also applicable to both Linux.
The following describes how to deploy the agent on windows using em cli.
1. Configure the software library
For Silent Installation, You need to download the zip file of the agent. The software library must be configured in advance.
The following describes how to configure the software library when logging on to the EM12c environment:
Click Add and enter the name and location:
You will use this location to download the agent deployment zip file.
2. Download the agent deployment File
Use the EMCLI (EnterpriseManager Command Line Interface) Command to download the agent installation package. EMCLI has been installed successfully on the server with the OMS on EM12c release3.
Use EMCLI to ensure that the java 1.6 and later environments are 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)
Use a sysman user to log on to the EMCLI Environment
E: \ app \ em \ mw \ oms \ BIN> emcli login-username = sysman
Enter password
Login successful
Sync
E: \ app \ em \ mw \ oms \ BIN> emcli sync
Synchronized successfully
Query platforms supported by OMS
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. Deploy the agent
Download the agent installation package for a platform that supports management
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, decompress it, 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 following parameters must be modified in the agent. rsp file:
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
Executing 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_00000.xml} RERUN = true
Configuration Log Location: E: \ app \ core \ 12.1.0.3.0 \ export toollogs \ cfgfw \ CfmLogger <ti
Mestamp>. log
Error: failed to configure proxy SEVERE: The Oracle main directory name is invalid. The Oracle Home directory name can only contain
It is a string of 128 characters and can contain only letters, numbers, and underscores.
Refer:
Http://dbakevlar.com/2013/10/em12c-agent-deployment-on-windows/
For em cli deployment, see:
Http://docs.oracle.com/cd/E24628_01/em.121/e17786/deploy.htm
Oracle database 12c client instantclient-basic-nt-12101 ask how to install
Client installation is much simpler than Server installation, and 32-bit installation is simpler.
The premise is to install JDK, and then
Next, use the Net Manger to configure the account and address of the server.
In this way, you can access the database.
Oracle 12C Installation Problems
If you haven't installed IIS, just install it.