故障测试

MongoDB副本集故障测试和解决方案

不想你离开。 提交于 2019-12-07 08:52:01
一、环境 $ cat /etc/redhat-release CentOS Linux release 7.0.1406 (Core) $ uname -a Linux zhaopin-2-201 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux $ mongo MongoDB shell version: 3.0.6 connecting to: test rs0:PRIMARY> rs.status(); { "set" : "rs0", "date" : ISODate("2015-09-28T07:00:05.507Z"), "myState" : 1, "members" : [ { "_id" : 0, "name" : "172.30.2.201:27017", "health" : 1, "state" : 1, "stateStr" : "PRIMARY", "uptime" : 83, "optime" : Timestamp(1443423600, 1), "optimeDate" : ISODate("2015-09-28T07:00:00Z"), "electionTime" : Timestamp(1443423535, 2),

Pacemaker+Corosync+PostgreSQL集群故障测试和解决方案

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-06 16:24:59
· 2015年度PG大象会报名地址 : http://postgres2015.eventdove.com/ · PostgreSQL中国社区 : http://postgres.cn/index.php/home · PostgreSQL专业1群: 3336901(已满) · PostgreSQL专业2群: 100910388 · PostgreSQL专业3群: 150657323 · PostgresChina 微信公众号 PostgreSQL 用户会微博二维码 一、环境 $ cat /etc/redhat-release CentOS Linux release 7.0.1406 (Core) $ uname -a Linux zhaopin-5-90 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux $ sudo pcs status Cluster name: pgcluster WARNING: corosync and pacemaker node names do not match (IPs used in setup?) Last updated: Tue Oct 20 11:02:08 2015Last change: Tue Oct