Go to main content

Oracle® VM Server for SPARC 3.6 Administration Guide

Exit Print View

Updated: September 2019
 
 

How to Install the Oracle Solaris OS on a Guest Domain From a DVD

  1. Insert the Oracle Solaris OS DVD into the DVD drive.
  2. Stop the removable media service on the primary domain.
    primary# svcadm disable rmvolmgr
  3. Stop and unbind the guest domain (ldg1).
    primary# ldm stop ldg1
    primary# ldm unbind ldg1
  4. Add the DVD with the DVD-ROM media as a secondary volume and virtual disk.

    The following example uses c0t0d0s2 as the DVD drive in which the Oracle Solaris media resides, dvd_vol@primary-vds0 as a secondary volume, and vdisk_cd_media as a virtual disk.

    primary# ldm add-vdsdev options=ro /dev/dsk/c0t0d0s2 dvd_vol@primary-vds0
    primary# ldm add-vdisk vdisk_cd_media dvd_vol@primary-vds0 ldg1
  5. Verify that the DVD is added as a secondary volume and virtual disk.
    primary# ldm list-bindings
    NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME 
    primary          active   -n-cv   SP      8     8G       0.2%  22h 45m
    ...
    VDS 
       NAME             VOLUME         OPTIONS          DEVICE
       primary-vds0     vol1                            /dev/dsk/c2t1d0s2
       dvd_vol                                          /dev/dsk/c0t0d0s2
    ....
    ------------------------------------------------------------------------------
    NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
    ldg1             inactive -----           60    6G
    ...
    DISK
       NAME             VOLUME                      TOUT DEVICE  SERVER
       vdisk1           vol1@primary-vds0
       vdisk_cd_media   dvd_vol@primary-vds0
    ....
  6. Bind and start the guest domain (ldg1).
    primary# ldm bind ldg1
    primary# ldm start-domain ldg1
    LDom ldg1 started
    primary# telnet localhost 5000
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
     
    Connecting to console "ldg1" in group "ldg1" ....
    Press ~? for control options ..
  7. Show the device aliases in the client OpenBoot PROM.

    In this example, see the device aliases for vdisk_cd_media, which is the Oracle Solaris DVD, and vdisk1, which is a virtual disk on which you can install the Oracle Solaris OS.

    ok devalias
    vdisk_cd_media  /virtual-devices@100/channel-devices@200/disk@1
    vdisk1          /virtual-devices@100/channel-devices@200/disk@0
    vnet1           /virtual-devices@100/channel-devices@200/network@0
    virtual-console /virtual-devices/console@1
    name            aliases
  8. On the guest domain's console, boot from vdisk_cd_media (disk@1) on slice f.
    ok boot vdisk_cd_media:f
    Boot device: /virtual-devices@100/channel-devices@200/disk@1:f  File and args: -s
    SunOS Release 5.10 Version Generic_139555-08 64-bit
    Copyright (c), 1983-2010, Oracle and/or its affiliates.  All rights reserved.
  9. Continue with the Oracle Solaris OS installation.