Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
125 lines (118 sloc) 3.84 KB
#
# k2htpdtor for K2HASH TRANSACTION PLUGIN.
#
# Copyright 2015 Yahoo Japan Corporation.
#
# K2HASH TRANSACTION PLUGIN is programmable I/F for processing
# transaction data from modifying K2HASH data.
#
# 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 17 2016
# REVISION:
#
#
# CHMPX CONFIGURATION FILE FOR TESTING K2HTPDTOR
#
{
#
# GLOBAL SECTION
#
"GLOBAL":
{
"FILEVERSION": "3",
"DATE": "Wed, 19 Aug 2015 17:06:32 +0900",
"GROUP": "DTORTEST",
"MODE": "SERVER",
"DELIVERMODE": "random",
#"DELIVERMODE": "hash",
"MAXCHMPX": "2",
"REPLICA": "0",
"MAXMQSERVER": "1",
"MAXMQCLIENT": "1",
"MQPERATTACH": "1",
"MAXQPERSERVERMQ": "1",
"MAXQPERCLIENTMQ": "1",
"MAXMQPERCLIENT": "1",
"MAXHISTLOG": "1000",
"PORT": "8020",
"CTLPORT": "8021",
"SELFCTLPORT": "8021",
"RWTIMEOUT": "100",
"RETRYCNT": "1000",
"CONTIMEOUT": "500000",
"MQRWTIMEOUT": "50",
"MQRETRYCNT": "20000",
"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"
}
],
#
# K2HTPDTORSVR
#
"K2HTPDTORSVR":
{
"OUTPUTFILE": "/tmp/k2hftdtorsvr_archive.log",
"PLUGIN": "/tmp/k2htpdtorsvr_plugin.sh /tmp/k2hftdtorsvr_plugin.log",
#"K2HTYPE": "mem",
"K2HTYPE": "file",
"K2HFILE": "/tmp/k2hftdtorsvr.k2h",
#"K2HFULLMAP": "yes",
#"K2HINIT": "yes",
#"K2HMASKBIT": "4",
#"K2HCMASKBIT": "4",
#"K2HMAXELE": "2",
#"K2HPAGESIZE": "128",
"K2HDTORSVR_TRANS": "dtor_test_trans_slave.json",
"DTORTHREADCNT": "1"
}
}
#
# VIM modelines
#
# vim:set ts=4 fenc=utf-8:
#