再次感谢刘大的回复,关于这个问题也开了SR,给我的回复是:
After run root.sh, the related directory will be changed to 755 and root permission, this is expect behavior.
So before apply PSU, if you apply PSU as manual way, then please as the root user execute the following command to change the permission:
<GI_HOME>/crs/install/rootcrs.pl -unlock
after apply the PSU, please as the root user execute, which will change the permission back.
<GI_HOME>/crs/install/rootcrs.pl -patch
So if you apply PSU as auto way, then above steps will be run automaticly.
另外一个关于为什么unlock的时间很长没有反应,SR回复是:
"rootcrs.pl -unlock" or "roothas.pl -unlock" will go through all files in $GRID_HOME/rdbms/audit and change ownership and permission individually, if the list of files is huge, it will take long time which appears like it's hanging.
To workaround the issue, either wait till the script changes all files in audit location, or backup and move the audit files to a backup location outside GRID_HOME.
audit file location is $GRID_HOME/rdbms/audit.
后来也做了几次对比
在RHEL 5.5上测试GI upgrade from 11.2.0.2.0 to 11.2.0.2.5 automaticly 持续时间20分钟左右。
在HP-UX 11iV3上测试GI upgrade from 11.2.0.2.0 to 11.2.0.2.5 automaticly持续时间25~30分钟左右。
在AIX 6上测试GI upgrade from 11.2.0.2.0 to 11.2.0.2.5 automaticly持续时间超过30分钟没有完成。(根据Oracle Support的解释是需要等待,但是具体要多少时间,现在还没测试)
有点不太理解,为什么GI同一个版本,在HP和RHEL server上automaticly升级可以正常unlock,而在AIX上却会有这样的问题。
在升级的过程中有注意到日志中有这样一条:
If this is AIX, please perform solution documented in Note 739963.1 on https://myoraclesupport.oracle.com. 这是不是就是导致GI打PSU时,在AIX上unlock不成功的原因呢?? |