INSTALLING AGENT (10.2.0.3) ON ORACLE ENTERPRISE LINUX 5.4

上一篇文章介绍了OMS的安装,这篇文章将介绍如果在A机上安装Agent.

1.在/etc/hosts文件下面添加OMS机器IP地址对应

[oracle@gc-a bin]$ more /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost.localdomain localhost
::1             localhost6.localdomain6 localhost6

192.168.204.118 gc-a.localdomain        gc-a
192.168.204.119 gc-b.localdomain        gc-b

2.上传并解压安装包.

unzip Linux_x86_64_Grid_Control_agent_download_10_2_0_3_0.zip

3.选择安装类型,这儿选择Additional Management Agent


4.指定安装路径


5.安装前校验


这里和安装OMS一样,有三个软件包是没有的,openmotif21-2.1.30-11、gnome-libs-1.4.1.2.90-44.1、xscreensaver-4.18-5.rhel4.2.直接忽略.

6.指定OMS的主机名和端口,此处需要在etc/hosts下配置IP解析


7.指定AGENT的密码


8.配置Metalink帐号等信息


9.开始安装


10.运行root.sh

[root@gc-a linux_x64]# /oracle/app/oracle/agent/agent10g/root.sh
Running Oracle10 root.sh script...

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /oracle/app/oracle/agent/agent10g

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n)
[n]: y
   Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)
[n]: y
   Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)
[n]: y
   Copying coraenv to /usr/local/bin ...

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
Finished product-specific root actions.

11.执行configuration assistants配置,安装完成

12.检查Agent状态

[oracle@gc-a agent10g]$ pwd
/oracle/app/oracle/agent/agent10g
[oracle@gc-a agent10g]$ cd bin/
[oracle@gc-a bin]$ ./emctl status agent
Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version     : 10.2.0.3.0
OMS Version       : 10.2.0.3.0
Protocol Version  : 10.2.0.2.0
Agent Home        : /oracle/app/oracle/agent/agent10g
Agent binaries    : /oracle/app/oracle/agent/agent10g
Agent Process ID  : 17095
Parent Process ID : 17078
Agent URL         : https://gc-a.localdomain:3872/emd/main/
Repository URL    : https://gc-b.localdomain:1159/em/upload
Started at        : 2012-03-27 15:52:05
Started by user   : oracle
Last Reload       : 2012-03-27 15:52:05
Last successful upload                       : 2012-03-27 16:53:09
Total Megabytes of XML files uploaded so far :     7.24
Number of XML files pending upload           :        0
Size of XML files pending upload(MB)         :     0.00
Available disk space on upload filesystem    :    46.54%
Last successful heartbeat to OMS             : 2012-03-27 17:02:52
---------------------------------------------------------------
Agent is Running and Ready
分享到: 更多

Post a Comment

Your email is never published nor shared. Required fields are marked *