Skip to main content
NetApp solutions for SAP

Contributors netapp-mschoen

Single host

This section describes the configuration of the NetApp storage system specific to SAP HANA single-host 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 SAP HANA single 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_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_shared -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 -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_log_mnt00001_1 -igroup HANA-FC5
    lun map -path FC5_log_mnt00001_2 -igroup HANA-FC5
    lun map -path FC5_shared -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 SAP HANA single 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. the 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. After successful creation of the data LUNs create the log LUNs by pressing Add

    ONTAP System Manager - Create log LUNs

  5. Provide the required information:

    1. teh name of the log LUNs, 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

  6. After successful creation of the log LUNs create the shared LUN by pressing Add

    ONTAP System Manager - Create shared LUN

  7. Provide the required information:

    1. the name of the shared LUN, e.g.FC5_shared

    2. the amount of LUNs, e.g. 1

    3. the size of the LUN, e.g. 520 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 shared LUNs

All required LUNs for a SAP HANA single-host system have been created.

ONTAP System Manager - LUN Overview