I am looking for a procedure to turn off some shards from a Sharded Cluster.
I have done some research but as far as I can tell there is no clear procedure.
I understand that I can run removeShard, but if something fails or gets deleted it could be an issue.
I prefer first to set the primary to a specific server and then start removing shards.
Is there a procedure for that ?