Solved

Transferred Vmdk and Vmx files to new datastore. How do I fire it up? Not working

Posted on 2013-01-24
64
1,401 Views
Last Modified: 2013-01-25
Heya

I managed to manually transfer a VMDK and Vmx file across from one datastore and now have copied it to another. So both .vmx and .vmdk files are sitting in the same location.

However, I don't know how to fire it up. I went to the datastore location and right clicked on the .vmx file and did 'add to inventory'.

But I'm sure there's something I'm not doing right here as I've attached the picture error.
0
Comment
Question by:Yashy
  • 35
  • 29
64 Comments
 
LVL 118
ID: 38813598
If it's been added to the inventory, Power On!

where's the screenshot?
0
 
LVL 1

Author Comment

by:Yashy
ID: 38813602
I missed it..oops. Re-attached.
Vmware.jpg
0
 
LVL 118
ID: 38813621
this indicates a file is missing or in the wrong location.

upload screen shots of the datastore and folder the VM is located in.

how did you copy?
0
 
LVL 1

Author Comment

by:Yashy
ID: 38813718
Okay, so I'll post from beginning:

I've realised some discrepencies. Okay, so picture 1 shows the original VM (you can see it sits on two datastores?)

Picture two and three shows the datastores where they content is located.

Picture 4 shows the location where I had backed up this VM using Symantec Backup Exec. However the backup only shows as being around 66gb, whereas the original datastore shows as being 100gb?
Original-setting.jpg
Original-setting-2.jpg
Original-setting-3.jpg
Restore-location.jpg
0
 
LVL 118
ID: 38813844
Okay, I understand what is going on.

the easiest way to get this resolved, is to remove the disks from the VM, (remove from inventory) not from disk.

Add the disks back, edit the VM, select Add disk, select existing disk, and browse to the datastore.

this is because the VMX file has references to different datastores.
0
 
LVL 1

Author Comment

by:Yashy
ID: 38813863
Just one question though. My backup from Symantec was a full 66gb. But can you see that the used storage says '100gb'? Do you think the backup might have compressed the file hence it is smaller?
0
 
LVL 118
ID: 38813887
yes, or it's just copied used space.
0
 
LVL 1

Author Comment

by:Yashy
ID: 38813939
is this how you remove from inventory? (pic attached)
Remove-from-inventory.jpg
0
 
LVL 118
ID: 38813973
that's correct.
0
 
LVL 1

Author Comment

by:Yashy
ID: 38814006
I've removed it entirely from inventory.

I went to the datastore again and right clicked onto the .vmx. Added to a folder called 'Wiki'.

I then went in and tried to remove the original disk. The error comes up as follows (attached).
Vmware-Invalid.jpg
0
 
LVL 1

Author Comment

by:Yashy
ID: 38814069
I've taken pic 1, as the location it is looking in. It's just not right.

I've taken pic 2 for you. Look at where it's looking in for the VMDK file. That is now where it should be. Even when I tried to change it's location to the correct place which is 'Production_Datastore3' it won't go there.
VM-config.jpg
Datastore.jpg
0
 
LVL 118
ID: 38814162
remove the references in the VM settings, and then move the vmdks into the correct vm folder.
0
 
LVL 1

Author Comment

by:Yashy
ID: 38814185
Which references?

The Vmdk's are in the correct location.
Vmdk.jpg
0
 
LVL 118
ID: 38814245
okay, if you add the VMDK? manually....

are these in the correct locations vmdk and vmx files?
0
 
LVL 118
ID: 38814252
how did you copy these files?
0
 
LVL 1

Author Comment

by:Yashy
ID: 38814356
I mean they are all in completely different datastores than they were in the original place.
In the original datastore, the VMDK and .VMX files were in different locations to one another.

Would this matter?

So I copied using symantec backup exec to the local server. From the local server, I copied them across the network onto another local server.

I then went onto the Vcenter. I browsed to a free datastore. I browsed to it and created a folder called 'RDPTemp'. I uploaded from the local server, all the files I'd copied into this location. That's it. Added the 'Vmx' to the inventory. That's all I did.
0
 
LVL 1

Author Comment

by:Yashy
ID: 38814408
Should I be adding .VMX files to one datastore and .VMDK to another?

Don't get it at all.
0
 
LVL 1

Author Comment

by:Yashy
ID: 38814504
I'm trying to redo it all from scratch.

I've noticed that the original VMDK files were on a datastore with a 1mb block size. I'm moving it from the 8mb size I put them on, to a datastore with a 1mb block size.

I'll then put the .vmx file in the 8mb file (same as the original) and see if that works. Otherwise, I might go nuts.
0
 
LVL 118
ID: 38814508
What you have done is correct, all files should remain in a single folder, the vmx and vmdk.

if you add the RDPTemp.vmdk to the VM, and is there an error Power On error?

the vmdk is certainly too large for a 1MB block size as it exceeds 256GB.

what you can do, also to check if the vmdk is correct, is create a new custom VM, using the same spec, e.g. cpu, memory, nic, and add the existing hard drive
0
 
LVL 1

Author Comment

