Solved

How to connect a recoverd datastore to the old vm's

Posted on 2010-09-22
9
1,403 Views
Last Modified: 2012-05-10
I got a VMware cluster with several inaccessible vm's
I recovered the datatore where the machines or on with
esxcfg-volume -r    <datastore-id>
Now i can see the recovered datastore next to the old one, which has a label with inactive.
How do I proceed? How do I connected the machines to the recovered datastore with the name
snap-5fce93e5-GT_Backup_Test-VMs?
GT_Backup_Test-VMs is the name of the old inactive datatsrore
0
Comment
Question by:howart
  • 4
  • 4
9 Comments
 
LVL 2

Expert Comment

by:ntype
ID: 33741557
Do you want to reconnect the vm as full functionning hosts or just have the possibility to recover the data on them ?
0
 
LVL 1

Author Comment

by:howart
ID: 33741582
I want to reconnect them as full functioning hosts.
0
 
LVL 22

Expert Comment

by:Luciano Patrão
ID: 33742030
Hi

If I understand right your problem, I think you need to change the Storage name to its original name.

Jail
0
 
LVL 1

Author Comment

by:howart
ID: 33742292
After surfing the internet and some puzzeling  I got the following pocedure:

Well i did the following:
browse the snap-5fce93e5-GT_Backup_Test-VMs datastore
look for the *vmx file
right-clickit and choose add to inventory
give the machine a new name <machine-name>-restored
power up the machine
answer the question that it is a copy of an existing machine in the summary tab of the vm
go to to the console and logged into the machine
set its ip address.  
removed the old inaccessible machine from the inventory

Hura  we are up and running again with the most

Please correct me if there is a better one.
But thx anyway.

0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 22

Expert Comment

by:Luciano Patrão
ID: 33742421
Hi

But this is the right way if you have access to that Storage. Do you have already access to that Storage? And the Storage name is the same as before?

If yes, yes that is the right way to do it. And if you have many VMs, and want to register all, you can run a script that will add all to your inventory in the vCenter

Jail
0
 
LVL 1

Author Comment

by:howart
ID: 33742497
about 4 vms
First I had toe recover the snapshots
login on the ESX host
list hte volumes with
#  esxcfg-volume --list
this will give you a list of snapshot volumes
Mount the snapshot with
# esxcfg-volume --mount <datastoreID>
and resign them
# esxcfg-volume -r <datastoreID>
the snapshot will now appear in the datastore list of vSphere client.

and then browse that datastore for the vmx files.

etc.


0
 
LVL 22

Accepted Solution

by:
Luciano Patrão earned 500 total points
ID: 33742544
Hi

Ok you are talking about a Datastore snapshot.

Yes you need to add that Datastore to th host, all that tasks is ok, and also the previous ones to add the VMs to the vCenter.

So you have done :)

Jail
0
 
LVL 1

Author Closing Comment

by:howart
ID: 33742812
;)  thx mate
0
 
LVL 22

Expert Comment

by:Luciano Patrão
ID: 33742872
Hi

Glade to help, but you did find your way ;)

Jail
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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.
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now