Solved

VMware ESXi 5 - Behavior when VM OS gets corrupted

Posted on 2013-01-21
7
457 Views
Last Modified: 2013-02-08
Hi,

I have a question on how the VMware will behave on this scenario:

I have one VM that can run in two diferent hosts. - HA running

Lets say the OS of the VM gets corrupted and the VM crahses, so it will failover to the other host, but since the OS is corrupted, it will fail to start on the other host as well right?

How would VMware behave? Is there anything to be done to prevent this?

Tks,
Joao
0
Comment
Question by:joaotelles
[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
7 Comments
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 38802032
If the VM OS gets corrupted it's corrupted.

VMware will start the VM, but if the VM OS is corrupted, the OS will not BOOT or function.

No, there is nothing that can be done to prevent this, VMware does not prevent VM (Operating Systems from getting corrupted).

Ensure you have Good Backups for restore.

We've been working with VMware technologies for many years, and we've not seen many VMs get corrupted, unless your datastore (RAID array breaks!)
0
 
LVL 28

Expert Comment

by:jhyiesla
ID: 38802037
No, if the guest VM OS fails, it fails; period. It will not fail over assuming that the reason for the failure was NOT the host having difficulty.

There are several things you can do to help avoid this scenario though.  There is a Fault Tolerant option that is available, though there are some caveats with using it. If this is a critical VM, you could create a clone of it and just have it sitting there. The "best" option is to have a good backup of each VM in your environment. Look at something like VEEAM as a viable backup.
0
 
LVL 28

Expert Comment

by:jhyiesla
ID: 38802043
0
Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

 
LVL 120
ID: 38802044
If you are using VMware FT which mirrors the OS, the secondary copy will also be FAULTY!

because all changes committed in the Primary VM, are SYNC LOCKED and MIRROED to the secondary VM.

VMware FT is not going to help with a Corrupted OS.

e.g. you patch VM1 which is in FT with VM2, the patch causes VM1 to Blue Screen, VM2 will also Blue Screen!

To Avoid or Risk Against Corruption

1. Use a UPS
2. Use a good Storage Controller
3. Use RAID 10,6 or 5.
4. Take regularly Backups.
0
 
LVL 28

Expert Comment

by:jhyiesla
ID: 38802092
Sorry...you're right about FT :)
0
 
LVL 20

Expert Comment

by:compdigit44
ID: 38824994
If you have a Vm that runs a mission critical app, and you need a way to recover the VM/OS, you could create a powershell script to take a snapshot everyday then create  another script to remove the previous days snapshot. This will allow you to recover the VM very fast if need by and still be able to use HA to protect again host hardware failure.
0
 

Author Closing Comment

by:joaotelles
ID: 38867771
tks
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

739 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