Postgres自动故障转移Manatee.zip

时间:2022-08-06 22:33:26
【文件属性】:

文件名称:Postgres自动故障转移Manatee.zip

文件大小:274KB

文件格式:ZIP

更新时间:2022-08-06 22:33:26

开源项目

Manatee 是一个基于ZooKeeper的系统能够管理Postgres的备份和自动故障转移,Manatee和Moray共同提供高可用的键值服务。 客户端代码: var manatee = require('node-manatee'); var client = manatee.createClient({    "path": "/manatee/1",    "zk": {        "connectTimeout": 2000,        "servers": [{            "host": "172.27.10.97",            "port": 2181        }, {            "host": "172.27.10.90",            "port": 2181        }, {            "host": "172.27.10.101",            "port": 2181        }],        "timeout": 20000    } }); client.once('ready', function () {     console.log('manatee client ready'); }); client.on('topology', function (urls) {     console.log({urls: urls}, 'topology changed'); }); client.on('error', function (err) {     console.error({err: err}, 'got client error'); }); 标签:Manatee


【文件预览】:
manatee-master
----Makefile.defs(2KB)
----Makefile.smf.targ(873B)
----Makefile.postgres(4KB)
----.gitmodules(423B)
----Makefile.smf.defs(1KB)
----smf()
--------snapshotter.xml(2KB)
--------sitter.xml(2KB)
--------backupserver.xml(2KB)
----lib()
--------zfsClient.js(28KB)
--------shard.js(3KB)
--------backupQueue.js(3KB)
--------backupSender.js(10KB)
--------zookeeperMgr.js(19KB)
--------adm.js(85KB)
--------snapShotter.js(21KB)
--------common.js(13KB)
--------backupServer.js(4KB)
--------postgresMgr.js(77KB)
--------statusServer.js(3KB)
--------confParser.js(2KB)
----backupserver.js(3KB)
----etc()
--------postgresql.conf(20KB)
--------recovery.conf(5KB)
--------pg_hba.conf(5KB)
--------backupserver.json(401B)
--------sitter.json(3KB)
--------snapshotter.json(257B)
----deps()
--------json()
--------jsdoc3()
--------javascriptlint()
--------jsstyle()
--------zookeeper()
----LICENSE(16KB)
----tools()
--------bashstyle(2KB)
--------jsstyle.conf(342B)
--------catest_init.sh(471B)
--------jsl.node.conf(7KB)
--------mksitterconfig(6KB)
--------mkdevsitters(5KB)
--------service_bundle.dtd.1(26KB)
--------catest(9KB)
--------jsl.web.conf(7KB)
----test()
--------zookeeperMgr.test.js(23KB)
--------tst.manateeAdm.js(18KB)
--------integ.test.js(172KB)
--------etc()
--------postgresMgrRepl.js(3KB)
--------tst.manateeAdmUsage.js(20KB)
--------integ-test.sh(514B)
--------testManatee.js(15KB)
--------tst.manateeAdm.js.out(48KB)
--------confParser.test.js(3KB)
----README.md(3KB)
----Makefile(2KB)
----Makefile.targ(9KB)
----man()
--------man1()
----docs()
--------trouble-shooting.md(18KB)
--------migrate-1-to-2.md(17KB)
--------test-plan.md(5KB)
--------resharding.md(14KB)
--------xlog-diverge.md(10KB)
--------working-on-manatee.md(12KB)
--------man()
--------user-guide.md(15KB)
----Makefile.deps(1KB)
----.gitignore(175B)
----bin()
--------zkConnTest.js(2KB)
--------manatee-adm(41KB)
----sitter.js(4KB)
----snapshotter.js(3KB)
----package.json(2KB)

网友评论