当前位置:网站首页>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
边栏推荐
- Software testing Interface automation testing Pytest framework encapsulates requests library Encapsulates unified request and multiple base path processing Interface association encapsulation Test cas
- 乱七八糟的网站
- Rust P2P Network Application Combat-1 P2P Network Core Concepts and Ping Program
- Outsourcing worked for three years, it was abolished...
- 3.Bean的作用域与生命周期
- Win Go development kit installation configuration, GoLand configuration
- swift project, sqlcipher3 -> 4, cannot open legacy database is there a way to fix it
- typescript33 - high-level overview of typescript
- 『网易实习』周记(二)
- Redis for distributed applications in Golang
猜你喜欢

Constructor instance method of typescript36-class

【LeetCode Daily Question】——704. Binary Search

Unable to log in to the Westward Journey

The failure to create a role in Dahua Westward Journey has been solved

typescript30 - any type

volatile原理解析

MySQL8 下载、启动、配置、验证

AOF rewrite

Chengdu openGauss user group recruit!

Personal blog system project test
随机推荐
C language inserted into the characters of simple exercises
MySQL8 download, start, configure, verify
Project Background Technology Express
密码学的基础:X.690和对应的BER CER DER编码
[Server data recovery] Data recovery case of server Raid5 array mdisk disk offline
AWR analysis report questions for help: How can SQL be optimized from what aspects?
The underlying data structure of Redis
LeetCode Brushing Diary: 74. Searching 2D Matrix
oracle query scan full table and walk index
The characteristics and principle of typescript29 - enumeration type
From 2023 onwards, these regions will be able to obtain a certificate with a score lower than 45 in the soft examination.
¶Backtop 回到顶部 不生效
Safety (1)
LeetCode刷题日记:53、最大子数组和
Can Youxuan database import wrongly be restored?
待读书单列表
Golang分布式应用之Redis
Centos7 安装postgresql并开启远程访问
十字光标太小怎么调节、CAD梦想画图算量技巧
【ORB_SLAM2】void Frame::AssignFeaturesToGrid()