当前位置:网站首页>openGauss切换后state状态显示不对
openGauss切换后state状态显示不对
2022-08-02 02:08:00 【Luffy】
一主一备
版本:openGauss 3
切换前:

切换:
备机上执行:
[[email protected] ~]$ gs_ctl switchover -D /my/openGauss/data/dn/
[[email protected] ~]$ gs_om -t refreshconf
切换后查看状态,显示不对

执行gs_checkperf命令也报错ERROR: cannot execute DROP SCHEMA in a read-only transaction

其他答案1:

这个显示正常,执行命令报错只不过是当前数据库处于只读状态,应该是你的磁盘空间达到阈值了,看一下这个
其他答案2:
gs_checkperf
背景信息
openGauss提供了gs_checkperf工具来帮助对openGauss级别(主机CPU占用率、Gauss CPU占用率、I/O使用情况等)、节点级别(CPU使用情况、内存使用情况、I/O使用情况)、会话/进程级别(CPU使用情况、内存使用情况、I/O使用情况)、SSD性能(写入、读取性能)进行定期检查,让用户了解openGauss的负载情况,采取对应的改进措施。
前提条件
openGauss运行状态正常且不为只读模式。
运行在数据库之上的业务运行正常。
其他答案3:
有没有重启集群试试?
其他答案4:
主备切换就那么几个命令,不应该出这问题啊,主备切换时的日志看看有问题么
其他答案5:
/etc/hosts里面配置的没问题吧
边栏推荐
- Some insights from 5 years of automated testing experience: UI automation must overcome these 10 pits
- Record the pits where an error occurs when an array is converted to a collection, and try to use an array of packaging types for conversion
- LeetCode刷题日记:53、最大子数组和
- typescript31-any类型
- PHP直播源码实现简单弹幕效果的相关代码
- Analysis of volatile principle
- bool框架::PosInGrid (const简历:关键点kp, int &posX, int诗句)
- typescript37-class的构造函数实例方法继承(extends)
- Entry name ‘org/apache/commons/codec/language/bm/gen_approx_greeklatin.txt’ collided
- 搜罗汇总的效应
猜你喜欢

软件测试 接口自动化测试 pytest框架封装 requests库 封装统一请求和多个基础路径处理 接口关联封装 测试用例写在yaml文件中 数据热加载(动态参数) 断言

typescript33 - high-level overview of typescript

秒懂大模型 | 3步搞定AI写摘要
![[ORB_SLAM2] void Frame::ComputeImageBounds(const cv::Mat & imLeft)](/img/ed/ffced88c9d23c20ccf380494051381.jpg)
[ORB_SLAM2] void Frame::ComputeImageBounds(const cv::Mat & imLeft)

【LeetCode每日一题】——704.二分查找

Local storage in Kubernetes

Constructor instance method of typescript36-class

After graduating from three books, I was rejected by Tencent 14 times, and finally successfully joined Alibaba

AOF rewrite

制造企业数字化转型现状分析
随机推荐
Hiring a WordPress Developer: 4 Practical Ways
YGG Guild Development Plan Season 1 Summary
AntPathMatcher使用
Byte taught me a hard lesson: When a crisis comes, you don't even have time to prepare...
手写一个博客平台~第一天
CodeTon Round 2 D. Magical Array 规律
Day116.尚医通:预约挂号详情 ※
垃圾回收器CMS和G1
『网易实习』周记(一)
Handwritten Blog Platform ~ Day Two
Chengdu openGauss user group recruit!
MySQL——增删查改操作
Data transfer at the data link layer
"Introduction to Natural Language Processing Practice" Question Answering Robot Based on Knowledge Graph
typescript34-class的基本使用
Constructor instance method inheritance of typescript38-class (implement)
oracle query scan full table and walk index
PHP uses PHPRedis and Predis
Constructor instance method of typescript36-class
第一次写对牛客的编程面试题:输入一个字符串,返回该字符串出现最多的字母