1、配置数据源,需要手工修改gbGateway工具下的.cfg文件,配置文件格式为:
[数据源名称]
数据源 IP
dataSource.IP=IP1
数据源端口号
dataSource.port=port
数据源库名
dataSource.dbname=xxx
数据源类型(gbase)
dataSource.dbtype=type
数据源用户名
dataSource_user=gbase
数据源密码
dataSource_pwd=gbase20110531
数据源字符集
dataSource_charset=[utf8|gbk]
2、配置 gbGateway 参数
gbGateway 有如下参数:
#gbGateway 的 IP
gbGateway.IP=IP1
# gbGateway 的端口号
gbGateway.port=port
3、配置 coordinator 连接参数,网关的 conf/gcluster 路径下需要配置所有本地 gcluster 的 COORDINATOR
的连接参数配置文件:
文件名规则: ip_用户名.properties , 如: 192.168.106.4_root.properties,
示例如下:
gcluster.pwd=111111 -- 用户密码
gcluster.encode=utf-8 -- gcluster 所使用的字符集
gcluster.port=5258 -- 端口
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。