Skip to main content
NetApp solutions for SAP

Contributors netapp-mschoen

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:

  1. 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
  2. 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
  3. 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:

  1. Log on to the ONTAP System Manager of your ONTAP Cluster and choose Storage from the left menu.

    1. Press Add

      ONTAP System Manager - Storage

  2. Choose More options

    ONTAP System Manager - Add Storage

  3. Provide the required information:

    1. name of the data LUNs, e.g.FC5_data_mnt00001

    2. the amount of LUNs to be combined with LVM, e.g. 2

    3. the size of each LUN, e.g. 1000 GB

    4. choose SCSI (FC or iSCSI)

    5. choose Linux as Host Operating system

    6. choose New host for the Host mapping option, provide a nam, e.g FC5_host, pick or add the desired initiators

    7. Keep Schedule snapshots unchecked

    8. press Add

      ONTAP System Manager - Create Data LUNs

  4. Create the data LUNs for the next worker host by pressing Add

    ONTAP System Manager - Create additional Data LUNs

  5. Provide the required information:

    1. the name of the additional data LUNs , e.g. FC5_data_mnt00002

    2. the amount of LUNs to be combined with LVM, e.g. 2

    3. the size of each LUN, e.g. 1000 GB

    4. choose Linux as Host Operating system

    5. choose the previously created mapping FC5_host for the Host mapping option

    6. press Add

    ONTAP System Manager - Create data LUNs

  6. Repeat steps 4 and 5 for every additional worker host

  7. After successful creation of the data LUNs create the log LUNs by pressing Add

    ONTAP System Manager - Create log LUNs

  8. Provide the required information:

    1. the name of the log LUNsto be combined with LVM, e.g. FC5_log_mnt00001

    2. the amount of LUNs to be combined with LVM, e.g. 2

    3. the size of each LUN, e.g. 260 GB

    4. choose Linux as Host Operating system

    5. choose the previously created mapping FC5_host for the Host mapping option

    6. press Add

      ONTAP System Manager - Create log LUNs

  9. Create the log LUNs for the next worker host by pressing Add

    ONTAP System Manager - Create additional log LUNs

  10. Provide the required information:

    1. the name of the additional log LUNs, e.g. FC5_log_mnt00002

    2. the amount of LUNs to be combined with LVM, e.g. 2

    3. the size of each LUN, e.g. 260 GB

    4. choose Linux as Host Operating system

    5. choose the previously created mapping FC5_host for the Host mapping option

    6. press Add

      ONTAP System Manager - Create additional log LUNs

  11. Repeat steps 9 and 10 for every additional worker host

All required LUNs for a SAP HANA multiple-hosts system have been created.

ONTAP System Manager - LUN Overview