安装grid control 10.2.0.1.0及补丁的心得

我的环境:

操作系统:linux redhat 4.7

oracle 资料库: 10.2.0.1.0

 安装grid control 10.2.0.1.0的时候总是报oms配置不成功

 需要打补丁:8430622

补丁是for oracle 10.2.0.1的

(我的步骤)

安装成功的步骤大概是这样的:

1.删除 oracle grid cotrol的oms home

  删除:oms10g及agent10g的目录

  删除oraInventory目录

  删除资料库(omr)的:sysman用户 MGMT_VIEW用户及表空间:MGMT_TABLESPACE  MGMT_ECM_DEPOT_TS

2.在grid control的主机上用oracle用户,修改.bash_profile

 添加:ORACLE_BASE

            ORACLE_HOME

             PATH

这些是打补丁需要的:

如下:

[oracle@ksgc ~]$ more .bash_profile
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
 . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH
unset USERNAME

ORACLE_BASE=/home/oracle;export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/OracleHomes/oms10g;export ORACLE_HOME
PATH=$PATH:$HOME/bin:/home/oracle/OracleHomes/oms10g/OPatch:/home/oracle/OracleHomes/oms10g/bin;export PATH

保存.bash_profile

用source .bash_profile

然后退出oracle,重新登录操作系统

3. 重新运行10.2.0.1.0的grid control

./runInstaller

等所有的安装完成,出现要用root用户运行root.sh及allroot.sh时

按提示用root运行完成后,先不要点击OK按钮。

开始打补丁:

[oracle@ksgc 8430622]$ pwd
/home/oracle/backup/gc102010/8430622
[oracle@ksgc 8430622]$ opatch apply
Invoking OPatch 10.2.0.1.0

Oracle interim Patch Installer version 10.2.0.1.0
Copyright (c) 2005, Oracle Corporation.  All rights reserved..


Oracle Home       : /home/oracle/OracleHomes/oms10g
Central Inventory : /home/oracle/oraInventory
   from           : /home/oracle/OracleHomes/oms10g/oraInst.loc
OPatch version    : 10.2.0.1.0
OUI version       : 10.2.0.1.0
OUI location      : /home/oracle/OracleHomes/oms10g/oui
Log file location : /home/oracle/OracleHomes/oms10g/cfgtoollogs/opatch/opatch-2011_Aug_22_12-00-47-CST_Mon.log

ApplySession applying interim patch '8430622' to OH '/home/oracle/OracleHomes/oms10g'

OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only.

Backing up files and inventory (not for auto-rollback) for the Oracle Home
Backing up files affected by the patch '8430622' for restore. This might take a while...
Backing up files affected by the patch '8430622' for rollback. This might take a while...

Patching component oracle.sysman.top.oms, 10.2.0.1.0...
Updating jar file "/home/oracle/OracleHomes/oms10g/sysman/jlib/emagentSDK.jar" with "/sysman/jlib/emagentSDK.jar/oracle/sysman/eml/sec/util/RootCert.class"
ApplySession adding interim patch '8430622' to inventory

OPatch succeeded.

 

4.回到图形界面,点击OK按钮

这时等待一段时间后,grid control assistant就会自动完成配置了。

 

 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/119941/viewspace-705531/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/119941/viewspace-705531/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值