How to convert a physical machine to virtual machine ?

Hi,
I'm confortable with Xen that I use for years, but with Oracle VM, there are some points that would need more explanation.
Here is what I already did :
- Create a disk file image, and make a filesystem on it. (with dd and mkfs.ext3)
- Copy all the content of my physical machine to the virtual disk image. (rsync -a)
- Create a vm.cfg file.
My problems :
- OVS use to create virtual disk image instead of virtual partition image. I don't know how to manage this. I'm using the image OVM_EL5U1_X86_64_PVM_10GB to understand how oracle encapsulated the /boot partition, the / and the swap within the same file that contains a partition table, 2 partitions : the first is the /boot, the second is a lvm pv. With lvm, they created 2 volumes : the / and the swap.
Where can I get a clear howto to use losetup and set the correct offset in order to be able to mount the partition or to activate the lvm ?
- I'm not familiar with pygrub. This looks very nice script, but I don't know why it doesn't work with my basic images. Is it necessary to have a /boot partition within the image file ?
Regards,

Hi,
I'm confortable with Xen that I use for years, but
with Oracle VM, there are some points that would need
more explanation.
Here is what I already did :
- Create a disk file image, and make a filesystem on
it. (with dd and mkfs.ext3)
- Copy all the content of my physical machine to the
virtual disk image. (rsync -a)
- Create a vm.cfg file.
My problems :
- OVS use to create virtual disk image instead of
virtual partition image. I don't know how to manage
this. I'm using the image OVM_EL5U1_X86_64_PVM_10GB
to understand how oracle encapsulated the /boot
partition, the / and the swap within the same file
that contains a partition table, 2 partitions : the
first is the /boot, the second is a lvm pv. With lvm,
they created 2 volumes : the / and the swap.
Where can I get a clear howto to use losetup and set
the correct offset in order to be able to mount the
partition or to activate the lvm ?fdisk -ul OS.imghttp://wiki.edseek.com/guide:mount_loopback
above link may give you some idea about how to calculate the offset.
sample command,
fdisk -ul OS.img
losetup -f #get the next available loop device
losetup -o $((512*208845)) /dev/loop2 OS.img
pvscan
lvscan
vgchange -a y VolGroup00
mount /dev/VolGroup00/LogVol00 root
>
- I'm not familiar with pygrub. This looks very nice
script, but I don't know why it doesn't work with my
basic images. Is it necessary to have a /boot
partition within the image file ?pygrub used the kernel inside the vm image. so it is necessary to have the kernel available inside the vm. but the good old way still works, if you replace the "bootloader" line with "kernel"/"ramdisk" lines.
>
Regards,

