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

update example (#164)

上级 5655ea2f
......@@ -113,8 +113,8 @@ ocp-express:
- 172.19.33.5
global:
# The working directory for prometheus. prometheus is started under this directory. This is a required field.
home_path: /root/ocp-server
# log_dir: /home/oceanbase/ocp-server/log # The log directory of ocp express server. The default value is {home_path}/log.
home_path: /root/ocp-express
# log_dir: /home/oceanbase/ocp-express/log # The log directory of ocp express server. The default value is {home_path}/log.
memory_size: 1G # The memory size of ocp-express server. The recommend value is 512MB * (expect node num + expect tenant num) * 60MB.
# logging_file_total_size_cap: 10G # The total log file size of ocp-express server
# logging_file_max_history: 1 # The maximum of retention days the log archive log files to keep. The default value is unlimited
\ No newline at end of file
......@@ -115,8 +115,8 @@ ocp-express:
- 172.19.33.5
global:
# The working directory for prometheus. prometheus is started under this directory. This is a required field.
home_path: /root/ocp-server
# log_dir: /home/oceanbase/ocp-server/log # The log directory of ocp express server. The default value is {home_path}/log.
home_path: /root/ocp-express
# log_dir: /home/oceanbase/ocp-express/log # The log directory of ocp express server. The default value is {home_path}/log.
memory_size: 1G # The memory size of ocp-express server. The recommend value is 512MB * (expect node num + expect tenant num) * 60MB.
# logging_file_total_size_cap: 10G # The total log file size of ocp-express server
# logging_file_max_history: 1 # The maximum of retention days the log archive log files to keep. The default value is unlimited
\ No newline at end of file
......@@ -149,14 +149,14 @@ obagent:
# observer_log_path: /root/observer/log
# Monitor status for OceanBase Database. Active is to enable. Inactive is to disable. The default value is active. When you deploy an cluster automatically, OBD decides whether to enable this parameter based on depends.
# ob_monitor_status: active
ocp-server:
ocp-express:
servers:
- name: server1
ip: 192.168.1.1
global:
# The working directory for ocp express. ocp express is started under this directory. This is a required field.
home_path: /root/ocp-server
# log_dir: /root/ocp-server/log # The log directory of ocp express server. The default value is {home_path}/log.
home_path: /root/ocp-express
# log_dir: /root/ocp-express/log # The log directory of ocp express server. The default value is {home_path}/log.
# memory_size: 1G # The memory size of ocp-express server. The recommend value is 512MB * (expect node num + expect tenant num) * 60MB.
# jdbc_url: jdbc:oceanbase://192.168.1.1:2881/meta_db # jdbc connection string to connect to the meta db
# jdbc_username: username # username to connect to meta db
......@@ -174,5 +174,5 @@ ocp-server:
# svrPort: 2882 # The rpc port of oceanbase server
# sqlPort: 2881 # The mysql port of oceanbase server
# withRootServer: true # Is the oceanbase server a root server of cluster.
# agentMgrPort: 62888 # The port of obagent manager process
# agentMonPort: 62889 # The port of obagent monitor process
# agentMgrPort: 8089 # The port of obagent manager process
# agentMonPort: 8088 # The port of obagent monitor process
......@@ -149,14 +149,14 @@ obagent:
# observer_log_path: /root/observer/log
# Monitor status for OceanBase Database. Active is to enable. Inactive is to disable. The default value is active. When you deploy an cluster automatically, OBD decides whether to enable this parameter based on depends.
# ob_monitor_status: active
ocp-server:
ocp-express:
servers:
- name: server1
ip: 192.168.1.1
global:
# The working directory for ocp express. ocp express is started under this directory. This is a required field.
home_path: /root/ocp-server
# log_dir: /root/ocp-server/log # The log directory of ocp express server. The default value is {home_path}/log.
home_path: /root/ocp-express
# log_dir: /root/ocp-express/log # The log directory of ocp express server. The default value is {home_path}/log.
# memory_size: 1G # The memory size of ocp-express server. The recommend value is 512MB * (expect node num + expect tenant num) * 60MB.
# jdbc_url: jdbc:oceanbase://192.168.1.1:2881/meta_db # jdbc connection string to connect to the meta db
# jdbc_username: username # username to connect to meta db
......@@ -174,5 +174,5 @@ ocp-server:
# svrPort: 2882 # The rpc port of oceanbase server
# sqlPort: 2881 # The mysql port of oceanbase server
# withRootServer: true # Is the oceanbase server a root server of cluster.
# agentMgrPort: 62888 # The port of obagent manager process
# agentMonPort: 62889 # The port of obagent monitor process
# agentMgrPort: 8089 # The port of obagent manager process
# agentMonPort: 8088 # The port of obagent monitor process
......@@ -5,14 +5,14 @@
# key_file: your ssh-key file path if need
# port: your ssh port, default 22
# timeout: ssh connection timeout (second), default 30
ocp-server:
ocp-express:
servers:
- name: server1
ip: 192.168.1.1
global:
# The working directory for ocp express. ocp express is started under this directory. This is a required field.
home_path: /root/ocp-server
# log_dir: /root/ocp-server/log # The log directory of ocp express server. The default value is {home_path}/log.
home_path: /root/ocp-express
# log_dir: /root/ocp-express/log # The log directory of ocp express server. The default value is {home_path}/log.
memory_size: 1G # The memory size of ocp-express server. The recommend value is 512MB * (expect node num + expect tenant num) * 60MB.
jdbc_url: jdbc:oceanbase://192.168.1.1:2881/meta_db # jdbc connection string to connect to the meta db
jdbc_username: username # username to connect to meta db
......@@ -30,5 +30,5 @@ ocp-server:
svrPort: 2882 # The rpc port of oceanbase server
sqlPort: 2881 # The mysql port of oceanbase server
withRootServer: true # Is the oceanbase server a root server of cluster.
agentMgrPort: 62888 # The port of obagent manager process
agentMonPort: 62889 # The port of obagent monitor process
agentMgrPort: 8089 # The port of obagent manager process
agentMonPort: 8088 # The port of obagent monitor process
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册