- 最后登录
- 2014-4-12
- 在线时间
- 15 小时
- 威望
- 0
- 金钱
- 315
- 注册时间
- 2013-3-27
- 阅读权限
- 10
- 帖子
- 11
- 精华
- 0
- 积分
- 0
- UID
- 1000
|
1#
发表于 2013-4-5 16:42:05
|
查看: 4530 |
回复: 3
本帖最后由 fangtr 于 2013-4-5 17:13 编辑
单实例使用ASM,11.2.0.1升级到11.2.0.2
按照
http://www.askmaclean.com/archives/upgrade-11-2-0-1-gi-crs-11-2-0-2-in-linux.html
此帖
安装BUNDLE Patch for Base Bug 9413827补丁包的时候出现一些问题
因为是实验环境,在
srvctl stop home -o $ORACLE_HOME -n vrh1 -s stop_db_res
部分无法执行成功的时候,就直接执行
$ srvctl stop database -d ocr
关闭database了
但是
[root@localhost ~]# /u01/app/11.2.0/grid/crs/install/rootcrs.pl -unlock
2013-04-05 15:58:40: Parsing the host name
2013-04-05 15:58:40: Checking for super user privileges
2013-04-05 15:58:40: User has super user privileges
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
CRS-4013: This command is not supported in a single-node configuration.
CRS-4000: Command Stop failed, or completed with errors.
You must kill crs processes or reboot the system to properly
cleanup the processes started by Oracle clusterware
The Oracle Clusterware stack failed to stop.
You should stop the stack with 'crsctl stop crs' and rerun the command
出现如上
又crsctl stop has
后面的补丁什么都可以顺利执行
但是最后
8.以root用户重启CRS进程
# $CRS_HOME/crs/install/rootcrs.pl -patch
====================
[root@localhost ~]# $GRID_HOME/crs/install/rootcrs.pl -patch
2013-04-05 16:38:08: Parsing the host name
2013-04-05 16:38:08: Checking for super user privileges
2013-04-05 16:38:08: User has super user privileges
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
ADVM/ACFS is not supported on oraclelinux-release-5-9.0.2
CRS-4013: This command is not supported in a single-node configuration.
CRS-4000: Command Start failed, or completed with errors.
==============================================
现在CRS已经无法启动
开始以为是CRS的启动被破坏
删除CRS的配置
# /$GRID_HOME/crs/install rootcrs.pl -deconfig -force
然后重新配置
# /$GRID_HOME/root.sh
后重启机器
[root@localhost ~]# crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.cssd ora.cssd.type ONLINE OFFLINE
ora.diskmon ora....on.type ONLINE OFFLINE
|
|