Similar Messages

  • How to convert offline ESXi 5.5U1 virtual machines to Hyper-V?

    Following on from my
    earlier question, I am having trouble working out how to convert my ESXi VMs to Hyper-V. Am I doing something really unusual?
    I have a ESXi 5.5U1 server at home for my home test lab. I want to convert this to Hyper-V Core 2012 R2. Target storage layout will look like this:
    Currently under ESXi 5.5, I don't have the C drive (using a USB flash to boot), and the RAID-5 and RAID-0 arrays are two separate VMFS volumes.
    I don't have swing kit to migrate, I have to repurpose existing hardware. I do have my Windows 8.1 workstation but that only has 900 GB free space.
    Some of my VMs have vmdks greater than 2TB.
    My plan was to
    In ESXi before rebuilding, move my VMs from the RAID-5 vol to the RAID-0 vol and then delete anything that wouldn't fit that's not strictly necessary from the RAID-5 volume.
    Shutdown ESXi and remove the USB flash drive.
    Install Hyper-V onto the System disk as C drive.
    Format the RAID-5 volume as NTFS (64k) and create a mount point into the C drive as C:\RAID-5. Put my VM disks in C:\RAID-5\VirtualDisks and the VMs in C:\RAID-5\VirtualMachines.
    Somehow convert the VMs from the RAID-0 VMFS volume to Hyper-V VMs on the RAID-5 NTFS volume.
    My confidence is low because I have tried to convert a new test machine created in ESXi 5.5 to a spare test Hyper-V 2012 R2 with the MVMC 3.1 converter and it failed. I also tried with the free 5nine converter and that failed too. I tried with and without
    the Guest Additions installed. Both conversions failed. I should mention I am in a workgroup, not a windows domain.
    Please help!

    May i inquire on why those two products failed? I had some struggles with both of them but eventually got things worked.
    Also you should try this one
    Starwind V2V convertor, it has worked for pure offline conversions for me as well. That was years ago, so hopefully it still works.
    Sure, here is the log from an attempt to convert a brand new VMware virtual machine which has Windows Server 2012 R2 Standard in it with no VM tools. http://pastebin.com/xdhzZ7tx
    Here is the log from an attempt to convert a Lubuntu linux VM: http://pastebin.com/Nc0E8Bip
    Both conversions attempted with MVMC3.1. Common error between them is
    12/24/2014 08:25:36 +00:00  [7]  VERBOSE:    Microsoft.Accelerators.Mvmc.Engine.DiskCopyFailureException: The virtual disk(s) attached to the source virtual machine were not successfully converted to VHD(s) and copied to the
    workspace folder path. ---> System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be
    translated.
    I retried using 5nine converter and it worked this time, not sure why. Will not try a test with a BSD based distro (pfSense) and Linux.

  • How to Convert OVM machines to VM Esx (.ova, .ovf) Format

    Hi,
    Could you pls help me on following issues?
    1. How to Convert OVM machines to VM Esx (.OVA or .OVF) Format
    2. How to take backup or copy VM from Oracle VM for Converting other formats.
    3. Are we need to use the same version of Manager and Server? Manager Version= Server Version OR  Manager Version < Server Version OR Manager Version > Server version.
         I am using manager 3.2.2 and server 3.2.1 Is it OK?
    Thank You,
    Regards,
    Prakash T

    Questions: Could you pls help me on following issues?
    1. How to Convert OVM machines to VM Esx (.OVA or .OVF) Format
    Answer: The only way I have done this is to import the the Oracle VM into VMware ESX with VMware P2V conversion. The one key thing you have to make sure of here is that if it is a Linux Virtual machine that you are moving to VMware you must start the Virtual Machine in a standard no Xen kernel before you do the P2V conversion as VMware will choke on the any Xen kernel.
    Now if you want to go from VMware to OVM follow the instructions on this link: Re: Import VMWare VirtualMachine into OVM 3.2.2.520
    2. How to take backup or copy VM from Oracle VM for Converting other formats.
    Answer: Read this white paper for Guidence on Oracle VM Backup's.
    http://www.oracle.com/technetwork/server-storage/vm/ovm3-backup-recovery-1997244.pdf
    3. Are we need to use the same version of Manager and Server? Manager Version= Server Version OR  Manager Version < Server Version OR Manager Version > Server version. I am using manager 3.2.2 and server 3.2.1 Is it OK?
    Answer: I would strongly recommend that you keep the Manager and Servers on the same version.
    I know for doing upgrades the Manager should be upgraded first and then the servers can be upgraded.  See section 5.1 in the upgrade document.  http://docs.oracle.com/cd/E35328_01/E35330/E35330.pdf
    Hope this helps. Russell

  • How to Install Hyper-V on a Virtual Machine in Hyper-V on windows 2erver 2012 R2 ?

    Hi ,
    anybody know  How to Install Hyper-V on a Virtual Machine in Hyper-V on windows 2erver 2012 R2 ?
    I want to create lab but i couldn't  I follow this article but the new VM is off
    http://blogs.technet.com/b/gbanin/archive/2013/06/26/how-to-install-hyper-v-on-a-virtual-machine-in-hyper-v.aspx
    one of hyper-v component is not running
    thanks

    Previously it has been blocked to install Windows Server in the VM and then add the Hyper-V Role.
    However, it has always been possible to install Hyper-V Server inside a VM. (the free Hyper-V Server SKU)
    The Hyper-V Server VM is fully manageable, but it cannot start any VMs.
    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.
    Disclaimer: Attempting change is of your own free will.

  • How to convert logical standby database to Physical Standby Database

    Hi,
    Does anyone know how to convert logical standby database(10.2.0.3) to Physical Standby Database(10.2.0.3)? Is this possible? If so,please give me steps for it.
    Thanks.
    Regards,
    RJ.

    I don't believe this to be possible. One of the steps invloved in the creation of a logical standby is the following:
    ALTER DATABASE OPEN RESETLOGS;
    This makes the logical standby a different incarnation of the db from the primary.
    A physical standby is a binary copy of a primary db, a logical standby is a completely seperate db that just happens to get sql statements applied to it that are generated from a primary db, but is open read/write.
    One avenue, though would be if you had flashback database enabled and you flashed back all the way to when the db was a physical standby and then rolled forward with the archived redo logs.
    It's somewhat unlikely you are in that situation, but that is a possibility.
    Indeed the 11g snapshot standby does this sort of thing:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/manage_ps.htm#sthref740
    jason.
    http://jarneil.wordpress.com

  • Oracle XE on multiple virtual machines on the same physical machine?

    hi,
    does oracle's licensing for 11g express edition prohibit running XE databases on multiple virtual machines on the same physical machine? if not, does the machine have to be "hard partitioned" per oracle specifications (link below) to make it legal?
    http://www.oracle.com/us/corporate/pricing/partitioning-070609.pdf
    i found a similar question regarding 10g express edition in the forum (link below), but it doesn't seem like the question was ever definitively answered.
    Oracle XE on multiple virtual machines on the same physical machine?
    thanks

    I thought until I just checked that this was a clear cut no in that it specifies 'a single server'. Now I'm not sure as 'server' is an amibuous term. I at least know that as soon as you start giving developers access to theor own XE instance for dev/testing that there are many VM environments where you can't really know what physical macine your VM is running on to actually be able to tell if you had multiple XE instances running on a single 'Physical' server. I'm not sure the question has been answered by Oracle though.

  • Migrate ALUI portal from physical machine to virtual machine

    Currently the application is on physical machine. We are planning to migrate it to virtual machine.
    Is there any risk factor to migrate the application?
    Do we need to take any precautions while or before doing migration of the data?
    Thanks

    Hi,
    We've never had problems with multi-server VMWare deployments but just recently hit problems running WCI 10.3.0.1 onto Virtual Server 2005 in 2-virtual-server deployment.
    Whenever we started the Analytics, Collab and Notification services, all connectivity (inc ping) between the virtual servers dropped out after a few mins. Connectivity to the external network was maintained and the virtual network was fine without the portal services running. CPU and memory usage was ok on both servers. Stopping these services re-established connectivity.
    We've raised a support issue with Oracle who told us that 10.3.0.1 was not proven to work on Virtual Server 2005. Unfortunately we could not pin down the cause and as it was only for Dev we're running all portal services on a single Virtual Server as a workaround.
    Jonathan - what portal version are you running on Virtual Server please?
    Cheers,
    Adam

  • Virtual Copy of Physical Machine MS Server 2008 R2 Standard Genuine issue

    I have created a cirtual copy of a physical machine to conduct software upgrade testing in a SCADA system.
    My copy of Windows server 2008 R2 Standard is no longer genuine.
    I tried to buy a copy online, but it is no longer availiable on the website from Microsoft according to the Chat I had in the website.
    How can I get this copy genuine?

    Several vendors still have OEM versions for sale. If you can get your testing done inside of 180 days then evaluation version may work.
    Windows Server 2008 R2 Evaluation (180 days)
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Physical machines VS Virtual machines for SCOM system

    Hi all,
    We are about to build SCOM system which will host around 80 hosts in the beginning but it may grows up to a thousand or more hosts. We are debating whether to use virtual machines or physical machines for that purpose.  So far all SCOM systems (management
    servers,DB,DW) I have dealt with are hosted on physical machines.
    Can anyone provide advice based on experience regarding this issue?

    Microsoft supports running all System Center 2012 – Operations Manager server features in any physical or virtual environment that meets the minimum requirements that are stated in this document. However, for performance reasons, we recommend
    that you store the operational database and data warehouse database on a directly attached physical hard drive, and not on a virtual disk. Specifically, virtual computers that are running any Operations Manager server feature must not use
    any functionality that does not immediately commit all activity on the virtual computer to the virtual hard drive. This includes making use of point-in-time snapshots and writing changes to a temporary virtual hard drive. This is true for every virtualization
    technology that is used with Operations Manager.
    You can work on SCOM virtualization and it will supported your agent but
    operational database and data warehouse database on a directly attached physical hard drive, and not on a virtual disk
    For more details, you can refer to below
    http://technet.microsoft.com/en-us/library/jj656649.aspx#BKMK_Virtualization
    http://blogs.technet.com/b/momteam/archive/2012/04/02/operations-manager-2012-sizing-helper-tool.aspx
    Please remember, if you see a post that helped you please click (Vote As Helpful" and if it answered your question, please click (Mark As Answer).

  • How to convert a class file to exe file and how to cteate a class file to d

    how to convert a class file to exe file

    Hi Bhaskarq,
    Hi,
    It is not at all possible.
    But it is a really worst method.
    Please go through it.
    This is a very common question asked in the comp.lang.java newsgroup. Its often useful to have an
    executable application when deploying your
    applications to a specific platform, but remember to
    make your .class files available for users running
    Unix/Macintosh/other platforms.
    Microsoft provide a free system development kit (SDK),
    for Java, which includes the jexegen tool. This
    will convert class files into a .EXE form. The only
    disadvantage is that users need a Microsoft Java
    Virtual Machine (JVM) installed. If your target
    platform is Win32, you can either redistribute the
    virtual
    machine, or raise the level of your system
    requirements, to include Windows 98, or Windows 95
    with
    Internet Explorer 4. Systems matching these
    requirements will already have a copy of the Microsoft
    Java Virtual Machine installed.
    Note : You must specify all of the class files your
    application needs (except for standard java packges)
    as a parameter, so if you have third party libraries,
    you'll need to include them as well. You can use wildcards * though, and you don't need the original source code.
    Also please see this Forum which will give a good idea
    http://forum.java.sun.com/thread.jsp?forum=31&thread=149733
    I hope this will help you.
    Thanks
    Bakrudeen
    Technical Support Engineer
    Sun MicroSystems Inc, India

  • How to specify Host Server for Replicated Virtual Desktops within RDVH Collection

    My question about how to specify Host Server for Replicated Virtual Desktops within Collection.
    I know there is a aswered thread on this, but that solution (wait a week) didn't work for me.
    So i have 2 servers, RDS01 and RDS02 with both 15 Hyper-V VM's and replicating to eachother. That part works fine.
    Now I wanted to make it easy for my users I build a Connection Broker: RDCB
    All went fine in that setup, but when I want to add the existing VM's from RDS01 and RDS02 to the collection it just radomly adds running ones and replicated ones.
    So both RDS01 and RDS02 have 15 VM's running and 15 replica's in stopped state, but when I look in my collection, it says RDS01 has 23 and RDS02 has 7 VM's. When I add them all, I see he wants to add a lot of stopped states replica's from RDS01 instead of
    the running ones from RDS02.
    How can I specify which one he should use? Or need I disable replication first, setup the whole RDCB collection thing, and then turn replication back on? Or does Hyper-V replication not work at all when used in a collection?
    I hope someone can help out here. I'm googling and trying for 1,5 week now, but i can;t get it right.
    Thanks in advance.

    Hi Robin,
    Thanks for your patience.
    After you removed Replication from 1 machine on both RDS01 and RDS02, please restart that machine. After that, please add this machine to the RD collection again to test how the issue goes.
    As we know, Hyper-V Replica provides asynchronous replication of Hyper-V virtual machines between two hosting servers. It is simple to configure and does not require either shared storage or any particular storage hardware. Any server workload that can be
    virtualized in Hyper-V can be replicated. Replication works over any ordinary IP-based network, and the replicated data can be encrypted during transmission. Hyper-V Replica works with standalone servers, failover clusters, or a mixture of both. The servers
    can be physically co-located or widely separated geographically. The physical servers do not need to be in the same domain, or even joined to any domain at all.
    Currently, would you please add only running state VMs to the RD CB collection? And would you please capture some screenshots of the error message? Thanks very much for your cooperation.
    Best regards,
    Sophia Sun
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Moving Physical server to Virtual, what to check?

    What does this server do or its function, that was kinda left out...?- Is it just a file server- SQL Server- Print ServerOnce its converted over and functioning live and all NIC settings are identical to your current phys. you shouldnt have to do anything more than shut down the current phys. server and then decom. after a couple weeks of knowing the virtual is working solid!*** Have it boot up the first time with no NIC at all present, so it doesnt try to come online with the settings from your phys. server in production or you may have a ip conflict or could ingest a new setting into your dns record ( been there done that )Its always interesting when doing this, cause you find out shares you didnt know existed or services running certain functions you had no idea about exist doing something... or something that is no longer needed...

    Additionally with the NIC, I would copy the original MAC address and use that as a manually entered MAC address for the new virtual machine's primary NIC. Less chance of things like license servers or hardware-locked software licensing breaking in the move that way. Keep the old physical machine around for a few weeks to make sure everything is stable with the new virtualized server.
    Eventually though, you'll probably want to migrate your data and services to new, freshly configured VMs. One of the downsides with any P2V move is you're also carrying along an old version of your OS with it's old data/registry, some of who's settings were originally for the physical hardware. Migration to a "natively installed on virtual hardware" server brings benefits.
    If your server you're migrating has multiple roles, you may want to divide those...

  • Physical pc and virtual pc

    Hi
    I have a win 7 pc in a domain, i virtualized it, and used it normally on the domain, but after some time, when i booted the physical pc it couldn't logon to the domain, can someone tell me why? How can i have both running? do i need to register the virtual
    pc with different name?
    Thanks
    James

    It seems that both PCs (physical and virtual) are having the same AD account. In this case, when the virtual machine changed the computer AD account password then the physical machine was not able to login as it does not know the new password.
    To fix that, you can simply disjoin the physical machine from the AD domain, rename it and join it back.
    I would recommend using solutions that run sysprep before capturing the image and then deploy it (Example: SCCM) as they avoid having similar problems.
    This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
    Get Active Directory User Last Logon
    Create an Active Directory test domain similar to the production one
    Management of test accounts in an Active Directory production domain - Part I
    Management of test accounts in an Active Directory production domain - Part II
    Management of test accounts in an Active Directory production domain - Part III
    Reset Active Directory user password

  • Connecting my vm AD to another physical machine

    I have two physical systems(running windows 8), one have vmware with 2 virtual machines (windows server(AD) and sql) on it. Now i want to join my "other physical machine" to the AD on the virtual machine.how can i do this please?

    I have two physical systems(running windows 8), one have vmware with 2 virtual machines (windows server(AD) and sql) on it. Now i want to join my "other physical machine" to the AD on the virtual machine.how can i do this please?

  • Move Lync from a VM to a Physical Machine

    Currently we have Lync 2013 set up on a VM on a ESXi server, and I was wondering what would be the most efficient way to move it onto a physical machine? The way i see it there's 2 options:
    1. Install Lync 2013 from scratch on the new physical machine, and delete the VM.
    2. Grab the vmdk file and use vmplayer or some-other vitalization programme to create a Lync box, this way i dont lose the settings.
    Before you ask "why would you want to move the VM from one machine to another, it's because we want to free up resources on the ESXi server and want to use our spare physical machine to its full extent. It wont only have Lync 2013 on it, it will have
    vCenter, Veeam, and Windows 2012.
    Thanks in advance!

    Out of interest, Is it not possible to visualize your physical box as well, you could then Copy the VMDK to the second box and turn it on.
    No need to setup a new lync server and migrate users.
    If the physical box has Veeam, Cventer and Windows 2012 , why not do a  P2V ( physical to Virtual ) conversion. That way you would maximise the use of the physical box and improve/reduce server sprawl.
    Not sure if there is a SAN involved here else you could also setup HA , depending on VMware/Hyper-V licensing.
    You might be able to over commit the Host for a few hours depending on how much resources are available.
    but that is a risk you take, in my experience this would be far easier, and worth buying a few extra RAM chips for the sake of not having to re-configure lync.

Maybe you are looking for

  • How do I remove all songs from my iPhone?

    I have all artists, albums, genres and playlists unchecked on my Music on iTunes. I have no songs in the "manually added" section. But still my iPhone has 24 songs on it, that I can manually delete, but they are put back on when I sync my phone. If a

  • New iPod 1.1.2 and iTunes 6.0.5 Software!

    New iTunes and iPod software have been released. Whats New in iPod Software: .:: Nike + iPod support for iPod nano .:: Volume limit for iPod shuffle .:: Bug fixes Download Size: 56.5 MB Click Here for More Information and to Download. Whats New in iT

  • Can't hear reverb in monitored vocals

    I have read the manual on inserting reverb in a channel strip so I can hear reverb on my vocals as I record. I hear the input for the vocals in my headphones but not the inserted reverb. Any ideas?

  • Lightroom 5.7.1 Lens Corrections chooses wrong lens info from EXIF when I 'Enable Profile Corrections'. Windows 7

    When I enable lens corrections on a jpg image it brings up the wrong lens info. If I try to change it there are only 2 lenses listed-neither one is correct. It lists a 50mm lens even though in the Histogram just above it says 18mm. I then tried the o

  • Best Menu Implementation in ADF

    Hi Friends, I have an application developed in Oracle Forms. The Menu's are using the same fundermental as Oracle's EBS where you have a tree and when you click a node, it opens the corresponding form. I have been trying to think how i can accomplish