Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

VMWare Recovery

Posted on 2011-03-18
9
Medium Priority
?
561 Views
Last Modified: 2012-05-11
We had a massive iSCSI SAN failure and the raid array got scrambled.  We ended up reconfiguring the array on the server as it was hopelessly corrupt.  We then restored the VMDK images to the server.  

The problem is that one of the servers had a snapshot made.  I am trying to figure out how to re-add the host to ESX4.1i with the snapshot image coming up as the boot image.  It should of been committed earlier, but for some reason it was not done.

So my question is in ESXi, how do I add a host and have it know about the snapshot image?
0
Comment
Question by:dlainc
[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
  • 4
  • 4
9 Comments
 
LVL 16

Expert Comment

by:Danny McDaniel
ID: 35169014
when you add the VM and go into edit settings, do you see that it is pointing to the snapshot file for the disk?  it's usually got -00000#.vmdk name when you click on the disk.  If that's there, then you can boot up the VM and when you're ready to commit the snapshot, take another snapshot, then do a delete all and it should rollup all snapshots into the base disk.
0
 
LVL 42

Expert Comment

by:paulsolov
ID: 35169039
If you don't have the images you're stuck.  Since you did a restore and snapshots are not there you're not going to be able to connect..especially if you have snapshots but they are from a different time then the restore.  The data would would be corrupt either way

0
 

Author Comment

by:dlainc
ID: 35169098
I have all of the vmdk files.  I just cannot create a new machine because it does not accept that the snapshot vmdk as a valid disk.

When I mount the base disk, it does not show the associated snapshots with the machine.
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 16

Expert Comment

by:Danny McDaniel
ID: 35169115
oh, you didn't backup/restore the .vmx???
0
 
LVL 16

Expert Comment

by:Danny McDaniel
ID: 35169135
you could try using vmkfstools form the command line to consolidate the snapshot into a new disk, too.  'vmkfstools -i olddiskname.vmdk newdiskname.vmdk'  where olddiskname.vmdk is the name of the last snapshot descriptor.
0
 

Author Comment

by:dlainc
ID: 35169141
I have everything in the directory.  I have never had to do this sort of restore.

Will this work?

Create the new virtural machine (to create the directory)

Copy all the old files with snapshots into the directory?  Or do I need to create a snapshot first so the ESXi server knows to look for a snapshot file?
0
 

Author Comment

by:dlainc
ID: 35169155
Sorry if this is a bit disjointed, I am a little sleep deprived right now.

One of the problems I am having is that since we rebuilt the entire iSCSI array, none of the directories EXACTLY match what was there before.  I am looking at the vmkfstools command right now to see if that will accomplish the merging of the two vmdk files together.
0
 
LVL 16

Accepted Solution

by:
Danny McDaniel earned 1000 total points
ID: 35169160
If you have all of the files, including the .vmx in the directory, use the datastore browser to browse to the directory and right-click on the .vmx file and choose 'add to inventory'.  That will register the VM on the host with all of the original VM settings.

the datastore browser if is started by going to Configuration|Storage and then right-clicking on the datastore you want to look at, then select 'browse datastore'
0
 

Author Comment

by:dlainc
ID: 35169228
danm66:  That is exactly what I needed to have.  I am reporting the files right now since I started up the base vmdk image so it has a more recent timestamp than the snapshot.  As soon as it finishes porting, I will do what you suggested.

Thank you.  I will confirm this solution later tonight.

0

Featured Post

How Blockchain Is Impacting Every Industry

Blockchain expert Alex Tapscott talks to Acronis VP Frank Jablonski about this revolutionary technology and how it's making inroads into other industries and facets of everyday life.

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
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…

661 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