Solved

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

Posted on 2010-09-22
9
1,406 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
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 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
 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Options for replicating VMware VMs from Production to DR? 2 59
replace a Storage 5 78
What is the best method for LongTermArchival of a VM 13 67
VMWare & and Storage 10 72
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

770 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