Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Loading Solaris OS on Guest LDOM

807567Apr 2 2007 — edited Nov 29 2007
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

Comments

807567
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 LUN
3. Virtual Disk Image file.
807567
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.
807567
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?
807567
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 trying

Thanks
807567
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
807567
Take a look at my blog, I have some posts about setting things up:

unixconsole.blogspot.com

Octave
807567
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
807567
Ok, I'm trying to use a Virtual Disk Image.<br>
I get the LDom up, and I can jumpstart. But after the initial reboot ... Does anyone have any ideas?<br><br>

Boot device: /virtual-devices@100/channel-devices@200/disk@0 File and args: <br>
SunOS Release 5.10 Version Generic_118833-33 64-bit<br>
Copyright 1983-2006 Sun Microsystems, Inc. All rights reserved.<br>
Use is subject to license terms.<br>
disk: no major number<br>
channel-devices: no major number<br>
Cannot load drivers for /virtual-devices@100/channel-devices@200/disk@0:a<br>
Can't load the root filesystem<br>
Debugging requested; hardware watchdog suspended.<br><br>
My LDOm config / scripts / process looks like : <br>

# mkdir /home/dom1<br>
# ldm add-domain dom1<br>
# ldm add-vcpu 4 dom1<br>
# ldm add-mau 1 dom1<br>
# ldm add-memory 512m dom1<br>
# mkfile 10g /home/dom1/dom1-disk<br>
# ldm add-vdiskserverdevice /home/dom1/dom1-disk vdisk1@primary-vds0<br>
# ldm add-vdisk vdisk1 vdisk1@primary-vds0 dom1<br>
# ldm add-vnet vnet0 primary-vsw0 dom1<br>
# ldm set-variable auto-boot\?=false dom1<br>
# ldm set-variable local-mac-address\?=true dom1<br>
# ldm set-variable boot-device=/virtual-devices@100/channel-devices@200/disk@0 dom1<br>
# ldm bind-domain dom1<br>
# ldm start dom1<br>
# telnet localhost 5000<br>
<br>
{0} ok show-nets<br>
a) /virtual-devices@100/channel-devices@200/network@0<br>
q) NO SELECTION<br>
Enter Selection, q to quit: a<br>
/virtual-devices@100/channel-devices@200/network@0 has been selected.
Type ^Y ( Control-Y ) to insert it in the command line.<br>
e.g. ok nvalias mydev ^Y<br>
for creating devalias mydev for<br> /virtual-devices@100/channel-devices@200/network@0<br><br>
{0} ok nvalias net /virtual-devices@100/channel-devices@200/network@0<br>
<br>
<br> {0} ok boot net - install
807567
and the answer is I'm a fumbling idiot...<br>
I had installed this domain with the reduced networking core, (the ultra slimmed down) install cluster...<br>
No drivers...
807567
What did your rules file look like. That is how is the partitioning addressed for a vfs file?

Dave
807567
I am having the same problems as well. T2000 server two internal drives. One SAN attached drive in which the guest domain is aware of. The jumpstart process hangs at configuring drives. Does the jumpstart server need to patched or updated in order to successfully jumpstart a guest domain? I have tried everything. Are there any suggestions? thx
807567
I have the same problem - just a bit further down the road. Installed the Primary no problems. Then faffed about with the first guest ldom but problems were all mine - got it working imperfectly. Then installed 2 further guest ldoms from remote jumpstart server without problems.

The system is a T2k with 2 hdd's. All guests so far have been installed onto file disk on the same hdd as the primary.

I then tried to install a further 4 guests all onto the 2nd hdd. All are hanging in jumpstart after "drctl0 is /pseudo/drctl@0" with the spinner going.

I have tried removing/recreating services with no success.

Next step is to re-format the disk and try again.
807567
Update,

It looks like the combination of the re-format of the 2nd hdd and a reboot has done the trick.

Now have transferred the file images for one domain from one hdd to the other (after stop/unbind) and bring back up after amending the vdiskserverdevice bindings.

Have also been able to creat 3 more guest domains on the 2nd disk with a direct jumpstart.

So am not sure whether the reboot has cleared out a problem that was lurking around or the re-format and re-partition has allowed the jumpstart to progress.
807567
has anyone created primary domain on top of VxVM controlled boot disks? I have been looking all over and not able to find anything. any help would be much appreciated.
1 - 14
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Dec 27 2007
Added on Apr 2 2007
14 comments
571 views