Skip to content

Commit

Permalink
introduce section handling to ini "notes" (first only the parts neede…
Browse files Browse the repository at this point in the history
…d for SAP ASE)

add solution SAP Business OBJects (BOBJ)
  • Loading branch information
angelabriel committed Apr 27, 2017
1 parent c23f66d commit ebaa06a
Show file tree
Hide file tree
Showing 12 changed files with 340 additions and 172 deletions.
4 changes: 4 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,10 @@ func NoteAction(actionName, noteID string) {
} else if i := sort.SearchStrings(tuneApp.TuneForNotes, noteID); i < len(tuneApp.TuneForNotes) && tuneApp.TuneForNotes[i] == noteID {
format = "+" + format
}
if noteID == "Block" {
// workaround: internal used note for solution ASE. Do not display
continue
}
fmt.Printf(format, noteID, noteObj.Name())
}
if !system.SystemctlIsRunning(TUNED_SERVICE) || system.GetTunedProfile() != TUNED_PROFILE_NAME {
Expand Down
72 changes: 63 additions & 9 deletions ospackage/etc/extra/SAP_ASE-SAP_Adaptive_Server_Enterprise.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,48 @@
# This is the 2nd part for tuning SAP ASE (Sybase)
# The 1st part is in /etc/sysconfig/saptune-note-1680803
# This is the config file for tuning SAP ASE (Sybase)
#
#
# You can change the values in this file to values which fit better for your
# ASE configuration
# You must restart 'tuned' for the changes to take effect.
# special ASE configuration
# You have to restart 'tuned' for the changes to take effect.

[block]
## Type: string
## Default: noop
#
# The default I/O scheduler for SLES is CFQ. It offers satisfactory performance
# for wide range of I/O task, however choosing an alternative scheduler may
# potentially yield better latency characteristics and throughput.
# "noop" is an alternative scheduler, in comparison to CFQ it may offer more
# consistent performance, lower computation overhead, and potentially higher
# throughput.
#
# When set, all block devices on the system will be switched to the choosen
# scheduler.
SYBASE_IO_SCHEDULER=noop

## Type: integer
## Default: 1024
#
# IO nr_requests
#
#
SYBASE_NRREQ=1024

[limits]
## Type: integer
## Default: 0 (which means calculation: RAM in KB - 10%)
#
# memlock
MEMLOCK_HARD=0
MEMLOCK_SOFT=0

[vm]
## Type: yesno
## Default: yes
#
# disable transparent huge pages (THP)
#transparent_hugepages=never
INI_THP=yes

[sysctl]

Expand All @@ -12,14 +51,11 @@ net.ipv4.tcp_keepalive_time = 300
net.ipv4.tcp_keepalive_intvl = 300

#SAP-Note 1680803
# maximum number of asynchronous I/Os.
fs.aio-max-nr = 1048576
#

# Increase system file descriptor limit
fs.file-max = 6291456
#
# Discourage Linux from swapping idle processes to disk (default = 60)
# value between 20 and 10
vm.swappiness = 15

# Increase Linux autotuning TCP buffer limits
# Set max to 16MB (16777216) for 1GE and 32M (33554432) or 54M (56623104) for 10GE
Expand All @@ -34,3 +70,21 @@ net.ipv4.tcp_wmem = 4096 65536 16777216
# Increase the max packet backlog
net.core.netdev_max_backlog = 30000

# If the server is a heavily used application server, e.g. a Database, it would
# benefit significantly by using Huge Pages.
# The default size of Huge Page in SLES is 2 MB, enabling Huge Pages would aid
# in significant improvements for Memory Intensive Applications/Databases,
# HPC Machines, this configuration needs to be done if the Applications support
# Huge Pages. If the Applications do not support Huge Pages then configuring
# Huge Pages would result in wastage of memory as it cannot be used any further
# by the OS.
vm.nr_hugepages=128

# Discourage Linux from swapping idle processes to disk (default = 60)
# value between 20 and 10
vm.swappiness = 15

#SAP-Note 1557506
# additional the changes for SAP-Note 1557506 are done saptune internal.
# to overwrite the values please change settings in
# /etc/sysconfig/saptune-note-1557506
16 changes: 16 additions & 0 deletions ospackage/etc/extra/SAP_BOBJ-SAP_Business_OBJects.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# operating system tuning for SAP Business OBJects (BOBJ)
# according to https://uacp2.hana.ondemand.com/doc/46b1602a6e041014910aba7db0e91070/4.1.9/en-US/sbo41sp9_bip_inst_unix_en.pdf
# or https://websmp202.sap-ag.de/~sapidp/012002523100003123382016E/sbo42sp2_bip_inst_unix_en.pdf
# SAP BusinessObjects Business Intelligence platform
# Business Intelligence Platform
# Installation Guide for Unix
# section '4.1.3 Additional requirements for SUSE'

# You can change the values in this file to values which fit better for your
# BOBJ configuration
# You must restart 'tuned' for the changes to take effect.

[sysctl]
kernel.sem = 250 32000 32 1024
kernel.msgmni = 1024
kernel.shmmax = 18446744073709551615
51 changes: 0 additions & 51 deletions ospackage/etc/sysconfig/saptune-note-1680803

This file was deleted.

Loading

0 comments on commit ebaa06a

Please sign in to comment.