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.
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=
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: