当前位置:网站首页>G026-db-gs-ins-03 openeuler deployment opengauss (1 active and 2 standby or multiple standby)
G026-db-gs-ins-03 openeuler deployment opengauss (1 active and 2 standby or multiple standby)
2022-07-24 15:41:00 【51CTO】
1 You need to understand
- For the specific version of the database and operating system, please refer to the blog G024-DB-GS-INS-01 OpenEuler Deploy OpenGauss( Single instance )
- Please finish ahead of time
3 platform openEulerinstall , useminimalMinimize installation , Please refer to the blog for details G015-OS-LIN-EULER-01 openEuler 21.03 Euler Linux install , The versions are different, but the installation process is the same - This article believes that you have the ability to build single instances , Otherwise, please refer to the following related articles
G024Complete single instance setup - This article adopts
1 Lord 2 To prepare( total 3 node ) As a case study ,3 To prepare 4 Standby, etc. multiple standbyWill give the correspondingXMLRelated configuration - Title with
Primary and secondary nodesword , Indicates that this step needs to be done inMaster node / To prepare 1 node / To prepare 2 node / To prepare n nodeWait for node operation - For a better browsing experience , You can click on the top left of the article
CatalogButton 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 )
- G025-DB-GS-INS-02 OpenEuler Deploy OpenGauss(1 Lord 1 To prepare )
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 1 |
| cloudcsc | 192.168.200.176 | Standby For the library 2 |
| cloudcsx | 192.168.200.xxx | Standby For the library n |
3 System environment configuration
3.1 IP And the host name
3.2 Turn off firewall ( Primary and secondary nodes )
3.3 Set the character set and other environment variables ( Primary and secondary nodes )
Add the following at the end of the environment variables file 3 Line parameters
3.4 Cancel the memory limit parameter ( Primary and secondary nodes )
3.5 Replace python edition ( Primary and secondary nodes )
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 ( Primary and secondary nodes )
4 install openGauss database
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 , This article
1 Lord 2 To prepareTake the configuration scheme as an example , meanwhile , take1 Lord 3 To prepare、1 Lord 4 To prepareConfigure to record , For reference , Centralized deployment supports up to8 To prepare
4.2.1 1 Lord 2 Standby configuration
4.2.2 1 Lord 3 Standby configuration
4.2.3 1 Lord 4 Standby configuration
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
- END
I think the article is helpful ? Please use your hands , Like to show encouragement ; The article feels bad ? Please use your hands , Comment and correction .
边栏推荐
- You are only one SQL statement away from the tdengine Developer Conference!
- yolov6训练自己的数据集
- 2022 robocom world robot developer competition - undergraduate group (provincial competition) rc-u4 strategy team (completed)
- memcache缓存应用(LNMP+memcache)
- Varnish4.0缓存代理配置
- matlab图像去雾技术GUI界面-全局平衡直方图
- 【机器学习基础】——另一个视角解释SVM
- 力扣 31.下一个排列--双指针法
- Do you understand the working principle of gyroscope?
- AttributeError: module ‘seaborn‘ has no attribute ‘histplot‘
猜你喜欢

【着色器实现Pixelate马赛克效果_Shader效果第七篇】

【量化测试】
![[SWT] scrolling container to realize commodity list style](/img/84/07e7c794aaef3fb64f173b50150b21.png)
[SWT] scrolling container to realize commodity list style

Simplified understanding: publish and subscribe

Configuring WAPI certificate security policy for Huawei wireless devices

维护香港服务器安全的9个关键措施

Kubectl_ Easy to use command line tool: Oh my Zsh_ Tips and tricks

Automatic derivation of pytorch
![[quantitative test]](/img/df/f2d8b252169213af340f3e535bddef.png)
[quantitative test]

Still using listview? Use animatedlist to make list elements move
随机推荐
IP protocol - network segment division
[Luogu] p1908 reverse sequence pair
未来数据库需要关心的硬核创新
【SWT】滚动容器实现商品列表样式
Multus of kubernetes multi network card scheme_ CNI deployment and basic use
Yolo5face: why reinvent the face detector
Getting started with OpenMP
Deploy ZABBIX monitoring system and email alarm mechanism in lamp architecture
From which dimensions can we judge the quality of code? How to have the ability to write high-quality code?
微调LayoutLM v3进行票据数据的处理和内容识别
Error reporting [project error reporting]
Nine key measures to maintain server security in Hong Kong
被攻击怎么解决?DDoS高防IP防护策略
Automatic derivation of pytorch
3、 Set foundation ArrayList set and simple student management system
AttributeError: module ‘seaborn‘ has no attribute ‘histplot‘
2022 RoboCom 世界机器人开发者大赛-本科组(省赛)---第一题 不要浪费金币 (已完结)
4279. Cartesian tree
4279. 笛卡尔树
Arduino ide esp32 firmware installation and upgrade tutorial