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-2218451.1
Update Date:2017-01-19
Keywords:

Solution Type  Problem Resolution Sure

Solution  2218451.1 :   ODA: After a DIMM Upgrade Several Key OS Kernel Values Were Reset Back to the Original Values After ODA patching / Upgrade - Bug 25192165  


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


Memory / DIMM upgrades are now possible for the X4-2, X5-2 and newer versions. OS kernel parameters should be altered to take advantage of this increased memory. You may find that after patching that the kernel parameter changes revert back to the original memory configuration. This is identified as  Bug 25192165. The temporary fix is to manually update the kernel parameter back to the previous values. This note will also provide recommendations for X5-2 using either 768G or 512G per server compared to the base 256G.

Created from <SR 3-13542514041>

Applies to:

Oracle Database Appliance X5-2 - Version All Versions to All Versions [Release All Releases]
Information in this document applies to any platform.

Symptoms

Kernel parameters are incorrect after upgrading / patching the ODA.
The Kernel parameters are now the same as the factory default even though changes were made to best match available resources after a Memory / DIMM upgrade.
This may lead to error messages stating that resources may not be sufficient or are incorrect to startup database, processes or applications.

Changes

  1. ODA physical memory upgrade on the ODA beyond the base size ( e.g. 256g)
  2. OS Kernel parameters changed to use the improved memory available
  3. Patch bundle / Upgrade applied
  4. Kernel parameters previously set for the improved memory resources change back to the old memory values
  5. OS warnings that parameters are not set properly or resources can not be started due to OS kernel parameter settings

 

Cause

Internal Bug 25192165

Solution

1) Manually change the Kernel parameters to your pre-patch application values

2) IF you have increased memory to 512G or 768G per server you can use 768G recommended Kernel parameter

settings for the ODA if using 50+ databases
===============================

The following was the maximum creation on X5-2 fully populated (768G), this has been tested .

1. Increase kernel.sem from ‘250 32000 100 142’ to ‘1510 214420 1510 200’ on both nodes.

# vi /etc/sysctl.conf
kernel.sem=1510 214420 1510 200

# sysctl -p /etc/sysctl.conf

2. Increase the hugepages from 67200 to 103865 on both nodes as below:

# vi /etc/sysctl.conf
vm.nr_hugepages=103865
# sysctl -p /etc/sysctl.conf

3.Increase memlock limit from 192000000 to 256000000 on both nodes as below:

# vi /etc/security/limits.conf
oracle soft memlock 256000000
oracle hard memlock 256000000

Each database has following configurations:

alter system set sga_target=4g scope=spfile sid='*';
alter system set pga_aggregate_target=2g scope=both sid='*';
alter system set processes=1500 scope=spfile sid='*';
alter system set cpu_count=8 scope=both sid='*';

References

<BUG:25192165> - ODA PATCHING RESETS KERNEL PARAMETERS TO DEFAULT AFTER DIMM UPGRADE
<BUG:25190881> - ENH: ODA DOCUMENT CORRECT KERNEL PARAMETER CHANGES AFTER MEMORY / DIMM UPGRADES

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