解决办法是停止老版本的asm实例,启动11g的ASM实例: [root@rac01 bin]# ./crsctl stop res ora.rac01.ASM1.asm CRS-2673: Attempting to stop "ora.rac01.ASM1.asm" on "rac01" CRS-2677: Stop of "ora.rac01.ASM1.asm" on "rac01" succeeded
[root@rac01 bin]# ./crsctl stop res ora.rac02.ASM2.asm CRS-2673: Attempting to stop "ora.rac02.ASM2.asm" on "rac02" CRS-2677: Stop of "ora.rac02.ASM2.asm" on "rac02" succeeded
[root@rac01 bin]# ./crsctl start res ora.asm –init <<<< 需要在RAC所有节点执行启动ASM操作。 CRS-2672: Attempting to start "ora.drivers.acfs" on "rac01" CRS-2676: Start of "ora.drivers.acfs" on "rac01" succeeded CRS-2672: Attempting to start "ora.asm" on "rac01" CRS-2676: Start of "ora.asm" on "rac01" succeeded 该问题可以参考文章:《ASM Upgrade from 10.2.0.5 to 11.2.0.3 Fails : INS-20802, ORA-1034 (文档 ID 1534279.1)》
该问题是个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)》