by:Yashy
ID: 38814643
This what I get if I do that:
Vmware.jpg
0
 
LVL 118
ID: 38814676
check the VM settings are the same as the original, and pay special attention to the storage controller, is it the same?
0
 
LVL 118
ID: 38814682
can you screenshot the original VM files and location, followed by a screenshot of the VM settings
0
 
LVL 1

Author Comment

by:Yashy
ID: 38814978
I'm just on the phone with Vmware. THey tell me Hanccocka that the actual VM may have not been shut down correctly. So instead of Start->Shut Down, we did a 'Power Off Guest'.

And I backed it up from there. Is that a possibility?
0
 
LVL 1

Author Comment

by:Yashy
ID: 38814999
And under no circumstances am I undermining you either. This is an ongoing call with these guys....
0
 
LVL 118
ID: 38815029
should not make any difference if you Power Off Guest, or Shutdown.

The VM should still be good.
0
 
LVL 1

Author Comment

by:Yashy
ID: 38815331
Okay, I've got snapshots ffrom the original for you.

From the settings to the datastore locations.
Original.jpg
Original-2.jpg
Original-3.jpg
Original-4.jpg
Original-5.jpg
0
 
LVL 1

Author Comment

by:Yashy
ID: 38815380
Hanccocka, the worst part is that when I even add the .VMDK manually and it comes up with that boot error, I used a Windows 2008 ISO file to go in and attempt a 'repair'. It doesn't even recognise any partitions. It sees 0 Windows installations.

Must be something up with my attempt. Maybe I should try to do another backup again?
0
 
LVL 118
ID: 38815473
I assume the original server still boots?
0
 
LVL 118
ID: 38815502
how to proceed.....

lets try one more time..

delete the new copy you have, get rid of it all.

create a new folder. e.g. RDPTEMP1

copy all the files from FCDESX01_Internal02-8MB_BLKSZ/RDPTemp

to RDPTEMP1

those files are configuration files, *.xml, *.vmx, *.nvram, *.vmsd, *.vmxf

copy all the files from FCDESX01_Internal01-1MB_BLKSZ/RDPTemp

those are *.vmdk

to RDPTEMP1

now, it's possible that the VMX file has a hard vmdk link to the old VMDK in a seperate datastore.

Right Click add to Inventory, and see if you can power ON, if not, remove the virtual disk, and add manually.

Power On.
0
 
LVL 1

Author Comment

by:Yashy
ID: 38815571
Hanccocka, I have had to download it from the Datastore onto the local server. From there it will be copied cross-network.

However, whilst it's downloading the file RDPTemp.vdk is downloading as RDPTemp-flat.
Vmware-download.jpg
0
 
LVL 118
ID: 38815600
correct, the VMware vSphere datastore browser does not show, that the virtual machine disk is made up of two files:-

RDPTemp-flat.vmdk (large file)
RDPTemp.vmdk (small file)

I'm now wondering if the file copy is getting corrupted!
0
 
LVL 1

Author Comment

by:Yashy
ID: 38815802
Just the download from the datastore to the local server is taking over 3hrs.

Then I have to copy it cross-network which will be overnight. Here's hoping this time it works man.
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 38816109
I think if you are going to all this trouble VMware vCenter Converter Standalone 5.0 or

my EE Article may be easier...

HOW TO: "Live Migrate" VMware Virtual Machines between ESX/ESXi hosts and/or datastores for FREE without licenses for vMotion or Storage vMotion
0
 
LVL 1

Author Comment

by:Yashy
ID: 38816744
Thank you as always man.

I've started the process. However, it's gone past 4minutes and I'm at 0's for everything. It's 0 for all processes, 0kbs.

In the category it has 'Bottleneck: detecting' greyed out.

Something up there? Is it the ports that are being used that should be changed?
0
 
LVL 118
ID: 38816766
is this using veeam?
0
 
LVL 1

Author Comment

