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,
luyanAsked:
Who is Participating?
 
Paul SolovyovskySenior IT AdvisorCommented:
@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
 
Lieven EmbrechtsSenior IT ConsultantCommented:
Did you check the VM's .vmx config file ?
If necc. change the path to the correct snapshot file path.
0
 
Paul SolovyovskySenior IT AdvisorCommented:
Have you configured a vmkernel port group with vmotion enabled?  Both ESX hosts will need this to migrate successfully
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
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
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.