Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition | |||
|
|
Solution Type Technical Instruction Sure Solution 1019970.1 : How to Assign Resources to Domains with the Oracle VM Server for SPARC (Formerly LDOM)
PreviouslyPublishedAs 250007
Applies to:Sun Blade T6340 Server Module - Version: Not ApplicableSun Netra T2000 Server - Version: Not Applicable and later [Release: Unknown Release and later] Sun Netra T5220 Server - Version: Not Applicable and later [Release: Unknown Release and later] Sun Netra T5440 Server - Version: Not Applicable and later [Release: Unknown Release and later] Sun Fire T1000 Server - Version: Not Applicable and later [Release: Unknown Release and later] All Platforms GoalInadequate resources(CPU/MAU/Memory)assigned in LDOM configurations can resulted in various issues on the LDOM domains. This document provide steps to check through to ensure appropriate resources are assigned to LDOM domains.This document provides steps to verify and set the LDOM configurations to ensure that the appropriate resources (VCPU/Memory/MAU) are assigned to the LDOM domains. However, the actual amount of each resources needed to be allocated is dependent on the guest operating system. For recommended and minimum resource requirements, please refer to the installation guide for the operating system you are using. Symptoms: LDOM performance slow Unable to enable crypto unit Unable to jumpstart Unable to boot Unable to create domain. Domain hang Unable to add moreVCPUs/MAUs Unable to install OS SolutionAvailable Documents:For Solaris 10 resource requirements, please refer to “System Requirements and Recommendations” in the Solaris 10 Installation Guide: Planning for Installation and Upgrade available on http://download.oracle.com/docs/cd/E19253-01/821-0441/index.html. Further details on various LDOM system requirements, please refer to the Release Notes of the specific version of Logical Domian Manager available on http://download.oracle.com/docs/cd/E19608-01/index.html . Please note that Primary domain is also referred as Control domain. Steps to Follow Do take note that this document provides only steps to review and define resources assigned to a domain. It does not provide or recommend any actual amount of resources to be allocated as this is dependent on the actual guest operating system and applications requirements. Do take note that this document provides only steps to review and define resources assigned to a domain. It does not provide or recommend any actual amount of resources to be allocated as this is dependent on the actual guest operating system and applications requirements. Definitions
VCPU
Virtual Central Processing Unit. The CPU threads residing the sun4v cpus are
presented as VCPUs within LDOM nomenclature. Each CPU thread corresponds to
a VCPU.
Memory
Memory assigned to the domain. Unit in default in bytes. Can be specified
in gigabytes(G), kilobytes(K), or megabytes(M).
MAU
Modular Arithmetic Unit, also know as cryptographic unit available in the
sun4v processors.
LDOM configuration can reviewed and amended through the /opt/SUNWldm/bin/ldm(1M) command. Here we outline the steps to review and then steps to amend VCPU, Memory and MAU resources assigned to a domain. Review VCPU/Memory/MAU assigned to a domain A summary of resources allocated to all domains on the system can be displayed with the ldm(1M) list subcommand. For example: # /opt/SUNWldm/bin/ldm list For an extensive review of the resources allocated to a specific domain, please use the ldm(1M) list-domain sub command. Take note of the VCPU, MEMORY and MAU section for the individual resources assigned to the domain. For example: # /opt/SUNWldm/bin/ldm list-domain -l guestdom1 Allocation of VCPU To set the number of VCPUs for a given domain, use the ldm(1M) set-vcpu subcommand: # /opt/SUNWldm/bin/ldm set-vcpu To add additional VCPUs to a given domain, use the ldm(1M) add-vcpu subcommand: # /opt/SUNWldm/bin/ldm add-vcpu There are limited number of VCPUs on a given machine. There are times that one may want to reduce the number of VCPUs from one domain, and then assign them to another domain. To remove a number of VCPU assigned to a domain, used the ldm(1M) remove-vcpu subcommand. # /opt/SUNWldm/bin/ldm remove-vcpu Allocation of Memory To set the amount of memory for a given domain, use the ldm(1M) set-memory sub command: # /opt/SUNWldm/bin/ldm set-memory To increase additional memory to a given domain, use the ldm(1M) add-memory subcommand: # /opt/SUNWldm/bin/ldm add-memory There are limited amount of memory on a given machine. There are times that one may want to reduce the amount of memory from one domain, and then assign them to another domain. To remove certain amount of memory assigned to a domain, used the ldm(1M) remove-memory sub command. # /opt/SUNWldm/bin/ldm remove-memory Allocation of MAU MAUs can only be assigned to specific domain only if at least of the VCPU from the owning processor core is assigned to the domain. Please refer to Page 19 & 26 of Beginners Guide to LDOMs, available at www.sun.com/blueprints. To set the number of MAUs for a given domain, use the ldm(1M) set-mau subcommand: # /opt/SUNWldm/bin/ldm set-mau To add additional MAUs to a given domain, use the ldm(1M) add-mau subcommand: # /opt/SUNWldm/bin/ldm add-mau There are limited number of MAUs on a given machine. There are times that one may want to reduce the number of MAUs from one domain, and then assign them to another domain. To remove a number of MAU assigned to a domain, used the ldm(1M) remove-mau subcommand. # /opt/SUNWldm/bin/ldm remove-mau The newly configured resource, though may have been assigned to the target domain dynamically, the configurations need to be saved to the system controller (SC) for it to persist across reboot of the primary domain. In order to store the configuration, use the ldm(1M) add-config subcommand: # /opt/SUNWldm/bin/ldm add-config config_name For example, saving the current configuraton as cfg090221: # /opt/SUNWldm/bin/ldm add-config cfg090221 On LDoms 1.0.3 or earlier, issuing the ldm(1M) list-config subcommand will show that configuration named cfg090221 will be the next active configuration(Though the changes may indeed be already active) when the primary domain reboots: # /opt/SUNWldm/bin/ldm list-config On LDoms 1.1, issuing the ldm(1M) list-config subcommand will show that configuration named cfg090221 is shown as [current], which provides a better reflection that the changes are already in active and also will be the next active configuration when the primary domain reboots: # /opt/SUNWldm/bin/ldm list-config - The latest explorer output using the latest version of explorer script. - The if there is any specific error, please provide session log illustrating the error concerned. Please refer to Sun[TM] Explorer X.XX Data Collector for the latest Explorer Script 1002383.1. To discuss this information further with Oracle experts and industry peers, we encourage you to review, join or start a discussion in the My Oracle Support Community, Oracle Solaris System Administration Community. Internal Comments This document contains normalized content and is managed by the the Domain Lead(s) of the respective domains. To notify content owners of a knowledge gap contained in this document, and/or prior to updating this document, please contact the domain engineers that are managing this document via the "Document Feedback" alias(es) listed below: Normalization Lead: global-systems-tsc-domain-engineers@Sun.COM Normalized, ldom, ldm Attachments This solution has no attachment |
||||||||||||
|