?
Solved

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

Posted on 2016-07-14
4
Medium Priority
?
91 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 97

Assisted Solution

by:Experienced Member
Experienced Member earned 1000 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 1000 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 97

Expert Comment

by:Experienced Member
ID: 41710953
You are welcome and I was happy to help.
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

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…
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 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…
Suggested Courses

741 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