Solved

Determine if a Windows Virtual Machine is actually up and running?

Posted on 2016-07-14
4
58 Views
Last Modified: 2016-07-14
What kind of remote test can I do to see if a Windows VM (Windows 8, Windows 10, Server 2012 r2, etc) is actually running Windows as opposed to be "running" but in some kind of failed mode with windows non-operational?

I know I can always ping the machine, but I wonder if that's good enough.  I wonder if there is some kind of failed or paused state that will still return pings but the VM not actually be operational.

I have an automatic routine (in powershell) that periodically checks replication pairs on various hyper-v servers and periodically "resumes replication", one VM at a time, and then pauses the replication before moving on to the next VM on the list.  I want to prevent a failed VM (a corrupt VM, for example) from resuming replication and ruining the previous replica.

Any ideas would be appreciated.

Thanks.
0
Comment
Question by:gateguard
  • 2
4 Comments
 
LVL 90

Assisted Solution

by:John Hurst
John Hurst earned 250 total points
ID: 41710924
A virtual machine is just a machine (little more or less) so you do not really know except by pinging it and attempt to log in.

Unless a server sends you an email, you have to attempt to log in to a server to know if it is running.
0
 
LVL 95

Accepted Solution

by:
Lee W, MVP earned 250 total points
ID: 41710937
Interesting...

You might try to configure the guest machine to save a file / update a file periodically - then have the script check for that update and if not recent enough, cease replicating and notify you...
0
 

Author Closing Comment

by:gateguard
ID: 41710942
Thanks!
0
 
LVL 90

Expert Comment

by:John Hurst
ID: 41710953
You are welcome and I was happy to help.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

The article will show you how you can maintain a simple logfile of all Startup and Shutdown events on Windows servers and desktops with PowerShell. The script can be easily adapted into doing more like gracefully silencing/updating your monitoring s…
The reason that corporations and businesses use Windows servers is because it supports custom modifications to adapt to the business and what it needs. Most individual users won’t need such powerful options. Here I’ll explain how you can enable Wind…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now