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.xmlSAP HANA or SAP S/4HANA Database Server installation.
hana_partitioning.xmlSAP 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_definedtag 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_mintag. 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.xmlto your new file and adapt the new file to your needs.Finally, adapt
/etc/sap-installation-wizard.xmlto include your custom file. In thelistitemforTREX, 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).