17 Eylül 2015 Perşembe

Crfclust.bdb IS TOO BIG



Problem:
------------

Crfclust.bdb file is growing.

We have ODA machine which is RAC with two nodes.

Everyday we have got /u01 disk space alert.We cleaned trace files,cdmp,incdir vs.But disk space a bit free.

One day I found crfclust.bdb file which size is 32G in $GRID_HOME

This file used to Cluster Health Monitor.But there is a problem with its size.

This is a bug which related to ODA RAC system.

[NECO1]/u01/app/11.2.0.4/grid/crf/db/neco1 $ du -sh crfclust.bdb
32G     crfclust.bdb



Solution:
----------

[grid@neco1 ~]$ oclumon manage -get repsize

CHM Repository Size = 204737600

 Done

 This size is repositery retention.Our retention is 6,58 year.This is incredible:))

 This size should be between 3600 (1 hour) and 259200 (3 days).

------------------------------------------------------------------------------------
[grid@neco2 ~]$ oclumon manage -repos resize 259200
neco1 --> retention check successful
neco2 --> retention check successful
New retention is 259200 and will use 4524595200 bytes of disk space
CRS-9115-Cluster Health Monitor repository size change completed on all nodes.

 Done
------------------------------------------------------------------------------------

4524595200 bytes means 4GB.
------------------------------------------------------------------------------------

Then check the size;



[grid@neco2 ~]$ oclumon manage -get repsize

CHM Repository Size = 259200

 Done
--------------------------------------------------------------------------------------------------------------------------
If you get error like below while running 'oclumon manage -get repsize',you should stop and start ora.crf via 'crsctl stop res ora.crf -init'

CRS-9011-Error manage: Failed to initialize connection to the Cluster Logger Service
--------------------------------------------------------------------------------------------------------------------------


In my case I didn't need to bounce the ora.crf.


It is very nice size:))

[root@neco1 neco1]# du -sh crfclust.bdb
2.2M    crfclust.bdb



Reference note:
-------------------
ODA Nodes Lacking Space Due to Large Cluster Health Monitor File Crfclust.Bdb (Doc ID 1616910.1)