Repository navigation
Expand file tree
/
Copy pathtest_server.ini
More file actions
138 lines (129 loc) · 3.92 KB
/
Copy pathtest_server.ini
File metadata and controls
138 lines (129 loc) · 3.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
#
# K2HDKC CONFIGURATION FILE FOR TEST
#
# Copyright 2016 Yahoo Japan Corporation.
#
# K2HDKC is k2hash based distributed KVS cluster.
# K2HDKC uses K2HASH, CHMPX, FULLOCK libraries. K2HDKC supports
# distributed KVS cluster server program and client libraries.
#
# For the full copyright and license information, please view
# the license file that was distributed with this source code.
#
# AUTHOR: Takeshi Nakatani
# CREATE: Mon Jul 11 2016
# REVISION:
#
################################################################
# CONFIGURATION FILE FOR STANDALONE TEST
#
# NOTE:
# - k2hdkc server node must not be use MQACK
# - k2hash for k2hdkc is memory mode, because multi server node
# run on one server and we do not use configuration files for
# each process.
################################################################
#
# GLOBAL SECTION
#
[GLOBAL]
FILEVERSION = 2
DATE = Wed, 07 Sep 2016 13:55:04 +0900
GROUP = TESTDKC
MODE = SERVER
DELIVERMODE = hash
MAXCHMPX = 8
REPLICA = 1
MAXMQSERVER = 2
MAXMQCLIENT = 2
MQPERATTACH = 1
MAXQPERSERVERMQ = 2
MAXQPERCLIENTMQ = 1
MAXMQPERCLIENT = 1
MAXHISTLOG = 10000
#PORT = 8020
#CTLPORT = 8021
#SELFCTLPORT = 8021
RWTIMEOUT = 100000
RETRYCNT = 1000
CONTIMEOUT = 500000
MQRWTIMEOUT = 1000
MQRETRYCNT = 10000
MQACK = no
AUTOMERGE = on
DOMERGE = on
MERGETIMEOUT = 0
SOCKTHREADCNT = 4
MQTHREADCNT = 4
MAXSOCKPOOL = 10
SOCKPOOLTIMEOUT = 0
SSL = no
K2HFULLMAP = on
K2HMASKBIT = 4
K2HCMASKBIT = 4
K2HMAXELE = 4
#
# SERVER NODES SECTION
#
[SVRNODE]
NAME = localhost
PORT = 8020
CTLPORT = 8021
SSL = no
[SVRNODE]
NAME = localhost
PORT = 8022
CTLPORT = 8023
SSL = no
[SVRNODE]
NAME = localhost
PORT = 8024
CTLPORT = 8025
SSL = no
[SVRNODE]
NAME = localhost
PORT = 8026
CTLPORT = 8027
SSL = no
#
# SLAVE NODES SECTION
#
[SLVNODE]
NAME = [.]*
CTLPORT = 8031
#
# K2HDKC SECTION
#
[K2HDKC]
#RCVTIMEOUT = 1000 ### Default(1000), timeout ms for receiving command result.
#SVRNODEINI = <file path> ### Default(empty = same this file)
#REPLCLUSTERINI = <file path> ### Default(empty), for DTOR INI FILE because transaction chmpx is different from this file
### everything about dtor setting is specified in replclusterini file.
### If needs, you can set that dtor runs with plugin and putting file(transaction).
#DTORTHREADCNT = 1 ### Default(1), you MUST set same as the value in k2htpdtor configuration file
#DTORCTP = path.so ### Default(k2htpdtor.so.1), custom transaction plugin path
K2HTYPE = mem ### Default(file), parameter can be set M/MEM/MEMORY / F/FILE / T/TEMP/TEMPORARY
#K2HTYPE = file ### Default(file), parameter can be set M/MEM/MEMORY / F/FILE / T/TEMP/TEMPORARY
#K2HFILE = /tmp/k2hdkc.k2h ### Default(k2hash file path), when file type
K2HFULLMAP = on ### Default(on)
K2HINIT = yes ### Default(no)
K2HMASKBIT = 8
K2HCMASKBIT = 4
K2HMAXELE = 16
K2HPAGESIZE = 128
#PASSPHRASES = <pass phrase> ### Default(empty), many entry is allowed. set either the PASSPHRASES or PASSFILE
#PASSFILE = <file path> ### Default(empty), set either the PASSPHRASES or PASSFILE
#HISTORY = on ### Default(no), MUST DO SOME WORK FOR MAKING HISTORY KEY DATA TO OTHER SERVERS
#EXPIRE = 300 ### Default(no), MUST SPECIFY THIS VALUE
#ATTRPLUGIN = <file path> ### Default(empty), many entry is allowed, and calling sequence is same keywords in this file
#MINTHREAD = 1 ### Default(1), minimum processing thread count
MAXTHREAD = 20 ### Default(100), maximum processing thread count
#REDUCETIME = 30 ### Default(30), time(second) for reducing processing thread to minimum thread count.
#
# Local variables:
# tab-width: 4
# c-basic-offset: 4
# End:
# vim600: noexpandtab sw=4 ts=4 fdm=marker
# vim<600: noexpandtab sw=4 ts=4
#