how to move VM from vmware workstation to hyper-V



  • Hi everybody

    i have vmware installed on my windows machine (hypervisor type 2) and i have one vm installed on it (configured freePBX) and i want to import/export to hyper-V hypervisor, can you give me some enlightenment regarding how to achieve this ??


  • Service Provider

    No matter what the "source" of a VM is, you can do a P2V process and convert it as if it was any generic physical machine.


  • Service Provider

    You should always state what you are coming from rather than what you are not coming from. That you don't have ESXi we know, that you have a Type 2 hypervisor we know, but you never mentioned what hypervisor it is. It would have been much faster and far more useful to tell us what you are using rather than one specific thing that you are not using (that we already knew from the Type 2 information ;)


  • Service Provider

    Common Type 2 Hypervisors include:

    • MS Virtual Server
    • VMware Server (formerly GSX)
    • MS Virtual PC
    • Oracle VirtualBox
    • VMware Fusion
    • Parallels
    • VMware Workstation
    • VMware Viewer


  • @scottalanmiller said:

    You should always state what you are coming from rather than what you are not coming from. That you don't have ESXi we know, that you have a Type 2 hypervisor we know, but you never mentioned what hypervisor it is. It would have been much faster and far more useful to tell us what you are using rather than one specific thing that you are not using (that we already knew from the Type 2 information ;)

    i mention in my post that i'm gonna use Hyper-V hypervisor, do you mean the version then you are right, i'm gonna use Hyper-V Server 2012 R2


  • Service Provider

    @IT-ADMIN said:

    i mention in my post that i'm gonna use Hyper-V hypervisor, do you mean the version then you are right, i'm gonna use Hyper-V Server 2012 R2

    Version is valuable as well. But I meant that you mentioned that you are coming from a type 2 hypervisor rather then from ESXi but you did not mention what hypervisor it was. In case there is a good V2V path to take, we can't answer because we don't know what platform you are coming from, only what you are not coming from.



  • the current VM machine is installed on a VMware Workstation 10.0.7 and i want to move it to Hyper-V server 2012 R2

    sorry for any confusion



  • Since you're using workstation. You can launch VMware Workstation and you should be open on the "Home" tab. From there you can choose the Physical to Virtual option (P2V) and go through the process steps accordingly.



  • do you mean "virtual a phisical machine" option ??
    2015-08-26_184639.png


  • Service Provider

    You need to use the Hyper-V P2V tools. This has nothing to do with your existing Hypervisor.

    Download and install this to convert your existing VM.
    http://www.microsoft.com/en-us/download/details.aspx?id=42497


  • Service Provider

    @BBigford said:

    Since you're using workstation. You can launch VMware Workstation and you should be open on the "Home" tab. From there you can choose the Physical to Virtual option (P2V) and go through the process steps accordingly.

    I think that that only applies to converting to ESXi.



  • @JaredBusch said:

    You need to use the Hyper-V P2V tools. This has nothing to do with your existing Hypervisor.

    Download and install this to convert your existing VM.
    http://www.microsoft.com/en-us/download/details.aspx?id=42497
    Oh I see. It is a very important information. But if I use xenserver I must use a tool to import my vm from vmware workstation



  • @scottalanmiller said:

    @BBigford said:

    Since you're using workstation. You can launch VMware Workstation and you should be open on the "Home" tab. From there you can choose the Physical to Virtual option (P2V) and go through the process steps accordingly.

    I think that that only applies to converting to ESXi.

    It sounded like he was working within VMware Workstation (for whatever the reasoning) and moving to Hyper-V instead of continuing with a VMware hypervisor. I figured OP could convert the server to virtual, then import it into Hyper-V. I think I should have simply recommended Disk2VHD instead and cut out VMware as the middle man...


  • Service Provider

    I'm confused, if you convert from one type of VMware virtual to another, does that make importing to HyperV easier?



  • the question is very clear : i have one VM hosted in vmware workstation type 2 and i want to move this VM to my new Hypervisor host machine (hyper-V or XenServer)



  • finally i move my VM to my XenServer Hypervisore by importing the .VMDK file and it is done !!



  • Now i have trouble with my VM, the IP is shown as unknown
    2015-08-27_190716.png
    , after doing some research i found out that i have to install xenserver tools, the bad news is i have to run CLI in both centos (for my freePBX VM) and freebsd (for my pfsense VM) to mount the iso located in my virtual DVD,
    well i start with centos and do the following :
    mkdir /mnt/DVD
    2015-08-27_185945.png
    2015-08-27_190033.png
    in this stage the iso was mounted, isn't it ? i think yes because the directory contain the setup files for xenserver tool like this image show :
    2015-08-27_190304.png

    after that i launch the installer but i get a shitty message
    2015-08-27_190419.png

    i guess my centos version 6.5 is not supported, please help me ,,, i'm lost



  • knowing that i don't know how to deal with Linux CLI nor freeBSD CLI :(



  • @IT-ADMIN said:

    knowing that i don't know how to deal with Linux CLI nor freeBSD CLI :(

    Out of curitosity what happens if you type

    sudo ifup eth0
    

    Into your CentOS machine?



  • unfortunatley i'm out of office now because i just finish my shift, because there is a huge time difference btw us and USA,
    now it is 7:36 pm and tomorrow friday we are off, next saturday i will try that command i'm very sorry you want to help me but i'm out of office now



  • i was waiting the whole day but i know that in US it was early morning, we receive support from US engineers and not other part of the world



  • @IT-ADMIN said:

    unfortunatley i'm out of office now because i just finish my shift, because there is a huge time difference btw us and USA,
    now it is 7:36 pm and tomorrow friday we are off, next saturday i will try that command i'm very sorry you want to help me but i'm out of office now

    No problem. I have a CentOS 6.5 server running on top of XenServer at home and one of the things you have to do when first setting it up is bring up the interface. If that works (it probably will) You will then need to add

    onboot=yes
    

    into the

    /etc/sysconfig/network-scripts/ifcfg-eth0
    

    config file.



  • i don't know why the majority of engineers that are willing to help others and share their precious knowledge are USA engineers,



  • @IT-ADMIN said:

    i don't know why the majority of engineers that are willing to help others and share their precious knowledge are USA engineers,

    I do it to "pay it forward". I don't know a lot but when I can help I do because people helped me when I was just starting.



  • @coliver said:

    @IT-ADMIN said:

    unfortunatley i'm out of office now because i just finish my shift, because there is a huge time difference btw us and USA,
    now it is 7:36 pm and tomorrow friday we are off, next saturday i will try that command i'm very sorry you want to help me but i'm out of office now

    No problem. I have a CentOS 6.5 server running on top of XenServer at home and one of the things you have to do when first setting it up is bring up the interface. If that works (it probably will) You will then need to add

    onboot=yes
    

    into the

    /etc/sysconfig/network-scripts/ifcfg-eth0
    

    config file.

    i promise you i will do that next friday and tell you what i get
    thanks


  • Service Provider

    @IT-ADMIN said:

    i don't know why the majority of engineers that are willing to help others and share their precious knowledge are USA engineers,

    One reason is that we have more engineers than anywhere else. Volume makes a big difference. But you are right, the numbers do seem to be very high for US versus other regions to do this even taking into account the volume.

    Might be cultural. It could be as simple as jobs in the US want people who are demonstrably active and good. How many people outside of the US would list their ML or SW posting on their resumes? But in the US I always have this posting on there.

    Many cultures favour IT staff (and most staff) that is quiet and does what they are told. But culturally in the US it is expected that good IT staff will push back on management and not just cave to senior staff telling them what to do. I know that between the US and India this is a huge difference.


  • Service Provider

    Although we should not that several contributors here that are quite active like @Carnival-Boy and @Breffni-Potter and @akp982 are British, not American, and while @dominica and I are American citizens we do not primarily live there. @joy and @nadnerB are busy contributors too, also not American. @MattSpeller is Canadian. @Ambarishrh is in the UAE. @nic lives in the US but isn't an American. Just some examples that I thought of quickly. I'm sure there are tons of non-Americans here that are busy posting. Certainly more American than not, but probably not as dramatically American as it can seem.



  • @scottalanmiller said:

    Although we should not that several contributors here that are quite active like @Carnival-Boy and @Breffni-Potter and @akp982 are British, not American, and while @dominica and I are American citizens we do not primarily live there. @joy and @nadnerB are busy contributors too, also not American. @MattSpeller is Canadian. @Ambarishrh is in the UAE. @nic lives in the US but isn't an American. Just some examples that I thought of quickly. I'm sure there are tons of non-Americans here that are busy posting. Certainly more American than not, but probably not as dramatically American as it can seem.

    So true @scottalanmiller , I find a lot of people here are very helpful not only from US, but from different parts of the world lols. Just make sure to explain your problem loud and clear, to get the best answer.
    PS. I'm still in the process of learning :neutral_face: :neutral_face:



  • finally i solve the problem, thanks to this article : http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2037891

    i had to change the MAC address in ifcfg-eth0 because it retained the old one (issued by vmware), when i move the VM to XenServer, the MAC address changed in the VNIC but was not changed in the config file, i changed and it work fine, now i can ping and everything

    but the weird thing is still i have unknown on the ip address in the networking tab in XenCenter even if i restart the host and the guest more than one time ?!!?!?!?


  • Service Provider

    @IT-ADMIN said:

    but the weird thing is still i have unknown on the ip address in the networking tab in XenCenter even if i restart the host and the guest more than one time ?!!?!?!?

    Sounds like the Xen PV driver(s) is missing.


Log in to reply
 

Looks like your connection to MangoLassi was lost, please wait while we try to reconnect.