随笔分类 -  PostgreSQL

修复gitlab服务器突然停电导致PostgreSQL损坏的数据库
摘要:最开始是存储的卷组受损,使用的DRBD,使用了xfs分区格式: 挂载也报错: mount /dev/drbd0 /var/opt mount: wrong fs type, bad option, bad superblock on /dev/drbd0,missing codepage or he 阅读全文

posted @ 2019-07-26 12:18 林肯公园 阅读(3240) 评论(0) 推荐(0) 编辑

PostgreSQL 9.6 keepalived主从部署
摘要:## 环境: PostgreSQL版:9.6 角色 OS IPmaster CentOS7 10.100.12.73 slave CentOS7 10.100.12.74 vIP 10.100.12.63 ## 主从安装postgresql postgresql官网安装文档:https://www. 阅读全文

posted @ 2018-01-24 09:22 林肯公园 阅读(1543) 评论(0) 推荐(0) 编辑

postgresql双机热备、高可用方案(采用pacemaker+corosync实现)
摘要:http://blog.csdn.net/qguanri/article/details/51151974 需求描述 我们有两台centos7的数据库主机A、B。要对A、B实现双机热备,A作为数据库master主机,对外提供读写服务,B作为slave主机能实时同步A的数据。当A发生故障时,B从sla 阅读全文

posted @ 2017-11-02 17:22 林肯公园 阅读(10551) 评论(0) 推荐(0) 编辑

Pacemaker+Corosync搭建PostgreSQL集群
摘要:https://my.oschina.net/aven92/blog/518928 · PostgreSQL中国社区: http://postgres.cn/index.php/home · PostgreSQL专业1群: 3336901(已满) · PostgreSQL专业2群: 10091038 阅读全文

posted @ 2017-09-14 13:58 林肯公园 阅读(1874) 评论(0) 推荐(1) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示