single-with-obproxy-example.yaml 1.8 KB
Newer Older
O
oceanbase-admin 已提交
1 2 3 4 5
## Only need to configure when remote login is required
# user:
#   username: your username
#   password: your password if need
#   key_file: your ssh-key file path if need
6 7
#   port: your ssh port, default 22
#   timeout: ssh connection timeout (second), default 30
O
oceanbase-admin 已提交
8 9 10 11 12 13 14 15 16
oceanbase-ce:
  servers:
    # Please don't use hostname, only IP can be supported
    - 192.168.1.3
  global:
    home_path: /root/observer
    # 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 current ip is 192.168.1.10, and the ip's network adaptor's name is "eth0", please use "eth0"
R
Rongfeng Fu 已提交
17
    devname: eth0
18
    mysql_port: 2881
O
oceanbase-admin 已提交
19 20 21 22 23
    rpc_port: 2882
    zone: zone1
    # if current hardware's memory capacity is smaller than 50G, please use the setting of "mini-single-example.yaml" and do a small adjustment.
    memory_limit: 64G
    datafile_disk_percentage: 20
24 25 26
    syslog_level: INFO
    enable_syslog_recycle: true
    max_syslog_file_count: 4
O
oceanbase-admin 已提交
27
    cluster_id: 1
R
Rongfeng Fu 已提交
28 29
    # observer cluster name, consistent with obproxy's cluster_name
    appname: ob_cluster
R
Rongfeng Fu 已提交
30 31
    root_password: # root user password, can be empty
    proxyro_password: # proxyro user pasword, consistent with obproxy's observer_sys_password, can be empty
O
oceanbase-admin 已提交
32 33 34 35 36
obproxy:
  servers:
    - 192.168.1.2
  global:
    listen_port: 2883
37
    prometheus_listen_port: 2884
O
oceanbase-admin 已提交
38 39 40
    home_path: /root/obproxy
    # oceanbase root server list
    # format: ip:mysql_port,ip:mysql_port
41 42
    rs_list: 192.168.1.3:2881
    enable_cluster_checkout: false
R
Rongfeng Fu 已提交
43 44
    # observer cluster name, consistent with oceanbase-ce's appname
    cluster_name: ob_cluster
R
Rongfeng Fu 已提交
45 46
    obproxy_sys_password: # obproxy sys user password, can be empty
    observer_sys_password: # proxyro user pasword, consistent with oceanbase-ce's proxyro_password, can be empty