I think a lot of people are having issues with this, according to the discussion forum. I am unable to validate this first lab. In desperation I created a new VM and created a fresh m103-repl set, then the config cluster, mongos, etc but still getting errors when I validate the loab.
$ validate_lab_first_sharded_cluster
Replica set ‘m103-repl’ not configured correctly - make sure each node is started with
a wiredTiger cache size of 0.1 GB. Your cluster will crash in the following lab
if you don’t do this!
I have double checked and the servers in the cluster ‘m103-repl’ are running with the memory restriction
$ grep cacheSizeGB mongod-repl-*.conf
mongod-repl-1.conf: cacheSizeGB: .1
mongod-repl-2.conf: cacheSizeGB: .1
mongod-repl-3.conf: cacheSizeGB: .1
I have also checked the 3 nodes using db.serverStatus().wiredTiger.cache
In each case it returns this value along with many other configurataions:-
“maximum bytes configured” : 106954752.
It equates to approximately 0.1GB.
Any help greatly appreciated.
Garrett