当前位置:网站首页>金仓数据库的单节点如何转集群
金仓数据库的单节点如何转集群
2022-07-20 01:24:00 【wwang】
单机如何转化成集群
其他答案1:
1 目前金仓数据库最新版安装包形态是单机按照和集群安装使用同一个安装包。
2 linux 环境下单机变集群,准备另一台机器作为集群备机,在申请一个ip为vip 。
3 关闭当前单机库。
4 调研单机库安装目录下的集群部署工具Deloytool进行集群搭建。向导式安装。
5 关闭集群。
6 替换主机data目录,使用之前单机库的data目录。
7 将主机重新注册到集群中,repmgr primary register
8 备机使用repmgr命令重新克隆主机,再注册到集群中。
详细命令可以查阅官方文档。
方案二 1 备份原主机数据。
2 linux 环境下单机变集群,准备另一台机器作为集群备机,在申请一个ip为vip 。
3 关闭当前单机库。
4 调研单机库安装目录下的集群部署工具Deloytool进行集群搭建。向导式安装。
5 将备份数据还原到新集群中。
边栏推荐
- CCTV news "Beijing opens accommodation quota invoice by hand" news channel_ People's network
- Leetcode- number of occurrences of numbers in the array (single dog problem)
- Hashtable
- Qt:Could not find qmake spec ‘default’. Error while parsing file xxx. pro. Giving up
- 合规视角下的数据安全技术前沿与应用
- 国产API工具哪家强?原来是它…
- Solution to remote access failure of docker installation MySQL in virtual machine
- AVL tree
- 在线沙箱集合
- Online sandbox collection
猜你喜欢
【JVM 系列】JVM 对象的分配策略
LeetCode_90_子集Ⅱ
零信任和SASE有什么不一样?答案其实并不重要
[2022 national games simulation] similar sequence problem - DFA (DP set DP)
机械制造企业,如何借助ERP系统解决仓库管理难题?
容易被忽视的五个安全环节,比想象中的更危险!
Unity shader shader learning (2)
Summary of SQL skills in data warehouse development
Implement metersphere signature signature through shell
网络流,二分图与图的匹配
随机推荐
[2022 national games simulation] similar sequence problem - DFA (DP set DP)
“OSError: [WinError 126] 找不到指定的模块”
ORA-39194: Table mode jobs require the tables to be comma separated.
Overview of global event bus
Web APIs DOM event delegation + comprehensive case
软件测试如何快速入门
程序环境和预处理详解
What is the difference between zero trust and SASE? The answer is not really important
【Pygame小游戏】魂斗罗经典BOSS都回来了 准备好再次击败他们了吗?(附源码)
Unity Shader着色器学习(一)
盘点优秀tkinter开源贡献者【pypi】
STM32移植LVGL8.2
org.xml.sax.SAXParseException无法读取方案文档
实习打怪之路:npm和yarn的区别
Discussion on the new trend of network security technology
Which domestic API tool is better? It turned out to be it
QT web development - Notes - 2
redisconnectionfactory could not autowired
Check excellent Tkinter open source contributors [pypi]
【概率和计数】