Home > Workload Solutions > SAP > Guides > SAP HANA TDI Guides > Dell Validated Design for SAP HANA TDI with Dell PowerVault ME5 Storage > Host connection and setup using FC SAN
When you connect an SAP HANA host to a PowerVault ME5 storage system using the FC protocol, you must connect two HBA ports supporting 16 Gb/s or 32 Gb/s link speed to the PowerVault ME5 system. Although it is possible to use a single dual-port HBA, Dell Technologies highly recommends using two HBAs for HA and redundancy.
Note: For a description of how to cable hosts to an ME5 array in a dual-controller module configuration (switch-attached) and to identify FC HBAs on a Linux server, see the Dell PowerVault ME5 Series Storage System Deployment Guide.
Connect and zone each port over the FC SAN network to two FC FE ports per storage controller on the PowerVault storage system. This configuration produces two active paths and two standby paths per LUN, as shown in the following figure:
Figure 6. Recommended redundant FC connection
After the SAP HANA server HBAs have been zoned to the PowerVault ME5 FC FE ports, use the PowerVault Manager UI to create a host entry in the PowerVault ME5 storage and add volumes to the host.
The Create Host dialog is displayed, as shown in the following figure:
Figure 7. Adding the SAP HANA host to a PowerVault ME5 array
Figure 8. Creating a host
Figure 9. Summary of new hosts or host groups
A dialog confirms that the hosts were successfully configured.
After the host is created, you can create and add (map) the volumes. Each host requires a data and a log volume for the SAP HANA persistence.
It is recommended to distribute SAP HANA log and data volumes to two PowerVault ME5 storage controllers. The following procedures use ME5 virtual storage pools as the storage configuration.
A pool is an aggregation of one or more disk groups. When provisioning virtual storage, it is recommended that disks and provisioning are balanced between Pool A and Pool B because each pool is owned by one storage controller. For more information, see the Dell PowerVault ME5 Series Administrator's Guide.
To create and map the volumes:
The Create Volumes page opens, as shown in the following figure:
Figure 10. Creating a volume
Figure 11. Creating multiple volumes
Figure 12. Creating volumes
The PowerVault ME5 system can group hosts together into a host group. This grouping is useful for operations that affect multiple volumes simultaneously, for example, when the same volumes are added (mapped) to multiple hosts.
Figure 13. Mapping volumes to hosts and host groups
After the SAP HANA data and log volumes have been created using the PowerVault Manager UI, format them on the SAP HANA host.
Follow these steps:
rescan-scsi-bus.sh
fdisk -l | grep -B1 -A4 ME5
The output should look like the following example:
tdi-hana-storagetest17:~ # fdisk -l | grep -B1 -A4 ME5
Disk /dev/sdb: 93.13 GiB, 99996401664 bytes, 195305472 sectors
Disk model: ME5
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes
--
Disk /dev/sdc: 93.13 GiB, 99996401664 bytes, 195305472 sectors
Disk model: ME5
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes
--
Disk /dev/sdd: 93.13 GiB, 99996401664 bytes, 195305472 sectors
Disk model: ME5
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes
--
Disk /dev/sde: 93.13 GiB, 99996401664 bytes, 195305472 sectors
Disk model: ME5
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes
The /etc/multipath.conf file controls multipathing. Because PowerVault ME5 default multipath values may not be distributed with both SLES and Red Hat Enterprise Linux, you must add these values to the multipath.conf file. This file does not exist by default, however. If you want to edit the multipath.conf settings, create the file by running the following command:
multipath -t > /etc/multipath.conf
For more information about multipath configuration, see the “Enabling MPIO on Linux” section in the ME5 Administrator Guide.
devices
device {
vendor "DellEMC "
product "ME5"
path_checker "tur"
hardware_handler "1 alua"
prio "alua"
failback immediate
rr_weight "uniform"
path_selector "service-time 0"
}
systemctl restart multipathd
multipath -ll
The following output shows the details of a device:
3600c0ff0006463564bbe916301000000 dm-37 DellEMC,ME5
size=715G features='0' hwhandler='1 alua' wp=rw
|-+- policy='service-time 0' prio=50 status=active
| |- 1:0:8:1 sddy 128:0 active ready running
| `- 20:0:8:1 sdiy 8:288 active ready running
`-+- policy='service-time 0' prio=10 status=enabled
|- 1:0:10:1 sdeg 128:128 active ready running
`- 20:0:9:1 sdjg 8:416 active ready running
3600c0ff0006463564ebe916301000000 dm-40 DellEMC,ME5
size=477G features='0' hwhandler='1 alua' wp=rw
|-+- policy='service-time 0' prio=50 status=active
| |- 1:0:8:5 sdec 128:64 active ready running
| `- 20:0:8:5 sdjc 8:352 active ready running
`-+- policy='service-time 0' prio=10 status=enabled
|- 1:0:10:5 sdek 128:192 active ready running
`- 20:0:9:5 sdjk 8:480 active ready running
When the block devices are under multipath control, you can format the devices by using XFS and then mounting them as required.
mkfs.xfs /dev/mapper/3600c0ff0006463564bbe916301000000
/dev/mapper/3600c0ff0006463564bbe916301000000 /hana/data xfs rw,relatime,noquota 0 0
/dev/mapper/3600c0ff0006463564ebe916301000000 /hana/log xfs rw,relatime,noquota 0 0
When you install an SAP HANA multimode scale-out cluster, the SAP HANA storage connector (fcClient) mounts the devices during SAP HANA startup.
On the SAP HANA hosts, create the mount points by running the following commands, where x = 1, 2, 3, and so on, up to the number of hosts in the scale-out system:
mkdir -p /hana/data/SID/mnt0000x
mkdir -p /hana/log/SID/mnt0000x
chmod -R 775 /hana/data/SID/
chmod -R 775 /hana/log/SID/
Note: For SAP HANA scale-out systems, all the mount points must be created on each host.
Add the entries to /etc/fstab:
#NFS file share for HANA shared in PowerVault ME5 config
10.230.31.219:/ifs/data/rse/sap/hanashared /hana/shared nfs rw,vers=3,hard,timeo=600,rsize=1048576,wsize=1048576,intr,noatime,nolock 0 0
Run the operating system command mount –a command on each SAP HANA client to mount all the directories.