Solved

VMware ESXi 5 - Behavior when VM OS gets corrupted

Posted on 2013-01-21
7
459 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 121

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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 121
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

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

615 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