[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1382
  • Last Modified:

Why can I move a vm to another host?

Hi,
I have installed vSphere 4.0 on 2 dell servers to test vmware environment. And installed a vCenter on a vm located on one of host. From vCenter, I cannot do migrate a vm from one host to another one. Here is the error message,
Win2003vm
Unable toaccess the virtual machine configuration: Unable to access file [Storage 1] vm_template/vm_template.vmx
Virtual disk 'Hard disk 1' is not accessible on the host: Unable to access file [Storage 1] vm_template/vm_template.vmdx

vm_template is original vm name and I change that to Win2003vm after installation.

Storage 1 is local hard drive.
How can I fix this issue?

Thanks,
0
luyan
Asked:
luyan
2 Solutions
 
Lieven EmbrechtsCommented:
Did you check the VM's .vmx config file ?
If necc. change the path to the correct snapshot file path.
0
 
Paul SolovyovskyCommented:
Have you configured a vmkernel port group with vmotion enabled?  Both ESX hosts will need this to migrate successfully
0
 
coolsport00Commented:
If your VM files are on local storage, you won't be able to migrate them powered on. You will have to power them down.
Regards,
~coolsport00
0
Granular recovery for Microsoft Exchange

With Veeam Explorer for Microsoft Exchange you can choose the Exchange Servers and restore points you’re interested in, and Veeam Explorer will present the contents of those mailbox stores for browsing, searching and exporting.

 
Paul SolovyovskyCommented:
@coolsport00:  If he's running vSphere and has vCenter with storage vmotion migrating from local to shared storage shouldn't be an issue.  Storage vmotion will handle this.  It will ask whether you want to migrate to a different host or datastore, in this case you can pick datastore.
0
 
coolsport00Commented:
Correct "paul" :)
0
 
luyanAuthor Commented:
Hi, all
Thank all of you give me some ideas.
the test is only basic cold migration. And after reboot the host. the issue was removed. I thought it is because I did san storage configuration wrong and fixed it at later time. It requested a reboot. I'm not sure I'm wrong or right? but it is working now.

Paul,
I'll test vmotion, would you give me some steps how to configure a vmkernel port group with vmotion enabled?

Thanks,
0
 
coolsport00Commented:
"luyan", here are requirements for vmotion:
http://pubs.vmware.com/vi3/resmgmt/wwhelp/wwhimpl/common/html/wwhelp.htm?context=resmgmt&file=vc_create_cluster.7.4.html

and here is how to configure it:
(In ESX Config Guide, pg 22-23, to get you started)
http://www.vmware.com/pdf/vsphere4/r40/vsp_40_esx_server_config.pdf

Regards,
~coolsport00
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now