Jump to contentJump to page navigation: previous page [access key p]/next page [access key n]
documentation.suse.com / Guide / Partitioning for the SAP system using AutoYaST
Applies to SUSE Linux Enterprise Server for SAP Applications 15 SP3

B Partitioning for the SAP system using AutoYaST

Partitioning for the SAP system is controlled by the files from the directory /usr/share/YaST2/include/sap-installation-wizard/. The following files can be used:

  • SAP NetWeaver or SAP S/4HANA Application Server installation.  base_partitioning.xml

  • SAP HANA or SAP S/4HANA Database Server installation.  hana_partitioning.xml

  • SAP HANA or SAP S/4HANA Database Server installation on SAP BusinessOne-certified hardware.  hardware-specific partitioning file

The files will be chosen as defined in /etc/sap-installation-wizard.xml. Here, the content of the element partitioning is decisive.

If the installation is, for example, based on HA or a distributed database, no partitioning is needed. In this case, partitioning is set to NO and the file base_partitioning.xml is used.

Note
Note: autoinst.xml Cannot Be Used Here

autoinst.xml is only used for the installation of the operating system. It cannot control the partitioning for the SAP system.

The files that control partitioning are AutoYaST control files that contain a partitioning section only. However, these files allow using several extensions to the AutoYaST format:

  • If the partitioning_defined tag is set to true, the partitioning will be performed without any user interaction.

    By default, this is only used when creating SAP HANA file systems on systems certified for SAP HANA (such as from Dell, Fujitsu, HP, IBM, or Lenovo).

  • For every partition, you can specify the size_min tag. The size value can be given as a string in the format of RAM*N. This way you can specify how large the partition should minimally be (N times the size of the available memory (RAM)).

Procedure B.1: Creating a custom SAP partitioning setup

The steps below illustrate how to create a partitioning setup for TREX. However, creating a partitioning setup for other applications works analogously.

  1. In /usr/share/YaST2/include/sap-installation-wizard/, create a new XML file. Name it TREX_partitioning.xml, for example.

  2. Copy the content of base_partitioning.xml to your new file and adapt the new file to your needs.

  3. Finally, adapt /etc/sap-installation-wizard.xml to include your custom file. In the listitem for TREX, insert the following line:

    <partitioning>TREX_partitioning</partitioning>
Important
Important: Do not edit base_partitioning.xml

Do not edit base_partitioning.xml directly. With the next update, this file will be overwritten.

For more information about partitioning with AutoYaST, see AutoYaST Guide, Chapter Partitioning (https://documentation.suse.com/sles-15).