暂无图片
暂无图片
暂无图片
暂无图片
暂无图片
repmgr 5.1.0 Documentation Google 翻译版
717
109页
1次
2020-12-01
100墨值下载
1
repmgr 5.1.0 Documentation
本文翻译网站https://repmgr.org/docs/5.1/index.html
2ndQuadrant Ltd
Copyright © 2010-2020 2ndQuadrant, Ltd.
Legal Notice
Abstract
This is the official documentation of repmgr 5.1.0 for use with PostgreSQL 9.3 - PostgreSQL
12.
repmgr is being continually developed and we strongly recommend using the latest version.
Please check the repmgr website for details about the current repmgr version as well as
the current repmgr documentation.
repmgr is developed by 2ndQuadrant along with contributions from other individuals and
organisations. Contributions from the community are appreciated and welcome - get in touch
via github or the mailing list/forum. Multiple 2ndQuadrant customers contribute funding to
make repmgr development possible.
repmgr is fully supported by 2ndQuadrant's 24/7 Production Support. 2ndQuadrant, a Major
Sponsor of the PostgreSQL project, continues to develop and maintain repmgr. Other
organisations as well as individual developers are welcome to participate in the efforts.
2
Part I. Getting started 入
Chapter 1. repmgr overview 概
本章概述了 repmgr 的组件和功能。
1.1. Concepts 概念
PostgreSQL
PostgreSQL 文档 streaming replication 部分。
repmgr 文档中使用以下术语。
replication cluster
repmgr 文档中,"replication cluster"是指通过流复制连接的 PostgreSQL 服务器
网络。
node
node replication cluster 中的单个 PostgreSQL 服务器。
upstream node(上游节点)
备用服务器连接到的节点,以接收流复制。这是主服务器,或者在级联复制的情况下,
是另一个备用服务器。
failover(故障转移)
如果服务生故并且的备服务提升新的务器则会生此
作。该 repmgrd 守护进程支持自动切换到最小化停机时间。
switchover(切换)
在某些情况下,例如硬件或操作系统维护有必要使主服务器脱机;这种情况下,
必要进行受控的切换,从而促进合适的备用数据库并以受控的方式从复制群集中删除现有的
主数据库。repmgr 命令行客户端提供了此功能。
fencing(隔离)
在故障转移情况下,升级新的备用数据库后,至关重要的是,先前的主数据库不要意外
地恢复联机,会导致脑裂的情况。为了防止这种情况,应该将发生故障的主数据库与应用
程序隔离开,即"fenced off"。
witness server(见证服务器)
repmgr 提供了设置谓的"witness server"的功能,协助在故转移情下确定具
有多个备用服务器的新主服务器。见证服务器本身不是复制群集的一部分,尽管它确实包含
repmgr 元数据架构的副本
见证服务器的目的是提供"casting vote(强制投票)",将复制群集中的服务器拆分到
多个位置。如果位置之间的连接丢失,则见证服务器的存在与否将决定该位置的服务器是否
升级为主服务器。这是为了防止出现"split-brain(裂脑)"的情况,在这种情况下,隔离
的位置会将网络中断解释为(远程)主节点的故障并升级为(本地)备用节点。
仅当使用 repmgrd 时,才需要创建见证服务器。
1.2. Components 组件
of 109
100墨值下载
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文档的来源(墨天轮),文档链接,文档作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论

关注
最新上传
暂无内容,敬请期待...
下载排行榜
Top250 周榜 月榜