Oracle RAC 10.2.0.5升级到11.2.0.4遇到的问题(3)

......
/opt/grid/oui/bin/runConfig.sh ORACLE_HOME=/opt/grid MODE=perform ACTION=configure RERUN=false $*
------
...
The plug-in Automatic Storage Management Configuration Assistant is running

The plug-in Automatic Storage Management Configuration Assistant has failed its perform method
......

手动执行asmca -silent -upgradeASM -asmsnmpPassword oracle123升级ASM会收到相同的报错。

该问题是个bug,参考如下的文章即可解决:

1. Rerun the command as:

/opt/grid/bin/asmca -silent -postConfigureASM -oui_internal -sysAsmPassword -asmMonitorPassword

Replace above asmadmin passwd and asmdba passwd with the real password.

2. Check resource status:
crsctl stat res -t

It should show all resources (except gsd and oc4j) are ONLINE now. gsd and oc4j OFFLINE is intended status for 11.2.0.1.

Another workaround as per BUG 16749410 - RUNCONFIG.SH FAILS WHEN UPGRADING ASM FROM 11.1 TO 11.2:

1. Create a response file for configToolAllCommands named cfgrsp.properties, for example <GRID_HOME>/cfgtoollogs/cfgrsp.properties. This file must be populated with 2 entries
 "oracle.assistants.asm|S_ASMPASSWORD"
 "oracle.assistants.asm|S_ASMMONITORPASSWORD"

The value for S_ASMPASSWORD MUST be left blank, S_ASMMONITORPASSWORD will be set to the desired ASM Monitor Password.  The file should look as follows (assuming the ASMMONITORPASSWORD will be set to oracle):

 oracle.assistants.asm|S_ASMPASSWORD=
 oracle.assistants.asm|S_ASMMONITORPASSWORD=oracle

 
2.  Once the response file is created, execute configToolAllCommands as follows:

 <GRID_HOME>/cfgtoollogs/configToolAllCommands RESPONSE_FILE=<GRID_HOME>/cfgtoollogs/cfgrsp.properties


该问题参考文章《11gR2 Rerun command in configToolFailedCommands Failed (文档 ID 1191814.1)》

完成整个升级过程后ASM实例的资源并不存在,asmca无法正常工作,需要以GI所有者操作系统用户执行下面的命令手动添加ASM实例:
./srvctl add asm -l LISTENER -p /u01/app/11.2.0/grid/dbs/spfile+ASM.ora -d '/dev/rhdisk*'

至此,ASMCA也可以正常工作了。

--end--

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/5b437ec837ef5a09e581d28e99e07f5f.html