Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
146 lines (139 sloc) 3.94 KB
#
# 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: Thu Nor 24 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
},
{
NAME: localhost,
PORT: 8022,
CTLPORT: 8023,
SSL: no
},
{
NAME: localhost,
PORT: 8024,
CTLPORT: 8025,
SSL: no
},
{
NAME: localhost,
PORT: 8026,
CTLPORT: 8027,
SSL: no
}
]
#
# SLAVE NODES SECTION
#
SLVNODE:
[
{
NAME: "[.]*",
CTLPORT: 8031
}
]
#
# K2HDKC SECTION
#
K2HDKC:
{
#RCVTIMEOUT: 1000,
#SVRNODEINI: <file path>,
#REPLCLUSTERINI: <file path>,
#DTORTHREADCNT: 1,
#DTORCTP: path.so,
K2HTYPE: mem,
#K2HTYPE: file,
#K2HFILE: /tmp/k2hdkc.k2h,
K2HFULLMAP: on,
K2HINIT: yes,
K2HMASKBIT: 8,
K2HCMASKBIT: 4,
K2HMAXELE: 16,
K2HPAGESIZE: 128,
#PASSPHRASES: <pass phrase>,
#PASSFILE: <file path>,
#HISTORY: on,
#EXPIRE: 300,
#ATTRPLUGIN: <file path>,
#MINTHREAD: 1,
MAXTHREAD: 20,
#REDUCETIME: 30
}
#
# VIM modelines
#
# vim:set ts=4 fenc=utf-8:
#