Multiple hosts
This section describes the configuration of the NetApp storage system specific to SAP HANA multiple-hosts systems
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
-
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 Manager
of your ONTAP Cluster and chooseStorage
from 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
Linux
asHost Operating system
-
choose
New host
for theHost mapping
option, provide a nam, e.gFC5_host
, pick or add the desired initiators -
Keep
Schedule snapshots
unchecked -
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
Linux
asHost Operating system
-
choose the previously created mapping
FC5_host
for theHost mapping
option -
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 LUNsto 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
Linux
asHost Operating system
-
choose the previously created mapping
FC5_host
for theHost mapping
option -
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
Linux
asHost Operating system
-
choose the previously created mapping
FC5_host
for theHost mapping
option -
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.