- 最后登录
- 2023-8-16
- 在线时间
- 1686 小时
- 威望
- 2135
- 金钱
- 50532
- 注册时间
- 2011-10-12
- 阅读权限
- 200
- 帖子
- 5207
- 精华
- 39
- 积分
- 2135
- UID
- 2
|
3#
发表于 2012-3-23 15:06:27
How to use the Grid Control agent_download script for a different target OS
Applies to:
Enterprise Manager Grid Control - Version: 10.1.0.2.0 to 10.1.0.5.0
Information in this document applies to any platform.
Goal
The agent_download script is used to install the Oracle Management Agent with Grid Control installed on a different Operating System than the target.
Solution
This note is intended to clarify exactly how to stage the files for the agent_download script for a Grid Control on one O/S and a target on another O/S.
For example: Grid Control on HP, with AIX for the target where the Management Agent is to be installed.
Note: for Unix without RAC, this works for any Grid Control and any target O/S combination.
(See Windows note and RAC note below.)
1. Review the Note 235287.1 for general details.
Note 235287.1: How To Install The Downloadable Central Management Agent in EM
10g Grid Control
For the Silent Install option, the Note 235287.1 assumes in that the O/S-specific Agent files have already been downloaded to the OMS.
2. To get the O/S-specific Agent files, use OTN and download the "Mass Depoly Agent" option for the target O/S, eg AIX.
Reference (as of time of publication):
URL = http://www.oracle.com/technology/software/products/oem/index.html
Mass Agent Deployment
Oracle Enterprise Manager 10g Grid Control Management Agent Release 1
Download to a temporary location allows file copying into the OMS directory structure as required.
3. Expand as per the note on the page, and copy the files into the Directory as per the README.
Copy the files into the $O_H/sysman/agent_download-- for example:
README.aix
agent_download.aix
aix (this expands into a directory)
4. Follow the README and modify the script as directed.
This step is O/S-specific so it will differ, but basically you're identifying the OMS and the download method for pulling the files.
Be sure that the program called in the script to do the download is supported on the target O/S.
The script provided by Oracle uses the wget utility to perform the actual file transfer, and this is the expected method.
Other protocols may be used, such as ftp or http, but Oracle does not provide scripting for alternaitve transfer methods.
The provided script must be manually customized based on the target O/S, in this case.
5. After adapting the script for the OMS name and port, open a browser on the on the AIX target and enter this browser URL:
URL = http://<grid_node>:4889/agent_download/
Download the O/S-appropriate script to the AIX node, usually using browser access, if allowed:
Example: download the script
agentDownload.aix
6. If there is no browser on the target then download the script manually, by ftp for example:
ftp <aix-host>
mget $Grid_ORACLE_HOME/sysman/agent_download/agentDownload.aix
7. Run the agentDownload.aix script on the target node to pull the files from the O/S.
This will install the Agent by copying over the needed files from the Grid Control $ORACLE_HOME/sysman/agent_download/aix directory, and running the required executables on the target node where the agent will be installed. Configuration is done based on the values provided for Grid Control hostname, port, etc. in the script configuration step #4 above.
No manual installation of the Oracle Universal Installer (OUI) is needed on the target node when using this method. The agent_download script installs the needed software.
Note #1: for Windows the downloadable Agent is not available in 10.1.0.3.0.
Note #2: The agent_download script does not work for RAC targets due to unpublished Bug 4369095, projected to be fixed in 10gRelease2. Workaround is to do the install Manually, using the OUI.
Bug 4369095: IN RAC MACHINE AGENT DOWNLOAD SCRIPT DOESN'T COPY THE FILE IN REMOTE NODE |
|