Skip to main content

1.4.2 Working With a Logical Domain Configuration


1.4.2 Working With a Logical Domain Configuration
The operations for logical domains use Logical Domains Manager, which is management software for Oracle VM Server for SPARC. You can configure or reconfigure a logical domain by using Logical Domains Manager. For these operations, log in to the control domain, and use the ldm command along with various options.
This section describes the available operations for logical domains.
Configuring a logical domain
When configuring a logical domain, perform the following operations by using the ldm command of Logical Domains Manager, which is management software for Oracle VM Server for SPARC.
  1. Create a logical domain.
  2. Assign hardware resources as a virtual CPU, virtual memory, and a virtual I/O to the logical domain.
  3. Save the logical domain configuration information.
  4. Start/Stop the logical domain.
For logical domains other than the control domain, you can also add or delete virtual CPU, memory, and I/O hardware resources while the operating system and applications are running. This reconfiguration is referred to as logical domain dynamic reconfiguration. However, the availability of logical domain dynamic reconfiguration depends on the operating system and applications running in the logical domain.
Reconfigurable hardware resources
The following hardware resources in a logical domain can be reconfigured.
  1. Virtual CPU
    A CPU can be reconfigured in units of virtual CPUs (threads). However, considering performance, reconfiguration is usually in units of cores.
  2. Virtual memory
    Memory can be reconfigured in units of 256 MB.
  3. Virtual I/O
    Virtual I/Os can be reconfigured in units of virtual disks or virtual networks. When reconfiguring virtual I/Os assigned to a guest domain, you do not have to restart the guest domain.
    Before removing a virtual disk or virtual network, you need to perform the following tasks.
    - Removing a virtual disk
    After unmounting the virtual disk, remove it.

    - Removing a virtual network
    After executing unplumb for the virtual network interface, remove the virtual network.
  4. Physical I/O
    Physical I/Os can be assigned to the logical domains in the following units.
Table 1-2  Version of Oracle VM Server for SPARC With Reconfigurable Physical I/O
Type of Physical I/O Static Reconfiguration Dynamic Reconfiguration
Virtual function of PCIe SR-IOV (Single Root I/O Virtualization) 3.0 or later 3.1 or later
PCIe endpoint 3.0 or later 3.1.1.1 or later
PCIe root complex 3.1 or later 3.2 or later (*1)
*1 The logical domains which a PCIe root complex can be added to or deleted from is Oracle Solaris 11.2 SRU11.2.8.4.0 or later.
  1. For the requirements to assign devices (including an on-board device) using the SR-IOV, PCIe endpoint, and assignment requirements for a root complex (PCIe bus), see the following manuals.
    - Latest Product Notes for your server

    - PCI Card Installation Guide for your server

    - Oracle VM Server for SPARC Administration Guide of the version used

    - Oracle VM Server for SPARC Release Notes of the version used
  1. When statically reconfiguring physical I/Os assigned to the control domain and the root domain, switch to delayed reconfiguration mode. Then, restart the control domain and the root domain respectively, and apply the settings for the reconfiguration.
    Before deleting a physical I/O, you need to perform the following tasks.
  1. - Deleting a physical I/O
    If it is a disk, unmount it, and if it is a network, unplumb it. Then, after setting the physical I/O device to unused, delete it.
    To dynamically move hardware resources of the relevant guest domain, the Logical Domains DR daemon (drd) must be operating on the guest domain.