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.
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 totrue
, 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 ofRAM*N
. This way you can specify how large the partition should minimally be (N times the size of the available memory (RAM)).
The steps below illustrate how to create a partitioning setup for TREX. However, creating a partitioning setup for other applications works analogously.
In
/usr/share/YaST2/include/sap-installation-wizard/
, create a new XML file. Name itTREX_partitioning.xml
, for example.Copy the content of
base_partitioning.xml
to your new file and adapt the new file to your needs.Finally, adapt
/etc/sap-installation-wizard.xml
to include your custom file. In thelistitem
forTREX
, insert the following line:<partitioning>TREX_partitioning</partitioning>
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).