Anyone worked with ldmp2v?
Hi, has anyone worked with ldmp2v utility to convert a physical machine to a virtual. I am been trying to convert an ultra 45 (test machine) to an ldom on a T6320 blade server (with ldom manager 1.3) but have been unsuccessful.
The firmware of the blade has been upgrade to the latest available. New O.S installed, patched and then ldom manager and ldmp2v installed.
- shared an nfs between the T6320 (/opt/p2v) and Ultra 45 (mounted as /p2v).
- ran the following command on the ultra 45
ldmp2v collect -d /p2v
- Then on the T6320, first I tried running the prepare command with the default /etc/ldmp2v.conf file setting:
VSW="primary-vsw0" VDS="primary-vds0" VCC="primary-vcc0" BACKEND_PREFIX="/ldoms/disks/" BACKEND_TYPE="file" BACKEND_SPARSE="no" BOOT_TIMEOUT=10
However, in this scenario it cannot find the disk, the path it searches is //ldoms/disks, hence i changed "/ldoms/disks" to "ldoms/disks". Now when I run the following prepare command:
ldmp2v prepare -d /opt/p2v/ -o keep-mac ultra45
It just gets stuck at:
bash-3.00# ldmp2v prepare -d /opt/p2v/ -o keep-mac ultra45 Creating vdisks ...
until it consumes the entire partition (about 125 GB) and exits with the error that there is not enough disk space. Of course then I have to delete the vdisk.
bash-3.00# ldmp2v prepare -d /opt/p2v/ -o keep-mac ultra45 Creating vdisks ... /ldoms/disks//ultra45/disk0: initialized 2802442240 of 1284505600 bytes: No space left on device Cannot create backend file /ldoms/disks//ultra45/disk0. Cannot create ultra45-vol0@primary-vds0.
I was able to successfully go through the prepare phase by using the following command:
ldmp2v prepare.... -m /:8g ...
Now the jumpstart because the T6320 does not have a cd/dvd rom drive.
since the jumpstart doesn't work across subnets, i added the ultra45 as a 10.20.67.x client in jumpstarts /etc/hosts file. when i ran the convert phase, the ldom went into a loop. I would start updating, once done, restarts, acquires ip from jumpstart again, updates again, and so on,.....
Anybody who has worked with ldmp2v, please provide a simple cookbook procedure... Thanks
Last edited by Mack1982; 08-19-2010 at 06:58 AM..
|Thread Tools||Search this Thread|
|More UNIX and Linux Forum Topics You Might Find Helpful|
|Thread||Thread Starter||Forum||Replies||Last Post|
|PHP: Search Multi-Dimensional(nested) array and export values of currenly worked on array.||zeekblack||Shell Programming and Scripting||1||12-07-2009 10:30 PM|
|test to see if useradd worked||doublejz||Shell Programming and Scripting||3||08-27-2005 04:38 AM|
|Variables being worked on inside of loops||yongho||UNIX for Dummies Questions & Answers||7||06-13-2005 12:42 PM|