RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1196298 - RFE: Adding oracle tuned profile within tuned package, similiar to what exists for sap
Summary: RFE: Adding oracle tuned profile within tuned package, similiar to what exist...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: tuned
Version: 7.1
Hardware: x86_64
OS: Linux
medium
unspecified
Target Milestone: rc
: ---
Assignee: Jaroslav Škarvada
QA Contact: Tereza Cerna
Milan Navratil
URL:
Whiteboard:
Depends On:
Blocks: 1154209
TreeView+ depends on / blocked
 
Reported: 2015-02-25 16:27 UTC by rlopez
Modified: 2020-09-21 07:36 UTC (History)
5 users (show)

Fixed In Version: tuned-2.5.1-1.el7
Doc Type: Release Note
Doc Text:
A *Tuned* profile optimized for Oracle database servers has been included A new `oracle` Tuned profile, which is specifically optimized for the Oracle databases load, is now available. The new profile is delivered in the _tuned-profiles-oracle subpackage_, so that other related profiles can be added in the future. The oracle profile is based on the `enterprise-storage` profile, but modifies kernel parameters based on Oracle database requirements and turns transparent huge pages off.
Clone Of:
Environment:
Last Closed: 2015-11-19 12:21:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Oracle Tuned Profile (1.53 KB, application/zip)
2015-02-25 16:27 UTC, rlopez
no flags Details
Tuned.conf with script.sh removed (593 bytes, text/plain)
2015-02-25 19:19 UTC, rlopez
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2375 0 normal SHIPPED_LIVE tuned bug fix and enhancement update 2015-11-19 10:51:42 UTC

Description rlopez 2015-02-25 16:27:13 UTC
Created attachment 995268 [details]
Oracle Tuned Profile

Description of problem:

I work for the Systems Engineering group and one of the deliverables I work on is creating Reference Architectures. My current reference architecture consist of deploying oracle databases on RHEL and providing the best practices on how to do just that. 

One of the tools I use to setup the environment is tuned and was using just the throughput-performance profile for oracle db. I decided to create a custom tuned profile, similar to what was done for the current sap profile that exists in tuned.

The custom oracle tuned profile I created is based on the throughput-performance profile but also modifies kernel parameters based on the requirements for oracle and changes transparent huge pages off due to oracle having performance related issues (more info on My Oracle Support ID: 557478.1)

I've made a similar request for the oracle tuned profile for RHEL6, created here: https://bugzilla.redhat.com/show_bug.cgi?id=1196294 

What steps/actions do I need to take besides the ones I'm taking here to possibly have this included as a profile within the tuned package?

Regards,

Roger

Comment 1 Jaroslav Škarvada 2015-02-25 16:39:11 UTC
In tuned-2.x the sysctl values are preserved and restored automatically. So I think the script.sh is not needed and should be dropped.

Comment 2 rlopez 2015-02-25 16:41:17 UTC
With tuned-2.x, does this mean that tuned.conf is only file required?

Comment 3 Jaroslav Škarvada 2015-02-25 16:50:56 UTC
(In reply to rlopez from comment #2)
> With tuned-2.x, does this mean that tuned.conf is only file required?

Yes, this is mostly enough. Also please omit the [script] section from the tuned.conf. 

The script support is there mostly for backward compatibility. It can be also used as temporal solution for features for which special tuned plugin is not yet created.

Comment 4 rlopez 2015-02-25 17:01:06 UTC
Ok, I will upload a new version with just the tuned.conf and no script.sh shortly.

Comment 5 rlopez 2015-02-25 19:19:02 UTC
Created attachment 995311 [details]
Tuned.conf with script.sh removed

Comment 7 Jaroslav Škarvada 2015-06-16 08:57:03 UTC
Adding it as profile 'oracle' to base tuned package. We may later split it to tuned-profiles-oracle subpackage if it evolves let's say to three or more profiles.

Comment 8 Jaroslav Škarvada 2015-06-16 09:33:36 UTC
It could also autopreset oracle profile on machines with Oracle DBs. Is there way how to reliable detect it? E.g. by greping content of some file, etc.

Comment 14 errata-xmlrpc 2015-11-19 12:21:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2375.html

Comment 15 rlopez 2016-02-09 16:11:48 UTC
Within RHEL 7.2, with tuned version : tuned-2-5.1-4.el7 I do not see the profile available. 

Where do I find it?

Comment 16 Jaroslav Škarvada 2016-02-09 18:48:43 UTC
You need tuned-profiles-sap and tuned-profiles-sap-hana tuned sub-packages which are released through SAP channels.

Comment 17 Jaroslav Škarvada 2016-02-09 18:50:03 UTC
(In reply to Jaroslav Škarvada from comment #16)
> You need tuned-profiles-sap and tuned-profiles-sap-hana tuned sub-packages
> which are released through SAP channels.

Sorry, tuned-profiles-oracle sub-package. I guess it is released through optional channel.


Note You need to log in before you can comment on or make changes to this bug.