Skip to content

Commit fa4c735

Browse files
authored
Update example & deps (#120)
* update deps * add appname
1 parent c3aa8d0 commit fa4c735

9 files changed

+20
-6
lines changed

example/distributed-example.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ oceanbase-ce:
3030
max_syslog_file_count: 4 # The maximum number of reserved log files before enabling auto recycling. The default value is 0.
3131
skip_proxy_sys_private_check: true
3232
enable_strict_kernel_release: false
33+
# observer cluster name, consistent with obproxy's cluster_name
34+
appname: obcluster
3335
# root_password: # root user password
3436
# In this example , support multiple ob process in single node, so different process use different ports.
3537
# If deploy ob cluster in multiple nodes, the port and path setting can be same.

example/local-example.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,6 @@ oceanbase-ce:
2525
enable_syslog_wf: false # Print system logs whose levels are higher than WARNING to a separate log file. The default value is true.
2626
enable_syslog_recycle: true # Enable auto system log recycling or not. The default value is false.
2727
max_syslog_file_count: 4 # The maximum number of reserved log files before enabling auto recycling. The default value is 0.
28-
# root_password: # root user password, can be empty
28+
# observer cluster name, consistent with obproxy's cluster_name
29+
appname: obcluster
30+
# root_password: # root user password, can be empty

example/mini-distributed-example.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ oceanbase-ce:
4040
enable_syslog_wf: false # Print system logs whose levels are higher than WARNING to a separate log file. The default value is true.
4141
enable_syslog_recycle: true # Enable auto system log recycling or not. The default value is false.
4242
max_syslog_file_count: 4 # The maximum number of reserved log files before enabling auto recycling. The default value is 0.
43+
# observer cluster name, consistent with obproxy's cluster_name
44+
appname: obcluster
4345
# root_password: # root user password, can be empty
4446
server1:
4547
mysql_port: 2881 # External port for OceanBase Database. The default value is 2881. DO NOT change this value after the cluster is started.

example/mini-local-example.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,6 @@ oceanbase-ce:
3737
enable_syslog_wf: false # Print system logs whose levels are higher than WARNING to a separate log file. The default value is true.
3838
enable_syslog_recycle: true # Enable auto system log recycling or not. The default value is false.
3939
max_syslog_file_count: 4 # The maximum number of reserved log files before enabling auto recycling. The default value is 0.
40+
# observer cluster name, consistent with obproxy's cluster_name
41+
appname: obcluster
4042
# root_password: # root user password, can be empty

example/mini-single-example.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,6 @@ oceanbase-ce:
4444
enable_syslog_wf: false # Print system logs whose levels are higher than WARNING to a separate log file. The default value is true.
4545
enable_syslog_recycle: true # Enable auto system log recycling or not. The default value is false.
4646
max_syslog_file_count: 4 # The maximum number of reserved log files before enabling auto recycling. The default value is 0.
47+
# observer cluster name, consistent with obproxy's cluster_name
48+
appname: obcluster
4749
# root_password: # root user password, can be empty

example/obagent/distributed-with-obproxy-and-obagent-example.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ oceanbase-ce:
2828
enable_syslog_wf: false # Print system logs whose levels are higher than WARNING to a separate log file. The default value is true.
2929
enable_syslog_recycle: true # Enable auto system log recycling or not. The default value is false.
3030
max_syslog_file_count: 4 # The maximum number of reserved log files before enabling auto recycling. The default value is 0.
31+
# observer cluster name, consistent with obproxy's cluster_name
32+
appname: obcluster
3133
# root_password: # root user password
3234
# In this example , support multiple ob process in single node, so different process use different ports.
3335
# If deploy ob cluster in multiple nodes, the port and path setting can be same.
@@ -150,4 +152,4 @@ obagent:
150152
# Whether to disable the basic authentication for HTTP service. True is to disable. False is to enable. The default value is false.
151153
disable_http_basic_auth: false
152154
# Whether to disable the basic authentication for the debug interface. True is to disable. False is to enable. The default value is false.
153-
disable_pprof_basic_auth: false
155+
disable_pprof_basic_auth: false

example/single-example.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,6 @@ oceanbase-ce:
3232
enable_syslog_wf: false # Print system logs whose levels are higher than WARNING to a separate log file. The default value is true.
3333
enable_syslog_recycle: true # Enable auto system log recycling or not. The default value is false.
3434
max_syslog_file_count: 4 # The maximum number of reserved log files before enabling auto recycling. The default value is 0.
35-
# root_password: # root user password, can be empty
35+
# observer cluster name, consistent with obproxy's cluster_name
36+
appname: obcluster
37+
# root_password: # root user password, can be empty

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
requests==2.24.0
22
rpmfile==1.0.8
3-
paramiko==2.7.2
3+
paramiko==2.10.1
44
backports.lzma==0.0.14
55
MySQL-python==1.2.5
66
ruamel.yaml.clib==0.2.2

requirements3.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
rpmfile==1.0.8
2-
paramiko==2.7.2
2+
paramiko==2.10.1
33
requests==2.25.1
44
PyMySQL==1.0.2
55
ruamel.yaml==0.17.4
66
subprocess32==3.5.4
77
prettytable==2.1.0
88
progressbar==2.5
99
halo==0.0.31
10-
pycryptodome==3.10.1
10+
pycryptodome==3.10.1

0 commit comments

Comments
 (0)