集群重启,不能正常启动,启动日志如下:
2024-04-12 00:16:40.557:
[/u01/app/11.2.0/grid/bin/orarootagent.bin(15290)]CRS-5818:Aborted command 'check' for resource 'ora.crf'. Details at (:CRSAGF00113:) {0:0:2} in /u01/app/11.2.0/grid/log/sundb02/agent/ohasd/orarootagent_root//orarootagent_root.log.
2024-04-12 03:14:27.662:
[crflogd(16702)]CRS-9520:The storage of Grid Infrastructure Management Repository is 97% full. The storage location is '/u01/app/11.2.0/grid/crf/db/sundb02'.
2024-04-12 07:28:33.342:
[crflogd(16106)]CRS-9520:The storage of Grid Infrastructure Management Repository is 97% full. The storage location is '/u01/app/11.2.0/grid/crf/db/sundb02'.
按mos上有清理方式:
crsctl stop res ora.crf -init
cd /u01/app/11.2.0/grid/crf/db/sundb02
rm *.bdb
crsctl start res ora.crf -init
此操做除了丢失 CHM 收集的操作系统统计信息外,删除 bdb 文件不会产生其他影响,重新启动后,会重新生成bdb文件,CHM 将再次开始收集操作系统统计信息。
bdb 文件较大的一个原因是保留期很长,可以修改保留期:
su - grid
cd $ORACLE_HOME/bin
./oclumon manage -repos resize 259200
这是保留CHM数据三天,259200单位是秒。
bdb 文件非常大,甚至超过 2GB的另一个原因是由于bug造成,因为默认情况下bdb大小限制在1GB,除非CHM数据保留期修改变大了。