Go to main content

Oracle® SuperCluster M8 and SuperCluster M7 Administration Guide

Exit Print View

Updated: June 2020
 
 

Example: Simulating Changes on a Non-SuperCluster Node

This example shows how to generate an editable base configuration file template and run the simulator on a non-SuperCluster SPARC node. The template was edited to reflect a SuperCluster M6 configuration with four domains, with each domain running with two M6 processors and two TB memory.

It is not necessary to use the SSC_SCM_SIMULATE variable in this case. The shell variable is used only when running the simulator on a SuperCluster node.

% ./osc-setcoremem –g –dc 4
[OK] simulator config file generated
location: /var/tmp/oscsetcorememcfg.txt

% cat /var/tmp/oscsetcorememcfg.txt
#DOMAIN      ROOT       SERVICE     SOCKET     CORE       MEMORY        HCA
# NAME       DOMAIN     DOMAIN      COUNT      COUNT      GB            COUNT
#----------------------------------------------------------------------------
primary      YES|NO     YES|NO      <COUNT>    <COUNT>    <CAPACITY>    1|2
ssccn-dom1   YES|NO     YES|NO      <COUNT>    <COUNT>    <CAPACITY>    1|2
ssccn-dom2   YES|NO     YES|NO      <COUNT>    <COUNT>    <CAPACITY>    1|2
ssccn-dom3   YES|NO     YES|NO      <COUNT>    <COUNT>    <CAPACITY>    1|2

% ./osc-setcoremem -p m6 -c /var/tmp/oscsetcorememcfg.txt

                        osc-setcoremem simulator
                    v2.4  built on Feb 24 2017 14:48:42

 Current Configuration: SuperCluster M6
 +----------------------------------+-------+--------+-----------+--- MINIMUM ----+
 | DOMAIN                           | CORES | MEM GB |   TYPE    | CORES | MEM GB |
 +----------------------------------+-------+--------+-----------+-------+--------+
 | primary                          |    24 |   2048 | Dedicated |     2 |     32 |
 | ssccn2-dom1                      |    24 |   2048 | Dedicated |     2 |     32 |
 | ssccn2-dom2                      |    24 |   2048 | Dedicated |     2 |     32 |
 | ssccn2-dom3                      |     2 |     32 |   Root    |     2 |     32 |
 +----------------------------------+-------+--------+-----------+-------+--------+
 | Parked Resources (Approx)        |    22 |   2016 |    --     |    -- |   --   |
 +----------------------------------+-------+--------+-----------+-------+--------+

 [ INFO ] following domains will be ignored in this session.

 Root Domains
 ------------
 ssccn2-dom3

 CPU Granularity Preference:
        1. Socket
        2. Core

 In case of Socket granularity, proportional memory capacity is
  automatically selected for you.

 Choose Socket or Core [S or C] c

 Step 1 of 2: Core Count

 primary      : specify number of cores [min: 2, max: 68. default: 24] : 36
                you chose [36] cores for primary domain

 ssccn2-dom1  : specify number of cores [min: 2, max: 34. default: 24] : 30
                you chose [30] cores for ssccn2-dom1 domain

 ssccn2-dom2  : specify number of cores [min: 2, max: 6. default: 6] :
                you chose [6] cores for ssccn2-dom2 domain

 Configuration In Progress After Core Count Selection:
 +----------------------------------+-------+--------+-----------+--- MINIMUM ----+
 | DOMAIN                           | CORES | MEM GB |   TYPE    | CORES | MEM GB |
 +----------------------------------+-------+--------+-----------+-------+--------+
 | primary                          |    36 |   2048 | Dedicated |     2 |    160 |
 | ssccn2-dom1                      |    30 |   2048 | Dedicated |     2 |    128 |
 | ssccn2-dom2                      |     6 |   2048 | Dedicated |     2 |     32 |
 | *ssccn2-dom3                     |     2 |     32 |   Root    |     2 |     32 |
 +----------------------------------+-------+--------+-----------+-------+--------+
 | Parked Resources (Approx)        |    22 |   2016 |    --     |    -- |   --   |
 +----------------------------------+-------+--------+-----------+-------+--------+

 Step 2 of 2: Memory Capacity
        (must be 16 GB aligned)
 primary      : specify memory capacity in GB [min: 160, max: 4032. default: 2048] : 3072
                you chose [3072 GB] memory for primary domain

 ssccn2-dom1  : specify memory capacity in GB [min: 128, max: 3040. default: 2048] : 1536
                you chose [1536 GB] memory for ssccn2-dom1 domain

 ssccn2-dom2  : specify memory capacity in GB [min: 32, max: 992. default: 992] : 512
                you chose [512 GB] memory for ssccn2-dom2 domain

 Configuration In Progress After Memory Capacity Selection:
 +----------------------------------+-------+--------+-----------+--- MINIMUM ----+
 | DOMAIN                           | CORES | MEM GB |   TYPE    | CORES | MEM GB |
 +----------------------------------+-------+--------+-----------+-------+--------+
 | primary                          |    36 |   3072 | Dedicated |     2 |    160 |
 | ssccn2-dom1                      |    30 |   1536 | Dedicated |     2 |    128 |
 | ssccn2-dom2                      |     6 |    512 | Dedicated |     2 |     32 |
 | *ssccn2-dom3                     |     2 |     32 |   Root    |     2 |     32 |
 +----------------------------------+-------+--------+-----------+-------+--------+
 | Parked Resources (Approx)        |    22 |   3040 |    --     |    -- |   --   |
 +----------------------------------+-------+--------+-----------+-------+--------+

 [ INFO ] Equivalent non-interactive input string for the record:
         osc-setcoremem -type core -res 36/3072:30/1536:6/512

         DOMAIN SUMMARY
 | Domain name      : ssccn2-dom2
 | Total core count : 6
 | Total memory     : 512.00 GB

         Resource Distribution among Locality Groups

         LGRP   CORES   MEMGRANS
          1       0         0
          2       0         0
          3       0         0
          4       0         0
          5       3        16
          6       3        16
          7       0         0
          8       0         0

         Home Locality Groups
                 => 5
                 => 6
         ____________________

 | Domain name      : ssccn2-dom1
 | Total core count : 30
 | Total memory     : 1536.00 GB

         Resource Distribution among Locality Groups

         LGRP   CORES   MEMGRANS
          1       0         0
          2       0         0
          3      12        47
          4      12        47
          5       3         1
          6       3         1
          7       0         0
          8       0         0

         Home Locality Groups
                 => 3
                 => 4
         ____________________

 | Domain name      : primary
 | Total core count : 36
 | Total memory     : 3072.00 GB

         Resource Distribution among Locality Groups
         LGRP   CORES   MEMGRANS
          1      12        64
          2      12        64
          3       0         0
          4       0         0
          5       6        32
          6       6        32
          7       0         0
          8       0         0

         Home Locality Groups
                 => 1
                 => 2
         DOMAIN REBOOT SUMMARY

 The following domains would have rebooted on a live system:
   ssccn2-dom2
   ssccn2-dom1
   primary

        POSSIBLE NEXT STEP

 Continue the simulation with updated configuration
         eg., <path>/osc-setcoremem [<option(s)>]

                 - OR -

 Start with an existing or brand new base configuration
         eg., <path>/osc-setcoremem  -p [T4|T5|M6|M7|M8] -c <path_to_config_file>

To continue the simulation with the updated configuration, run:

% ./osc-setcoremem

Related Information