当前位置:网站首页>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
边栏推荐
- 求大神解答,这种 sql 应该怎么写?
- 2022-08-01 反思
- Personal blog system project test
- A full set of common interview questions for software testing functional testing [open thinking questions] interview summary 4-3
- 搜罗汇总的效应
- typescript33 - high-level overview of typescript
- 2022-08-01 Reflection
- Analysis of volatile principle
- Multi-Party Threshold Private Set Intersection with Sublinear Communication-2021:解读
- The failure to create a role in Dahua Westward Journey has been solved
猜你喜欢
随机推荐
AntPathMatcher使用
Rust P2P Network Application Combat-1 P2P Network Core Concepts and Ping Program
LeetCode brushing diary: 53, the largest sub-array and
AntPathMatcher uses
记一个gorm初始化的坑
MySQL优化策略
nacos启动报错,已配置数据库,单机启动
手写一个博客平台~第三天
How to adjust the cross cursor too small, CAD dream drawing calculation skills
AOF重写
LeetCode 213. Robbery II (2022.08.01)
leetcode / anagram in string - some permutation of s1 string is a substring of s2
Rasa 3 x learning series - Rasa - 4873 dispatcher Issues. Utter_message study notes
leetcode/字符串中的变位词-s1字符串的某个排列是s2的子串
【ORB_SLAM2】void Frame::AssignFeaturesToGrid()
Analysis of the status quo of digital transformation of manufacturing enterprises
oracle查询扫描全表和走索引
2022-08-01 安装mysql监控工具phhMyAdmin
Handwriting a blogging platform ~ Day 3
Can Youxuan database import wrongly be restored?








