Multiple hosts
This section describes the configuration of the NetApp storage system specific to SAP HANA multiple-hosts systems
LUN Overview
The following table shows the LUN configuration of a 2+1 multiple-host SAP HANA system.
| Purpose | LUNs | LVM logical volume |
|---|---|---|
Data host 1 |
FC5_data_mnt00001_1 |
FC5_data_mnt00001-vol |
Data host 2 |
FC5_data_mnt00002_1 |
FC5_data_mnt00002-vol |
Log host 1 |
FC5_log_mnt00001_1 |
FC5_log_mnt00001-vol |
Log host 2 |
FC5_log_mnt00002_1 |
FC5_log_mnt00002-vol |
|
|
The /hana/shared volume must be accessible by all SAP HANA hosts and is therefore usually exported by using NFS. As NetApp ASA systems do not support NFS as a protocol, NetApp recommends using an additional AFF or FAS system for the /hana/shared file system. |
|
|
With the described configuration, the /usr/sap/SID directory in which the default home directory of user SIDadm is stored, is on the local disk for each HANA host. In a disaster recovery setup with disk-based replication, NetApp recommends creating four additional subdirectories in the SID_shared volume for the /usr/sap/SID file system so that each database host has all its file systems on the central storage.
|
|
|
If SAP Local Secure Store service (LSS) is used, the /lss/shared/SID directory must be accessible at all hosts and is therefore usually exported by using NFS. As NetApp ASA systems do not support NFS as a protocol, NetApp recommends using an additional AFF or FAS system for the /lss/shared file system.
|
Creating LUNs and mapping LUNs to initiator groups
You can use NetApp ONTAP System Manager to create storage volumes and LUNs and the map them to the igroups of the servers and the ONTAP CLI.
Creating LUNs and mapping LUNs to initiator groups using the CLI
This section shows an example configuration using the command line with ONTAP 9 for a 2+1 SAP HANA multiple host system with SID FC5 using LVM and two LUNs per LVM volume group:
-
Create all LUNs.
lun create -path FC5_data_mnt00001_1 -size 1t -ostype linux -class regular lun create -path FC5_data_mnt00001_2 -size 1t -ostype linux -class regular lun create -path FC5_data_mnt00002_1 -size 1t -ostype linux -class regular lun create -path FC5_data_mnt00002_2 -size 1t -ostype linux -class regular lun create -path FC5_log_mnt00001_1 -size 260g -ostype linux -class regular lun create -path FC5_log_mnt00001_2 -size 260g -ostype linux -class regular lun create -path FC5_log_mnt00002_1 -size 260g -ostype linux -class regular lun create -path FC5_log_mnt00002_2 -size 260g -ostype linux -class regular
Disable autonomous ransom protection for these LUNs using the GUI -
Create the initiator group for all servers belonging to system FC5.
lun igroup create -igroup HANA-FC5 -protocol fcp -ostype linux -initiator 10000090fadcc5fa,10000090fadcc5fb,10000090fadcc5c1,10000090fadcc5c2,10000090fadcc5c3,10000090fadcc5c4 -vserver svm1
-
Map all LUNs to created initiator group.
lun map -path FC5_data_mnt00001_1 -igroup HANA-FC5 lun map -path FC5_data_mnt00001_2 -igroup HANA-FC5 lun map -path FC5_data_mnt00002_1 -igroup HANA-FC5 lun map -path FC5_data_mnt00002_2 -igroup HANA-FC5 lun map -path FC5_log_mnt00001_1 -igroup HANA-FC5 lun map -path FC5_log_mnt00001_2 -igroup HANA-FC5 lun map -path FC5_log_mnt00002_1 -igroup HANA-FC5 lun map -path FC5_log_mnt00002_2 -igroup HANA-FC5
Creating LUNs and mapping LUNs to initiator groups using the GUI
This section shows an example configuration using ONTAP System Manager for a 2+1 SAP HANA multiple host system with SID FC5 using LVM and two LUNs per LVM volume group:
-
Log on to the
ONTAP System Managerof your ONTAP Cluster and chooseStoragefrom the left menu.-
Press
Add
-
-
Choose
More options
-
Provide the required information:
-
name of the data LUNs, e.g.
FC5_data_mnt00001 -
the amount of LUNs to be combined with LVM, e.g. 2
-
the size of each LUN, e.g. 1000 GB
-
choose
SCSI (FC or iSCSI) -
choose
LinuxasHost Operating system -
choose
New hostfor theHost mappingoption, provide a nam, e.gFC5_host, pick or add the desired initiators -
Keep
Schedule snapshotsunchecked -
press
Add
-
-
Create the data LUNs for the next worker host by pressing
Add
-
Provide the required information:
-
the name of the additional data LUNs , e.g.
FC5_data_mnt00002 -
the amount of LUNs to be combined with LVM, e.g. 2
-
the size of each LUN, e.g. 1000 GB
-
choose
LinuxasHost Operating system -
choose the previously created mapping
FC5_hostfor theHost mappingoption -
press
Add

-
-
Repeat steps 4 and 5 for every additional worker host
-
After successful creation of the data LUNs create the log LUNs by pressing
Add
-
Provide the required information:
-
the name of the log LUNs to be combined with LVM, e.g.
FC5_log_mnt00001 -
the amount of LUNs to be combined with LVM, e.g. 2
-
the size of each LUN, e.g. 260 GB
-
choose
LinuxasHost Operating system -
choose the previously created mapping
FC5_hostfor theHost mappingoption -
press
Add
-
-
Create the log LUNs for the next worker host by pressing
Add
-
Provide the required information:
-
the name of the additional log LUNs, e.g.
FC5_log_mnt00002 -
the amount of LUNs to be combined with LVM, e.g. 2
-
the size of each LUN, e.g. 260 GB
-
choose
LinuxasHost Operating system -
choose the previously created mapping
FC5_hostfor theHost mappingoption -
press
Add
-
-
Repeat steps 9 and 10 for every additional worker host
All required LUNs for a SAP HANA multiple-hosts system have been created.

Disable Autonomous Ransomware Protection for all data und log LUNS
Open the context menu of each data and log LUN and disable ransomware-protection
