Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
123 lines (116 sloc) 3.58 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 SVR
#
{
#
# GLOBAL SECTION
#
"GLOBAL":
{
"FILEVERSION": "1",
"DATE": "Thu, 17 Nov 2016 10:00:51 +0900",
"GROUP": "DTORTESTTRANS",
"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": "8030",
"CTLPORT": "8031",
"SELFCTLPORT": "8031",
"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": "8030",
"CTLPORT": "8031",
"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": "8032",
#"CAPATH": "/etc/ssl/certs",
#"SLAVE_CERT": "/home/xxxxx/certs/client.crt",
#"SLAVE_PRIKEY": "/home/xxxxx/certs/client_201501.key"
}
],
#
# K2HTPDTORSVR
#
"K2HTPDTORSVR":
{
"OUTPUTFILE": "/tmp/k2hftdtorsvr_trans_archive.log",
"PLUGIN": "/tmp/k2htpdtorsvr_plugin.sh /tmp/k2hftdtorsvr_trans_plugin.log",
#"K2HTYPE": "mem",
"K2HTYPE": "file",
"K2HFILE": "/tmp/k2hftdtorsvr_trans.k2h",
#"K2HFULLMAP": "yes",
#"K2HINIT": "yes",
#"K2HMASKBIT": "4",
#"K2HCMASKBIT": "4",
#"K2HMAXELE": "2",
#"K2HPAGESIZE": "128"
}
}
#
# VIM modelines
#
# vim:set ts=4 fenc=utf-8:
#