I have started mongos and it is running on port 26000 but I do not know next steps to deploy shard. In lecture it was asked to add
sharding: clusterRole: shardsvr storage: dbPath: /var/mongodb/db/node1 wiredTiger: engineConfig: cacheSizeGB: .1
Do we have to add these or it has been already added?
My config file is below:
security: keyFile: /var/mongodb/pki/m103-keyfile net: bindIp: localhost port: 26000 systemLog: destination: file path: /var/mongodb/logs/mongos.log logAppend: true processManagement: fork: true sharding: configDB: csrs/localhost:27004,localhost:27005,localhost:27006