Go to main content

Oracle® VM Server for SPARC 3.6 Administration Guide

Exit Print View

Updated: September 2019
 
 

How to Export an ISO Image From the Control Domain to Install a Guest Domain

Before You Begin

This procedure assumes that both the primary domain and the guest domain are configured.

For example, the following ldm list shows that both the primary and ldom1 domains are configured:

primary# ldm list
NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
primary          active   -n-cv   SP      8     8G       0.3%  15m
ldom1            active   -t-‐-   5000    4     1G        25%  8m
  1. Add a virtual disk server device to export the ISO image.

    In this example, the ISO image is /export/images/sol-10-u8-ga-sparc-dvd.iso.

    primary# ldm add-vdsdev /export/images/sol-10-u8-ga-sparc-dvd.iso dvd-iso@primary-vds0
  2. Stop the guest domain.

    In this example, the logical domain is ldom1.

    primary# ldm stop-domain ldom1
    LDom ldom1 stopped
  3. Add the virtual disk for the ISO image to the logical domain.

    In this example, the logical domain is ldom1.

    primary# ldm add-vdisk s10-dvd dvd-iso@primary-vds0 ldom1
  4. Restart the guest domain.

    In this example, the logical domain is ldom1.

    primary# ldm start-domain ldom1
    LDom ldom1 started
    # ldm list
    NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
    primary          active   -n-cv   SP      8     8G       0.4%  25m
    ldom1            active   -t-‐-   5000    4     1G       0.0%  0s

    In this example, the ldm list command shows that the ldom1 domain has just been started.

  5. Connect to the guest domain.
    primary# telnet localhost 5000
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    
    Connecting to console "ldom1" in group "ldom1" ....
    Press ~? for control options ..
  6. Verify the existence of the ISO image as a virtual disk.
    {0} ok show-disks
    a) /virtual-devices@100/channel-devices@200/disk@1
    b) /virtual-devices@100/channel-devices@200/disk@0
    q) NO SELECTION
    Enter Selection, q to quit: q

    In this example, the newly added device is /virtual-devices@100/channel-devices@200/disk@1.

  7. Boot the guest domain to install from the ISO image.

    In this example, boot from the f slice of the /virtual-devices@100/channel-devices@200/disk@1 disk.

    {0} ok boot /virtual-devices@100/channel-devices@200/disk@1:f