How to Tune Systems with saptune
- WHAT?
Using
saptuneto tune systems for SAP NetWeaver, SAP HANA/SAP BusinessObjects and SAP S/4HANA applications.- WHY?
saptunesimplifies the process of tuning a system for running SAP workloads.- EFFORT
30 minutes of reading time.
- GOAL
Learn how to install, configure and use
saptune.- REQUIREMENTS
A SLES 16 system designated for running SAP workloads
A SLES 16 subscription
Knowledge of which SAP workload the system is intended to run
1 About saptune #
saptune is a tool designed for tuning the operating system for running SAP workloads. The tool simplifies the mandatory system tuning as described in various SAP Notes. All the required tuning parameters are added to saptune notes and grouped these notes to solutions representing SAP workloads. This ensures that no parameter is missed, while the saptune service applies all notes and solutions after each system reboot, thus keeping the system reliably tuned at all times.
saptune is used exclusively for tuning the system for SAP workloads, and not the SAP workloads themselves. saptune does not make any changes to SAP configuration files.
2 Installing and enabling saptune #
Learn how to install, enable, and update saptune.
2.1 Requirements #
A system on which you plan to run SAP workloads. The system must have an active SUSE subscription.
2.2 Installing and enabling saptune #
Before you install saptune, check if it is already installed on your system. To do this, run the which saptune command. Proceed with installing saptune if the command returns empty output.
To install and enable saptune, proceed as follows:
To install
saptune, run the following command:#zypper install saptuneEnable and start the
saptuneservice using the following command:#saptune service enable
2.3 Troubleshooting #
When installing and updating saptune, pay attention to the zypper output to ensure that installation and updates are performed correctly. The output is also saved in /var/log/zypp/history.
As saptune is installed as a regular RPM package, refer to the Zypper troubleshooting documentation if the saptune installation or update fails.
3 Configuring saptune #
Learn how to configure saptune after it has been installed.
3.1 Requirements #
A system with
saptuneinstalled.
3.2 Configuring saptune #
Keep in mind that the configure command manages the saptune configuration and not the tuning itself. The command exposes only user-defined changes,
and it helps avoid misconfiguration. Configurable options include the color scheme, skipped
sysctl files, etc. (refer to man 8 for more info). The command can be used as
follows:
saptune configure PARAMETER VALUE
For example:
saptune configure COLOR_SCHEME red-noncmpl
To view the saptune configuration file, use the saptune configure show
command.
The following command reverts the saptune configuration to its defaults:
saptune configure reset
Do not edit /etc/sysconfig/saptune directly, and use
saptune configure instead.
4 Configuring saptune tuning #
Learn how to configure saptune tuning.
4.1 Requirements #
A system with
saptuneinstalled, configured, and enabled.
4.2 Configuring saptune tuning #
After installation, saptune starts tuning your system with a minimal base tuning (SAP_Base Solution) as described in the SAP Note 1275776 - Linux: Preparing SLES for SAP environments. However, you should choose the tuning solution that best suits your specific saptune workload.
The easiest way to tune a system is to apply an SAP Solution that matches your installed SAP software. SAP Solutions are a group of SAP Notes that perform the actual tuning. To display all available Solutions and their Notes, run the following command:
#saptune solution list
saptune recognizes the following tuning SAP Solutions:
BOBJ Solution for running SAP BusinessObjects
HANA Solution for running an SAP HANA database
MAXDB Solution for running an SAP MaxDB database
NETWEAVER Solution for running SAP NetWeaver application servers
S4HANA-APPSERVER Solution for running SAP S/4HANA Application Servers
S4HANA-APP+DB Solution for running both SAP S/4HANA Application Servers and SAP HANA on the same host
S4HANA-DBSERVER Solution for running the SAP HANA database of an SAP S/4HANA installation
SAP-ASE Solution for running an SAP Adaptive Server Enterprise database. Note that the SAP-ASE Solution and the associated SAP Notes 1805750 and 1680803 are deprecated and removed from
saptune3.2 on SLE 16. The default settings are sufficient for ASE, so no additional tuning is required.NETWEAVER+HANA Solution for running both SAP application servers and SAP HANA on the same host
NETWEAVER+MAXDB Solution for running both SAP application servers and MAXDB on the same host
To apply a Solution, run the following command:
#saptune solution apply SOLUTION
Keep in mind that only one Solution can be applied at a time.
To disable a Solution, use the command below:
#saptune solution revert SOLUTION
To switch to a different Solution, use the following command:
#saptune solution change SOLUTION
Alternatively, you can tune the computer according to recommendations from
specific SAP Notes. Use the saptune note list to view
a list of notes that you can tune for.
To apply a Note, run the following command:
#saptune note apply NOTE
Reverting a Note can be done as follows:
#saptune note revert NOTE
It is possible to combine Solutions and Notes by reverting Notes from an
applied Solution or applying additional ones. However, only one solution
can be active at a time. The saptune service restores
the combination of Solution and Notes after a service restart or reboot.
In rare cases, Notes can have conflicting options or parameters. Arrange your Notes carefully to avoid conflicts. The last Note always takes priority over conflicting options or parameters of previous notes. In this situation, create your own Solution (see Section 6.2.2, “Creating a new SAP Solution”) or customize the applied Solution (see Section 6.2.1, “Customizing an SAP Solution”).
5 Managing SAP Notes #
Learn how to manage SAP Notes.
5.1 Requirements #
A system with
saptuneinstalled, configured, and enabled.
5.2 Managing SAP Notes #
The following sections provide information on working with SAP Notes.
An SAP Note configuration contains the OS-specific part of the original SAP Note as completely as possible. A parameter is disabled (it is present in the configuration but has no value) if it does not have a value recommendation, or if saptune cannot safely detect the conditions required to set the correct value. To set a suitable value, read the corresponding SAP Note and customize the Note (see Section 5.2.1, “Customizing an SAP Note”).
5.2.1 Customizing an SAP Note #
Any SAP Note can be configured using the following command:
#saptune note customise NOTE
The command opens the default editor with a copy of the Note configuration. Remove everything except the parameters you want to change or disable, as well as the header of the section the parameter belongs to.
To change or set the parameter value, change or add the value of the parameter. To disable a parameter, remove the value, but leave the parameter and the = character. saptune lists parameters, but it does not change or check them for the compliance status.
For more information, refer to the saptune-note(5) man page.
This creates a /etc/saptune/override/NOTE file. You can create the file elsewhere and place it in /etc/saptune/override/.
Configuration sections can be conditional. This is called tagging. Refer to the saptune-note(5) for further information.
When you are done customizing a Note, restart the saptune service to apply the changes:
# saptune service restartBelow is an example of an override file for SAP Note 2382421:
# Always: # - Changing net.ipv4.tcp_max_syn_backlog from 8192 to 65536 # - Disable net.ipv4.tcp_slow_start_after_idle, because the parameter is tuned elsewhere # # On virtual machines additionally: # - Change net.ipv4.tcp_syn_retries from 8 to 16 [sysctl] net.ipv4.tcp_max_syn_backlog = 65536 net.ipv4.tcp_slow_start_after_idle = [sysctl:virt=vm] net.ipv4.tcp_max_syn_backlog = 65536 net.ipv4.tcp_slow_start_after_idle = net.ipv4.tcp_syn_retries = 16
Run the
saptune note verify 2382421 command. If the changes
have been applied correctly, the output on a virtual machine should be
as follows:
SAPNote, ... | Parameter | Expected | Override | Actual | Compliant ----------------+------------------------------------+----------+-----------+--------+----------- ... 2382421, 47 | net.ipv4.tcp_max_syn_backlog | 65536 | 65536 | 65536 | yes ... 2382421, 47 | net.ipv4.tcp_slow_start_after_idle | 0 | untouched | 0 | yes 2382421, 47 | net.ipv4.tcp_syn_retries | 16 | 16 | 16 | yes ...
On a bare-metal system, the output should be as shown below:
SAPNote, ... | Parameter | Expected | Override | Actual | Compliant ----------------+------------------------------------+-----------+-----------+--------+----------- ... 2382421, 47 | net.ipv4.tcp_max_syn_backlog | 65536 | 65536 | 65536 | yes ... 2382421, 47 | net.ipv4.tcp_slow_start_after_idle | 0 | untouched | 0 | yes 2382421, 47 | net.ipv4.tcp_syn_retries | 8 | | 8 | yes ...
If changes have not been applied correctly, and you don't see any errors
because of the incorrect config file, the Compliant field in
the table will display no, and the values in the
Actual and Expected fields will
differ.
5.2.2 Creating a new SAP Note #
A new SAP Note can be created using the following command:
#saptune note create NOTE
The command opens the default editor with a Note configuration template. All the features of saptune are available here. For more information, refer to the saptune-note(5) man page.
This creates a configuration file at /etc/saptune/extra/NOTE.conf. You can also create the file elsewhere and place it in /etc/saptune/extra/.
Configuration sections can be conditional. This is called tagging. Refer to the saptune-note(5) for further information.
5.2.3 Editing a custom SAP Note #
To edit a custom Note, use the command below:
#saptune note edit NOTE
The command opens the default editor with the Note configuration. When you are done editing a Note, restart the saptune service to apply the changes. Custom Notes can be customized like shipped Notes.
5.2.4 Deleting an SAP Note or a customization #
When deleting a note, keep in mind the following:
The note can be deleted only if it has not been applied.
A confirmation is needed to finish the action.
Internal SAP Notes applied by
saptunecannot be deleted. Instead, the override file is removed when available.If the Note is already applied, the command is terminated with the message that the note first needs to be reverted before it can be deleted.
The following command deletes a note, including the corresponding override file, if available:
#saptune note delete testNote to delete is a customer/vendor specific Note.
5.2.5 Renaming an SAP Note #
Keep in mind the following points:
The note can be renamed only if it has not been applied.
A confirmation is needed to finish the action.
Internal SAP Notes applied by
saptunecannot be renamed.If the Note is already applied, the command is terminated with the information that the Note first needs to be reverted before it can be renamed.
The following command allows renaming a created Note to a new name. If a corresponding override file is available, this file is renamed as well:
#saptune note rename test test2
5.2.6 Showing the configuration of an SAP Note #
The configuration of a Note can be listed using the following command:
#saptune note show NOTE
5.2.7 Verifying an SAP Note #
To verify the tuning of a Note, use the following command:
#saptune note verify NOTE
For information about the output of the command and verifying the entire tuning instead of a single Note, refer to Section 7, “Verification and troubleshooting”.
5.2.8 Reverting an SAP Note #
To revert an SAP Note, run the following command:
#saptune note revert NOTE
This restores all parameters of the SAP Note to their values at the time of application.
To revert everything, use the following command:
#saptune note revert all
5.2.9 Listing all enabled or applied SAP Notes #
To list all enabled SAP Notes, run the following command:
#saptune note enabled
To list all applied SAP Notes, run the command below:
#saptune note applied
Both commands are primarily meant for use in scripts.
6 Managing SAP Solutions #
Learn how to manage SAP Solutions.
6.1 Requirements #
A system with
saptuneinstalled, configured, and enabled.
6.2 Managing SAP Solutions #
This chapter explains how to work with SAP Solutions.
An SAP Solution is a combination of SAP Note configurations grouped logically. It generally represents an SAP product or combination. Applying an SAP Solution effectively applies all SAP Note configurations listed in it. Instructions for listing and setting a solution are provided in Section 4.2, “Configuring saptune tuning”.
6.2.1 Customizing an SAP Solution #
An SAP Solution can be customized using the following command:
#saptune solution customise SOLUTION
The command opens the default editor (defined in the environment variable EDITOR) with a copy of the Solution configuration. Change the Note list for the architecture to your liking. For more information, refer to the saptune-note(5) man page.
This creates an override file /etc/saptune/override/SOLUTION.sol. It is possible to create the file elsewhere and place it in /etc/saptune/override/.
When you are done customizing an SAP Solution, restart the saptune service to apply the changes.
6.2.2 Creating a new SAP Solution #
To create a new SAP Solution, run the following command:
#saptune solution create SOLUTION
The command opens the default editor (defined in the environment variable EDITOR) with a Solution configuration template. Fill in the template.
This creates a Solution configuration file /etc/saptune/extra/SOLUTION.sol. You can create the file elsewhere and place it in /etc/saptune/extra/.
6.2.3 Editing a custom SAP Solution #
To edit a custom SAP Solution, use the following command:
#saptune solution edit SOLUTION
The command opens the default editor (defined in the environment variable EDITOR) with the Solution configuration.
When you are done editing an SAP Solution, restart the saptune service to apply the changes.
Custom Solutions can be customized like shipped Solutions.
6.2.4 Deleting an SAP Solution #
The following command deletes a created Solution (in this example, myHANA), including the corresponding override file or the override file of a shipped Solution, if available:
#saptune solution delete myHANASolution to delete is a customer/vendor specific Solution. Do you really want to delete this Solution 'myHANA'? [y/n]: y
The SAP Solution may not be applied at the time of deletion. Keep in mind the following:
A confirmation is required to finish the action.
SAP Solutions shipped with
saptunecannot be deleted. Only the override file is removed, if available.If the SAP Solution is already applied, the command is terminated with the information that the SAP Solution first needs to be reverted before it can be deleted.
6.2.5 Renaming an SAP Solution #
To rename an SAP Solution, run the following command:
#saptune solution rename myHANA myHANA2Solution to rename is a customer/vendor specific Solution. Do you really want to rename this Solution 'myHANA' to the new name 'myHANA2'? [y/n]:
The SAP Solution may not be applied at this time. Keep in mind the following points:
A confirmation is needed to finish the action.
SAP Solutions shipped by
saptunecannot be renamed.If the SAP Solution is already applied, the command will be terminated with the information that the SAP Solution first needs to be reverted before it can be renamed.
6.2.6 Showing the configuration of an SAP Solution #
To list the configuration of an SAP Solution, run the following command:
#saptune solution show SOLUTION
6.2.7 Switching to another SAP Solution #
You can switch to a different solution using the saptune solution change SOLUTION command.
Keep in mind that internally the current solution is reverted first, and then the new solution is applied. If you have additional notes configured, the order is not preserved.
If the same solution is already applied, no action is taken. Otherwise the current solution gets reverted and the new one applied. The command prompts for confirmation before making the change. This can be disabled by adding the --force option.
6.2.8 Verifying an SAP Solution #
To verify the tuning of a Solution, use the following command:
#saptune solution verify SOLUTION
For information about the output of the verify command and how to verify the entire tuning instead of a single Solution, refer to Section 7, “Verification and troubleshooting”.
6.2.9 Reverting an SAP Solution #
To revert an SAP Solution, run the following command:
#saptune solution revert SOLUTION
The SAP Solution must be applied. This reverts all SAP Notes parts of the SAP Solution that are still applied.
6.2.10 Editing a custom SAP Solution #
To edit a custom SAP Solution, run:
#saptune solution edit SOLUTION
6.2.11 Listing an enabled/applied SAP Solution #
To list an enabled SAP Solution, run:
#saptune solution enabled
To list an applied SAP Solution, run:
#saptune solution applied
If SAP Notes from an applied SAP Solution have been reverted, the string (partial)
has been added to the solution name.
Both commands are primarily meant for use in scripts.
7 Verification and troubleshooting #
This chapter explains how to verify SAP Notes and troubleshoot saptune.
7.1 Requirements #
A system with
saptuneinstalled, configured, and enabled.
7.2 Verification and troubleshooting #
To see the current status of saptune, run the following command:
#saptune status
The output contains the following:
status of the
saptune,sapconf, andtunedservicesversion of the package and running
saptunedetails about configured SAP Solutions and SAP Notes
details about staging
status of the
systemdsystem statevirtualization environment (new in
saptuneversion 3.1)tuning compliance (new in
saptuneversion 3.1)
To analyze your saptune installation, run:
#saptune check
This command performs the following checks:
check for mandatory or obsolete configuration files
check for RPM leftovers
check if the
systemdsystem state is degraded and list failed unitscheck the status of the
sapconf,saptuneand tuned services
If saptune check warns about a degraded systemd system status, in most cases it has no impact on saptune. However, failed services require troubleshooting.
The command does not check the tuning itself. To check the tuning, use the command below:
#saptune note verify
If saptune note verify is called without specifying a Note,
it verifies all enabled Notes. To verify the currently applied Notes, use the
saptune note verify applied or saptune verify
applied commands. Normally, enabled Notes are also applied, except
when the system has been rebooted without an enabled saptune.service.
The saptune note verify command prints a table with all applied Notes, including the following:
SAP Note and version
the parameter
the expected value of the parameter
the value from an Override if one exists
the current system value
the compliance status of the parameter
The last line contains the overall compliance status of the entire tuning.
Some parameters of shipped Notes are disabled, meaning they have empty values in the column. In such cases, the SAP Note does not contain a concrete recommendation or saptune cannot detect the conditions for a recommendation. Read the SAP Note and set the value manually by customizing the Note (See Section 5.2.1, “Customizing an SAP Note”).
If the parameters are not compliant, read the footnote if it exists. For some tunings, equivalent parameters exist, for example:
grub:intel_idle.max_cstatecovered byforce_latencygrub:processor.max_cstatecovered byforce_latencygrub:numa_balancingcovered bykernel.numa_balancinggrub:transparent_hugepagecovered byTHP
A restart of the saptune service fixes the problems, except in the case of non-compliant packages (parameter starts with rpm:) or GRUB entries (parameter starts with grub:). saptune does not install, uninstall or upgrade packages, and it never changes the boot loader.
A typical problem is the sysctl parameters that are handled by saptune and sysctl. A footnote in the parameter's compliance column indicates if it is also present in one of the sysctl configuration files. Remove the parameter from the sysctl configuration or disable the parameter in saptune to fix the problem.
Always investigate the cause of the changed tuning and fix it. If saptune does not tune certain parameters, you can revert the Note or just disable parameters via an Override.
8 saptune machine-readable output #
Overview of saptune's machine-readable output in the JSON format.
8.1 Machine-readable output #
saptune supports machine-readable output (JSON) for the following commands:
saptune [service] statussaptune note list|verify|enabled|appliedsaptune solution list|verify|enabled|appliedsaptune statussaptune versionsaptune check
The machine-readable output makes it possible to integrate saptune into scripts and configuration management solutions.
To generate JSON output, add --format json as the first option, for example:
> saptune --format json note applied | jq
{
"$schema": "file:///usr/share/saptune/schemas/1.0/saptune_note_applied.schema.json",
"publish time": "2023-08-29 17:05:45.627",
"argv": "saptune --format json note applied",
"pid": 1538,
"command": "note applied",
"exit code": 0,
"result": {
"Notes applied": [
"941735",
"1771258",
"1980196",
"2578899",
"2684254",
"2382421",
"2534844",
"2993054",
"1656250"
]
},
"messages": []
}
If a command does not yet support JSON output, the command fails with the result block set to "implemented": false:
[+]
> saptune --format json staging status | jq
{
"$schema": "file:///usr/share/saptune/schemas/1.0/saptune_staging_status.schema.json",
"publish time": "2023-08-29 17:08:16.708",
"argv": "saptune --format json staging status",
"pid": 1653,
"command": "staging status",
"exit code": 1,
"result": {
"implemented": false
},
"messages": []
}9 saptune staging #
Learn how to use staging with saptune
9.1 Requirements #
A system with
saptuneinstalled, configured, and enabled.
9.2 Staging #
It is possible that a new saptune package can contain both binary changes
(for example, bug fixes) and new or altered SAP Notes and SAP Solutions. In certain situations, it is preferable to deploy bug fixes and new features while leaving modifications to the system configuration out.
With staging enabled, SAP Note and SAP Solution changes in a package update are not activated immediately. They are placed in a staging area, which can be reviewed and released later.
With the current implementation, a package update overwrites the staging if staging is enabled.
Staging is disabled by default, and it can be enabled with the following command:
#saptune staging enable
From that point, SAP Note and SAP Solution changes shipped by a saptune
package are put in the staging area. To view the staging area, run:
#saptune staging list
You can print a tabular overview of the differences between the SAP Note and SAP Solution in the staging and working area with the following command:
#saptune staging diff [NOTE...|SOLUTION...|all]
After reviewing the differences, you can perform an analysis to see if a release has potential issues or requires additional steps. To do this, run the following command:
#saptune staging analysis [NOTE...|SOLUTION...|all]
To release an SAP Note or an SAP Solution from the staging area, use the command as follows:
#saptune staging [--force|--dry-run] [NOTE..|SOLUTION...|all]
The command presents an analysis (see saptune staging
analysis) and carries out the release after asking for
confirmation.
10 Legal Notice #
Copyright© 2006–2025 SUSE LLC and contributors. All rights reserved.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or (at your option) version 1.3; with the Invariant Section being this copyright notice and license. A copy of the license version 1.2 is included in the section entitled “GNU Free Documentation License”.
For SUSE trademarks, see https://www.suse.com/company/legal/. All other third-party trademarks are the property of their respective owners. Trademark symbols (®, ™ etc.) denote trademarks of SUSE and its affiliates. Asterisks (*) denote third-party trademarks.
All information found in this book has been compiled with utmost attention to detail. However, this does not guarantee complete accuracy. Neither SUSE LLC, its affiliates, the authors, nor the translators shall be held liable for possible errors or the consequences thereof.
GNU Free Documentation License
Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc. 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
0. PREAMBLE #
The purpose of this License is to make a manual, textbook, or other functional and useful document "free" in the sense of freedom: to assure everyone the effective freedom to copy and redistribute it, with or without modifying it, either commercially or non-commercially. Secondarily, this License preserves for the author and publisher a way to get credit for their work, while not being considered responsible for modifications made by others.
This License is a kind of "copyleft", which means that derivative works of the document must themselves be free in the same sense. It complements the GNU General Public License, which is a copyleft license designed for free software.
We have designed this License to use it for manuals for free software, because free software needs free documentation: a free program should come with manuals providing the same freedoms that the software does. But this License is not limited to software manuals; it can be used for any textual work, regardless of subject matter or whether it is published as a printed book. We recommend this License principally for works whose purpose is instruction or reference.
1. APPLICABILITY AND DEFINITIONS #
This License applies to any manual or other work, in any medium, that contains a notice placed by the copyright holder saying it can be distributed under the terms of this License. Such a notice grants a world-wide, royalty-free license, unlimited in duration, to use that work under the conditions stated herein. The "Document", below, refers to any such manual or work. Any member of the public is a licensee, and is addressed as "you". You accept the license if you copy, modify or distribute the work in a way requiring permission under copyright law.
A "Modified Version" of the Document means any work containing the Document or a portion of it, either copied verbatim, or with modifications and/or translated into another language.
A "Secondary Section" is a named appendix or a front-matter section of the Document that deals exclusively with the relationship of the publishers or authors of the Document to the Document's overall subject (or to related matters) and contains nothing that could fall directly within that overall subject. (Thus, if the Document is in part a textbook of mathematics, a Secondary Section may not explain any mathematics.) The relationship could be a matter of historical connection with the subject or with related matters, or of legal, commercial, philosophical, ethical or political position regarding them.
The "Invariant Sections" are certain Secondary Sections whose titles are designated, as being those of Invariant Sections, in the notice that says that the Document is released under this License. If a section does not fit the above definition of Secondary then it is not allowed to be designated as Invariant. The Document may contain zero Invariant Sections. If the Document does not identify any Invariant Sections then there are none.
The "Cover Texts" are certain short passages of text that are listed, as Front-Cover Texts or Back-Cover Texts, in the notice that says that the Document is released under this License. A Front-Cover Text may be at most 5 words, and a Back-Cover Text may be at most 25 words.
A "Transparent" copy of the Document means a machine-readable copy, represented in a format whose specification is available to the general public, that is suitable for revising the document straightforwardly with generic text editors or (for images composed of pixels) generic paint programs or (for drawings) some widely available drawing editor, and that is suitable for input to text formatters or for automatic translation to a variety of formats suitable for input to text formatters. A copy made in an otherwise Transparent file format whose markup, or absence of markup, has been arranged to thwart or discourage subsequent modification by readers is not Transparent. An image format is not Transparent if used for any substantial amount of text. A copy that is not "Transparent" is called "Opaque".
Examples of suitable formats for Transparent copies include plain ASCII without markup, Texinfo input format, LaTeX input format, SGML or XML using a publicly available DTD, and standard-conforming simple HTML, PostScript or PDF designed for human modification. Examples of transparent image formats include PNG, XCF and JPG. Opaque formats include proprietary formats that can be read and edited only by proprietary word processors, SGML or XML for which the DTD and/or processing tools are not generally available, and the machine-generated HTML, PostScript or PDF produced by some word processors for output purposes only.
The "Title Page" means, for a printed book, the title page itself, plus such following pages as are needed to hold, legibly, the material this License requires to appear in the title page. For works in formats which do not have any title page as such, "Title Page" means the text near the most prominent appearance of the work's title, preceding the beginning of the body of the text.
A section "Entitled XYZ" means a named subunit of the Document whose title either is precisely XYZ or contains XYZ in parentheses following text that translates XYZ in another language. (Here XYZ stands for a specific section name mentioned below, such as "Acknowledgements", "Dedications", "Endorsements", or "History".) To "Preserve the Title" of such a section when you modify the Document means that it remains a section "Entitled XYZ" according to this definition.
The Document may include Warranty Disclaimers next to the notice which states that this License applies to the Document. These Warranty Disclaimers are considered to be included by reference in this License, but only as regards disclaiming warranties: any other implication that these Warranty Disclaimers may have is void and has no effect on the meaning of this License.
2. VERBATIM COPYING #
You may copy and distribute the Document in any medium, either commercially or non-commercially, provided that this License, the copyright notices, and the license notice saying this License applies to the Document are reproduced in all copies, and that you add no other conditions whatsoever to those of this License. You may not use technical measures to obstruct or control the reading or further copying of the copies you make or distribute. However, you may accept compensation in exchange for copies. If you distribute a large enough number of copies you must also follow the conditions in section 3.
You may also lend copies, under the same conditions stated above, and you may publicly display copies.
3. COPYING IN QUANTITY #
If you publish printed copies (or copies in media that commonly have printed covers) of the Document, numbering more than 100, and the Document's license notice requires Cover Texts, you must enclose the copies in covers that carry, clearly and legibly, all these Cover Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on the back cover. Both covers must also clearly and legibly identify you as the publisher of these copies. The front cover must present the full title with all words of the title equally prominent and visible. You may add other material on the covers in addition. Copying with changes limited to the covers, as long as they preserve the title of the Document and satisfy these conditions, can be treated as verbatim copying in other respects.
If the required texts for either cover are too voluminous to fit legibly, you should put the first ones listed (as many as fit reasonably) on the actual cover, and continue the rest onto adjacent pages.
If you publish or distribute Opaque copies of the Document numbering more than 100, you must either include a machine-readable Transparent copy along with each Opaque copy, or state in or with each Opaque copy a computer-network location from which the general network-using public has access to download using public-standard network protocols a complete Transparent copy of the Document, free of added material. If you use the latter option, you must take reasonably prudent steps, when you begin distribution of Opaque copies in quantity, to ensure that this Transparent copy will remain thus accessible at the stated location until at least one year after the last time you distribute an Opaque copy (directly or through your agents or retailers) of that edition to the public.
It is requested, but not required, that you contact the authors of the Document well before redistributing any large number of copies, to give them a chance to provide you with an updated version of the Document.
4. MODIFICATIONS #
You may copy and distribute a Modified Version of the Document under the conditions of sections 2 and 3 above, provided that you release the Modified Version under precisely this License, with the Modified Version filling the role of the Document, thus licensing distribution and modification of the Modified Version to whoever possesses a copy of it. In addition, you must do these things in the Modified Version:
Use in the Title Page (and on the covers, if any) a title distinct from that of the Document, and from those of previous versions (which should, if there were any, be listed in the History section of the Document). You may use the same title as a previous version if the original publisher of that version gives permission.
List on the Title Page, as authors, one or more persons or entities responsible for authorship of the modifications in the Modified Version, together with at least five of the principal authors of the Document (all of its principal authors, if it has fewer than five), unless they release you from this requirement.
State on the Title page the name of the publisher of the Modified Version, as the publisher.
Preserve all the copyright notices of the Document.
Add an appropriate copyright notice for your modifications adjacent to the other copyright notices.
Include, immediately after the copyright notices, a license notice giving the public permission to use the Modified Version under the terms of this License, in the form shown in the Addendum below.
Preserve in that license notice the full lists of Invariant Sections and required Cover Texts given in the Document's license notice.
Include an unaltered copy of this License.
Preserve the section Entitled "History", Preserve its Title, and add to it an item stating at least the title, year, new authors, and publisher of the Modified Version as given on the Title Page. If there is no section Entitled "History" in the Document, create one stating the title, year, authors, and publisher of the Document as given on its Title Page, then add an item describing the Modified Version as stated in the previous sentence.
Preserve the network location, if any, given in the Document for public access to a Transparent copy of the Document, and likewise the network locations given in the Document for previous versions it was based on. These may be placed in the "History" section. You may omit a network location for a work that was published at least four years before the Document itself, or if the original publisher of the version it refers to gives permission.
For any section Entitled "Acknowledgements" or "Dedications", Preserve the Title of the section, and preserve in the section all the substance and tone of each of the contributor acknowledgements and/or dedications given therein.
Preserve all the Invariant Sections of the Document, unaltered in their text and in their titles. Section numbers or the equivalent are not considered part of the section titles.
Delete any section Entitled "Endorsements". Such a section may not be included in the Modified Version.
Do not retitle any existing section to be Entitled "Endorsements" or to conflict in title with any Invariant Section.
Preserve any Warranty Disclaimers.
If the Modified Version includes new front-matter sections or appendices that qualify as Secondary Sections and contain no material copied from the Document, you may at your option designate some or all of these sections as invariant. To do this, add their titles to the list of Invariant Sections in the Modified Version's license notice. These titles must be distinct from any other section titles.
You may add a section Entitled "Endorsements", provided it contains nothing but endorsements of your Modified Version by various parties--for example, statements of peer review or that the text has been approved by an organization as the authoritative definition of a standard.
You may add a passage of up to five words as a Front-Cover Text, and a passage of up to 25 words as a Back-Cover Text, to the end of the list of Cover Texts in the Modified Version. Only one passage of Front-Cover Text and one of Back-Cover Text may be added by (or through arrangements made by) any one entity. If the Document already includes a cover text for the same cover, previously added by you or by arrangement made by the same entity you are acting on behalf of, you may not add another; but you may replace the old one, on explicit permission from the previous publisher that added the old one.
The author(s) and publisher(s) of the Document do not by this License give permission to use their names for publicity for or to assert or imply endorsement of any Modified Version.
5. COMBINING DOCUMENTS #
You may combine the Document with other documents released under this License, under the terms defined in section 4 above for modified versions, provided that you include in the combination all of the Invariant Sections of all of the original documents, unmodified, and list them all as Invariant Sections of your combined work in its license notice, and that you preserve all their Warranty Disclaimers.
The combined work need only contain one copy of this License, and multiple identical Invariant Sections may be replaced with a single copy. If there are multiple Invariant Sections with the same name but different contents, make the title of each such section unique by adding at the end of it, in parentheses, the name of the original author or publisher of that section if known, or else a unique number. Make the same adjustment to the section titles in the list of Invariant Sections in the license notice of the combined work.
In the combination, you must combine any sections Entitled "History" in the various original documents, forming one section Entitled "History"; likewise combine any sections Entitled "Acknowledgements", and any sections Entitled "Dedications". You must delete all sections Entitled "Endorsements".
6. COLLECTIONS OF DOCUMENTS #
You may make a collection consisting of the Document and other documents released under this License, and replace the individual copies of this License in the various documents with a single copy that is included in the collection, provided that you follow the rules of this License for verbatim copying of each of the documents in all other respects.
You may extract a single document from such a collection, and distribute it individually under this License, provided you insert a copy of this License into the extracted document, and follow this License in all other respects regarding verbatim copying of that document.
7. AGGREGATION WITH INDEPENDENT WORKS #
A compilation of the Document or its derivatives with other separate and independent documents or works, in or on a volume of a storage or distribution medium, is called an "aggregate" if the copyright resulting from the compilation is not used to limit the legal rights of the compilation's users beyond what the individual works permit. When the Document is included in an aggregate, this License does not apply to the other works in the aggregate which are not themselves derivative works of the Document.
If the Cover Text requirement of section 3 is applicable to these copies of the Document, then if the Document is less than one half of the entire aggregate, the Document's Cover Texts may be placed on covers that bracket the Document within the aggregate, or the electronic equivalent of covers if the Document is in electronic form. Otherwise they must appear on printed covers that bracket the whole aggregate.
8. TRANSLATION #
Translation is considered a kind of modification, so you may distribute translations of the Document under the terms of section 4. Replacing Invariant Sections with translations requires special permission from their copyright holders, but you may include translations of some or all Invariant Sections in addition to the original versions of these Invariant Sections. You may include a translation of this License, and all the license notices in the Document, and any Warranty Disclaimers, provided that you also include the original English version of this License and the original versions of those notices and disclaimers. In case of a disagreement between the translation and the original version of this License or a notice or disclaimer, the original version will prevail.
If a section in the Document is Entitled "Acknowledgements", "Dedications", or "History", the requirement (section 4) to Preserve its Title (section 1) will typically require changing the actual title.
9. TERMINATION #
You may not copy, modify, sublicense, or distribute the Document except as expressly provided for under this License. Any other attempt to copy, modify, sublicense or distribute the Document is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
10. FUTURE REVISIONS OF THIS LICENSE #
The Free Software Foundation may publish new, revised versions of the GNU Free Documentation License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. See https://www.gnu.org/copyleft/.
Each version of the License is given a distinguishing version number. If the Document specifies that a particular numbered version of this License "or any later version" applies to it, you have the option of following the terms and conditions either of that specified version or of any later version that has been published (not as a draft) by the Free Software Foundation. If the Document does not specify a version number of this License, you may choose any version ever published (not as a draft) by the Free Software Foundation.
ADDENDUM: How to use this License for your documents #
Copyright (c) YEAR YOUR NAME. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled “GNU Free Documentation License”.
If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts, replace the “with...Texts.” line with this:
with the Invariant Sections being LIST THEIR TITLES, with the Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
If you have Invariant Sections without Cover Texts, or some other combination of the three, merge those two alternatives to suit the situation.
If your document contains nontrivial examples of program code, we recommend releasing these examples in parallel under your choice of free software license, such as the GNU General Public License, to permit their use in free software.