You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[global]
# the name will validate join cluster by same name
name = "cbdb"
# you data save to disk path ,If you are in a production environment, You'd better set absolute paths
data = [
"/export/vdb/baud/datas/",
]
# log path , If you are in a production environment, You'd better set absolute paths
log = "/export/vdb/baud/logs/"
# default log type for any model
level = "debug"
# master <-> ps <-> router will use this key to send or receive data
signkey = "secret"
# skip auth for master and router
skip_auth = true
# if you are master you'd better set all config for router and ps and router and ps use default config it so cool
[[masters]]
#name machine name for cluster
name = "m1"
#ip or domain
address = "192.168.0.1"
# api port for http server
api_port = 8817
# port for etcd server
etcd_port = 2378
# listen_peer_urls List of comma separated URLs to listen on for peer traffic.
# advertise_peer_urls List of this member's peer URLs to advertise to the rest of the cluster. The URLs needed to be a comma-separated list.
etcd_peer_port = 2390
# List of this member's client URLs to advertise to the public.
# The URLs needed to be a comma-separated list.
# advertise_client_urls AND listen_client_urls
etcd_client_port = 2370
pprof_port = 6062
# monitor
monitor_port = 8818
data = ["/export/vdb/vdb-master/datas/"]
[[masters]]
#name machine name for cluster
name = "m2"
#ip or domain
address = "192.168.0.2"
# api port for http server
api_port = 8817
# port for etcd server
etcd_port = 2378
# listen_peer_urls List of comma separated URLs to listen on for peer traffic.
# advertise_peer_urls List of this member's peer URLs to advertise to the rest of the cluster. The URLs needed to be a comma-separated list.
etcd_peer_port = 2390
# List of this member's client URLs to advertise to the public.
# The URLs needed to be a comma-separated list.
# advertise_client_urls AND listen_client_urls
etcd_client_port = 2370
pprof_port = 6062
# monitor
monitor_port = 8818
data = ["/export/vdb/vdb-master/datas/"]
[router]
# port for server
port = 9001
# rpc_port = 9002
pprof_port = 6061
plugin_path = "plugin"
[ps]
# port for server
rpc_port = 8081
#raft config begin
raft_heartbeat_port = 8898
raft_replicate_port = 8899
heartbeat-interval = 200 #ms
raft_retain_logs = 20000000
raft_replica_concurrency = 1
raft_snap_concurrency = 1
raft_truncate_count = 20000
# engine config
engine_dwpt_num = 8
# max size byte
# max_size = 50000000
pprof_port = 6060
# if set true , this ps only use in db meta config
private = false