Go Back   The UNIX and Linux Forums > Operating Systems > Solaris


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 08-19-2010
Registered User
 
Join Date: Dec 2009
Posts: 125
Thanks: 7
Thanked 5 Times in 5 Posts
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.

Procedure:
- shared an nfs between the T6320 (/opt/p2v) and Ultra 45 (mounted as /p2v).
- ran the following command on the ultra 45

Code:
ldmp2v collect -d /p2v

- Then on the T6320, first I tried running the prepare command with the default /etc/ldmp2v.conf file setting:

Code:
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:


Code:
ldmp2v prepare -d /opt/p2v/ -o keep-mac ultra45

It just gets stuck at:


Code:
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.


Code:
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:

Code:
 ldmp2v prepare.... -m /:8g ...

Now the jumpstart because the T6320 does not have a cd/dvd rom drive.
jumpstart: 10.20.67.x
ultra45: 194.69.1.x
T6320: 10.20.67.x

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 05:58 AM..
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 09:30 PM
test to see if useradd worked doublejz Shell Programming and Scripting 3 08-27-2005 03:38 AM
Variables being worked on inside of loops yongho UNIX for Dummies Questions & Answers 7 06-13-2005 11:42 AM



All times are GMT -4. The time now is 11:20 AM.