Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-2206481.1
Update Date:2017-01-20
Keywords:

Solution Type  Problem Resolution Sure

Solution  2206481.1 :   ODA_Lite - Odacli Cpu Core Increase Command Not Showing Increase in CPU Cores as Expected In Server  


Related Items
  • Oracle Database Appliance
  •  
  • Oracle Database Appliance X6-2 HA Hardware
  •  
  • Oracle Database Appliance Software
  •  
Related Categories
  • PLA-Support>Eng Systems>Exadata/ODA/SSC>Oracle Database Appliance>DB: ODA_EST
  •  


ODA_Lite is the new family of single-server Oracle Database Appliances. Cpu Core Counts no longer require MOS Core Key Generation.  Core Count can be altered dynamically using odacli update-cpucore -c ##   where ## represents the CPU count to be used

In this Document
Symptoms
Changes
Cause
Solution
References


Created from <SR 3-13670448051>

Applies to:

Oracle Database Appliance Software - Version 12.1.2.7 to 12.1.2.8 [Release 12.1]
Oracle Database Appliance - Version All Versions to All Versions [Release All Releases]
Oracle Database Appliance X6-2 Hardware - Version All Versions to All Versions [Release All Releases]
Information in this document applies to any platform.

Symptoms

After executing "odacli update-cpucore -c 4" to increase CPU cores from 2 to 4 .
OEM Grid Control and all OS utilities like SAR still showing 2 CPU cores only.
Even after restart , Several OS Utilities like SAR and EM grid control not showing increase in CPU cores.

============================================

odacli update-cpucore -c 4            << Where 4 is the cpucore count being increased to

[root@oda6m ~]# odacli update-cpucore -c 4
{
"jobId"            : "64a123456-5cb5-4e45-b765-c10b123a12f7",
"status"           : "Created",
"message"          : null,
"reports"          : [ ],
"createTimestamp"  : "November 17, 2016 14:45:42 PM MST",
"description"      : "CPU cores service update",
"updatedTime"      : "November 17, 2016 14:45:42 PM MST"
}

odacli list-cpucores

root@oda6m tools]# odacli list-cpucores

Node Cores   Modified                                     Job Status
----- ------ ------------------------------               ---------------
0        2      October  27, 2016 6:31:17 AM MDT          Configured
0        4      November 17, 2016 1:45:42 PM MST          Configured
0        6      November 21, 2016 7:56:07 AM MST          Configured

odaadmcli show processor

[root@oda6m tools]# odaadmcli show processor

NAME HEALTH HEALTH_DETAILS PART_NO. LOCATION MODEL MAX_CLK_SPEED TOTAL_CORES

CPU_0 OK - 060F P0 (CPU 0) Intel(R) Xeon(R) CPU E5-2630 2.200 GHz 10
CPU_1 OK - 060F P1 (CPU 1) Intel(R) Xeon(R) CPU E5-2630 2.200 GHz 10

# lscpu

[root@oda6m tools]# lscpu

Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3  
Thread(s) per core:  2
Core(s) per socket:  1
Socket(s):           2
NUMA node(s):        1
Vendor ID:           GenuineIntel
CPU family:          6
Model:               79
Stepping:            1
CPU MHz:             2201.000
BogoMIPS:            4390.21
Virtualization:      VT-x
L1d cache:           32K
L1i cache:           32K
L2 cache:            256K
L3 cache:            25600K
NUMA node0 CPU(s):   0-3

Changes

New usage of the ODA_Lite X6-2m (ODA Lite series X6-2S ; X6-2M ; X6-2L )
Increasing the Core Count to improve performance

Cause

This is due to a variation on Internal Bug 24469826 : LNX64-121-CMT:CPUCOURE UPDATE DIDN'T TAKE AFFECT & LSCPU STILL OLD NUMBERS.
 - Fixed->12.1.2.9

 

Solution

Create and edit the Active_Processor_Cores section of the 6mbios.xml file

     /usr/sbin/ubiosconfig export all -f --expert -x /tmp/6mbios.xml

Example of the 6mbios.xml file up to the Active Processor Cores section

<?xml version="1.0" encoding="UTF-8"?>
<!-- System: ORACLE SERVER X6-2 -->
<!-- ILOM Version: 3.2.6.24 -->
<BIOS>
<Config>
<Advanced>
<Processor_Configuration>
<!-- Hyper-Threading ALL -->
<!-- Description: Enables Hyper Threading (Software Method to Enable/Disable Logical Processor threads. -->
<!-- Possible Values: "Disabled", "Enabled" -->
<Hyper-Threading_ALL>Enabled</Hyper-Threading_ALL>

<!-- Active Processor Cores -->
<!-- Description: Number of cores to enable in each processor package. Must not exceed number of cores available. See Main > CPU Information > Processor Cores. -->
<!-- Possible Values: "All", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21" -->
<Active_Processor_Cores>1</Active_Processor_Cores>
...
... etc

 

Edit the 6mbios.xml file

...

  <Active_Processor_Cores>....     < insert the target Core Count # you want here

2) Change the Active_Processor_Cores from 1 to your targeted number -- as seen above you can choose from 1 up to 21

For this example I will use 4

...
  <Active_Processor_Cores> 4 </Active_Processor_Cores>
...


Save the file as 6mbios.xml (in this example saved in /tmp directory   -- change the directory if you save the 6mbios.xml file in a different location)

vi or view that the file has been updated using a text editorwith the value ## vs. 1
-- Do _not_ enclose with quotes -- just the number value within the xml tags

3) Import the file to replace the old Active_Processor_Cores count ... with the new value

 /usr/sbin/ubiosconfig import config -f -x /tmp/6mbios.xml --expert -y


4) bounce the server

re-run your CPU checks and upload AWR or other baseline metrics before and after the change
 

For Reference

Excerpt in X6-2m 6mbios.xml file in the Active Processor Cores Section
...
.. <-- Active Processor Cores -->
.. <-- Description: Number of cores to enable in each processor package. Must not exceed number of cores available. See Main > CPU Information > Processor Cores. -->
.. <-- Possible Values: "All", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21" -->
...
<Active_Processor_Cores> 1 </Active_Processor_Cores>
...

 

References

<BUG:24469826> - LNX64-121-CMT:CPUCOURE UPDATE DIDN'T TAKE AFFECT&LSCPU STILL OLD NUMBERS.
<BUG:25130696> - "ODACLI UPDATE-CPUCORE -C 4" TO INCREASE CPU CORES FROM 2 TO 4 TO 6 SHOWS IN OS

Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback