重新分配和增加Repository数据保留时间

重新分配和增加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 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值