Use this procedure to return the system to the original state of socket/core/memory allocations without affecting other changes that were made in each of the domains since the system was set up initially. This option does not reset the SP configuration.
The syntax for this osc-setcoremem feature was introduced in SuperCluster version 2.3 software:
osc-setcoremem -R|reset [-y|-n]
The command supports these options:
-R or reset – Returns the CPU and memory configuration to the original configuration.
-y or -n – (Optional) If -y is specified, you are not prompted to confirm the operation, and he reset takes effect immediately. If -n is specified, the tool shows you the output as if the reset operation ran, but the CPU and memory allocations are not changed.
For example:
# ./osc-setcoremem -reset Current Configuration: SuperCluster Half-Populated M7 Extended +----------------------------------+-------+--------+-----------+--- MINIMUM ----+ | DOMAIN | CORES | MEM GB | TYPE | CORES | MEM GB | +----------------------------------+-------+--------+-----------+-------+--------+ | primary | 32 | 240 | Dedicated | 2 | 32 | | ssccn1-dom1 | 32 | 240 | Dedicated | 2 | 32 | | ssccn1-dom2 | 32 | 240 | Dedicated | 2 | 32 | | ssccn1-dom3 | 2 | 32 | Root | 2 | 32 | | *ssccn1-io-etc4m7-ioappadm0101 | 2 | 32 | IO | 1 | 16 | | *ssccn1-io-etc4m7zioadm0101 | 4 | 62.50 | IO | 1 | 16 | +----------------------------------+-------+--------+-----------+-------+--------+ | Not in Use (Parked) | 24 | 114 | -- | -- | -- | +----------------------------------+-------+--------+-----------+-------+--------+ [ INFO ] following domains will be ignored in this session. Root Domains IO Domains ------------ ---------- ssccn1-dom3 ssccn1-io-etc4m7-ioappadm0101 ssccn1-io-etc4m7zioadm0101 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] S Step 1 of 1: Socket Count primary : specify socket count [min: 1, max: 1. default: 1] : 1 you chose [1] socket for primary domain ssccn1-dom1 : specify socket count [min: 1, max: 1. default: 1] : 1 you chose [1] socket for ssccn1-dom1 domain ssccn1-dom2 : specify socket count [min: 1, max: 1. default: 1] : 1 you chose [1] socket for ssccn1-dom2 domain Configuration In Progress After Socket Count Selection: +----------------------------------+----------+----------+-----------+ | DOMAIN | SOCKETS | MEM GB | TYPE | +----------------------------------+----------+----------+-----------+ | primary | 1 | 240 | Dedicated | | ssccn1-dom1 | 1 | 240 | Dedicated | | ssccn1-dom2 | 1 | 240 | Dedicated | | *ssccn1-dom3 | 0.062 | 32 | Root | | *ssccn1-io-etc4m7-ioappadm0101 | 0.062 | 32 | IO | | *ssccn1-io-etc4m7zioadm0101 | 0.125 | 62.50 | IO | +----------------------------------+----------+----------+-----------+ | Not in Use (Parked) | 0.750 | 114 | -- | +----------------------------------+----------+----------+-----------+ Nothing to reconfigure. You can continue using the system.