• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

The Geek Diary

CONCEPTS | BASICS | HOWTO

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • Linux Services
    • VCS
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
    • Data Guard
  • DevOps
    • Docker
    • Shell Scripting
  • Interview Questions
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How to assign CPU/Memory/MAU resources to Guest LDOMs [OVM for SPARC]

By admin

The CPU, Memory and MAU resources can be added/removed dynamically to/from the guest LDOMs. Before adding the resources to guest LDOMs make sure you check the available resources in the primary domain :

# ldm ls -o memory
# ldm ls -o cpu
# ldm ls -o mau

Resources and their meanings

The various resources and their meanings :

Abbreviation Name Purpose
VCPU virtual CPU Each thread of a T series CPU acts as a virtual CPU
MAU Mathematical arithmetic unit Each core of T series CPU will have a MAU for accelerated RAS/DSA encryption
Memory Physical memory is mapped into virtual memory and assigned to ldoms

Before changing the resource allocation of guest LDOM (ldom01), check the resources that are laready allocated to the guest LDOM.

# ldm list
NAME             STATE    FLAGS   CONS    VCPU MEMORY   UTIL  UPTIME
primary          active   -n-cv   SP       8     4G        17%  32d 2h 3m
ldom01           active   -n---   5001     4     4G       0.5%  38d 13h 44m
# ldm ls -l ldom01
NAME             STATE    FLAGS   CONS    VCPU MEMORY    UTIL  UPTIME
ldom01           active   -n---   5001    4     4G       0.4%  38d 13h 51m
SOFTSTATE
Solaris running
VCPU
VID    PID    UTIL STRAND
0      4      100%   100%
1      5      1.1%   100%
2      6      0.9%   100%
3      7      0.0%   100%
MAU
ID     CPUSET
0      (8, 9, 10, 11, 12, 13, 14, 15)
MEMORY
RA               PA               SIZE
0x8000000        0x108000000      2G
0x408000000      0x688000000      2G
..

Allocating VCPU

1. Setting the VCPUs to 6 :

# ldm set-vcpu 6 ldom01

2. To add additional 2 VCPUs :

# ldm add-vcpu 2 ldom01

3. To remove 2 VCPUs :

# ldm remove-vcpu 2 ldom01

Allocating Memory

1. Setting the Memory to 6 GB :

# ldm set-memory 6G ldom01

2. To add additional 2 GB memory :

# ldm add-memory 2G ldom01

3. To remove 2 GB memory :

# ldm remove-memory 2G ldom01

Allocating MAUs

1. Setting the MAU to 2 :

# ldm set-mau 2 ldom01

2. To add additional 1 MAU :

# ldm add-mau 1 ldom01

3. To remove 1 MAU :

# ldm remove-mau 1 ldom01

Saving the configuration

The new changes to persists across reboots must be saved to system controller (SC).

# ldm add-config config_12feb2014
# /opt/SUNWldm/bin/ldm list-config
factory-default
initconfig
config_12feb2014 [current]

Filed Under: LDOMs

Some more articles you might also be interested in …

  1. How to reset LDOM configuration to factory default
  2. LDOMs troubleshooting : guest and control domains can not talk to each other but can talk with anyone else on the network
  3. How to create an I/O domain
  4. How to Collect a Forced Crash Dump of a Hanging Solaris Guest LDom
  5. Oracle VM Server for SPARC (Ldoms) : How to Change Primary/Control Domain’s UUID
  6. Solaris 11 : Increasing the size of a vdisk in LDom ( with backend device as ZFS volume )
  7. How to install and configure LDOMs (Oracle VM for SPARC)
  8. How to save LDOM configuration and restore from xml file
  9. The Ultimate LDOMs troubleshooting guide
  10. How to rename a LDOM (OVM for SPARC)

You May Also Like

Primary Sidebar

Recent Posts

  • What are different Oracle Database Vault Roles
  • Unable to export realm protected table using data pump
  • Beginners Guide to Oracle Database Vault
  • How to Disable IPv6 on Ubuntu 18.04 Bionic Beaver Linux
  • Archives
  • Contact Us
  • Copyright

© 2021 · The Geek Diary