摘要
随着虚拟化技术的成熟,虚拟的计算机硬件环境可以执行真实物理计算机的所有操作指令,为了节省投资及服务器管理的方便,虚拟服务器在各个领域都得到广泛的应用。但虚拟服务器受到损害的最常见原因依然是突然掉电,在配备UPS的情况下,若长时间断电,由于UPS电量不足依然会造成虚拟服务器的崩溃。通过在虚拟服务器上监听市电的情况,当UPS电量不足时主动关闭系统,诊断服务程序轮询虚拟服务器,当没有回应时执行开机命令,甚至发送短信和邮件给管理员,实现了虚拟服务器在断电时的自我保护及恢复供电后自动开机的智能管理。
Along with the perfection of virtualization technology, virtual environment of computer hardware can execute all commands of real computer. Virtual server achieves wide application in all fields for the purpose of investment-saving and convenience of server management. But blackout is still the most familiar reason of virtual server' s damage. Even though equipped with a UPS, a virtual server would collapse without power strong enough supplied by the UPS. The system will be off if the power of UPS is not enough by monitoring the power at virtual server. The diagnostic services program polls the virtual server, and executes a command of power-off without a reply, even then sends a message and e-mail to the manager. It is an intelligent management of self-protection at blackout and oower on automatically after oower resuminz that the virtual server realizes.
出处
《计算机与现代化》
2012年第8期201-205,共5页
Computer and Modernization
基金
罗定职业技术学院重点科研课题(KY10032)