What is clean process to stop shard servers

Hi, i want to understand what is clean process to stop shard servers.

correct me if i am working:
stop load balancer.
stop mongos
stop secondary nodes off config server and then primary.
stop replicasets secondary nodes and then primary

1 Like

That basically sounds good, yeah.

Don’t forget step zero: quiesce the application using the database, so it stops sending data before you shut things down.

But that’s theoretical, since we don’t have an active app here :wink: