当前位置:网站首页>The state status is displayed incorrectly after the openGauss switch
The state status is displayed incorrectly after the openGauss switch
2022-08-02 02:14:00 【Luffy】
One master and one backup
Version: openGauss 3
Before switching:
Toggle:
Execute on the standby machine:
[[email protected] ~]$ gs_ctl switchover -D /my/openGauss/data/dn/
[[email protected] ~]$ gs_om -t refreshconf
Check the status after switching, the display is wrong
Executing the gs_checkperf command also reports an errorERROR: cannot execute DROP SCHEMA in a read-only transaction
Other Answer 1:
This display is normal, the execution of the command reports an error, but the current database is in a read-only state, it should be that your disk space has reached the threshold, take a look at this
Other Answer 2:
gs_checkperf
Background Information
openGauss provides the gs_checkperf tool to help check the openGauss level (host CPU usage, Gauss CPU usage, I/O usage, etc.), node level (CPU usage, memory usage, I/O usage),Periodically check the session/process level (CPU usage, memory usage, I/O usage), and SSD performance (write and read performance), so that users can understand the load of openGauss and take corresponding improvement measures.
Prerequisites
openGauss is running normally and not in read-only mode.
Businesses running on top of the database are running normally.
Other Answer 3:
Have you tried restarting the cluster?
Other Answer 4:
There are only a few commands for the active-standby switch. This problem should not occur. Check the log during the active-standby switchover. Is there any problem
Other Answer 5:
There is no problem with the configuration in /etc/hosts
边栏推荐
- AI目标分割能力,无需绿幕即可实现快速视频抠图
- MySQL - CRUD operations
- swift项目,sqlcipher3 -> 4,无法打开旧版数据库有办法解决吗
- 数据链路层的数据传输
- 检查IP或端口是否被封
- Speed up your programs with bitwise operations
- Chengdu openGauss user group recruit!
- Redis for distributed applications in Golang
- Constructor instance method of typescript36-class
- Fly propeller power space future PIE - Engine Engine build earth science
猜你喜欢
『网易实习』周记(三)
A full set of common interview questions for software testing functional testing [open thinking questions] interview summary 4-3
LeetCode brush diary: LCP 03. Machine's adventure
Scheduled tasks for distributed applications in Golang
How to adjust the cross cursor too small, CAD dream drawing calculation skills
2022-07-30 mysql8 executes slow SQL-Q17 analysis
【LeetCode每日一题】——103.二叉树的锯齿形层序遍历
【LeetCode Daily Question】——704. Binary Search
Use baidu EasyDL implement factory workers smoking behavior recognition
软件测试功能测试全套常见面试题【开放性思维题】面试总结4-3
随机推荐
LeetCode刷题日记:34、 在排序数组中查找元素的第一个和最后一个位置
Check if IP or port is blocked
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刷题日记:LCP 03.机器人大冒险
Constructor instance method inheritance of typescript38-class (implement)
MySQL - CRUD operations
Redis 订阅与 Redis Stream
LeetCode Review Diary: 153. Find the Minimum Value in a Rotated Sort Array
数据链路层的数据传输
雇用WordPress开发人员:4个实用的方法
Handwriting a blogging platform ~ Day 3
Constructor instance method inheritance of typescript37-class (extends)
十字光标太小怎么调节、CAD梦想画图算量技巧
MySQL8 下载、启动、配置、验证
Power button 1374. Generate each character string is an odd number
Entry name 'org/apache/commons/codec/language/bm/gen_approx_greeklatin.txt' collided
2022 Henan Youth Training League Game (3)
BI-SQL丨WHILE
The ultra-large-scale industrial practical semantic segmentation dataset PSSL and pre-training model are open source!
记一次gorm事务及调试解决mysql死锁