Administration of Multi Datacenter Replication¶
Shell | Description |
---|---|
leofs-adm join-cluster <manager-master> <manager-slave> | 1.0.0- Begin to communicate between the local cluster and the remote cluster |
leofs-adm remove-cluster <manager-master> <manager-slave> | 1.0.0- Terminate to communicate between the local cluster and the remote cluster |
leofs-adm cluster-status | 1.0.0- See the current state of cluster(s) |
join-cluster <remote-manager-master>:<rpc-port> <remote-manager-slave>:<rpc-port>¶
Begin to communicate between the local cluster and the remote cluster
$ leofs-adm join-cluster [email protected]:13075 [email protected]:13075
OK
remove-cluster <remote-manager-master>:<rpc-port> <remote-manager-slave>:<rpc-port>¶
Terminate to communicate between the local cluster and the remote cluster
$ leofs-adm remove-cluster [email protected]:13075 [email protected]:13075
OK
cluster-status¶
See the current state of cluster(s)
$ leofs-adm cluster-status
cluster id | dc id | status | # of storages | updated at
-----------+------------+--------------+----------------+-----------------------------
leofs_2 | dc_2 | running | 8 | 2014-03-21 19:17:45 +0900