1. Overview of the Oracle VM Server for SPARC Software
2. Installing and Enabling Software
4. Setting Up Services and the Control Domain
Creating and Starting a Guest Domain
Create and Start a Guest Domain
Installing Oracle Solaris OS on a Guest Domain
Install Oracle Solaris OS on a Guest Domain From a DVD
Install Oracle Solaris OS on a Guest Domain From a Oracle Solaris ISO File
12. Performing Other Administration Tasks
A. Oracle VM Server for SPARC Physical-to-Virtual Conversion Tool
B. Oracle VM Server for SPARC Configuration Assistant
C. Logical Domains Manager Discovery
D. Using the XML Interface With the Logical Domains Manager
This section provides instructions for several different ways you can install the Oracle Solaris OS on a guest domain.
Caution - Do not disconnect from the virtual console during the installation of the Oracle Solaris OS. |
primary# svcadm disable volfs
primary# ldm stop ldg1 primary# ldm unbind ldg1
The following 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 /dev/dsk/c0t0d0s2 dvd_vol@primary-vds0 primary# ldm add-vdisk vdisk_cd_media dvd_vol@primary-vds0 ldg1
primary# ldm list-bindings NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME primary active -n-cv SP 4 4G 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 ....
primary# ldm bind ldg1 primary# ldm start ldg1 LDom ldg1 started primary# telnet localhost 5000 Trying 027.0.0.1... Connected to localhost. Escape character is '^]'. Connecting to console "ldg1" in group "ldg1" .... Press ~? for control options ..
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
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.
primary# ldm stop ldg1 primary# ldm unbind ldg1
The following uses solarisdvd.iso as the Oracle Solaris ISO file, iso_vol@primary-vds0 as a secondary volume, and vdisk_iso as a virtual disk:
primary# ldm add-vdsdev /export/solarisdvd.iso iso_vol@primary-vds0 primary# ldm-vdisk vdisk vdisk_iso iso_vol@primary-vds0 ldg1
primary# ldm list-bindings NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME primary active -n-cv SP 4 4G 0.2% 22h 45m ... VDS NAME VOLUME OPTIONS DEVICE primary-vds0 vol1 /dev/dsk/c2t1d0s2 iso_vol /export/solarisdvd.iso .... ------------------------------------------------------------------------------ NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME ldg1 inactive ----- 60 6G ... DISK NAME VOLUME TOUT DEVICE SERVER vdisk1 vol1@primary-vds0 vdisk_iso iso_vol@primary-vds0 ....
primary# ldm bind ldg1 primary# ldm start 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 ..
In this example, see the device aliases for vdisk_iso, which is the Oracle Solaris ISO image, and vdisk_install, which is the disk space.
ok devalias vdisk_iso /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
ok boot vdisk_iso: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.
This procedure describes how to perform a JumpStart operation on a guest domain. This procedure follows the usual JumpStart procedure, but it describes the different disk device name format to use in the JumpStart profile for the guest domain. See the Oracle Solaris 10 9/10 Installation Guide: Custom JumpStart and Advanced Installations.
Virtual disk device names in a logical domain differ from physical disk device names. Virtual disk device names do not contain a target ID (tN).
Instead of the usual cNtNdNsN format, virtual disk device names use the cNdNsN format. cN is the virtual controller, dN is the virtual disk number, and sN is the slice number.
A virtual disk can appear either as a full disk or as a single-slice disk. The Oracle Solaris OS can be installed on a full disk by using a regular JumpStart profile that specifies multiple partitions. A single-slice disk only has a single partition, s0, that uses the entire disk. To install the Oracle Solaris OS on a single disk, you must use a profile that has a single partition (/) that uses the entire disk. You cannot define any other partitions, such as swap. For more information about full disks and single-slice disks, see Virtual Disk Appearance.
See Oracle Solaris 10 9/10 Installation Guide: Custom JumpStart and Advanced Installations.
Normal UFS Profile
filesys c1t1d0s0 free / filesys c1t1d0s1 2048 swap filesys c1t1d0s5 120 /spare1 filesys c1t1d0s6 120 /spare2
Actual UFS Profile for Installing a Domain on a Full Disk
filesys c0d0s0 free / filesys c0d0s1 2048 swap filesys c0d0s5 120 /spare1 filesys c0d0s6 120 /spare2
Actual UFS Profile for Installing a Domain on a Single-Slice Disk
filesys c0d0s0 free /
Normal ZFS Profile
pool rpool auto 2G 2G c1t1d0s0
Actual ZFS Profile for Installing a Domain
pool rpool auto 2G 2G c0d0s0