Solved

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

Posted on 2016-07-14
4
75 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 94

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 94

Expert Comment

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

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
This article will review the basic installation and configuration for Windows Software Update Services (WSUS) in a Windows 2012 R2 environment.  WSUS is a Microsoft tool that allows administrators to manage and control updates to be approved and ins…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
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…

733 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