1 Star 4 Fork 1

zettadb / cluster_mgr

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0

Introduction

The cluster manager process maintains correct working status for storage shards and meta data shard of one or more Kunlun DDCs. You can build this software from source or download it from www.zettadb.com.

Building from source

Use cmake to build. Typically one should create a build directory in source root directory, call it 'bld', then in bld, do cmake .. -DCMAKE_BUILD_TYPE=Debug -DWITH_DEBUG=0 -DCMAKE_INSTALL_PREFIX= && make -j8 then do below, possibly as root, depending on where one is installing this software: make install

Usage

Give cluster_mgr a metadata cluster's connection parameters and a list of cluster IDs for it to work on, plus a config file with properly set parameters. Edit a copy of the 'cluster_mgr.cnf' file and set parameters properly according to comments in it. and then startup cluster_manager program with correct parameters.

Start only one instance/process for each metadata shard, otherwise errors could occur in extreme conditions. For this software to work correctly you must keep its assumptions below true: 0. The meta-data shard node provided in config file (meta_svr_ip and meta_svr_port) is really a current effective node of the metadata shard and it contains latest meta data nodes.

  1. A shard's mysqld processes are all up and running, it's the local Linux system's service manager or cron's responsibility to keep them up and running.
  2. Metadata shard always has almost latest meta/storage shard topology info or will be updated very soon. Inconsistency is allowed but the time window should be small otherwise leftover prepared transactions may not be discovered and ended. So if you added/removed a node to/from a shard you must update the metadata in metadata shard ASAP.
“Commons Clause” License Condition v1.0 The Software is provided to you by the Licensor under the License, as defined below, subject to the following condition. Without limiting other conditions in the License, the grant of rights under the License will not include, and the License does not grant to you, the right to Sell the Software. For purposes of the foregoing, “Sell” means practicing any or all of the rights granted to you under the License to provide to third parties, for a fee or other consideration (including without limitation fees for hosting or consulting/ support services related to the Software), a product or service whose value derives, entirely or substantially, from the functionality of the Software. Any license notice or attribution required by the License must also include this Commons Clause License Condition notice. Software: kunlun distributed DBMS cluster manager (cluster_mgr) License: Apache 2.0 Licensor: zettadb.com 泽拓科技(深圳)有限责任公司 ZettaDB inc.

简介

昆仑分布式数据库的集群管理模块。用于管理一个或者多个昆仑分布式数据库集群的运行时状态。 展开 收起
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/zettadb/cluster_mgr.git
git@gitee.com:zettadb/cluster_mgr.git
zettadb
cluster_mgr
cluster_mgr
main

搜索帮助