-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
topology.yaml
35 lines (30 loc) · 1.01 KB
/
topology.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
global:
# # The user who runs the dbms cluster.
user: "dbms"
ssh_port: 22
# # Storage directory for cluster deployment files, startup scripts, and configuration files.
deploy_dir: "/Users/marvin/gostore/dbms/deploy"
# # TiDB Cluster data storage directory
#data_dir: "/dbms-data"
#log_dir: ""
server_configs:
master:
worker:
master_servers:
- host: 192.168.209.193
ssh_port: 22
port: 2379
peer_port: 2380
deploy_dir: "/Users/marvin/gostore/dbms/deploy/master00"
data_dir: "/Users/marvin/gostore/dbms/deploy/master00/data"
log_dir: "/Users/marvin/gostore/dbms/deploy/master00/log"
## The following configs are used to overwrite the `server_configs.master` values.
#config:
worker_servers:
- host: 192.168.209.193
ssh_port: 22
port: 8261
#deploy_dir: "/Users/marvin/gostore/dbms/deploy/worker00"
#log_dir: "/Users/marvin/gostore/dbms/deploy/worker00/log"
## The following configs are used to overwrite the `server_configs.master` values.
#config: