Skip to content

Instantly share code, notes, and snippets.

@yosukehara
Created September 26, 2016 01:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yosukehara/cbd0c785643f563c5017fbf63791306c to your computer and use it in GitHub Desktop.
Save yosukehara/cbd0c785643f563c5017fbf63791306c to your computer and use it in GitHub Desktop.
16c16
< sasl.sasl_error_log = /var/log/leo_storage/sasl/sasl-error.log
---
> ## sasl.sasl_error_log = ./log/sasl/sasl-error.log
25c25
< sasl.error_logger_mf_dir = /var/log/leo_storage/sasl
---
> ## sasl.error_logger_mf_dir = ./log/sasl
39c39
< managers = [manager0@127.0.0.1, manager1@127.0.0.1]
---
> managers = [manager_0@127.0.0.1, manager_1@127.0.0.1]
45c45
< obj_containers.path = [/var/db/leo_storage/avs]
---
> obj_containers.path = [./avs]
76a77
>
79a81,83
> ## When reach a number of safe (clear watchdog), a watchdog loosen the control
> watchdog.common.loosen_control_at_safe_count = 1
>
97c101
< watchdog.cpu.is_enabled = true
---
> watchdog.cpu.is_enabled = false
111,127d114
<
< ##
< ## Watchdog.IO
< ##
< ## Is io-watchdog enabled - default:false
< watchdog.io.is_enabled = true
<
< ## io - watch interval - default:1sec
< watchdog.io.interval = 1
<
< ## Threshold input size/sec - default:134217728(B) - 128MB/sec
< watchdog.io.threshold_input_per_sec = 134217728
<
< ## Threshold output size/sec - default:134217728(B) - 128MB/sec
< watchdog.io.threshold_output_per_sec = 134217728
<
<
132c119
< watchdog.disk.is_enabled = true
---
> watchdog.disk.is_enabled = false
135c122
< watchdog.disk.raised_error_times = 3
---
> watchdog.disk.raised_error_times = 5
138c125
< watchdog.disk.interval = 1
---
> watchdog.disk.interval = 10
140c127
< ## Threshold disk use% - defalut:85%
---
> ## Threshold use(%) of a target disk's capacity - defalut:85%
143,144c130,131
< ## Threshold disk util% - defalut:100%
< watchdog.disk.threshold_disk_util = 100
---
> ## Threshold disk utilization(%) - defalut:90%
> watchdog.disk.threshold_disk_util = 90
146,147c133,134
< ## Threshold disk read kb/sec - defalut:262144(KB)
< watchdog.disk.threshold_disk_rkb = 262144
---
> ## Threshold disk read kb/sec - defalut:98304(KB) = 96MB
> watchdog.disk.threshold_disk_rkb = 98304
149,150c136,137
< ## Threshold disk write kb/sec - defalut:262144(KB)
< watchdog.disk.threshold_disk_wkb = 262144
---
> ## Threshold disk write kb/sec - defalut:98304(KB) = 96MB
> watchdog.disk.threshold_disk_wkb = 98304
162c149,161
< ## watchdog.cluster.interval = 10
---
> watchdog.cluster.interval = 10
>
> ##
> ## Watchdog.Error
> ##
> ## Is error-watchdog enabled - default:false
> watchdog.error.is_enabled = false
>
> ## error - watch interval - default:60sec
> watchdog.error.interval = 60
>
> ## error - threshold error count - default:100
> watchdog.error.threshold_count = 100
169c168
< autonomic_op.compaction.is_enabled = true
---
> autonomic_op.compaction.is_enabled = false
174,175c173,174
< ## [compaction] execution intarval time(sec) - default:300(sec)
< autonomic_op.compaction.interval = 300
---
> ## [compaction] execution interval time between data-compaction(sec) - default:3600(sec) (60min)
> autonomic_op.compaction.interval = 3600
190,192d188
< ## Minimum value of compaction-proc waiting time/batch-proc(msec)
< compaction.waiting_time_min = 100
<
194c190
< compaction.waiting_time_regular = 300
---
> compaction.waiting_time_regular = 500
197c193
< compaction.waiting_time_max = 1000
---
> compaction.waiting_time_max = 3000
199,204d194
< ## Step of compaction-proc waiting time(msec)
< ## compaction.waiting_time_step = 100
<
<
< ## Minimum compaction batch processes
< ## compaction.batch_procs_min = 1000
207c197
< ## compaction.batch_procs_regular = 10000
---
> compaction.batch_procs_regular = 1000
210,213c200
< compaction.batch_procs_max = 100000
<
< ## Step compaction batch processes
< ## compaction.batch_procs_step = 1000
---
> compaction.batch_procs_max = 1500
219c206
< ## MQ backend storage: [bitcask, leveldb] - default:bitcask
---
> ## MQ backend storage: [leveldb | bitcask] - default:leveldb
228,230d214
< ## Minimum number of bach processes of message
< mq.num_of_batch_process_min = 100
<
232c216
< mq.num_of_batch_process_max = 10000
---
> mq.num_of_batch_process_max = 3000
235,239c219
< mq.num_of_batch_process_regular = 1000
<
< ## Step value of bach processes of message
< mq.num_of_batch_process_step = 250
<
---
> mq.num_of_batch_process_regular = 1600
244,246d223
< ## Minimum value of interval beween batch-procs(msec)
< mq.interval_between_batch_procs_min = 10
<
248c225
< mq.interval_between_batch_procs_max = 1000
---
> mq.interval_between_batch_procs_max = 3000
251,254c228
< mq.interval_between_batch_procs_regular = 300
<
< ## Step value of interval between batch-procs(msec)
< mq.interval_between_batch_procs_step = 100
---
> mq.interval_between_batch_procs_regular = 500
264c238
< ## replication.recovery.size_of_stacked_objs = 33554432
---
> replication.recovery.size_of_stacked_objs = 5242880
267c241
< ## replication.recovery.stacking_timeout = 5
---
> replication.recovery.stacking_timeout = 1
293c267
< log.erlang = /var/log/leo_storage/erlang
---
> ## log.erlang = ./log/erlang
296c270
< log.app = /var/log/leo_storage/app
---
> ## log.app = ./log/app
299c273
< log.member_dir = /var/log/leo_storage/ring
---
> ## log.member_dir = ./log/ring
302c276
< log.ring_dir = /var/log/leo_storage/ring
---
> ## log.ring_dir = ./log/ring
311c285
< queue_dir = /var/db/leo_storage/queue
---
> ## queue_dir = ./work/queue
321c295
< ## leo_ordning_reda.send_after_interval = 100
---
> leo_ordning_reda.send_after_interval = 0
324c298
< leo_ordning_reda.temp_stacked_dir = "/var/db/leo_storage/ord_reda/"
---
> ## leo_ordning_reda.temp_stacked_dir = "work/ord_reda/"
348a323,326
> ## RPC-Client's max number of requests for reconnection to a remote-node
> ## * 1..<integer>: specialized value
> ## rpc.client.max_requests_for_reconnection = 64
>
410c388
< erlang.crash_dump = /var/log/leo_storage/erl_crash.dump
---
> erlang.crash_dump = ./log/erl_crash.dump
434c412
< erlang.secio = true
---
> erlang.secio = false
440c418
< ##snmp_conf = ./snmp/snmpa_storage_0/leo_storage_snmp
\ No newline at end of file
---
> ## snmp_conf = ./snmp/snmpa_storage_0/leo_storage_snmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment