SHARDED MONGODB CLUSTER ======================= Run every script below from the extension's top-level directory. On the router/orchestration computer, create and edit the active setup file: cp _mongodb_cluster_setup.bash.in _mongodb_cluster_setup.bash Set the router hostname, config-server hostname and the shard-host array. Check out the same extension and run ./INSTALL.sh on every configured host, then copy the same active setup file to each checkout. From the router computer: source ./SETUP.bash ./CLUSTER-SERVER/COPY-MONGODB-CLUSTER-SETUP.sh ./CLUSTER-SERVER/CHECK-MONGODB-CLUSTER-SETUP.sh ./CLUSTER-SERVER/CONFIGURE-MONGODB-CLUSTER.sh Normal cluster-wide operation from the router computer: ./CLUSTER-SERVER/RUN-MONGODB-CLUSTER-START.sh ./CLUSTER-SERVER/RUN-MONGODB-CLUSTER-STATUS.sh ./CLUSTER-SERVER/RUN-MONGOSH.sh ./CLUSTER-SERVER/RUN-MONGODB-CLUSTER-STOP.sh Role-specific and local-process scripts are provided for diagnosis and manual operation. CONFIGURE scripts are normally needed only during initial setup or when a new shard is introduced.