● Add the following parameters:
○ ksdevice=<Ethernet interface or link>, for example
○ ksdevice=link (for the first network device with a link)
○ ksdevice=eth3
○ ks=<method and URL to the kickstart file>, for example
○ ks=https://192.168.0.200/kickstart.php?instance=01&sid=RHT
○ ks=http://192.168.0.200/hana.cfg
○ ip=<IP Address>, for example
ip=192.168.0.101
○ netmask=<Netmask>, for example
netmask=255.255.255.0
○ gateway=<Gateway address>, for example
gateway=192.168.0.1
● Installation of RHEL and SAP HANA should run automatically until you are prompted to accept the SAP
HANA EULA (End User License Agreement).
3.6 Description of the Kickstart File for RHEL for SAP
HANA
The following pages provide a brief description of the kickstart file provided as a sample for the SAP HANA
hardware partners.
● The upper part of the file contains the partition scheme, using xfs for the logical volumes dedicated for
SAP HANA.
● A number of additional repositories and packages need to be included for the installation of SAP HANA, as
well as for the kernel modules supplied by IBM (see comments in the file).
In order to keep the footprint as small as possible, only the base package group will be installed.
● The %pre section comprises a small routine for presenting the EULA to the customer.
○ If the customer accepts this, the OS and application are installed
○ If s/he rejects, the installation process is aborted immediately, and the machine is rebooted
○ Feel free to add more vendor-specific dialogs or settings to additional %pre sections. There can be as
many additional sections as you want. These are all executed serially before the installation begins.
○ The second %pre script calculates the size of the logical volumes reserved for SAP HANA according
to the requirements of SAP HANA. It writes an include file to /tmp, which in turn is included in the
install section for partitioning.
● The %post section includes the following:
○ Firstly, all necessary services are enabled, and all others disabled.
○ New software repositories are written to enable the installation of additional products later on. The
SERVER variable needs to be modified by the OEM.
○ The IPv6 protocol is disabled by executing /bin/true whenever the kernel tries to load the appropriate
module.
○ Create the /etc/resolv.conf file. The variables DOMAIN, DNS1 and DNS2 need to be modified by
the OEM.
16
P U B L I C
© 2015 SAP SE or an SAP affiliate company. All rights reserved.
Red Hat Enterprise Linux (RHEL) 6.5 Configuration Guide for SAP HANA
SAP HANA Installation
Commentaires sur ces manuels