关闭集群的说明是在群集中的CVM上使用“ sudo shutdown -p now”以关闭每个群集,但是该命令仅在第一个CVM上使用。该命令将其余的CVM误解,因为它们无法达到关闭的第一个CVM。我想念什么吗?
最好的答案nupur.Sakhalkar
When you run this command on the first CVM, the first CVM will successfully grab\u00a0the shutdown token (since none of the other CVMs are currently holding this token as all CVMs are UP) and then power down the CVM. However, when you try to run the same command again on other CVMs when the first CVM is already down, the first CVM won't release the shutdown token while it is offline and so the above two commands won\u2019t work in this case as you observed for your cluster as well.\u00a0<\/p>
Since your end goal is to shut down multiple CVMs on the cluster at the same time, hence in this case, the standard Linux shutdown command must be used on each CVM to power\u00a0it down:\u00a0<\/p>
sudo shutdown -h now<\/code><\/pre>The above linux command won\u2019t check for any shutdown tokens and so multiple CVMs can be taken down at the same time.<\/p>
An important point to note here\u00a0is that this command should only be used on CVMs when the cluster is in stopped state (user VMs are powered down already) and you want to shutdown multiple CVMs at the same time. For any other case, always use\u00a0\u201ccvm_shutdown -P now\u201d command to shutdown the CVM.\u00a0<\/p>
Kindly let us know if the above command helped to resolve your issue.\u00a0<\/p>","className":"post__content__best_answer"}">