JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle VM Server for SPARC 3.0 Administration Guide     Oracle VM Server for SPARC
search filter icon
search icon

Document Information

Preface

Part I Oracle VM Server for SPARC 3.0 Software

1.  Overview of the Oracle VM Server for SPARC Software

2.  Installing and Enabling Software

3.  Oracle VM Server for SPARC Security

4.  Setting Up Services and the Control Domain

5.  Setting Up Guest Domains

6.  Setting Up I/O Domains

7.  Using Virtual Disks

8.  Using Virtual Networks

9.  Migrating Domains

10.  Managing Resources

Resource Reconfiguration

Dynamic Reconfiguration

Delayed Reconfiguration

Resource Allocation

CPU Allocation

How to Apply the Whole-Core Constraint

How to Apply the Max-Cores Constraint

Interactions Between the Whole-Core Constraint and Other Domain Features

CPU Dynamic Reconfiguration

Dynamic Resource Management

Domain Migration

Power Management

Configuring the System With Hard Partitions

Checking the Configuration of a Domain

How to Determine Whether a Domain Is Configured With CPU Whole Cores

How to List the CPU Cores That Are Assigned to a Domain

Configuring a Domain With CPU Whole Cores

How to Create a New Domain With CPU Whole Cores

How to Configure an Existing Domain With CPU Whole Cores

How to Configure the Primary Domain With CPU Whole Cores

Interaction of Hard Partitioned Systems With Other Oracle VM Server for SPARC Features

CPU Dynamic Reconfiguration

CPU Dynamic Resource Management

CPU Power Management

Domain Reboot or Rebind

Domain Migration Incompatibility

Assigning Physical Resources to Domains

How to Remove the physical-bindings Constraint

How to Remove All Non-Physically Bound Resources

Managing Physical Resources on the Control Domain

Restrictions for Managing Physical Resources on Domains

Using Memory Dynamic Reconfiguration

Adding Memory

Removing Memory

Tracking the Progress of a Memory DR Request

Canceling a Memory DR Request

Partial Memory DR Requests

Memory Reconfiguration of the Control Domain

Decrease the Control Domain's Memory

Dynamic and Delayed Reconfiguration

Memory Alignment

Memory Alignment for Active Domains

Memory Alignment for Bound Domains

Memory Alignment for Inactive Domains

Adding Unaligned Memory

Memory DR Examples

Using Power Management

Using Dynamic Resource Management

Listing Domain Resources

Machine-Readable Output

How to Show Syntax Usage for ldm Subcommands

Flag Definitions

Utilization Statistic Definition

Viewing Various Lists

How to Show Software Versions (-V)

How to Generate a Short List

How to Generate a Long List (-l)

How to Generate an Extended List (-e)

How to Generate a Parseable, Machine-Readable List (-p)

How to Generate a Subset of a Long List (-o format)

How to List a Variable

How to List Bindings

How to List Configurations

How to List Devices

How to List Available Memory

How to List Services

Listing Constraints

How to List Constraints for One Domain

How to List Constraints in XML Format

How to List Constraints in a Machine-Readable Format

11.  Managing Domain Configurations

12.  Performing Other Administration Tasks

Part II Optional Oracle VM Server for SPARC Software

13.  Oracle VM Server for SPARC Physical-to-Virtual Conversion Tool

14.  Oracle VM Server for SPARC Configuration Assistant (Oracle Solaris 10)

15.  Using Power Management

16.  Using the Oracle VM Server for SPARC Management Information Base Software

17.  Logical Domains Manager Discovery

18.  Using the XML Interface With the Logical Domains Manager

Glossary

Index

Assigning Physical Resources to Domains

The Logical Domains Manager automatically selects the physical resources to be assigned to a domain. The Oracle VM Server for SPARC 3.0 software also enables expert administrators to explicitly choose the physical resources to assign to or remove from a domain.

Resources that you explicitly assign are called named resources. Resources that are automatically assigned are called anonymous resources.


Caution

Caution - Do not assign named resources unless you are an expert administrator.


You can explicitly assign physical resources to the control domain and to guest domains. Because the control domain remains active, the control domain might optionally be in a delayed reconfiguration before you make physical resource assignments. Or, a delayed reconfiguration is automatically triggered when you make physical assignments. See Managing Physical Resources on the Control Domain. For information about physical resource restrictions, see Restrictions for Managing Physical Resources on Domains.

You can explicitly assign the following physical resources to the control domain and to guest domains:


Note - You cannot use dynamic reconfiguration (DR) to move memory or core resources between running domains when you set the mblock or cid property. To move resources between domains, ensure that the domains are in a bound or inactive state. For information about managing physical resources on the control domain, see Managing Physical Resources on the Control Domain.


You can use the ldm list-constraints command to view the resource constraints for domains. The physical-bindings constraint specifies which resource types have been physically assigned to a domain. When a domain is created, the physical-bindings constraint is unset until a physical resource is assigned to that domain. By setting the mblock property, the physical-bindings constraint is set to memory. Likewise, by setting the cid property, the physical-bindings constraint is set to core. If both the cid and mblock properties are set, the physical-bindings constraint is set to core,memory.

How to Remove the physical-bindings Constraint

To remove the physical-bindings constraint for a guest domain, you must first remove all physically bound resources.

  1. Unbind the domain.
    # ldm unbind domain
  2. Remove the named resources.
    • Named cores.

      # ldm set-core cid=core-ID domain
    • Named memory.

      # ldm set-mem mblock=PA-start:size domain
  3. Add CPU or memory resources.
    • CPU resource.

      # ldm add-vcpu number domain
    • Memory resource.

      # ldm add-mem size[unit] domain
  4. Rebind the domain.
    # ldm bind domain

How to Remove All Non-Physically Bound Resources

To constrain guest domains that do not have the physical-bindings constraint, you must first remove all non-physically bound resources.

  1. Unbind the domain.
    # ldm unbind domain
  2. Set the number of resources to 0.
    • CPU resource.

      # ldm set-core 0 domain
    • Memory resource.

      # ldm set-mem 0 domain
  3. Add CPU or memory that is physically bound.
    • CPU resource.

      # ldm add-core cid=core-ID domain
    • Memory resource.

      # ldm add-mem mblock=PA-start:size domain
  4. Rebind the domain.
    # ldm bind domain

Managing Physical Resources on the Control Domain

To constrain or remove the physical-bindings constraint from the control domain, follow the appropriate steps in the previous section. However, instead of unbinding the domain, place the control domain in a delayed reconfiguration.

A change of constraint between anonymous resources and physically bound named resources auto-triggers a delayed reconfiguration. You can still explicitly enter a delayed reconfiguration by using the ldm start-reconf primary command.

As with any delayed reconfiguration change, you must perform a reboot of the domain, in this case the control domain, to complete the process.


Note - When the control domain is in delayed reconfiguration mode, you can perform unlimited memory assignments by using the ldm add-mem and ldm rm-mem commands on the control domain. However, you can perform only one core assignment to the control domain by using the ldm set-core command.


Restrictions for Managing Physical Resources on Domains

The following restrictions apply to the assignment of physical resources: