我有一个交stream电源丢失的过程:
UPS emails an "On battery" message UPS sends a power loss shutdown event to the host OS (hyper-V server 2012 R2) Host OS sends SNMP messages (via UPS software) to all vm servers to shutdown immediately Host OS shuts down after time delay allowing vm servers to gracefully shutdown UPS turns off after time delay allowing Host OS to gracefully shut down When AC is restored, the UPS auto-starts and the host BIOS boots automatically Host OS then turns on all vm's using Hyper-V auto-start Each server including the host uses Group Policy to send emails for shutdown/startup
系统完全按照要求工作,在每个关键点发送电子邮件。 整个系统在AC恢复时正常醒来。
我关心的是如何处理这个过程,如果它不能持续到最后,因为AC在所有的事情都关掉之前就恢复了。 例如,如果主机从不closures,那么Hyper-V将永远不会启动,并且不会触发vm的启动。
是否有一些最佳实践/想法来pipe理,确保系统在这些情况下自动重启?