未验证 提交 c30d2373 编写于 作者: R Rongfeng Fu 提交者: GitHub

update example (#73)

上级 27ce397d
## Only need to configure when remote login is required ## Only need to configure when remote login is required
user:# user: # user:
# username: your username # username: your username
# password: your password if need # password: your password if need
# key_file: your ssh-key file path if need # key_file: your ssh-key file path if need
...@@ -8,10 +8,10 @@ user:# user: ...@@ -8,10 +8,10 @@ user:# user:
oceanbase-ce: oceanbase-ce:
servers: servers:
# Please don't use hostname, only IP can be supported # Please don't use hostname, only IP can be supported
- 100.81.252.4 - 192.168.1.2
global: global:
# The working directory for OceanBase Database. OceanBase Database is started under this directory. This is a required field. # The working directory for OceanBase Database. OceanBase Database is started under this directory. This is a required field.
home_path: /home/rongfeng.frf/data/obd/t1/observer home_path: /root/observer
# The directory for data storage. The default value is $home_path/store. # The directory for data storage. The default value is $home_path/store.
# data_dir: /data # data_dir: /data
# The directory for clog, ilog, and slog. The default value is the same as the data_dir value. # The directory for clog, ilog, and slog. The default value is the same as the data_dir value.
...@@ -19,7 +19,7 @@ oceanbase-ce: ...@@ -19,7 +19,7 @@ oceanbase-ce:
# Please set devname as the network adaptor's name whose ip is in the setting of severs. # Please set devname as the network adaptor's name whose ip is in the setting of severs.
# if set severs as "127.0.0.1", please set devname as "lo" # if set severs as "127.0.0.1", please set devname as "lo"
# if current ip is 192.168.1.10, and the ip's network adaptor's name is "eth0", please use "eth0" # if current ip is 192.168.1.10, and the ip's network adaptor's name is "eth0", please use "eth0"
devname: bond0 devname: eth0
mysql_port: 2881 # External port for OceanBase Database. The default value is 2881. DO NOT change this value after the cluster is started. mysql_port: 2881 # External port for OceanBase Database. The default value is 2881. DO NOT change this value after the cluster is started.
rpc_port: 2882 # Internal port for OceanBase Database. The default value is 2882. DO NOT change this value after the cluster is started. rpc_port: 2882 # Internal port for OceanBase Database. The default value is 2882. DO NOT change this value after the cluster is started.
zone: zone1 zone: zone1
...@@ -54,14 +54,14 @@ obproxy: ...@@ -54,14 +54,14 @@ obproxy:
depends: depends:
- oceanbase-ce - oceanbase-ce
servers: servers:
- 100.81.252.4 - 192.168.1.3
global: global:
listen_port: 2883 # External port. The default value is 2883. listen_port: 2883 # External port. The default value is 2883.
prometheus_listen_port: 2884 # The Prometheus port. The default value is 2884. prometheus_listen_port: 2884 # The Prometheus port. The default value is 2884.
home_path: /root/obproxy home_path: /root/obproxy
# oceanbase root server list # oceanbase root server list
# format: ip:mysql_port;ip:mysql_port. When a depends exists, OBD gets this value from the oceanbase-ce of the depends. # format: ip:mysql_port;ip:mysql_port. When a depends exists, OBD gets this value from the oceanbase-ce of the depends.
# rs_list: 192.168.1.2:2881;192.168.1.3:2881;192.168.1.4:2881 # rs_list: 192.168.1.2:2881
enable_cluster_checkout: false enable_cluster_checkout: false
# observer cluster name, consistent with oceanbase-ce's appname. When a depends exists, OBD gets this value from the oceanbase-ce of the depends. # observer cluster name, consistent with oceanbase-ce's appname. When a depends exists, OBD gets this value from the oceanbase-ce of the depends.
# cluster_name: obcluster # cluster_name: obcluster
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册