Closed hbyhl closed 4 years ago
源mongo集群: mongos:127.0.0.1:27017 config-server:127.0.0.1:27029(主),127.0.0.1:27039(副本) shard-server: shard1: 127.0.0.1:27018(主),127.0.0.1:27038(副本) shard2: 127.0.0.1:27028(主),127.0.0.1:27048(副本)
目的mongo集群: mongos:127.0.0.1:28017
collector.conf: mongo_urls = mongodb://127.0.0.1:27048;mongodb://127.0.0.1:27038 tunnel.address = mongodb://127.0.0.1:28017 context.storage = database context.storage.url = mongodb://127.0.0.1:27017 context.address = ckpt_default
执行错误提示:Configure file collector.conf parse failed. couldn't found structure key's tag 'context.address'. one must be tagged
context.address 应该怎么配置呢
用错了不同版本的配置文件
源mongo集群: mongos:127.0.0.1:27017 config-server:127.0.0.1:27029(主),127.0.0.1:27039(副本) shard-server: shard1: 127.0.0.1:27018(主),127.0.0.1:27038(副本) shard2: 127.0.0.1:27028(主),127.0.0.1:27048(副本)
目的mongo集群: mongos:127.0.0.1:28017
collector.conf: mongo_urls = mongodb://127.0.0.1:27048;mongodb://127.0.0.1:27038 tunnel.address = mongodb://127.0.0.1:28017 context.storage = database context.storage.url = mongodb://127.0.0.1:27017 context.address = ckpt_default
执行错误提示:Configure file collector.conf parse failed. couldn't found structure key's tag 'context.address'. one must be tagged
context.address 应该怎么配置呢