重新分配和增加Repository数据保留时间
参考文档:How to Relocate Cluster Health Monitor (CHM) Repository and Increase Retention Time (Doc ID 2062234.1)
GIMR(The Grid Infrastructure Management Repository )是一个带PDB的多租户数据库,它存储着ORACLE集群中以下信息:
(1)CHM的实时性能数据
(2)CHA的错误、诊断、度量数据
(3)集群资源的事件信息
(4)CPU architecture data for Quality of Service Management (QoS)
一、怎么去重新分配和增加Repository数据保留时间
In 12c, the repository of CHM is GIMR which is a database. To change the retention time:
1. 检查repository保存多长时间CHM/CHA等数据:
[root@BSRAC2 ~]# /u01/app/12.2.0/grid/bin/oclumon manage -get repsize
CHM Repository Size = 136320 seconds
2. 检查到期望的时间内需要多少空间:
[root@BSRAC2 ~]# /u01/app/12.2.0/grid/bin/oclumon manage -repos checkretentiontime 136320
The Cluster Health Monitor repository can support the desired retention for 2 hosts
root@BSRAC2 ~]# /u01/app/12.2.0/grid/bin/oclumon manage -repos checkretentiontime 259200
The Cluster Health Monitor repository is too small for the desired retention. Please first resize the repository to 3896 MB
3. 改变repository大小:
$ <GRID_HOME>/bin/oclumon manage -repos changerepossize 3896