github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/docs/user_docs/kubeblocks-for-mongodb/cluster-management/restart-mongodb-cluster.md (about) 1 --- 2 title: Restart a MongoDB cluster 3 description: How to restart a MongoDB cluster 4 keywords: [mongodb, restart a cluster] 5 sidebar_position: 4 6 sidebar_label: Restart 7 --- 8 9 # Restart MongoDB cluster 10 11 You can restart all pods of the cluster. When an exception occurs in a database, you can try to restart it. 12 13 ## Steps 14 15 1. Restart a cluster with `kbcli cluster restart` command and enter the cluster name again. 16 17 ```bash 18 kbcli cluster restart mongodb-cluster 19 > 20 OpsRequest mongodb-cluster-restart-pzsbj created successfully, you can view the progress: 21 kbcli cluster describe-ops mongodb-cluster-restart-pzsbj -n default 22 ``` 23 24 2. Validate the restarting with the request code randomly generated, in this guide, it is `pzsbj`, see step 1. 25 26 ```bash 27 kbcli cluster describe-ops mongodb-cluster-restart-pzsbj -n default 28 ```