● Check the availability of the NTP server
# service ntpd stop
# ntpdate ntp.example.com
# service ntpd start
○ Check if the NTP service is enabled
# chkconfig | grep ntpd
ntpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
ntpdate 0:off 1:off 2:off 3:off 4:off 5:off 6:off
○ If not, enable the NTP service
# chkconfig ntpd on
● The ntpdate service script adjusts the time according to the NTP server every time when the system
starts. This happens before the regular NTP service is started, and ensures an exact system time even if
the time deviation is too great to be compensated by the NTP service.
# echo ntp.example.com >> /etc/ntp/step-tickers
# chkconfig ntpdate on
● Update only the OS kernel and firmware packages to the latest release that appeared in RHEL 6.5.
According to SAP Note 2013638 - SAP HANA DB: Recommended OS settings for RHEL 6.5 the system
must not be updated to RHEL 6.6. SAP HANA is currently certified for RHEL 6.5 only.
○ To lock the kernel version to the last available kernel of the 2.6.32-431 series you need the yum-
{versionlock,security} plugins:
# yum -y install yum-versionlock yum-security
○ Take a look at the last versions of the following packages that belong to the RHEL6.5 stream:
# yum --showduplicates list nss-softokn # <= 3.14.3-12.el6_5
# yum --showduplicates list nss-softokn-freebl # <= 3.14.3-12.el6_5
# yum --showduplicates list kernel # <= 2.6.32-431.29.2.el6
# yum --showduplicates list kernel-haders # <= 2.6.32-431.29.2.el6
# yum --showduplicates list kernel-firmware # <= 2.6.32-431.29.2.el6
○ Configure the plugin with adding the appropriate entries in /etc/yum/pluginconf.d/
versionlock.list:
kernel-2.6.32-431.29.2.el6.*
kernel-firmware-2.6.32-431.29.2.el6.*
kernel-headers-2.6.32-431.29.2.el6.*
nss-softokn-freebl-3.14.3-12.el6_5.*
nss-softokn-3.14.3-12.el6_5.*
○ Check which updates can be installed now. Make sure that the packages enumerated above are not
updated to a higher version than specified.
# yum --security check-update | less
○ Apply the security updates. Typically, the kernel is updated as well.
# yum --security update
The configuration file /boot/grub/grub.conf is modified automatically so that the new kernel will
be the default one at boot time.
Red Hat Enterprise Linux (RHEL) 6.5 Configuration Guide for SAP HANA
Install SAP HANA Manually on RHEL for SAP HANA
P U B L I C
© 2015 SAP SE or an SAP affiliate company. All rights reserved.
5
Commentaires sur ces manuels