使用agentDownload脚本在Unix/Linux平台安装Management Agent

Table 6-3 AgentDownload Script. Options

Option Description

-b

To specify base directory of the Agent Oracle home.

-c

To specify the cluster nodes (CLUSTER_NODES)

Note that there should not be any spaces between the entries in the comma-separated nodes list.

-d

Do not automatically discover targets during installation. Host target will be created as needed.

-h

To display and describe the options that can be used with this script.

-i

To specify the inventory pointer location file: Can be used to point the installer to a nondefault inventory. (For advanced users only.)

-l

To specify as local host (pass -local to runInstaller)

-m

To specify the Oracle Management Service host name for downloading the agent install.

-n

To specify the cluster name.

-o

To specify the OLD_ORACLE_HOME during upgrade

-p

To specify static port list file.

-r

To specify the port for connecting to the Oracle Management Service host name.

-t

Do not automatically start the agent at the end of the installation.

-u

To upgrade.

-x

To debug output: Turns on shell debugging.

-N

Do not prompt for Agent Registration Password.

Downloading 10.2.0.3.0 Agent Installation Software for Different Platforms

To obtain the agent download for other platforms, you must complete the following steps to make the Management Agent installable from the Management Service Oracle home.


To Obtain agentDownload for Unix

Follow the instructions below to download the agent installation software for Unix:

  1. Download the _Grid_Control_agent_download_10_2_0_3.zip file from OTN:

    http://www.oracle.com/technology/software/products/oem/htdocs/agentsoft.html

  2. Copy the downloaded file to the /sysman/agent_download/10.2.0.3.0 directory.

    Note:

    Create the /sysman/agent_download/10.2.0.3.0 directory, if it does not exist.
  3. Go to this directory by executing the following:

    cd /sysman/agent_download/10.2.0.3.0

    When you are here, confirm that the size and checksum calculation of the downloaded file match the information specified on the OTN download page.

  4. Execute the following command:

    unzip _Grid_Control_agent_download_10_2_0_3.zip
  5. If the agent_download.rsp file does not exist in the /sysman/agent_download/10.2.0.3.0 directory, do the following:

    1. Execute mv agent_download.rsp.bak agent_download.rsp

    2. Edit agent_download.rsp and modify s_OMSHost="REPLACE_WITH_OMS_HOST" and s_OMSPort="REPLACE_WITH_OMS_PORT" variables with the correct OMSHost and OMSPort values. For example:

      s_OMSHost="foo.us.oracle.com"
      s_OMSPort="4889"

      Note:

      Even if you are specifying a secure Management Service, you must still enter the non-secure port number here.
  6. Download the agentDownload script. by using cp, rcp, scp, FTP, or wget utility.

    An example of using wget is as follows:

    wget http://foo:4889/agent_download/10.2.0.3.0/linux/agentDownload.linux
  7. Run the following command:

    chmod +x agentDownload.linux
    ./agentDownload.linux -b -m -r

    For example:

    ./agentdownload.linux - b /oracle/agentinstall -m foo.us.oracle.com -r 4889

    For clusters, use the following command:

    ./agentdownload.linux - b /oracle/agentinstall -m foo.us.oracle.com -r 4889 -c "host1,host2,host3" -n myCRS -l

    To view more options, use the ./agentdownload.linux -h command.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/11411056/viewspace-733426/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/11411056/viewspace-733426/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值