解决了

虚拟机下电选项有什么区别?

  • 2020年11月16日
  • 2回答
  • 1760的浏览量

徽章 +1

你好,

我能得到不同命令的解释吗?

干杯!

图标

最佳答案Alona2020年11月17日

Hey Sammy777,<\/p>

\u00a0<\/p>

I remember being puzzled by the same question:)<\/p>

Think about it as having a physical server.<\/p>

You can log in to the OS and issue shut down from the OS interface. - That is Guest Shutdown. The tasks are ended, information stored. RAM cleared in a safe fashion with preserving the data that is required.<\/p>

You can tell OS to reboot. That is Guest Reboot.<\/p>

You can push the power button on the server and force it to shut down. Or even pull the power cord. That would be the effect of the power off. Not recommended unless a last resort option.<\/p>

Power cycle is a combination of a power off followed by a power on.<\/p>

Reset is equivalent to holding the power button pressed forcing the host to reboot. Not as clean as when performed from the guest OS.<\/p>

I guess the takeaway would be to use Guest operations where possible. And do not use power off unless you have working access to IPMI (not so much applicable to VMs, of course).<\/p>

Let me know if this helps or if you have furhter questions.<\/p>","className":"post__content__best_answer"}">

查看原始

2回答

Userlevel 6
徽章 +5

嘿,Sammy777,

我记得我也被同样的问题所迷惑:)

可以把它想象成一个物理服务器。

用户可以登录操作系统,从操作系统界面发出关机命令。-那是客人关门。任务结束,信息存储。RAM以一种安全的方式清除,保留所需的数据。

你可以告诉OS重启。这就是Guest Reboot。

按服务器上的电源按钮可以强制服务器关闭。甚至拔掉电源线。这将是断电的影响。除非万不得已,否则不推荐。

电源循环是关机后再开机的一种组合。

复位相当于按住电源按钮强制主机重启。不像从客户操作系统执行时那样干净。

我想我们应该尽可能使用Guest操作。除非您能够正常访问IPMI(当然,不太适用于vm),否则不要使用断电。

如果有帮助,请让我知道,或者如果你有进一步的问题。

徽章 +1

谢谢!
@Alona

这是启蒙。

回复


Baidu