Why can I move a vm to another host?

Posted on 2010-01-04
Last Modified: 2012-05-08
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,
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?

Question by:luyan
    LVL 9

    Expert Comment

    by:Lieven Embrechts
    Did you check the VM's .vmx config file ?
    If necc. change the path to the correct snapshot file path.
    LVL 42

    Expert Comment

    Have you configured a vmkernel port group with vmotion enabled?  Both ESX hosts will need this to migrate successfully
    LVL 40

    Expert Comment

    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.
    LVL 42

    Accepted Solution

    @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.
    LVL 40

    Expert Comment

    Correct "paul" :)

    Author Comment

    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.

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

    LVL 40

    Assisted Solution

    "luyan", here are requirements for vmotion:

    and here is how to configure it:
    (In ESX Config Guide, pg 22-23, to get you started)


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    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!

    Suggested Solutions

    Title # Comments Views Activity
    Best Approach for Cloud Backup using Veeam 3 36
    upgrade Vcenter to V6 10 46
    VMware Datastore  issue 2 34
    Vmware Workstation 12 3 23
    Problem : Unsupported or invalid disk type 7. Ensure that the disk has been imported. You can run into this problem when you try to power on virtual machine on Esxi that converted from physical to virtual machine. An error message prompt and runn…
    In VMware vSphere 4 1 and 5.0, if you have two or more hosts, using shared storage, (SAN/NAS) you can create a VMware vSphere Cluster and enable High Availability mode (HA), if you have the correct VMware vSphere Licensing. VMware vSphere High Av…
    Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
    Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…

    779 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

    14 Experts available now in Live!

    Get 1:1 Help Now