Oracle网格控制器OMA安装和配置指南

2014-11-24 09:21:19 · 作者: · 浏览: 0

Oracle网格控制agent(即OMA)的安装方式有三种,一种是OUI方式安装,一种是使用静默方式安装,还有一种是使用agentDownload下载方式安装,本讲主要介绍使用OUI方式安装gc的agent。在开始之前请先配置好OMS和OMR,并做好OMA安装准备工作,参考oracle数据库快速安装指南!

环境介绍:
OMS操作系统版本:centos4.8 64位
OMS版本:10.2.0.3
OMS主机名:gc.yang.com
OMS地址:192.168.1.45/24

OMA操作系统版本:rhel5.4 64位
OMA版本:10.2.0.3
OMA主机名:primary.yang.com
OMS地址:192.168.1.51/24

一:开始安装
[oracle@primary Disk1]$ ./runInstaller

这里选择第4项,安装agent

\

\

在rhel5上面安装,这里会提示gnome-lib包没有安装,无视!

\

填写OMS的ip或者主机名以及端口

\

填写OMS服务器agent注册密码

\

\

\

执行脚本后点击“OK”按钮

\

1. [root@primary ~]# /u01/app/oracle/OracleHomes/agent10g/root.sh
2. Running Oracle10 root.sh script...
3.
4. The following environment variables are set as:
5. ORACLE_OWNER= oracle
6. ORACLE_HOME= /u01/app/oracle/OracleHomes/agent10g
7.
8. Enter the full pathname of the local bin directory: [/usr/local/bin]:
9. Copying dbhome to /usr/local/bin ...
10. Copying oraenv to /usr/local/bin ...
11. Copying coraenv to /usr/local/bin ...
12.
13.
14. Creating /etc/oratab file...
15. Entries will be added to the /etc/oratab file as needed by
16. Database Configuration Assistant when a database is created
17. Finished running generic part of root.sh script.
18. Now product-specific root actions will be performed.
19. Finished product-specific root actions

安装完成后,agent将自动启动,发现OMS并注册

  1. [oracle@primary Disk1]$ /u01/app/oracle/OracleHomes/agent10g/bin/emctl status agent
  2. Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
  3. Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
  4. ---------------------------------------------------------------
  5. Agent Version : 10.2.0.3.0
  6. OMS Version : 10.2.0.3.0
  7. Protocol Version : 10.2.0.2.0
  8. Agent Home : /u01/app/oracle/OracleHomes/agent10g
  9. Agent binaries : /u01/app/oracle/OracleHomes/agent10g
  10. Agent Process ID : 9553
  11. Parent Process ID : 9515
  12. Agent URL : https://primary.yang.com:3872/emd/main/
  13. Repository URL : https://gc.yang.com:1159/em/upload
  14. Started at : 2011-09-26 20:33:44
  15. Started by user : oracle
  16. Last Reload : 2011-09-26 20:33:44
  17. Last successful upload : 2011-09-26 20:34:43
  18. Total Megabytes of XML files uploaded so far : 1.71
  19. Number of XML files pending upload : 0
  20. Size of XML files pending upload(MB) : 0.00
  21. Available disk space on upload filesystem : 59.49%
  22. Last successful heartbeat to OMS : 2011-09-26 20:34:50
  23. ---------------------------------------------------------------
  24. Agent is Running and Ready

二:OMS上操作

\

\

\

administration选项卡需要安装em wrapper scripts和yast才能使用!

\

\

可以看到详细的硬件信息,这里采用的是kvm虚拟机!

\

作者“月牙天冲”