Documente Academic
Documente Profesional
Documente Cultură
isicc@de.ibm.com
Version 1.3 July 2016
1 TABLE OF CONTENTS
2
Preface ............................................................................................................................................ 2
Sharing IBM ESS between SAP HANA and other applications (competing storage utilization)...... 4
10
10.1
10.2
10.3
11
11.1
Global.ini ............................................................................................................................... 17
11.2
12
SAP HANA TDI backup with IBM Tivoli Storage Manager for ERP ............................................ 17
13
Resources .................................................................................................................................. 18
14
Trademarks ............................................................................................................................... 19
15
Disclaimers ................................................................................................................................ 20
Page | 1
2 PREFACE
This paper is intended as an architecture and configuration guide to setup
IBM Elastic Storage Server (ESS) and IBM Spectrum Scale (formerly known
as GPFS) clients for SAP HANA tailored datacenter integration (SAP HANA
TDI). The SAP HANA TDI allows the SAP customer to use external storage to attach to the SAP HANA nodes.
This document has been written for IT technical specialists and architects, with
advanced skill levels on SUSE Linux Enterprise Server or Red Hat Enterprise
LINUX and IBM Spectrum Scale, with a focus on architecting and setting up
the HANA nodes and IBM ESS.
The recommendations in this guideline apply to both single node and scale
out configurations for Intel and IBM POWER 8 (and up) server.
For more details on SAP specification for using external storage for SAP HANA
TDI please read SAP document: http://www.saphana.com/docs/DOC-3633
Page | 2
storage architecture employing solid state flash technology and robotic tape
libraries.
In addition to the technological advancements available with the Elastic Storage Server, it can also address other data issues found in many businesses. For
example, as each department or division in your organization evolves their
own storage needs, this can result in a costly duplication of hardware resources.
The resulting islands of information may hold valuable insights that may not be
accessible in such a disparate environment. By consolidating storage requirements across your organization onto the Elastic Storage Server, you can reduce
inefficiency and acquisition costs while simplifying management and improving data protection.
ESS is designed for performance. Storing petabytes of data is meaningless unless it can be accessed and analyzed quickly. Sustained streaming performance of data can reach 20 GB per second in each building block, growing
as more blocks are added to a configuration. By combining the superior data
movement capability of IBM Power Systems servers with the enhanced I/O
subsystem introduced in the POWER8 processor as well as adding the disk management capability of the Power server driven Native RAID technology, a
complete storage solution can be deployed without traditional storage controllers acting as a bottleneck to overall system performance.
With support for multiple 10 Gb per second and 40 Gb per second Ethernet, as
well as Infiniband speeds of up to 56Gb per second (FDR speed), Elastic Storage Servers have the architecture to deliver improved data throughput.
Page | 3
The table shows the maximum number of HANA nodes for the different IBM
ESS models.
Number of
Hana nodes
GS2
SSD
GS4
SSD
GS6
SSD
GL2
HDD
GL4
HDD
GL6
HDD
16
16
16
7 REQUIRED IP NETWORK
Figure 1 shows the principle network setup for HANA TDI with Spectrum Scale.
It is recommended to have a separate network for the application and storage layer.
Page | 4
Page | 5
Policies
Files are assigned to a storage pool based on defined policies.
File placement policies are used to automatically place newly created
files in a specific file system pool.
File management policies are used to manage files during their lifecycle
by moving them to another file system pool, moving them to near-line
storage, copying them to archival storage, changing their replication
status, or deleting them.
File sets
File sets provide a method for partitioning a file system and allow administrative operations at a finer granularity than the entire file system.
Figure 2 illustrates the recommended Spectrum Scale cluster concept. The IBM
ESS is a cluster on its own, the Spectrum Scale storage cluster, each HANA system, or a group of HANA systems build up the Spectrum Scale application clusters. Each application cluster accesses the file system on the ESS (storage cluster) via Spectrum Scale cross cluster file system mount. This is a remote mount
of a file system (in this figure mount point /hana) using NSD server access,
through a virtual connection to the file system data through an NSD server,
which means no direct, physical connection between the disks (NSD, network
shared disk) and the application nodes.
Page | 6
9 INSTALLING LINUX
Install SUSE LINUX Enterprise Server 11, SUSE LINUX Enterprise Server for SAP
11 Service Pack 4 or higher, or Red Hat Enterprise Linux for SAP HANA on local disks or on SAN attached storage. Follow the instructions and requirement
according the following documentations:
SAP Note 2001528 - Linux: SAP HANA Database SPS 12 on RHEL 6 or SLES 11
SAP Note 2009879 - SAP HANA Guidelines for Red Hat Enterprise Linux (RHEL)
Operating System
SAP Note 2013638 - SAP HANA DB: Recommended OS settings for RHEL 6.5
SAP Note 1944799 - SAP HANA Guidelines for SLES Operating System Installation
Setup ssh without prompt for password between all HANA/Spectrum Scale
nodes and ESS.
Ensure that proper DNS resolution is in place - via /etc/hosts and DNS.
Ensure that a timeserver is configured.
Page | 7
Page | 8
After standard deployment and initial function verification of the ESS, delete all
existing vdisks and create new ones according to the following procedure. Access the samples directory on one of the ESS node.
[root@is38san1a vdisk]# pwd
/usr/lpp/mmfs/samples/vdisk
You need to configure two different filesystems for HANA. One filesystem, holding the data files, with 16M blocksize and one FS for the DB log workload
which is the sequential part of HANA workloads with 1 MB blocksize. This is a
standard ESS configuration step. Use the following 2 sample vdisk stanza to proceed.
File system stanza file for data:
[root@is38san1a vdisk]# cat vdisk.stanza.datafs
%vdisk: vdiskName=hanaLDFT2M1 rg=hanaL
tion diskUsage=metadataOnly
da=DA1
da=DA1
blocksize=16m
da=DA1
da=DA1
blocksize=16m
size=500g raidCode=8+2p
Page | 9
size=500g raidCode=8+2p
Generate vdisks and NSDs from your stanza files according to the following
sample. Repeat the same step for each stanza file so for log and data.
[root@is38san1a vdisk]# mmcrvdisk -F vdisk.stanza.datafs
mmcrvdisk: [I] Processing vdisk hanaLDFT2M1
mmcrvdisk: [I] Processing vdisk hanaLDFT2D1
mmcrvdisk: [I] Processing vdisk hanaRDFT2M1
mmcrvdisk: [I] Processing vdisk hanaRDFT2D1
mmcrvdisk: Propagating the cluster configuration data to all
affected nodes. This is an asynchronous process.
[root@is38san1a vdisk]# mmcrnsd -F vdisk.stanza.datafs
mmcrnsd: Processing disk hanaLDFT2M1
mmcrnsd: Processing disk hanaLDFT2D1
mmcrnsd: Processing disk hanaRDFT2M1
mmcrnsd: Processing disk hanaRDFT2D1
After that, you need to create the file systems by mmcrfs, see next sample how
to proceed.
[root@is38san1a vdisk]# mmcrfs hana16M -F vdisk.stanza.datafs -B 16M --metadata-block-size 1M
-M 2 -R 2 -m 1 -r 1 -L 256M -T /gpfs/data16M -E no -j scatter
-S relatime
The following disks of hana16M will be formatted on node is38san1a.gpfs.net:
hanaLDFT2M1: size 205833 MB
hanaLDFT2D1: size 521712 MB
hanaRDFT2M1: size 205833 MB
hanaRDFT2D1: size 521712 MB
Formatting file system ...
Disks up to size 1.8 TB can be added to storage pool system.
Disks up to size 6.7 TB can be added to storage pool datapool.
Creating Inode File
Creating Allocation Maps
Creating Log Files
3 % complete on Wed Jun 1 10:46:13 2016
100 % complete on Wed Jun 1 10:46:14 2016
Clearing Inode Allocation Map
Clearing Block Allocation Map
Formatting Allocation Map for storage pool system
Formatting Allocation Map for storage pool datapool
Completed creation of file system /dev/hana16M.
mmcrfs: Propagating the cluster configuration data to all
affected nodes. This is an asynchronous process.
[root@is38san1a vdisk]#
P a g e | 10
-M
-M
You need to adjust some of the Spectrum Scale parameters to benefit from
the HW and setup changes made before.
mmchconfig
mmchconfig
mmchconfig
mmchconfig
nsdRAIDFlusherFWLogLimitMB=60k,-N gss_ppc64
nsdRAIDFlusherFWLogHighWatermarkMB=60k -N gss_ppc64
nsdRAIDFastWriteFSMetadataLimit=1m -N gss_ppc64
nsdRAIDFastWriteFSDataLimit=2m -N gss_ppc64
P a g e | 12
-text_only
LICENSE INFORMATION
[]
Press Enter to continue viewing the license agreement, or
enter "1" to accept the agreement, "2" to decline it, "3"
to print it, "4" to read non-IBM terms, or "99" to go back
to the previous screen.
1
License Agreement Terms accepted.
Extracting Product RPMs to /usr/lpp/mmfs/4.2.0.0 ...
[. . . ]
==================================================================
Product rpms successfully extracted to /usr/lpp/mmfs/4.2.0.0
Step right into this directory and install directly with rpm command as shown in
the following example.
lsh30100:/usr/lpp/mmfs/4.2.0.1/gpfs_rpms # rpm -ihv gpfs.adv-4.2.0-1.ppc64.rpm gpfs.base4.2.0-1.ppc64.rpm gpfs.docs-4.2.0-1.noarch.rpm gpfs.ext-4.2.0-1.ppc64.rpm gpfs.gpl-4.2.0-1.noarch.rpm gpfs.gskit-8.0.50-47.ppc64.rpm gpfs.msg.en_US-4.2.0-1.noarch.rpm
Preparing...
########################################### [100%]
1:gpfs.base
########################################### [ 14%]
2:gpfs.ext
########################################### [ 29%]
3:gpfs.adv
########################################### [ 43%]
4:gpfs.docs
########################################### [ 57%]
5:gpfs.gpl
########################################### [ 71%]
6:gpfs.gskit
########################################### [ 86%]
7:gpfs.msg.en_US
########################################### [100%]
lsh30100:/usr/lpp/mmfs/4.2.0.1/gpfs_rpms #
IBM Spectrum Scale is a fully POSIX compliant file system and supported under
various linux distributions. The Spectrum Scale portability layer is a loadable kernel module that allows the GPFS daemon to interact with the operating system,
it need to be built in your given environment.
P a g e | 13
Each kernel module is specific to a Linux version and platform. If you have multiple nodes running exactly the same operating system level on the same platform, and only some of these nodes have a compiler available, you can build
the kernel module on one node, then create an installable package that contains the binary module for ease of distribution.
Build the portability layer as follows:
lsh30100:~ # mmbuildgpl --build-package
-....
[...]
Wrote: /usr/src/packages/RPMS/ppc64/gpfs.gplbin-3.0.101-63-ppc64-4.2.01.ppc64.rpm
Install this newly created RPM on every node, similar to the following example:
lsh30100:~ # for i in 1 2 4 5 6
> do
> ssh lsh3010$i "rpm -ihv /root/gpfs.gplbin-3.0.101-63-ppc64-4.2.01.ppc64.rpm"
> done
To be able to administer Spectrum Scale cluster, you need according user credentials. You can configure your cluster with sudo wrapper enabled or simply
allow root access to your nodes.
For using sudo wrapper please have a look to the Spectrum Scale product
documentation
https://www.ibm.com/support/knowledgecenter/STXKQY_4.2.0/com.ibm.spectrum.scale.v4r2.adm.doc/bl1adm_sudowrapper.htm.
10.3.4 add nodes to the cluster
Once the software is accordingly installed on the nodes, the node(s) simply
can be added to your existing cluster.
Use the mmaddnode command and make sure, that DNS name resolution
works properly. In a further step, you need to accept the license agreement
by mmchlicense. For further information, please see the example.
P a g e | 14
P a g e | 15
## according to
## minimum re-
Members
--------------------- ---------------------------------------------------------hananode
lsh30100,lsh30101,lsh30102,lsh30104,lsh30105,lsh30103
lsh30107.wdf.sap.corp,lsh30106.wdf.sap.corp
P a g e | 16
11.1 GLOBAL.INI
No additional storage configuration is necessary.
This is an example of a /hana/shared/global.ini file. The [storage] section will
be empty:
[communication]
listeninterface = .global
[persistence]
basepath_datavolumes = /hana/data/SID
basepath_logvolumes = /hana/log/SID
[storage]
[trace]
11.2
The following parameters were set for the SAP HWCCT tool hwval/fsperf, and
needs to be used for all IBM storage:
[async_write_submit_active : on
async_write_submit_blocks : all
async_read_submit
: on
Please read the SAP note: 1930979 - Alert: Sync/Async read ratio how to set
these parameters via the hdbparm tool.
12 SAP HANA TDI BACKUP WITH IBM TIVOLI STORAGE MANAGER FOR
ERP
IBM Tivoli Storage Manager for Enterprise Resource Planning protects your
vital SAP system data. It provides automated data protection designed for
SAP and SAP HANA environments. Now you can improve the availability of
your SAP database servers and reduce your administration workload.
Please see current product documentation how to install, configure, and run
this integrated solution.
P a g e | 17
13 RESOURCES
For any product or documentation provided by SAP please contact SAP.
For any product or documentation provided by SUSE please contact SUSE.
For any product or documentation provided by Red Hat please contact Red
Hat.
For any product or documentation provided by IBM regarding SAP send an
email to isicc@de.ibm.com
How to setup Spectrum Scale & ESS can be found here:
http://www-01.ibm.com/support/knowledgecenter/
P a g e | 18
14 TRADEMARKS
IBM, the IBM logo, and ibm.com are trademarks or registered trademarks of
International Business Ma-chines Corporation in the United States, other countries, or both. These and other IBM trademarked terms are marked on their first
occurrence in this information with the appropriate symbol ( or ), indicating
US registered or common law trademarks owned by IBM at the time this information was published. Such trademarks may also be registered or common
law trademarks in other countries. A current list of IBM trademarks is available
on the Web at http://www.ibm.com/legal/copytrade.shtml
The following terms are trademarks of the International Business Machines Corporation in the United States, other countries, or both:
AIX, BladeCenter, DB2, Global Business Services, Global Technology Services, GPFS, Spectrum Scale, IBM SmartCloud, IBM, Intelligent Cluster, Passport Advantage, POWER, PureFlex, Rack-Switch, Redbooks,
Redpaper, Redbooks (logo) , System Storage, System x, System z, Tivoli, z/OS.
The following terms are trademarks of other companies:
SAP, R/3, ABAP, BAPI, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP BusinessObjects Explorer, StreamWork, SAP HANA, the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence as well as their
respective logos are trademarks or registered trademarks of SAP AG in Germany or an SAP affiliate company.
Intel Xeon, Intel, Itanium, Intel logo, Intel Inside logo, and Intel Centrino logo
are trademarks or registered trademarks of Intel Corporation or its subsidiaries
in the United States and other countries.
P a g e | 19
15 DISCLAIMERS
This information was developed for products and services offered in Germany.
IBM may not offer the products, services, or features discussed in this document
in other countries. Consult your local IBM representative for information on the
products and services currently available in your area. Any reference to an IBM
product, program, or service is not intended to state or imply that only that IBM
product, program, or service may be used. Any functionally equivalent product, program, or service that does not infringe any IBM intellectual property
right may be used instead. However, it is the user's responsibility to evaluate
and verify the operation of any non-IBM product, program, or service.
IBM may have patents or pending patent applications covering subject matter
described in this document. The furnishing of this document does not grant you
any license to these patents. You can send license inquiries, in writing, to: IBM
Director of Licensing, IBM Corporation, North Castle Drive, Armonk, NY 105041785 U.S.A.
The following paragraph does not apply to the United Kingdom or any other
country where such provisions are inconsistent with local law: INTERNATIONAL
BUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or implied warranties in certain transactions, therefore, this
statement may not apply to you.
This information could include technical inaccuracies or typographical errors.
Changes are periodically made to the information herein; these changes will
P a g e | 20
be incorporated in new editions of the publication. IBM may make improvements and/or changes in the product(s) and/or the program(s) described in
this publication at any time without notice.
Any references in this information to non-IBM websites are provided for convenience only and do not in any manner serve as an endorsement of those
websites. The materials at those websites are not part of the materials for this
IBM product and use of those websites is at your own risk.
IBM may use or distribute any of the information you supply in any way it believes appropriate without incurring any obligation to you.
Any performance data contained herein was determined in a controlled environment. Therefore, the results obtained in other operating environments
may vary significantly. Some measurements may have been made on development-level systems and there is no guarantee that these measurements will
be the same on generally available systems. Furthermore, some measurements
may have been estimated through extrapolation. Actual results may vary. Users of this document should verify the applicable data for their specific environment.
Information concerning non-IBM products was obtained from the suppliers of
those products, their published announcements or other publicly available
sources. IBM has not tested those products and cannot confirm the accuracy
of performance, compatibility or any other claims related to non-IBM products.
Questions on the capabilities of non-IBM products should be addressed to the
suppliers of those products.
This information contains examples of data and reports used in daily business
operations. To illustrate them as completely as possible, the examples include
the names of individuals, companies, brands, and products. All of these names
are fictitious and any similarity to the names and addresses used by an actual
business enterprise is entirely coincidental.
P a g e | 21