-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathk2hftfuse_test_server.ini
More file actions
143 lines (137 loc) · 3.74 KB
/
Copy pathk2hftfuse_test_server.ini
File metadata and controls
143 lines (137 loc) · 3.74 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
139
140
141
142
143
#
# k2hftfuse for file transaction by FUSE-based file system
#
# Copyright 2015 Yahoo Japan Corporation.
#
# k2hftfuse is file transaction system on FUSE file system with
# K2HASH and K2HASH TRANSACTION PLUGIN, CHMPX.
#
# For the full copyright and license information, please view
# the license file that was distributed with this source code.
#
# AUTHOR: Takeshi Nakatani
# CREATE: Thu Sep 3 2015
# REVISION:
#
#
# CHMPX CONFIGRATION FILE FOR TESTING K2HFUSE
#
#
# GLOBAL SECTION
#
[GLOBAL]
FILEVERSION = 1
DATE = Thu, 03 Sep 2015 17:27:28 +0900
GROUP = K2HFUSETEST
MODE = SERVER
DELIVERMODE = random
#DELIVERMODE = hash
MAXCHMPX = 2
REPLICA = 0
MAXMQSERVER = 2
MAXMQCLIENT = 2
MQPERATTACH = 1
MAXQPERSERVERMQ = 1
MAXQPERCLIENTMQ = 1
MAXMQPERCLIENT = 1
MAXHISTLOG = 1000
PORT = 8020
CTLPORT = 8021
SELFCTLPORT = 8021
RWTIMEOUT = 100000
RETRYCNT = 1000
CONTIMEOUT = 500000
MQRWTIMEOUT = 50
MQRETRYCNT = 100000
DOMERGE = on
SSL = no
#SSL = yes
#SSL_VERIFY_PEER = yes
#CAPATH = /etc/ssl/certs
#SERVER_CERT = /home/xxxxx/certs/server.crt
#SERVER_PRIKEY = /home/xxxxx/certs/server_201501.key
#SLAVE_CERT = /home/xxxxx/certs/client.crt
#SLAVE_PRIKEY = /home/xxxxx/certs/client_201501.key
K2HFULLMAP = on
K2HMASKBIT = 4
K2HCMASKBIT = 4
K2HMAXELE = 2
#
# SERVER NODES SECTION
#
[SVRNODE]
NAME = localhost
#PORT = 8020
#CTLPORT = 8021
SSL = no
#SSL = yes
#SSL_VERIFY_PEER = yes
#CAPATH = /etc/ssl/certs
#SERVER_CERT = /home/xxxxx/certs/server.crt
#SERVER_PRIKEY = /home/xxxxx/certs/server_201501.key
#SLAVE_CERT = /home/xxxxx/certs/client.crt
#SLAVE_PRIKEY = /home/xxxxx/certs/client_201501.key
#
# SLAVE NODES SECTION
#
[SLVNODE]
NAME = [.]*
CTLPORT = 8022
#CAPATH = /etc/ssl/certs
#SLAVE_CERT = /home/xxxxx/certs/client.crt
#SLAVE_PRIKEY = /home/xxxxx/certs/client_201501.key
#
# K2HFTFUSESVR
#
# TYPE { trans | file | both }
# FILE_BASEDIR output file base directory
# FILE_UNIFY if puts one file for all, specify relative file path.(only file type)
# FILE_TIMEFORM format for time data like strftime function.(only file type) + '%-': ns(decimal), %%=%
# PLUGIN program file path for plugin
# FORMAT output format.(only file type)
# %H hostname
# %P thread(process) id
# %F file path
# %f file name
# %T time, formatted by FILE_TIMEFORM
# %L output content data
# * If FORMAT is not specified, it means "%L".
#
# TRANSCONF slave chmpx configuration file path.(only trans type)
# K2HTYPE type of k2hash used by transfer mode
# K2HFILE file path of k2hash used by transfer mode, when file type
# K2HFULLMAP mapping type of k2hash used by transfer mode, when file type
# K2HINIT initializing of k2hash used by transfer mode, when file type
# K2HMASKBIT init mask bit count of k2hash used by transfer mode, when file type
# K2HCMASKBIT collision mask bit count of k2hash used by transfer mode, when file type
# K2HMAXELE maximum element count of k2hash used by transfer mode, when file type
# K2HPAGESIZE page size of k2hash used by transfer mode, when file type
# DTORTHREADCNT k2hdtor thread count
# DTORCTP custom transaction plugin
#
[K2HFTFUSESVR]
TYPE = file
FILE_BASEDIR = /tmp/mnt/k2hftfusesvr
FILE_UNIFY = log/unify.log
FILE_TIMEFORM = "%F %T(%s %-)"
PLUGIN = /bin/cat
FORMAT = "%H:%F(%P):%f[%T] %L"
#TRANSCONF = k2hftfusesvr_test_trans_slave.ini
#K2HTYPE = mem
##K2HFILE = /tmp/test/k2hftfuse.k2h
##K2HFULLMAP = yes
##K2HINIT = yes
K2HMASKBIT = 4
K2HCMASKBIT = 4
K2HMAXELE = 2
K2HPAGESIZE = 128
#DTORTHREADCNT = 1
#DTORCTP = path.so
#
# 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
#