Solved

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

Posted on 2016-07-14
4
82 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 95

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 96

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 95

Expert Comment

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

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

From Coral's  "So You Want To Play With Computers" Series A bit of background first, so this story will make a little sense. One day, probably because he needed a good laugh, Finagle hooked me up with a church to upgrade/run their Media Booth.…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

724 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