Redhat下安装SAP的相关
- Red Hat Enterprise Linux 6.x: Installation and Upgrade - SAP Note 1496410
- Red Hat Enterprise Linux 7.x: Installation and Upgrade - SAP Note 2002167
Reason and Prerequisites
You want to use SAP server software on Red Hat Enterprise Linux 7.x
Solution
Environment
This document deals with the installation and configuration of SAP server software on Red Hat Enterprise Linux 7. In the following, "RHEL 7" means any minor release of Red Hat Enterprise Linux 7.x unless specified otherwise. In other words:
For SAP NetWeaver, if RHEL 7 is listed as supported in the SAP Product Availability Matrix this means that any update release of RHEL 7, for example RHEL 7 Update 1 (RHEL 7.1), can be used as well.
For SAP HANA, please check SAP Note 2235581 - SAP HANA: Supported Operating Systems for the list of supported RHEL 7 minor releases.
The installation or configuration of Red Hat Enterprise Linux as the base of a database server is not the primary purpose of this document although some notes listed below are specific to the database you want to run with SAP. If you want to install a database server, consult the operating system and database system documentation as well.
Supportability prerequisites
In order for your SAP system to be fully supported on RHEL 7, the following prerequisites must be fulfilled (this list is not exclusive, other notes may apply):
- You need to use the RHEL 7 server variant.
- You need to have valid support and update entitlements ("subscriptions") from Red Hat for RHEL 7 and any additional layered components (e.g. Virtualization, Clustering, Cluster Storage). If the RHEL release has reached the end of the regular maintenance cycle (see SAP Note 936887 for an overview of the maintenance cycles of the Linux distributions supported by SAP) you need to make sure to have valid "Extended Lifecycle Support" subscriptions from Red Hat to be able to continue to use RHEL7 until the final maintenance for the distribution by Red Hat ends.
Red Hat recommends to get "RHEL for SAP Business Applications" subscriptions for all RHEL 7 servers running SAP applications. See SAP Note 1631106 or go to http://www.redhat.com/products/enterprise-linux/for-sap/ for more information. Please contact your local Red Hat sales representative for more information about how to purchase RHEL for SAP Business Applications subscriptions.
- Your machine must be able to retrieve additional RHEL 7 software packages and updates from the Red Hat Customer Portal either directly or via a Red Hat Satellite/Proxy server.
- You need to use hardware that is certified for SAP use on Linux by your hardware vendor. See the respective notes on certified hardware which are listed in SAP Note 171356.
- On x86_64 and s390x you can use any Linux kernel version shipped by Red Hat for Red Hat Enterprise Linux 7.
- On IBM Power Big Endian (ppc64) the minimum required RHEL7 kernel is 3.10.0-123.6.3.el7.ppc64.
- On IBM Power Little Endian (ppc64le) the minimum required release is RHEL 7.3 for IBM Power Little Endian.
- The original glibc version shipped with RHEL 7.0 is NOT sufficient (see https://rhn.redhat.com/errata/RHSA-2014-2023.html). The minimum required version of glibc for running SAP software on RHEL 7 is 2.17-55.el7_0.3 (see https://rhn.redhat.com/errata/RHSA-2014-2023.html). Higher versions of glibc built for RHEL7 can be used as well.
- It is recommended to always install the latest patches provided by Red Hat for all RHEL 7 packages installed on the system..
- See SAP Note 1452070 for additional recommendations for running SAP on zLinux.
Supported Hardware Platforms
Certification of specific SAP products on specific versions of Red Hat Enterprise Linux notwithstanding, the following hardware platforms are certified for use of SAP software on Red Hat Enterprise Linux:
- x86_64 (64bit Intel or AMD processors)
- IBM Power Systems (ppc64 or ppc64le)
- IBM System Z (s390x)
Supported File Systems
In general any file system supported by Red Hat for RHEL7 can also be used for SAP installations. This currently includes XFS, EXT4, EXT3 and GFS2. Since the database vendors can limit the support of their database to certain file systems, please check with your DB vendor if the file system you plan to use is also supported by them.
Upgrading from a previous Red Hat Enterprise Linux release to RHEL 7
In-place upgrades from RHEL 6 to RHEL 7 is supported, however you must at least have the latest minor version installed on the system you plan to upgrade to RHEL 7. (Please note this is only for SAP Business Applications). Direct OS upgrades from RHEL 5 to RHEL 7 are not supported. Please see https://access.redhat.com/solutions/799813 for the list of supported use-cases for in-place upgrades to RHEL 7.
Before starting the upgrade please make sure that all SAP and DB instances running on the server have been updated to a level that is supported on RHEL 7 and that a working backup of the server exists.
All SAP and DB instances running on the server must be stopped, and all file systems belonging to the SAP installation (/usr/sap, /sapmnt, /<DB>) must be unmounted before starting the OS upgrade procedure to avoid damage to the SAP installation during the OS upgrade.
See https://access.redhat.com/site/solutions/637583 for detailed instructions on how to perform an in-place upgrade to RHEL7.
Installing Red Hat Enterprise Linux 7
Install the operating system as described in the RHEL 7 Installation guide (available at https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/) using the following guidelines:
- Use English as the installation and system language. You can still change the keyboard layout to your local preference in the "Keyboard" configuration screen
- Manually partitioning the disks is strongly recommended to reserve space for the application.
- Select the correct timezone and make sure the date and time are set correctly in the "Date & Time" configuration screen. If a local NTP server is available you should also configure it in this screen
- In the "Network & Hostname" configuration screen enter the short name (e. g. "sapserver1") and not the fully qualified hostname (e. g. "sapserver1.example.com"). How to map the short hostname to the fully qualified hostname is described below under Setting the Hostname.
- In the "Software Selection" screen it is recommended to select the software groups listed in the following at a minimum for an SAP server machine:
- Infrastructure Server
- Large Systems Performance
- Network File System Client
- Performance Tools
- Compatibiliy Libraries
- Some additional packages are required for running SAP software on RHEL 7 which can't be selected during the interactive OS installation process:
- uuidd (see SAP Note 1391070)
- If you plan to use Adobe Document Services, some additional packages have to be installed. Please see SAP Note 2135057 for more information.
- The compat-libstdc++-33 package which provides the libstdc++.so.5 which is required to run older releases of SAP software is no longer part of the standard package set on RHEL 7, it has been moved to the "Optional" channel.
Please see the section "Installing additional software packages" below for instructions on how to install additional packages after the OS installation.
Configuration changes required after the initial OS installation
- If you leave the firewall enabled, you need to open up the ports for your SAP product. The ports that have to be opened are listed during the installation of the SAP software but can also be found in /etc/services after it is installed. See the RHEL 7 Security Guide for more information on how to configure the firewall.
- Red Hat Enterprise Linux uses SELinux technology for additional security which is enabled by default. Because several components of an SAP server system (like the installation tools or some underlying RDBMS) are not aware of SELinux, we recommend setting SELinux to "Permissive" mode for the time being so that these components won't break. We don't recommend setting it to "Disabled" as this would require relabeling the whole filesystem if you want to enable it again at a later point for additional security when these components are made compatible or suitable procedures exist to make them function properly with SELinux. You can change SELinux settings by editing /etc/sysconfig/selinux for future boot processes. On a running system, you can switch between "Enforcing" and "Permissive" modes using the command "setenforce".
- You have to register the system on the Red Hat Customer Portal or a local Red Hat Satellite or Red Hat Satellite Proxy to retrieve update packages for your machine. It is recommended that you update all packages (including kernel and glibc) to the latest version available in the official RHEL 7 channels after the first OS installation and at regular intervalls later on.
Setting the Hostname
Ensure that the system hostname is set to the short name as described above, i.e. both commands "hostname" and "hostname -s" must return the hostname without domain, "hostname -f" must return the fully qualified hostname and domain:
# hostname
sapserver1
# hostname -s
sapserver1
# hostname -f
sapserver1.example.com
To set the hostname permanenty, please use the "hostnamectl" command.
Also set up /etc/hosts so that it is configured similar to the following example:
# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.0.1 sapserver1.example.com sapserver1
(any additional hosts should be added after these two lines)
It is important that the fully qualified domain name is in the second column, followed by any alias names and that the hostname of the machine is not associated with the IP address 127.0.0.1.
If you entered the fully qualified hostname during installation you can run the command 'hostname <shorthostname>' to set the short hostname without having to reboot the system.
See SAP Note 611361 for further information about hostname requirements for SAP NetWeaver based systems.
Linux kernel parameters
Some Linux kernel parameters have to be adjusted to meet the requirements of SAP software. To do this create a file /etc/sysctl.d/sap.conf with the following content (the valuies shown here are the required minimum values, higher values can be used as well):
# SAP settings
kernel.sem=1250 256000 100 1024
vm.max_map_count=2000000 (see SAP Note 900929 for more information)
Please check SAP Note 941735 for recommendations on how to configure the kernel parameters kernel.shmmax and kernel.shmall and other memory related settings for 64bit systems.
Run the command "sysctl --system" to activate the modified kernel parameters. You can use the command "ipcs -l --human" to check the current limits for shared memory, semaphores and message queues in the Linux kernel.
Process resource limits
Some components (e.g. the SAP J2EE engine, Oracle RDBMS software, ...) need to keep a large number of file handles opened simultaneously. To increase the limit of files one process can open at a time for all OS users of the SAP system and DB, please create the file /etc/security/limits.d/99-sap.conf with the following content (these are the recommended minimum values, higher values can be used too):
@sapsys hard nofile 32800
@sapsys soft nofile 32800
@<DB group> hard nofile 32800
@<DB group> soft nofile 32800
(replace <DB group> with the name of the OS group of the OS database users, e. g. for Oracle <DB group> should be replaced with "dba" (without the double-quotes))
By default RHEL 7 limits the number of simultaneous processes for each user (except root) to 1024 via the file /etc/security/limits.d/90-nproc.conf to prevent so called "fork-bomb" attacks (see also https://access.redhat.com/solutions/146233). This can cause problems for example when running multiple SAP JAVA application server instances under the same userid. If you plan to run such a setup on RHEL 7, please also add the following line in /etc/security/limits.d/99-sap.conf:
@sapsys soft nproc unlimited
If you are running the database instance for an SAP system with a large number of dialog instances it might also be necessary to set the "nproc" limit to unlimited for the group of the database users as well. For example for Oracle you should also add the following line:
@dba soft nproc unlimited
(if a database other than Oracle is used replace "dba" with the name of the OS group that is used by all database processes)
Please logout and login all users belonging to these groups and restart all processes running under those users for the settings in the /etc/security/limits.d/99-sap.conf to take effect.
To ensure that the process resource limits also get adjusted when the SAP system is started via sapcontrol or a web service client (e. g. SAP MMC) please make sure to update your SAP system at least to SAP kernel 720 PL 400. See SAP Note 1771258 for more information.
Installing additional software packages
You can also install or reinstall a package or a package group at a later point after the OS installation with the following commands, provided that your system can access the RHEL software channels via the officially supported ways (directly or via Red Hat Satellite/Proxy):
- For installing individual packages:
yum install <package1> [<package2> [< package3> [...]]]
where <package*> are the names of the packages to be installed, e.g.:
yum install uuidd
- For installing package groups:
yum groupinstall '<group1>' ['<group2>' ['< group3' [...]]]
where <group*> are the names of the groups you want to install.
The following yum groups correspond to the groups listed for the interactive installation above:
- large-systems
- network-file-system-client
- performance
- compat-libraries
If your system can't use the officially supported ways to access the RHEL software channels "yum" cannot determine the individual packages contained in a package group. In this case, you need to install the individual packages as described above. To find out which packages fulfill a certain requirement or are part of a certain package group, please contact your operating system support.
Redhat下安装SAP的相关的更多相关文章
- 如何在redhat下安装WineQQ
使用过redhat的朋友都知道在redhat下要使用聊天工具例如:腾讯QQ只能是用网页QQ,但网页QQ始终用得不尽人意,下面我将给大家介绍一种在redhat下安装WineQQ的方法,让你能在redha ...
- RedHat下安装Python开发环境
Linux RedHat下安装Python2.7.pip.ipython环境.eclipse和PyDev环境 准备工作,源Python2.6备份: 根据which python具体目录而定,进行备份 ...
- windows下 安装gitlab及其相关图形管理工具
windows下 安装gitlab及其相关图形管理工具 在windows下安装git中文版客户端并连接gitlab 下载git Windows客户端 git客户端下载地址:https://gi ...
- 如何在redhat下安装办公软件(openoffice)
在redhat的client版本中自带有办公软件libreoffice,而在server版的redhat中却没有自带的办公软件,那么,如何在redhat的server版下安装办公软件呢? 方法一:配置 ...
- Ubuntu下安装JDK以及相关配置
1.查看系统位数,输入以下命令即可 getconf LONG_BIT 2.下载对应的JDK文件,我这里下载的是jdk-8u60-linux-64.tar.gz 3.创建目录作为JDK的安装目录,这里选 ...
- Linux下安装python3及相关包
Python3: sudo apt-get install python3 终端中输入python则进入python2,输入python3则进入python3 安装python2的相关包: sudo ...
- [学习OpenCV攻略][016][RedHat下安装OpenCV]
安装环境 操作系统: Red Hat Enterprise Linux Server 6.3 相关软件: ffmpeg-0.8.15.tar.bz2.cmake-3.5.1.tar.gz.OpenCV ...
- RedHat下安装MySQL5.5
MYSQL在windows下面安装可能一帆风顺,但是如果真的到纯图形界面的redhat服务器上,可能就不是那么容易了, 这里我就详细的介绍一下MYSQL5.5在linux下的安装以及注意的问题,避免后 ...
- 在windows下安装redmine及相关问题
转载注明出处,adousen的博客http://blog.csdn.net/adousen redmine是一个ticket驱动项目管理工具,与trac等工具相比.它最大特色是能够在一个实例中同一时候 ...
随机推荐
- spring mvc aop拦截controller层获取RequestBody反序列化后参数
最近,为了解耦,把一逻辑从interceptor抽出来,放在aop中处理,需要得到RequestBody.如下: @Aspect @Configuration public class CheckAs ...
- Xamarin.FormsShell基础教程(3)Shell项目构成
Xamarin.FormsShell基础教程(3)Shell项目构成 在创建的ShellDemo解决方案中,有3个子项目,分别为ShellDemo.ShellDemo.Android和ShellDem ...
- jstl标签库使用报错index_jsp.java找不到问题
初学jstl的时候记得只需要讲jstl和standard的jar放在lib下面,然后jsp中使用对应导入语法就可以使用标签库了. 但那时候用的是myeclipes,myeclipes的导包的过程记得是 ...
- Cisco ASA 5505配置详解(v8.3之前版本)
在配ASA 5505时用到的命令 2009-11-22 22:49 nat-control命令 在6.3的时候只要是穿越防火墙都需要创建转换项,比如:nat:static等等,没有转换项是不能穿越防火 ...
- Django ORM 以连接池方式连接底层连接数据库方法
django原生支持是不支持 以连接池方式连接数据库的 概述 在使用 Django 进行 Web 开发时, 我们避免不了与数据库打交道. 当并发量低的时候, 不会有任何问题. 但一旦并发量达到一定数量 ...
- awk:for循环输出文件名
简单来说,有file1.txt, file2.txt, file3.txt file1.txt如下: 1 a 4 d d g file2.txt如下: 2 b g 6 9 0 file3.txt如下: ...
- 问题解决: 此文件来自其他计算机,可能被阻止以帮助保护该计算机/WORD在试图打开文件时遇到错误……
最近,在打开下载的office文档(包括word.excel.ppt等)时候,总是无法直接打开,错误提示如下: 无论是邮件中的还是别的网站下载的,均提示该错误.后来搜索相关资料发现,修改其文件属性即可 ...
- dockerfile的常用基础镜像——java镜像
1. java镜像使用Java镜像的最直接方法是把它作为基础镜像或运行时环境. 1.1 镜像tagjava:<version>如果你不确定你需要什么,那么请用这个tag.它可以作为一个运行 ...
- Java多线程编程(4)--线程同步机制
一.锁 1.锁的概念 线程安全问题的产生是因为多个线程并发访问共享数据造成的,如果能将多个线程对共享数据的并发访问改为串行访问,即一个共享数据同一时刻只能被一个线程访问,就可以避免线程安全问题.锁 ...
- Linux基础(03)gdb调试
1. 安装GDB增强工具 (gef) * GDB的版本大于7.7 * wget -q -O- https://github.com/hugsy/gef/raw/master/scripts/gef.s ...