EM Management Agent 10.2.0.5のインストレーション(On Linux 5.x)

1. 検証環境

VMware 1.0.6
Oracle Enterprise Linux 5.2
db-node02
Oracle Enterprise Manager Grid Control 10.2.0.5(OMS) インストール済
db-node01
Oracle Enterprise Manager Management Agent 10.2.0.5(OMA) この検証でインストールを試す。

2. OUIでのインストール

2.1 Management Agentの試用版をダウンロード

http://www.oracle.com/technology/global/jp/software/products/em10g/agent_10205.html

2.2 インストールソフトの解凍
[10.2.0.5 oracle()] unzip Linux_Grid_Control_agent_download_10_2_0_5_0.zip
2.3 OUIの起動
[agent oracle()] cd /u01/app/oracle/soft/gc/10.2.0.5/linux/agent
[agent oracle()] pwd
/u01/app/oracle/soft/gc/10.2.0.5/linux/agent
[agent oracle()] export LANG=C
[agent oracle()] ./runInstaller

OUIのウイザードに従ってインストールを行う。
oma_01.png
2.4 Management Agent Statusの確認
[~ oracle()] /u01/app/oracle/oem_home/agent10g/bin/emctl status agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.  
Copyright (c) 1996, 2009 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version     : 10.2.0.5.0
OMS Version       : 10.2.0.5.0
Protocol Version  : 10.2.0.5.0
Agent Home        : /u01/app/oracle/oem_home/agent10g
Agent binaries    : /u01/app/oracle/oem_home/agent10g
Agent Process ID  : 18011
Parent Process ID : 17986
Agent URL         : https://db-node01:3872/emd/main/
Repository URL    : https://db-node02:1159/em/upload
Started at        : 2009-11-15 08:02:05
Started by user   : oracle
Last Reload       : 2009-11-15 08:02:05
Last successful upload                       : 2009-11-15 08:04:47
Total Megabytes of XML files uploaded so far :     9.67
Number of XML files pending upload           :        0
Size of XML files pending upload(MB)         :     0.00
Available disk space on upload filesystem    :    88.27%
Last successful heartbeat to OMS             : 2009-11-15 08:04:11
---------------------------------------------------------------
Agent is Running and Ready
[~ oracle()]

3. agentDownloadスクリプトでのインストール

3.1 OMSサーバーでMangement Agent 10.2.0.5のソフトウエアをデプロイ

Grid Control 10.2.0.5(OMS)をインストールしたサーバーで下記の作業を行う。

[agent10205 oracle()] unzip Linux_Grid_Control_agent_download_10_2_0_5_0.zip 
 -d /u01/app/oracle/oem_home/oms10g/sysman/agent_download/10.2.0.5.0
3.2 Management Agentをインストールしようとする監視ターゲットサーバーでダウンロードインストールを行う
JDK環境変数の設定
[work oracle(PROD)] export PATH=$ORACLE_HOME/jdk/bin:$PATH
[work oracle(PROD)] echo $PATH
wgetでOMSサーバーからagentDownload.linuxスクリプトをダウンロード
[work oracle(PROD)] wget http://db-node02:4889/agent_download/10.2.0.5.0/linux/agentDownload.linux
[work oracle(PROD)] chmod 755 agentDownload.linux
agentDownload.linuxを実行
[work oracle(PROD)] ./agentDownload.linux -b /u01/app/oracle/oem_home -m db-node02 -r 4889

実行中にOMSに登録するパスワードを要求される。OMSをインストールした時に指定したパスワードを入力すればOK。
ソフトウエアのダウンロードが終わったら、rootでroot.shの実行が要求される。
[root@db-node01 ~]# /u01/app/oracle/oem_home/agent10g/root.sh

コンフィグレーション作業にエラーが何も出なければ、ダウンロードインストールが成功になる。
Management Agentのステータスを確認して、一度手動で情報アップロードを試してみる。
[work oracle()] /u01/app/oracle/oem_home/agent10g/bin/emctl status agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.  
Copyright (c) 1996, 2009 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version     : 10.2.0.5.0
OMS Version       : 10.2.0.5.0
Protocol Version  : 10.2.0.5.0
Agent Home        : /u01/app/oracle/oem_home/agent10g
Agent binaries    : /u01/app/oracle/oem_home/agent10g
Agent Process ID  : 15961
Parent Process ID : 15936
Agent URL         : https://db-node01:3872/emd/main/
Repository URL    : https://db-node02:1159/em/upload
Started at        : 2009-11-15 02:05:23
Started by user   : oracle
Last Reload       : 2009-11-15 02:05:23
Last successful upload                       : 2009-11-15 02:06:14
Total Megabytes of XML files uploaded so far :     9.66
Number of XML files pending upload           :        0
Size of XML files pending upload(MB)         :     0.00
Available disk space on upload filesystem    :    84.77%
Last successful heartbeat to OMS             : 2009-11-15 02:05:28
---------------------------------------------------------------
Agent is Running and Ready
[work oracle()]
[work oracle()] /u01/app/oracle/oem_home/agent10g/bin/emctl upload      
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.  
Copyright (c) 1996, 2009 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
EMD upload completed successfully
[work oracle(PROD)]

oem_target.png
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License