如何以编程方式检测 VMWare Workstation 中的蓝屏?
我希望能够自动检测虚拟机中是否发生了 BSOD(使用 VMWare Workstation 和 VIX)。我正在 VMWare 中使用所有版本的 Windows 测试软件,想知道何时发生蓝屏。
最好我还想尝试自动向自己发送 BSOD 生成的转储文件,但一旦我检测到 BSOD 实际发生,我可能就能弄清楚这一点。
由于成本问题,VMWare HA 并不真正适合我,而且我并不真正关心恢复......我只关心检测。
有什么想法吗?
I would like to automatically be able to detect if a BSOD has occurred in a VM (using VMWare Workstation and VIX). I am testing software using all versions of Windows in VMWare and would like to know when a blue screen occurs.
Preferrably I would also like to attempt to automatically send myself the dump file that the BSOD generates, but I can probably figure that out once I can detect that the BSOD actually happened.
The VMWare HA doesn't really suit me due to costs and I don't really care about recovering ... I just care about detection.
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
让来宾操作系统定期向另一台服务器报告“我还活着”消息。如果未能报告,则做最坏的打算。
我不是 VMWare 方面的专家,但如果可以通过编程方式获取操作系统磁盘访问和处理器使用情况,那么这也会让您知道。它们不应该为零,但会出现 BSOD。
Have guest OS report in to another server with an "I'm Alive" message periodically. If it fails to report assume the worst.
I'm not an expert on VMWare, but if it is possible to programattically get OS disk access and processor usage, then that would also let you know. They shouln't be zero but they will be in a BSOD.
如果我是您,我将在每次重新启动时查询事件日志(我假设您已激活自动重新启动)。您可以在那里找到 BSOD 的证据,然后发送转储或执行任何您需要的操作。
I will query the EventLog in each reboot if I were you (I'm assuming you have autoreboot activated). You can find the evidence of a BSOD there and then send the dumps or do whatever you need.