Ldom problem

Hi People,
I have been trying to learn solaris ldoms, have created one on a T2000 and get the following error when try to install it off DVD

WARNING: /virtual-devices@100/channel-devices@200/disk@1: Communication error with Virtual Disk Server using Port 0. Retrying

If anyone could help with this it would be appreciated

Thanks

Martin

can you send the output of

ldm list -l

Hi os2mac

attached the output of ldm list -l

Thanks

Rgrds

Marty

ok,

so are you getting an open boot prompt or is it going straight to disk 0 and trying to boot?

I get the OBP and then when I try to boot off cd (with or without a DVD in the drive) I get the error.

Thanks

Are you sure you are using cdrom image ?
From the output i see

cdrom                                          /dev/dsk/c1t0d0s2

What you need is and iso image copied somewhere on the hypervisor.
Example :
Stop the ldom

ldm stop yourldom
ldm add-vdsdev /mypath/sol-11.iso dvd-iso@primary-vds0
ldm add-vdisk dvd-iso dvd-iso@primary-vds0 yourLDOM

Set the ldom not to autoboot (i see it will not from ldm list -l output)
If not run

ldm set-var auto-boot?=false yourLDOM

Start the ldom and telnet to its console.
On OBP run:

devalias

Notice the dvd-iso from output.
Issue :

boot dvd-iso

Proceed with installation.

Hope that helps
Regards
Peasant.

1 Like

Thanks Peasant, was trying to lead him to water.

Gents,
Are there any guides to installing from an ISO? I get as far as it asking for where to load the media from and then can't get past it.

It seems to want to do an NFS install but then how do you tell it where to load the media from?

Sorry to be pain

Thanks

Martin

no need to apologize... you are learning. It's rather a steep learning curve you have to change your thought process on how you think about interfacing with hardware.

Think of it this way, the LDOM doesn't know about any hardware that the primary OS and LDM don't tell it about. This includes harddrives, storage media (like CDROMs or ISO files) and even network interface cards.

in order for you to install from an .iso file you have to make the .iso available to the LDOM as a virtual disk.

to do this there are two steps.

#1. you have to add the .iso as virtual disk device (vdsdev) like this:

root@server:~# ldm add-vdsdev

Usage:
        ldm add-vdsdev [-f] [-q] [options={ro,slice,excl}] [mpgroup=<mpgroup>]
                <backend> <volume_name>@<service_name>

root@server:~# ldm add-vdsdev /var/tmp/sol-11_1_14_5_0-text-sparc.iso install@vds0

root@server:~# ldm list -o disk primary

NAME
primary

VDS
    NAME             VOLUME         OPTIONS          MPGROUP        DEVICE
    install                                                        /var/tmp/sol-11_1_14_5_0-text-sparc.iso

This is assuming you have already created your virtual disk server (vds0) and the LDOM itself.

#2.Next you will have to export that vds device as a disk to the LDOM, like this:

root@server:~# ldm add-vdisk

Usage:
        ldm add-vdisk [timeout=<seconds>] [id=<diskid>]
                <disk_name> <volume_name>@<service_name> <ldom>

root@server:~# ldm add-vdisk install install@vds0 ldom
root@server:~# ldm list -0 disk ldom

Usage:
        ldm list [-e] [-l] [-S] [-o <format>] [-p] [<ldom>...]
                'format' is one or more of:
                cmi,console,core,cpu,crypto|mau,disk,domain,memory|mem,
                network|net,physio,resmgmt,serial,status

root@server:~# ldm list -o disk ldom
NAME
ldom

DISK
    NAME             VOLUME                      TOUT ID   DEVICE  SERVER         MPGROUP
    swap             ldom_swap@vds0                  4    disk@4  primary
    disk0            ldom_disk0@vds0                 0    disk@0  primary
    disk1            ldom_disk1@vds0                 1    disk@1  primary
    install          install@vds0                     2    disk@2  primary

now you have an install disk to boot from...