2024年3月25日发(作者:)
3 replSetName: "rs_zxl"
4sharding:
5 clusterRole: shardsvr
config server配置(单实例节点的基础上)
sharding:
1
clusterRole: configsvr
2
mongos配置,(与单实例不同)
1
2
3
4
5
6
7
8
systemLog:
destination: file
path: /data/logs/
logAppend: true
net:
port: 27019
sharding:
configDB: 192.168.33.131:30000


发布评论