GaussDB(DWS)租户面告警分析流程
1.实例节点上查看haagent日志:auto-default--7Iv_V-dws-cn-cn-2-1
2.monitor上查看日志:
查看使用的是哪个monitor pod
select * from cluster_info t where t.cluster_orig_identity = '1eae429b-895a-4243-be35-9b3b1d079d6f';
select * from cluster_monitor t where t.cluster_id = 'cf799461-56b5-4971-941e-f7facb672dbf';
select * from monitor_info t where t.id = '3f9f3738-b49b-4959-9ea7-51a222f4c2f9';
select * from instance_monitor t where t.cluster_id = 'cf799461-56b5-4971-941e-f7facb672dbf';
日志路径:Cd /opt/cloud/monitor/logs
grep 集群id hamonitor-ecf.log |grep AbnormalCMSProcess 即,grep 1eae429b-895a-4243-be35-9b3b1d079d6f hamonitor-ecf.log |grep AbnormalCMSProcess
3.Event上查看日志:
日志路径:/opt/cloud/dbsevent/logs
grep "eventName:systemAlarm, sourceId:clusterId" eventserver-ecf.log 即:grep "eventName:systemAlarm, sourceId:1eae429b-895a-4243-be35-9b3b1d079d6f" eventserver-ecf.log
grep 告警标识 eventserver-ecf.log,即,grep 1078919227 eventserver-ecf.log
根据以上查看到的,再进入详情event查看日志:
4.告警平台:
想了解GuassDB(DWS)更多信息,欢迎微信搜索“GaussDB DWS”关注微信公众号,和您分享最新最全的PB级数仓黑科技,后台还可获取众多学习资料哦~
- 点赞
- 收藏
- 关注作者
评论(0)