Solved

VMware ESXi 5 - Behavior when VM OS gets corrupted

Posted on 2013-01-21
7
454 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
7 Comments
 
LVL 119

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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 119
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 19

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

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

Suggested Solutions

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.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

776 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