This discussion is archived
4 Replies Latest reply: Jan 30, 2013 7:36 AM by jurajl RSS

Converting P2V on VM 3.1.1

heng Explorer
Currently Being Moderated
Dear All,

Anyone used to convert P2V in Oracle VM 3.1.1 Environment successfully?

Please kindly share experience with example.

Thanks and regards,
Vandy
  • 1. Re: Converting P2V on VM 3.1.1
    jurajl Newbie
    Currently Being Moderated
    Please, read the manual first.
    It works, of course.
    http://docs.oracle.com/cd/E27300_01/E27309/html/vmusg-ptov-intro.html#vmusg-ptov-using
  • 2. Re: Converting P2V on VM 3.1.1
    heng Explorer
    Currently Being Moderated
    Hi jurajl,

    I have tried with this document too but I still not success for this.

    I mention that some steps on my configuration are different,


    - Step 1, 2, 3, 4, I did the same with document.
    - Step 5. he P2V Network Configuration screen is displayed.

    This step, I choose manually configure but I don't have Gateway, Domain and Name Server, so I have assigned by my self.

    - Step 6. did the same with document.

    - Step 7. did the same with document.

    - Step 8. A secure web server (HTTPS) is started. The IP address of the computer, and port number the web server is available on is displayed.

    This step, after I click OK on step 7, I see only 3 lines are:
    Starting Web Server
    HTTPS web server is running on 172.16.1.199 port 443 . . .
    Interrupt with control -C

    After I type https://176.16.1.199 in web browser I get the result the same with document but note that some messages on screen of converting server below 3 lines above none stop, due to that message is so long, I can brief for you ( "Exception happened during processing of request ......." I mention that related to some files in some line of them in /usr/lib64/python2.4/ directory like SocketServer.py, BaseHTTPServer.py, and socket.py.)

    After that I try to import physical machine to virtual machine by type 2 lines below in VM Manager, than importing in progress.

    https://172.16.1.199/System-sda.img

    https://172.16.1.199/vm.cfg

    Now, on converting screen of converting is changing (see only one line more below 3 lines) and error message stop, it show message as below and importing till finished but after finished I try to create virtual machine from this template is can run abit then keep reset none stop. I don't know why.

    Starting Web Server
    HTTPS web server is running on 172.16.1.199 port 443 . . .
    Interrupt with control -C
    172.16.1.199 - - [------------------] ''HEAD /HTTP/1.0" 200 -


    Please kindly give advice for this. If you know the third party software is better for converting p2v, please kindly let know.

    Thanks and regards,
    Vandy
  • 3. Re: Converting P2V on VM 3.1.1
    heng Explorer
    Currently Being Moderated
    It's not cause from VNC or Java, it cause from no graphic provided from console, now the graphic is shown but virtual machine is hang and error message is appeared as below:

    i8042: No Controller found
    Red Hat nash version 5.19.1.6
    Mounting proc filesystem
    unable to access resume device (LABEL=SWAP-sda3)
    mount: Could not find filesystem '/dev/root'
    setuproot: moving /dev Failed: No such file or directory
    setuproot: error mounting /proc: No such file or directory
    setuproot: errror mounting /sys: No such file or directory
    switchroot: mount failed: No such file or directory
    Kenel panic not syncing: Attemped to kill init!

    Please kindly give advice.

    Thanks and regards,
    Vandy
  • 4. Re: Converting P2V on VM 3.1.1
    jurajl Newbie
    Currently Being Moderated
    To be honest - in my case it just worked (converted some Win machines and with older OVM some linux machines).

    In you case - first I would check you local "new" virtual disk is OK and correctly defined in your virtual machine

    Don't you have disks defined in your now virtual server's /etc/fstab as /dev/sda ? - should be /dev/hda according to MANUAL (check also how they are defined in vm.cfg.)

    This is what manual says:
    "
    The P2V utility converts disks on the computer to virtual disk images. The first four virtual disk images are created as IDE disks (hda, hdb, hdc, and hdd) on the guest, using the original disk names. Up to seven additional disks are created as SCSI devices (sda, sdb, sdc, and so on). The disk entries in the vm.cfg file look similar to:

    disk = ['file:System-sda.img,hda,w',"

    :j

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points