Go to main content

Oracle® SuperCluster M8 and SuperCluster M7 Administration Guide

Exit Print View

Updated: June 2020
 
 

Display the Current Domain Configuration (ldm)

This procedure describes how to display a compute node domain configuration using a series of ldm commands.


Note -  Alternatively, you can use the osc-setcoremem command to get similar information. See Display the Current Domain Configuration (osc-setcoremem) Command.
  1. Log in as root on the compute node's control domain.
  2. Identify which domains are Root Domains.

    Root Domains can be identified by matching the value of domain variable oes_domain_type with root. In this example, ssccn1-dom3 is a Root Domain.

    # ldm ls-variable oes_domain_type primary
    oes_domain_type=db
    
    # ldm ls-variable oes_domain_type ssccn1-dom1
    oes_domain_type=db
    
    ..
    
    # ldm ls-variable oes_domain_type ssccn1-dom3
    oes_domain_type=root
  3. View domains and resource allocation information.

    In this example, ssccn3-dom2 and ssccn3-dom3 are Root Domains (from Step 2). The resources listed for Root Domains only represent the resources that are reserved for the Root Domain itself. Parked resources are not displayed.

    # ldm list
    NAME             STATE      FLAGS   CONS    VCPU  MEMORY   UTIL  NORM  UPTIME
    primary          active     -n-cv-  UART    192   2095872M 0.1%  0.1%  12h 28m
    ssccn3-dom1      active     -n----  5001    192   2T       0.1%  0.1%  12h 25m
    ssccn3-dom2      active     -n----  5002    8     16G      0.1%  0.1%  2d 23h 34m
    ssccn3-dom3      active     -n--v-  5003    16    32G      0.1%  0.1%  2d 23h 34m
    
  4. View the amount of parked resources.

    In this example, the first command line reports the number of cores in the logical CPU repository. The second command line reports the amount of memory in the memory repository.

    # ldm list-devices -p core | grep cid | wc -l
          45
    
    # ldm list-devices memory
    MEMORY
        PA                   SIZE
        0x100000000000       1008G
        0x180000000000       1T
        0x300000000000       1008G
        0x380000000000       1008G
    

Related Information