Anyone worked with ldmp2v?


 
Thread Tools Search this Thread
Operating Systems Solaris Anyone worked with ldmp2v?
# 1  
Old 08-19-2010
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 06:58 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Calculating Total Hours worked

Write a script using a Linux shell programming language to perform clock management for a small daycare. The program should manage all time in and out routines. At the end of the each day should give the Total hours worked that day. Example: Time-In 6:30am Lunch-Out 11 :25am... (1 Reply)
Discussion started by: sarapham409
1 Replies

2. UNIX for Beginners Questions & Answers

Sleep command did not worked

Hi All, We have a process which is running for last 2 years well and good in production. But suddenly yesterday there was issue we faced in the process. The actual process is what it does like below. 1. Receive the files in NAS directory(N/w attached storage). 2. Trigger the... (11 Replies)
Discussion started by: mad man
11 Replies

3. Solaris

Does ldmp2v supports vxfs and zfs file systems ?

does ldmp2v supports vxfs and zfs file systems ? I have some servers where I need to do P2V with ldmp2v. few of them have zfs and vxfs file systems for root. (3 Replies)
Discussion started by: harsol
3 Replies

4. Shell Programming and Scripting

My code worked on a Mac, now it does not work in another computer

I guess Mac has default bash. Then I copy my code to another comp and run it...And it gives me an error like "bad substitution".... How I can change my code??? Never had before this kind of situation. Help please. if then n=$(sort /Users/Natalie/lastserial | tail -1) ... (6 Replies)
Discussion started by: Natalie
6 Replies

5. Solaris

Logical Domains on T-series: ldmp2v

Hey all, I was wondering if anyone had an idea as to what I could do to troubleshoot this potential issue. # ldmp2v prepare -v -c 8 -o keep-mac -o keep-hostid -M 2048M -d /p2v/cm02 cm04 Creating vdisks ... Creating vdisk cm04-disk0 ... Creating volume cm04-vol0@primary-vds0 (70494 MB)...... (2 Replies)
Discussion started by: Keepcase
2 Replies

6. UNIX for Dummies Questions & Answers

Code not worked,as expected

Hi All, OS :- HPUX.. I have a following code, which I wrote to meet date and time condition. The below code refuse to work for some reason, I still don't have any idea, why ? the below code, should exit out, if the day happens to be sat and time greater the 04:00 pm. I am bit surprised, that... (2 Replies)
Discussion started by: alok.behria
2 Replies

7. Programming

C++: No output for Char* when on AIX. Worked on Linux

Hi All, I have a script (attached) that was working fine on Linux. I compiled it there using g++ CrncyFmt.cpp -o CrncyFmt.o When I ran it there using eg. CrncyFmt.o 2343.565 2 I get as expected: CharOut = " 2,343.57" Now we have moved to our test box which is AIX and I... (11 Replies)
Discussion started by: Leedor
11 Replies

8. Shell Programming and Scripting

test to see if useradd worked

I am trying to write a script that does a useradd -G <group> <user> but you cannot modify the user if he/she is logged on. How could I check to see if the user is on or if the user has been added to the group successfully? I plan on having the script sleep for a couple mins if the user is on then... (3 Replies)
Discussion started by: doublejz
3 Replies

9. UNIX for Dummies Questions & Answers

Variables being worked on inside of loops

I have a while read loop that reads values inside of a file and then performs an expr operation on each. Everything works fine, the way it's supposed to but, once the loop is finished, I can not access the variable that I used inside of the loop (but that variable was created outside of the... (7 Replies)
Discussion started by: yongho
7 Replies
Login or Register to Ask a Question