安装完Gridcontrol 10.2.0.3后,硬盘灯狂闪不止!I/O等待严重,CPU负载很高,这个估计应该是10.2.0.3的bug,所以升级下了gc,升级到10.2.0.5后;负载自然就下来了!升级包可以在oracle官方网站上下载,解压下载下来的GridControl_10205_part1of2.zip和GridControl_10205_part2of2.zip两个文件,解压后会出现一个p3731593_10205_LINUX.zip压缩包,该压缩包为Grid Control 10.2.0.5的补丁包, 包括资料库/OMS/Agent的补丁文件,将其解压后,进入3731593/Disk1目录下,运行runInstaller即可开始升级过程。
升级完的结果如下:
OMS:
[oracle@gc ~]$ /u01/app/oracle/product/10.2.0.3/oms10g/bin/emctl status oms
Oracle Enterprise Manager 10g Release 5 Grid Control
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Oracle Management Server is Up.
Agent:
[oracle@gc ~]$ /u01/app/oracle/product/10.2.0.3/agent10g/bin/emctl status agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
---------------------------------------------------------------
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/product/10.2.0.3/agent10g
Agent binaries : /u01/app/oracle/product/10.2.0.3/agent10g
Agent Process ID : 5101
Parent Process ID : 5085
Agent URL : https://gc.yang.com:3872/emd/main/
Repository URL : https://gc.yang.com:1159/em/upload
Started at : 2011-10-02 18:33:52
Started by user : oracle
Last Reload : 2011-10-02 18:34:08
Last successful upload : 2011-10-02 18:35:52
Total Megabytes of XML files uploaded so far : 11.64
Number of XML files pending upload : 116
Size of XML files pending upload(MB) : 4.39
Available disk space on upload filesystem : 8.40%
Last successful heartbeat to OMS : 2011-10-02 18:35:57
Agent is Running and Ready
一:升级OMS
[oracle@gc Disk1]$ export ORACLE_HOME=/u01/app/oracle/product/10.2.0.3/oms10g/
[oracle@gc Disk1]$ ./runInstaller
<a target="_blank" href="http://blog.51cto.com/attachment/201110/130949762.jpg"></a>
<a target="_blank" href="http://blog.51cto.com/attachment/201110/131019152.jpg"></a>
报错如下,需要使用sysman用户执行命令:exec emd_maintenance.remove_em_dbms_jobs停止正在运行的任务,然后提交,确保以下的sql语句执行结果返回空值!
SQL> select count(*) from dba_jobs_running a, gv$session b
2 where a.sid=b.sid
3* and b.schemaname='SYSMAN'
COUNT(*)
----------
<a target="_blank" href="http://blog.51cto.com/attachment/201110/131944222.jpg"></a>
二:升级Agent
[oracle@gc Disk1]$ export ORACLE_HOME=/u01/app/oracle/product/10.2.0.3/agent10g/
<a target="_blank" href="http://blog.51cto.com/attachment/201110/132543432.jpg"></a>
升级的agent_download
<a target="_blank" href="http://blog.51cto.com/attachment/201110/132609475.jpg"></a>
升级完OMS和Agent后,同时开启gc和五台虚拟机,其中一台为win7,一台gc,其他三台分别为dg主库,dg物理备库,dg逻辑备库!系统负载如下:
<a target="_blank" href="http://blog.51cto.com/attachment/201110/132911888.jpg"></a>
本文转自斩月博客51CTO博客,原文链接http://blog.51cto.com/ylw6006/678636如需转载请自行联系原作者
ylw6006