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

Update example (#21)

* update obp example

* No password is used by default
上级 fd6b6414
...@@ -26,7 +26,7 @@ oceanbase-ce: ...@@ -26,7 +26,7 @@ oceanbase-ce:
enable_syslog_recycle: true enable_syslog_recycle: true
max_syslog_file_count: 4 max_syslog_file_count: 4
cluster_id: 1 cluster_id: 1
root_password: # root user password # root_password: # root user password
# In this example , support multiple ob process in single node, so different process use different ports. # In this example , support multiple ob process in single node, so different process use different ports.
# If deploy ob cluster in multiple nodes, the port and path setting can be same. # If deploy ob cluster in multiple nodes, the port and path setting can be same.
z1: z1:
......
...@@ -28,8 +28,8 @@ oceanbase-ce: ...@@ -28,8 +28,8 @@ oceanbase-ce:
cluster_id: 1 cluster_id: 1
# observer cluster name, consistent with obproxy's cluster_name # observer cluster name, consistent with obproxy's cluster_name
appname: ob_cluster appname: ob_cluster
root_password: # root user password, can be empty # root_password: # root user password, can be empty
proxyro_password: # proxyro user pasword, consistent with obproxy's observer_sys_password, can be empty # proxyro_password: # proxyro user pasword, consistent with obproxy's observer_sys_password, can be empty
# In this example , support multiple ob process in single node, so different process use different ports. # In this example , support multiple ob process in single node, so different process use different ports.
# If deploy ob cluster in multiple nodes, the port and path setting can be same. # If deploy ob cluster in multiple nodes, the port and path setting can be same.
z1: z1:
...@@ -60,5 +60,5 @@ obproxy: ...@@ -60,5 +60,5 @@ obproxy:
enable_cluster_checkout: false enable_cluster_checkout: false
# observer cluster name, consistent with oceanbase-ce's appname # observer cluster name, consistent with oceanbase-ce's appname
cluster_name: ob_cluster cluster_name: ob_cluster
obproxy_sys_password: # obproxy sys user password, can be empty # 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 # observer_sys_password: # proxyro user pasword, consistent with oceanbase-ce's proxyro_password, can be empty
\ No newline at end of file
...@@ -18,4 +18,4 @@ oceanbase-ce: ...@@ -18,4 +18,4 @@ oceanbase-ce:
enable_syslog_recycle: true enable_syslog_recycle: true
max_syslog_file_count: 4 max_syslog_file_count: 4
cluster_id: 1 cluster_id: 1
root_password: # root user password, can be empty # root_password: # root user password, can be empty
\ No newline at end of file \ No newline at end of file
...@@ -39,7 +39,7 @@ oceanbase-ce: ...@@ -39,7 +39,7 @@ oceanbase-ce:
syslog_level: INFO syslog_level: INFO
enable_syslog_recycle: true enable_syslog_recycle: true
max_syslog_file_count: 4 max_syslog_file_count: 4
root_password: # root user password, can be empty # root_password: # root user password, can be empty
z1: z1:
mysql_port: 2881 mysql_port: 2881
rpc_port: 2882 rpc_port: 2882
......
...@@ -41,8 +41,8 @@ oceanbase-ce: ...@@ -41,8 +41,8 @@ oceanbase-ce:
max_syslog_file_count: 4 max_syslog_file_count: 4
# observer cluster name, consistent with obproxy's cluster_name # observer cluster name, consistent with obproxy's cluster_name
appname: ob_cluster appname: ob_cluster
root_password: # root user password, can be empty # root_password: # root user password, can be empty
proxyro_password: # proxyro user pasword, consistent with obproxy's observer_sys_password, can be empty # proxyro_password: # proxyro user pasword, consistent with obproxy's observer_sys_password, can be empty
z1: z1:
mysql_port: 2881 mysql_port: 2881
rpc_port: 2882 rpc_port: 2882
...@@ -71,5 +71,5 @@ obproxy: ...@@ -71,5 +71,5 @@ obproxy:
enable_cluster_checkout: false enable_cluster_checkout: false
# observer cluster name, consistent with oceanbase-ce's appname # observer cluster name, consistent with oceanbase-ce's appname
cluster_name: ob_cluster cluster_name: ob_cluster
obproxy_sys_password: # obproxy sys user password, can be empty # 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 # observer_sys_password: # proxyro user pasword, consistent with oceanbase-ce's proxyro_password, can be empty
\ No newline at end of file
...@@ -31,4 +31,4 @@ oceanbase-ce: ...@@ -31,4 +31,4 @@ oceanbase-ce:
syslog_level: INFO syslog_level: INFO
enable_syslog_recycle: true enable_syslog_recycle: true
max_syslog_file_count: 4 max_syslog_file_count: 4
root_password: # root user password, can be empty # root_password: # root user password, can be empty
...@@ -38,4 +38,4 @@ oceanbase-ce: ...@@ -38,4 +38,4 @@ oceanbase-ce:
syslog_level: INFO syslog_level: INFO
enable_syslog_recycle: true enable_syslog_recycle: true
max_syslog_file_count: 4 max_syslog_file_count: 4
root_password: # root user password, can be empty # root_password: # root user password, can be empty
...@@ -40,8 +40,8 @@ oceanbase-ce: ...@@ -40,8 +40,8 @@ oceanbase-ce:
max_syslog_file_count: 4 max_syslog_file_count: 4
# observer cluster name, consistent with obproxy's cluster_name # observer cluster name, consistent with obproxy's cluster_name
appname: ob_cluster appname: ob_cluster
root_password: # root user password, can be empty # root_password: # root user password, can be empty
proxyro_password: # proxyro user pasword, consistent with obproxy's observer_sys_password, can be empty # proxyro_password: # proxyro user pasword, consistent with obproxy's observer_sys_password, can be empty
obproxy: obproxy:
servers: servers:
- 192.168.1.2 - 192.168.1.2
...@@ -55,5 +55,5 @@ obproxy: ...@@ -55,5 +55,5 @@ obproxy:
enable_cluster_checkout: false enable_cluster_checkout: false
# observer cluster name, consistent with oceanbase-ce's appname # observer cluster name, consistent with oceanbase-ce's appname
cluster_name: ob_cluster cluster_name: ob_cluster
obproxy_sys_password: # obproxy sys user password, can be empty # 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 # observer_sys_password: # proxyro user pasword, consistent with oceanbase-ce's proxyro_password, can be empty
\ No newline at end of file
...@@ -25,4 +25,4 @@ oceanbase-ce: ...@@ -25,4 +25,4 @@ oceanbase-ce:
enable_syslog_recycle: true enable_syslog_recycle: true
max_syslog_file_count: 4 max_syslog_file_count: 4
cluster_id: 1 cluster_id: 1
root_password: # root user password, can be empty # root_password: # root user password, can be empty
\ No newline at end of file \ No newline at end of file
...@@ -27,8 +27,8 @@ oceanbase-ce: ...@@ -27,8 +27,8 @@ oceanbase-ce:
cluster_id: 1 cluster_id: 1
# observer cluster name, consistent with obproxy's cluster_name # observer cluster name, consistent with obproxy's cluster_name
appname: ob_cluster appname: ob_cluster
root_password: # root user password, can be empty # root_password: # root user password, can be empty
proxyro_password: # proxyro user pasword, consistent with obproxy's observer_sys_password, can be empty # proxyro_password: # proxyro user pasword, consistent with obproxy's observer_sys_password, can be empty
obproxy: obproxy:
servers: servers:
- 192.168.1.2 - 192.168.1.2
...@@ -42,5 +42,5 @@ obproxy: ...@@ -42,5 +42,5 @@ obproxy:
enable_cluster_checkout: false enable_cluster_checkout: false
# observer cluster name, consistent with oceanbase-ce's appname # observer cluster name, consistent with oceanbase-ce's appname
cluster_name: ob_cluster cluster_name: ob_cluster
obproxy_sys_password: # obproxy sys user password, can be empty # 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 # observer_sys_password: # proxyro user pasword, consistent with oceanbase-ce's proxyro_password, can be empty
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册