by:Yashy
ID: 38816785
Yup:((

I mean it detected the Vcentre. It detected the source and destination. It went all the way to the way you describe. I did 'Finish' (and unchecked the tickbox..heaven forbid). And left it there for 10mins. Nada...didn't move.
0
 
LVL 118
ID: 38816788
you are not using Free ESXi?
0
 
LVL 1

Author Comment

by:Yashy
ID: 38816800
It was a version which was installed on the server. It says at the bottom corner License: Enterprise. Period: EXPIRED.

Is this why?
0
 
LVL 118
ID: 38816805
oh dear!

why has your licensed expired, and what do you intend to do about it?
0
 
LVL 1

Author Comment

by:Yashy
ID: 38816809
I don't use it. That's why. It was installed by other guy and I've just joined two months ago. So I'm getting my head around this beast network.

Is this why it didn't transfer?

There is an upgrade so that I can get a free trial and key? Or can I uninstall this and get free version installed?
0
 
LVL 118
ID: 38816815
Veeam does not have access to the licensed APIs.

You could reinstall ESXi, do not apply a license, it will then run in 60 day evaluation mode, with all the bells and whistles.

Free license will not work.

Make sure its a clean install, not an upgrade.
0
 
LVL 1

Author Comment

by:Yashy
ID: 38816826
Will do.

Honestly man, I can't tell you how grateful I am for your input and help on this. Absolute legend. I'll keep you posted; you may have to kip by the time I give feedback. Either way I'll keep you posted.
0
 
LVL 1

Author Comment

by:Yashy
ID: 38816828
Out of curiosity though, if we did have an enterprise licence then that would still be okay right? It would work?
0
 
LVL 118
ID: 38816837
Yes, its not normal for an Expired License!

Ill dig out another EE article for unstalling ESXi
0
 
LVL 1

Author Comment

by:Yashy
ID: 38816844
Hold hold....i'm referring to Veeam licenses NOT Esxi...lol.
0
 
LVL 1

Author Comment

by:Yashy
ID: 38816845
Great, now I've gone ahead and begun uninstalling Veeam..lol.

Our Esxi is fine and licensed. I think I mis-read and it was miscommunication here. Sorry.
0
 
LVL 1

Author Comment

by:Yashy
ID: 38816863
So based on what I was saying prior, we're using fully licenses Esxi hosts.

The Veeam version I was using said: Enterprise, license period; Expired. That's why I thought maybe because it expired it would not do the migration.
0
 
LVL 118
ID: 38816878
Does you Veeam version support Quick Migration?

otherwise, install VMware vCenter Converter Standalone 5.0 in the VM, and create a V2V

see my EE Articles for Hints and Tips, videos of how VMware vCenter Converter Standalone 5.0 i works.


HOW TO:  P2V, V2V for FREE - VMware vCenter Converter Standalone 5.0

HOW TO: Improve the transfer rate of a Physical to Virtual (P2V), Virtual to Virtual Conversion (V2V) using VMware vCenter Converter Standalone 5.0
0
 
LVL 1

Author Comment

by:Yashy
ID: 38816891
Yes it does support Quick Migration.

Just a quick thing: the ping rates between Vcentre server at my end and the Esxi host at the Datacentre is around 75-80ms on average.
0
 
LVL 118
ID: 38816896
Yes, that's okay and reasonable.
0
 
LVL 1

Author Comment

by:Yashy
ID: 38816900
Okay, there's a stage where I can select 'Force Veeam Quick Migration'. Should I select it?
0
 
LVL 118
ID: 38816905
yes!
0
 
LVL 1

Author Comment

by:Yashy
ID: 38816931
0
 
LVL 118
ID: 38816939
make sure you ticked the box, do not delete copy on source. (so it leaves a copy for you!)
0
 
LVL 1

Author Comment

by:Yashy
ID: 38816974
You mean 'unticked' the box.
0
 
LVL 1

Author Comment

by:Yashy
ID: 38817334
It's 3am man and the transfer rate is something like 60kb/s. This is supposed to be a Gigabit network. I've had to stop it as it'll take until next week at this rate.
0
 
LVL 1

Author Comment

by:Yashy
ID: 38817904
I've had to do it manually matey. Download from datastore to local server.
From local server cross-network link to another server on the same IP range. Then from there on to the other datastore.

Shouldn't one be able to transfer directly from datastore at one Datacentre to another datastore at another without all this ridiculousness?

I'll make a new post about the whole bandwidth/throughput etc and how to maximise it.
0
 
LVL 118
ID: 38817972
Yes, you can do it from vCenter Migrate?
0
 
LVL 1

Author Comment

by:Yashy
ID: 38818170
Sadly not. The datastores at the datacentre side, have been configured with disks locally (screenshot 1). I've tried doing the 'migrate' but the two datastores don't see each other.  And the ones at my side where everything is a cluster and has properly created SAN configurations is screenshot 2.
screenshot-1.jpg
screenshot-2.jpg
0
 
LVL 118
ID: 38818185
okay, if you have no shared storage between the hosts to transfer.

but you should be able to Migrate from one local host to another local host, if networking permits.

otherwise, you will have to carry on with that you are doing, and would recommend VMware Converter.

Convert to VMware Workstation format, and then re-import this into your new ESXi server.

But all this is dependant upon networking speed.
0
 
LVL 1

Author Comment

by:Yashy
ID: 38818525
I'll try that if this doesn't work.

Check this out, so I have transferred the file across. And when I power on, I get the error attached. Why why why?!!
Vmware-snapshot.jpg
0
 
LVL 118
ID: 38818555
not transferred correctly, or faulty.
0
 
LVL 1

Author Comment

by:Yashy
ID: 38820247
So guess what? We did everything it still didn't work.

The guy at Vmware said 'it could be locked'. So we migrated everything off from this host, Esxhost4. Decided to reboot it to 'unlock' the file.

Guess what? Host never came back up. Thank god we have a cluster or I'd be toast. The luck!

I'm going to close this case Hanccocka, it's the longest post I've done and it's been incredibly helpful. Thank you for always being there man. I truly appreciated it.
0
 
LVL 118
ID: 38820266
thanks for your kind comments, glad to assist.
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
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 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 …
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

746 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

12 Experts available now in Live!

Get 1:1 Help Now