Jump to contentJump to page navigation: previous page [access key p]/next page [access key n]
Applies to SUSE Linux Enterprise Server for SAP Applications 11 SP4

3 Background Information on Partitioning

During installation partitioning will be done in two steps. The first step happens while installing the operating system (stage 1, see Section 2.4.3, “Preparing System for Automated Installation”), and the second step while installing your SAP product (stage 2, see Section 2.4.9, “SAP Product Installation”).

3.1 Stage 1: Partitioning for the Operating System

During stage 1 of the installation (see Section 2.4.3, “Preparing System for Automated Installation”), partitions for the operating system will be created.

A logical volume group (LVG) named system will be created. This LVG contains two logical volumes (LVs) named root_lv and swap_lv. The size of swap_lv will be calculated according to the SAP Note 1597355 (https://launchpad.support.sap.com/#/notes/1597355). For root_lv, 35 GB will be assumed at first, and the sum of root_lv and swap_lv will be displayed as Set the system volume size in GB.

You can change both, the size of the system volume (Set the system volume size in GB) and the size of the swap partition (Set the SWAP size in GB). When doing this, mind some caveats:

  • The size of the system volume could not exceed the physical size of the device minus 1 GB; 1 GB will be reserved for boot or for UEFI.

  • Better do not change the size of the swap partition.

  • root_lv should not be smaller than 5 GB.

Note
Note: Error Messages

Only if the size of the system volume (plus 1 GB) exceeds the physical size of the device or if the swap partition exceeds the size of the system volume, error messages are issued.

3.2 Stage 2: Partitioning for the SAP System

After installing the operating system the partitioning for the SAP system will take place. This can be done during stage 2 of the installation phase or in the running system.

The partitioning for the SAP system is not controlled by autoinst.xml that is used for the installation of the operating system. The autoinst functionality no longer exists in the running system. Instead the following files are controlling the partitioning for the SAP system:

In /etc/sap-installation-wizard.xml the <partitioning> tag defines for which SAP programs which files for controlling the partitioning are used. These files will be taken from /usr/share/YaST2/include/sap-installation-wizard/. In case there is no <partitioning> tag for the wanted SAP product, base_partitioning.xml will be used.

The files for controlling the partitioning are basically AutoYaST control files that contain a partitioning section only. There are several extensions:

  • If the <partitioning_defined> tag is set to true, the partitioning will be performed without any user interaction. This, for example, is preconfigured in files for controlling the partitioning of known hardware such as Dell, Fujitsu, HP, or IBM Server systems. If the SAP Installation Wizard recognizes this hardware, the appropriated file will be selected.

  • 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 be minimally (x-times (N) the size of the available memory (RAM)).

For all NW based products base_partitioning.xml will be used.

If you need something different (e.g., for TREX), proceed as follows:

  1. In /usr/share/YaST2/include/sap-installation-wizard/ create a new file for controlling the partitioning (e.g., TREX_partitioning.xml). You can base the new file on base_partitioning.xml and change it according to your needs.

  2. In /etc/sap-installation-wizard.xml, at the TREX following tag insert:

    <partitioning>TREX_partitioning.xml</partitioning>
Warning
Warning: Do Not Edit base_partitioning.xml

Do Not Edit base_partitioning.xml directly. With the next update this file will be overridden.

For more information on partitioning with AutoYaST, see the Chapter 4.4 Partitioning of the AutoYaST Guide.

Print this page