Loading Solaris OS on Guest LDOM

I've been trying for 3 days to load an OS on a guest LDOM I created. The guest domain boots off the network but hangs up on the configuration.

The "Beginners Guide to LDoms" says on page 39:

The second aspect of the operating system is how to install it.

For the Logical Domains Manager, you can use an existing operating system created from another system or domain

and transfer it to a file or another disk, or you can use the network installation method. This example uses a network installation

Since the network option is not working, does anybody have documentation on another install option. Or if not, have have you been able to get the network install to work.

Thanks for any help

Joe

[747 byte] By [Joesunadmina] at [2007-11-26 23:44:54]
# 1
Hi,What OS are you trying to jumpstart onto your ldom? You need Solaris 10 Update 3 (11/06) or above. Also, you can only jumpstart an ldom if it's virtual disks are back-ended by one of the following:1. Local disk.2. SAN LUN3. Virtual Disk Image file.
unixconsolea at 2007-7-11 15:16:44 > top of Java-index,Administration Tools,Logical Domains for CoolThreads Servers...
# 2

Trying to install Solaris 10 update 3. I have no problem booting off the net to do the initial install on the T1000, but just can't get an OS on the guest lDom. Creating the primary and guest went fine.

Virtual disks are back-ended by the local disk. Setup is identical to the "Beginners Guide" for testing purposes.

Joesunadmina at 2007-7-11 15:16:44 > top of Java-index,Administration Tools,Logical Domains for CoolThreads Servers...
# 3
Are you allocating the whole disk for the guest domain or a slice? It has to be a whole disk. Also, depending on how your jumpstart is setup, the device will not have a target, so it'll be something like c0d0. That might be causing issues. How far is your jumpstart getting?
unixconsolea at 2007-7-11 15:16:44 > top of Java-index,Administration Tools,Logical Domains for CoolThreads Servers...
# 4
Allocating the whole disk.This might be a good time to ask, this T1000 only has one disk. So the primary and guest domains will be on one disk. Guide shows guest being created on second disk. Jumpstart is getting to the "configuring" statement then just keeps tryingThanks
Joesunadmina at 2007-7-11 15:16:44 > top of Java-index,Administration Tools,Logical Domains for CoolThreads Servers...
# 5

This is as far as it gets on the net boot.

{0} ok boot vnet0 - nowin

Boot device: /virtual-devices@100/channel-devices@200/network@0 File and args:n

Requesting Internet Address for 0:14:4f:fa:7c:c7

SunOS Release 5.10 Version Generic_118833-33 64-bit

Copyright 1983-2006 Sun Microsystems, Inc. All rights reserved.

Use is subject to license terms.

WARNING: machine_descrip_update: new MD has the same generation (3) as the old D

whoami: no domain name

Configuring devices.

/

/

NFS server blofeld2 not responding still trying

NFS server blofeld2 ok

Joesunadmina at 2007-7-11 15:16:44 > top of Java-index,Administration Tools,Logical Domains for CoolThreads Servers...
# 6
Take a look at my blog, I have some posts about setting things up:unixconsole.blogspot.comOctave
unixconsolea at 2007-7-11 15:16:44 > top of Java-index,Administration Tools,Logical Domains for CoolThreads Servers...
# 7

I have been able to successfully repeat on a T2000 what you are attempting, only by using SAN devices as my root drives for the guest domains. I too ran into the issue of just having 2 internal drives that were currently supporting my control domain so I looked elsewhere. You need to make sure that things like vxvm or svm in the control domain are not currently using/accessing the disk you are provisioning to the guest domain for its root device. I had a similar symptom where the netboot was hanging on "Configuring Devices". I went into the control domain and ran vxdisk list, sure enough on one of my previous reboots, vxdctl enable was run and although not initialized the disk I had provisioned to my guest domain had been sucked into Veritas. It was not until I vxdisk rm drivename and restarted the netboot, did I get past this point. You also must list the device like /dev/dsk/c0t500000000xxxxxxd0s2 in order for the guest domain to have access to this device for installing the OS. hope this helps.

Message was edited by:

WindyCity

Message was edited by:

WindyCity

WindyCitya at 2007-7-11 15:16:44 > top of Java-index,Administration Tools,Logical Domains for CoolThreads Servers...
# 8

Ok, I'm trying to use a Virtual Disk Image.

I get the LDom up, and I can jumpstart. But after the initial reboot ... Does anyone have any ideas?

Boot device: /virtual-devices@100/channel-devices@200/disk@0 File and args:

SunOS Release 5.10 Version Generic_118833-33 64-bit

Copyright 1983-2006 Sun Microsystems, Inc. All rights reserved.

Use is subject to license terms.

disk: no major number

channel-devices: no major number

Cannot load drivers for /virtual-devices@100/channel-devices@200/disk@0:a

Can't load the root filesystem

Debugging requested; hardware watchdog suspended.

My LDOm config / scripts / process looks like :

# mkdir /home/dom1

# ldm add-domain dom1

# ldm add-vcpu 4 dom1

# ldm add-mau 1 dom1

# ldm add-memory 512m dom1

# mkfile 10g /home/dom1/dom1-disk

# ldm add-vdiskserverdevice /home/dom1/dom1-disk vdisk1@primary-vds0

# ldm add-vdisk vdisk1 vdisk1@primary-vds0 dom1

# ldm add-vnet vnet0 primary-vsw0 dom1

# ldm set-variable auto-boot\?=false dom1

# ldm set-variable local-mac-address\?=true dom1

# ldm set-variable boot-device=/virtual-devices@100/channel-devices@200/disk@0 dom1

# ldm bind-domain dom1

# ldm start dom1

# telnet localhost 5000

{0} ok show-nets

a) /virtual-devices@100/channel-devices@200/network@0

q) NO SELECTION

Enter Selection, q to quit: a

/virtual-devices@100/channel-devices@200/network@0 has been selected.

Type ^Y ( Control-Y ) to insert it in the command line.

e.g. ok nvalias mydev ^Y

for creating devalias mydev for

/virtual-devices@100/channel-devices@200/network@0

{0} ok nvalias net /virtual-devices@100/channel-devices@200/network@0

{0} ok boot net - install

dacrawls3033a at 2007-7-11 15:16:44 > top of Java-index,Administration Tools,Logical Domains for CoolThreads Servers...
# 9
and the answer is I'm a fumbling idiot...I had installed this domain with the reduced networking core, (the ultra slimmed down) install cluster...No drivers...
dacrawls3033a at 2007-7-11 15:16:44 > top of Java-index,Administration Tools,Logical Domains for CoolThreads Servers...
# 10
What did your rules file look like. That is how is the partitioning addressed for a vfs file?Dave
dhitchcocka at 2007-7-11 15:16:44 > top of Java-index,Administration Tools,Logical Domains for CoolThreads Servers...