ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 使用agentDownload脚本在Windows平台安装Management Agent

使用agentDownload脚本在Windows平台安装Management Agent

原创 Linux操作系统 作者:ljm0211 时间:2012-06-20 16:12:38 0 删除 编辑

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.

To obtain agentdownload for Windows:

Follow the instructions below, to download the agent installation software for Windows:

  1. Download the Win32_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. Unzip this file by executing the following:

    unzip Win32_Grid_Control_agent_download_10_2_0_3.zip
  5. After unzipping, the agentdownload.vbs will be available at /sysman/agent_download/10.2.0.3.0/win32/agentdownload.vbs.

  6. Download the agentDownload.vbs by using cp, rcp, scp, FTP, or wget utility on the machine where you want to install the Management Agent.

    Note:

    To download agentDownload script. using wget utility, ensure that the wget utility exists on the Windows path variable

    Note:

    Before executing the agentDownload.vbs script, ensure Windows Script. Host version 5.6 is installed on the target agent host. This is required for the script. to be executed successfully.
  7. Run agentDownload.vbs by executing the following:

    cscript.exe agentDownload.vbs -b /oracle/agentinstall -m foo.us.oracle.com -r 4889

    For clusters, use the following command:

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

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

请登录后发表评论 登录
全部评论

注册时间:2009-05-14

  • 博文量
    272
  • 访问量
    436780