Download, Installation, and Configuration Information
You can obtain the Solaris Express Community Release based on build 75 or later at this location. Download instructions are included here.
Due to filesize issues with third-party applications and some operating systems other than Solaris or Linux, Sun has broken the DVD image into several segments.
Creating the Image
After downloading and unzipping segments, follow these instructions to concatenate the files into a single image:
UNIX Systems:  
Reconstruct the full DVD image by using the cat command. The correct syntax is:
cat file1 file2 file3 > file.iso
Windows Systems:  
Reconstruct the full DVD image by using the COPY command.
The correct syntax is:
copy /b file1 + file2 + file3 file.iso
For additional explanation, see Creating the ISO Image From the Segments .
Binaries and Sources for Build 75 or Later
Supported Hardware
x64 and x86 based systems are supported.
Supported Configurations
Supported configurations include the following:
- Solaris dom0, Solaris domU, Linux domU, FreeBSD domU
- 32-bit and 64-bit Solaris
- Multiprocessor dom0 and domUs
The following information applies to dom0:
- ISA floppy is not supported.
- For 32-bit, the processor must support PAE.
- The NIC must support the latest version of GLD. These include bge, e1000g, xge, nge, and rge devices. For more information on GLDv3 interfaces, see "Solaris OS Interface Types" in System Administration Guide: IP Services.
Printing Kernel and Machine Information
Use uname to determine the kernel you are running.
hostname% uname -a SunOS hostname 5.11 matrix-build-2007-06-01 i86pc i386 i86xpv
Use the isainfo command to print the basic application environments supported by the currently running system.
hostname% isainfo -x i386: sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx cmov cx8 tsc fpu
Use the psrinfo command to display information about processors.
hostname% psrinfo -vp The physical processor has 1 virtual processor (0) x86 (Authentic AMD family 15 model 5 step 10 clock 2200 MHz) Dual Core AMD Opteron(tm) Processor 275
Domain Size
Size your domain as you would configure a machine to do the same workload. Domain 0 space requirements are as recommended in the Solaris Express Release and Installation Collection on docs.sun.com.Memory Requirements
To optimize the current dom0 handling of memory exhaustion, you should size memory allocated to domUs to be no more than approximately 55 percent of the total physical memory installed in your system, and then divide the allocated memory among the domUs you intend to run concurrently.
For example, if you have 2 GB of RAM installed in your system, you should not allocate more than approximately 1.1 GB of RAM to domUs.
Thus, if you only intend to run one domU, you can allocate the entire 1.1 GB to it. If you intend to run two domUs concurrently, you should not allocate more than 550 MB of RAM to either, and so on.
The memory allocated to a DomU is set via:
-r mem amount
or
--ram= mem amount
in virt-install.
For example, to set the memory usage for a domU to 1 GB, specify:
-r 1024
Networking
Domain 0 provides shared access to a physical network interface to the guest domains, which have no direct access to physical devices.
Configuring the Network
By default, the hypervisor tools will use the first available NIC when creating guest domains. This link can be determined by examining the output of dladm show-link. To override the default on a system-wide basis, set the config/default-nic property of the svc:/system/xctl/xend:default service instance by using the svccfg(1) command.
It is also possible to override the default on a per-address basis in the domain configuration. In the domain configuration, specify the MAC address of the dom0's network interface that you want the domU to use to send and receive internet traffic:
mac=aa:1:2:3:4:5
Support for Migration
Support for migration of guest domains to a host is controlled by the config/xend-relocation-server, config/xend-relocation-address, and config/xend-relocation-hosts-allow properties of the svc:/system/xctl/xend:default service instance. For instructions, see Enable Live Migration in System Administration Information.
Installation
See Using virt-install to Install a Domain.
How to Complete the Solaris DomU sysidcfg Configuration
- After the domain is created, the sysidcfg is initiated and you are prompted
to answer a series of questions. Your screen will look similar to this:
SunOS Release 5.11 Version 64-bit Copyright 1983-2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Loading smf(5) service descriptions: 114/114 Select a Language 1. English 2. es 2. fr Please make a choice (1 - 3), or press h or ? for help: Select a Locale 1. English (C - 7-bit ASCII) 2. Canada (English) (UTF-8) 4. U.S.A. (UTF-8) 5. U.S.A. (en_US.ISO8859-1) 6. U.S.A. (en_US.ISO8859-15) 7. Go Back to Previous Screen Please make a choice (1 - 7), or press h or ? for help: What type of terminal are you using? 1) ANSI Standard CRT 2) DEC VT52 3) DEC VT100 4) Heathkit 19 5) Lear Siegler ADM31 6) PC Console 7) Sun Command Tool 8) Sun Workstation 9) Televideo 910 10) Televideo 925 11) Wyse Model 50 12) X Terminal Emulator (xterms) 13) CDE Terminal Emulator (dtterm) 14) Other Type the number of your choice and press Return: . . .For more information on the sysidcfg file, see the sysidcfg(4) man page.
Connect To or Detach From a Console
-
The following command connects to a console:
# virsh console domain
-
To connect to the console of a domU that is already running, you must first know the domU name. To obtain the name, use:
# virsh list
The system will display:
ID Name State 0 Domain-0 running 2 sxc18 paused
-
To connect to, for example, sxc18:
# virsh console sxc18
-
You can detach from a console using the escape character:
CTRL ]
Commands Used With The xVM Hypervisor
For more information on using virsh, see the virsh(1M) man page on this site. For other available commands, see the man pages on this site.
Glossary
backend driver
Half of a virtual driver, providing an interface between
the virtual device and an underlying real device. See frontend driver.
bare metal environment
A virtual environment where the virtualization product is directly installed
on physical hardware, acting like a host OS. The opposite of a hosted
environment.
domain
Virtual machine instance.
domU
Completely unprivileged domain; only virtual devices are
accessible
dom0
Fully privileged domain, can create and destroy other domains,
access real hardware etc.
driver domain
Like domU, but has access to hardware. Can be a fully fledged
system, or can run minimal init.
frontend driver
A virtual device and its associated driver in a guest domain that
communicates with a backend hosted in another guest domain. See backend driver.
paravirtualization
The name given to a hw virtualization technique that requires
modifications to the guest operating system to invoke the
Hypervisor API, rather than have the hypervisor simulate
hardware devices
VT-x
Intel's extensions that make the x86 architecture be strictly
able to be virtualized.
AMD-V
AMD's extensions that make the x86 architecture be strictly
able to be virtualized; formerly known as 'SVM' or 'Pacifica.'
HVM
Hardware-assisted
virtual machine. These are virtual machines that are taking advantage of
Intel-VT-x or AMD-V extensions.