zoukankan      html  css  js  c++  java
  • Oracle 12c agent install for windows

    在Oracle EM12c 中部署agent的方法分两种,一种是通过EM12c的控制台通过ssh直接把agent“推送”安装到被管理端。这样的方法在linux平台的OMS和被管理端比較简单,由于Linux平台有自带的ssh工具,不须要进行ssh工具的配置。

    可是假设是windows的平台的OMS和被管理端要进行安装Cygwin工具,前期的准备步骤比較多。另外一种方法是通过脚本静默安装的方法(Silentinstallation)。这样的方法在windows的被管理端上安装agent相对照较简单一些。当然这样的方法在Linux上两样也适用。

    以下是通过EM CLI工具在windows上部署agent的方法

    1. 配置软件库

    静默安装须要软件下载agent的zip文件,软件库要提前配置好。

    以下是在登录EM12c 环境配置软件库:

    点击加入,输入名字和位置:


    将使用这个位置下载agent部署zip文件。

    2. 下载agent部署文件

    使用EMCLI(EnterpriseManager Command Line Interface)命令下载agent安装包,EMCLI已经随在EM12c release3的OMS在server端已经成功安装.

    使用EMCLI要确保安装了java 1.6以上的环境。

    C:UsersAdministrator>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)

    使用sysman用户登录EMCLI环境

    E:appemmwomsBIN>emcli login-username=sysman

    Enter password

    Login successful

    同步sync

    E:appemmwomsBIN>emcli sync

    Synchronized successfully

    查询OMS支持管理的平台

    E:appemmwomsBIN>emcliget_supported_platforms

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

    Version = 12.1.0.3.0

     Platform = Microsoft Windows x64 (64-bit)

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

    Platforms list displayed successfully.

    3. 部署agent

    下载支持被管理的平台的agent安装包

    emcli get_agentimage -destination=E:appemswlib12.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:appemgc_instemEMGC_OMS1sysmanemclisetup/.emcli/get_a

    gentimage_2014-03-11_17-42-19-PM.log

    Downloading E:appemswlib12.312.1.0.3.0_AgentCore_233.zip

    File savedas E:appemswlib12.312.1.0.3.0_AgentCore_233.zip

    DownloadingE:appemswlib12.312.1.0.3.0_PluginsOneoffs_233.zip

    File savedas E:appemswlib12.312.1.0.3.0_PluginsOneoffs_233.zip

    DownloadingE:appemswlib12.3unzip

    File savedas E:appemswlib12.3unzip

    Agent Image Download completedsuccessfully.

    一个zip文件在以下的文件夹里:

    复制这个文件到被管理的目标server,解压缩并部署EM12c agent

    解压后注意以下两个基本的文件

    agentDeploy.bat     Batch file to deploy the agent.

    agent.rsp           Agent response file that requiresconfiguration.

    agent.rsp文件须要改动以下对应的參数:

    OMS_HOST=OMS_ORCL.com  #OMS Host Servername,the name is confing in etchosts

    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:appagent12c  #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

    正在运行代理配置...

    正在运行命令:E:appcore12.1.0.3.0ouiin unConfig.batORACLE_HOME=E:appco

    re12.1.0.3.0RESPONSE_FILE=E:appcore12.1.0.3.0agent.rsp ACTION=configure MO

    DE=perform COMPONENT_XML={oracle.sysman.top.agent.11_1_0_1_0.xml}RERUN=true

    Configuration Log Location:E:appcore12.1.0.3.0cfgtoollogscfgfwCfmLogger<ti

    mestamp>.log

    错误: 代理配置失败 SEVERE:Oracle 主文件夹 名称无效。Oracle 主文件夹 名称最多仅仅能包括

     128 个字符, 而且仅仅能包括字母数字字符和下划线。

    參考:

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

    EM CLI部署见:

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

  • 相关阅读:
    1022词法分析实验总结
    1008词法分析
    0909对编译原理的理解
    【Windows】如何判断当前鼠标是否按下左键或右键
    【Delphi】从内存(MemoryStream)使用WMP(WindowsMediaPlayer)控件播放视频音频(Play Video with WMP from MemoryStream)
    计算机基础
    对接微信公众号
    排序与搜索
    二叉树
    3- 面向对象进阶
  • 原文地址:https://www.cnblogs.com/yangykaifa/p/7066440.html
Copyright © 2011-2022 走看看