当前位置:网站首页>G025-db-gs-ins-02 openeuler deployment opengauss (1 active and 1 standby)
G025-db-gs-ins-02 openeuler deployment opengauss (1 active and 1 standby)
2022-07-25 01:13:00 【51CTO】
1 You need to understand
- For the specific version of the database and operating system, please refer to the blog G024 Single instance
- Please finish ahead of time 2 platform openEuler install , use
minimalMinimize installation , Please refer to the blog for details G015 Euler Linux install - This article believes that you have the ability to build single instances , Otherwise, please refer to the following related articles
G024Complete single instance setup - Title with
Primary and secondary nodesword , It means that this step should be operated on both the primary node and the standby node - For a better browsing experience , You can click the directory button at the top left of the article to display the overall directory structure of the article
- Related articles
- G015-OS-LIN-EULER-01 openEuler 21.03 Euler Linux install
- G024-DB-GS-INS-01 OpenEuler Deploy OpenGauss( Single instance )
2 Environmental planning
| Host name | IP Address | role |
|---|---|---|
| cloudcsp | 192.168.200.174 | Primary Main library |
| cloudcss | 192.168.200.175 | Standby For the library |
3 System environment configuration ( Primary and secondary nodes )
3.1 IP And the host name
3.2 Turn off firewall
3.3 Set the character set and other environment variables
3.4 Cancel the memory limit parameter
3.5 Replace python edition
The installation process will configure openGauss Users trust each other ,openEuler Need to use python 3.7.x Version command , But the default version is 2.7.x , So it needs to be replaced .
3.6 Install related packages
4 install openGauss database ( Primary node only )
4.1 Upload and unzip the software
4.2 establish XML file
Before installation, you need to create XML file , Contains the cluster name 、 Server name 、 The installation path 、IP And port number, etc , Used to inform openGauss How to install , The following is the configuration scheme of one active and one standby .
4.3 Configure users and groups and mutual trust
4.4 Create database
set up script gs_install Must be omm perform , Otherwise, an error will be reported when executing the script .
4.5 View the cluster status
4.6 Initialize database
5 Active and standby verification
5.1 The main library creates test tables
5.2 The standby database enables read-only verification
5.2.1 Stop the active and standby clusters
5.2.2 Modify the configuration file
5.2.3 Start the active and standby clusters
5.2.4 Log in to the standby database to verify the data
5.3 Active standby switching (switchover)
Make sure openGauss Normal state , After all business is over , Then switch .
5.3.1 View active and standby status
5.3.2 The standby node performs switching
- END
边栏推荐
- Educational codeforces round 89 (rated for Div. 2) ABC problem solution
- [29. DFS depth is preferred]
- How to empty localstorage before closing a page
- Amd epyc 9654 Genoa CPU cache test exposure L1 bandwidth up to 30tb/s
- Cloud native observability tracking technology in the eyes of Baidu engineers
- Divide 300000 bonus! Deeperec CTR model performance optimization Tianchi challenge is coming
- 进程的几种状态
- MySQL series | log module
- C # "learning code snippet" - recursively obtain all files under the folder
- Implementing DDD based on ABP -- domain logic and application logic
猜你喜欢

This visual is not connected to the presentationsource.

What is the root password of MySQL initial installation

Director of Shanghai Bureau of culture and Tourism: safety is the lifeline of culture and tourism, and we are seizing the new track of yuancosmos

Tiktok iqiyi announced cooperation, long and short video handshake and reconciliation?

Windows security hardening -- close unnecessary ports

WPF implements RichTextBox keyword query highlighting

MySQL Basics (concepts, common instructions)

Introduction to thread pool

What are the functions of rank function

Document the use of anti shake in packaged components and projects
随机推荐
Example analysis of enum data type in MySQL
如何创建索引
Esp32 OLED lvgl displays common Chinese characters
Construction of Seata multilingual system
360 interview summary 2013 campus recruitment 2012-4-4
C # "learning code snippet" - recursively obtain all files under the folder
[C + + primer notes] Chapter 6 functions
Redis 事务学习有感
The leftmost prefix principle of MySQL
进程的几种状态
Worthington carboxyl transfer carbonic anhydrase application and literature reference
Director of Shanghai Bureau of culture and Tourism: safety is the lifeline of culture and tourism, and we are seizing the new track of yuancosmos
WhatsApp web for usability testing of software testing technology
Prosci anti-CD22 antibody epratuzum28 flow cytometry display
7.19 - daily question - 408
Summary of MATLAB basic grammar
How to implement a state machine?
Unity slider slider development
Unity panel control
What are the functions of rank function