# Preparing for Version Upgrade - Cluster Monitoring Status Check

__*TiDB version upgrade*__
__*Preparation before version upgrade*__
__*tiup cluster check*__

+ Check the current region health status of the cluster
  + `tiup cluster check <cluster-name> --cluster`

-------------------------------------------------------------
To avoid undefined behavior or other failures during the upgrade process, it is recommended to check the current region health of the cluster before upgrading, which can be done with the check subcommand.

tiup cluster check <cluster-name>—cluster

At the end of the execution, the region status check result will be output. If the result is "All regions are healthy", all regions in the current cluster are healthy and the upgrade can continue; if the result is "Regions are not fully healthy: m miss-peer, n pending- peer" and prompts "Please fix unhealthy regions before other operations. ", it means that some regions in the current cluster are in an abnormal state. You should first remove the corresponding abnormal state and check that the result is "All regions are healthy" again before proceeding with the upgrade.