Home > Workload Solutions > SAP > Guides > SAP HANA TDI Guides > Dell Validated Design for SAP HANA TDI with Dell PowerStore Storage > Host connection and setup using FC SAN
After you have created the SAP HANA data and log volumes using the PowerStore Manager UI, format the volumes on the SAP HANA host.
Scan LUNs on the host and create file systems
Perform the following steps:
rescan-scsi-bus.sh
fdisk -l | grep -B1 -A4 PowerStore
The output should look like this:
hana01:~ # fdisk -l | grep -B1 -A3 Power
Disk /dev/sdr: 512 GiB, 549755813888 bytes, 1073741824 sectors
Disk model: PowerStore
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
--
Disk /dev/sdq: 1 TiB, 1099511627776 bytes, 2147483648 sectors
Disk model: PowerStore
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Native Linux multipathing (DM-MPIO) must be enabled on the Linux host. When multipathing is enabled, the host accesses the block LUNs over multiple paths, providing redundancy if there is a component failure.
The /etc/multipath.conf file controls multipathing. PowerStore default multipath values are distributed with both SLES and Red Hat Enterprise Linux and do not need to be configured. This file does not exist by default, however.
multipath -t > /etc/multipath.conf
device {
vendor "DellEMC"
product "PowerStore"
path_selector "queue-length 0"
path_grouping_policy "group_by_prio"
path_checker "tur"
detect_prio "yes"
failback "immediate"
no_path_retry 3
rr_min_io_rq 1
hardware_handler "1 alua"
dev_loss_tmo 10
fast_io_fail_tmo 5
max_sectors_kb 1024
}
Note: For the latest PowerStore MPIO configuration settings, download the “Host Connectivity Guide for Linux” from Documentation on E-Lab Navigator.
systemctl restart multipathd
multipath -ll
The following sample output shows two devices:
368ccf09800dce784009f298f053f1e03 dm-4 DellEMC,PowerStore
size=1.0T features='1 queue_if_no_path' hwhandler='1 alua' wp=rw
|-+- policy='queue-length 0' prio=50 status=active
| |- 18:0:0:3 sdp 8:240 active ready running
| `- 20:0:1:3 sdgh 131:208 active ready running
`-+- policy='queue-length 0' prio=10 status=enabled
|- 18:0:1:3 sdt 65:48 active ready running
`- 20:0:0:3 sdgd 131:144 active ready running
--
368ccf0980058a0131a024b9cfd171c03 dm-2 DellEMC,PowerStore
size=512G features='1 queue_if_no_path' hwhandler='1 alua' wp=rw
|-+- policy='queue-length 0' prio=50 status=active
| |- 18:0:1:1 sds 65:32 active ready running
| `- 20:0:0:1 sdgc 131:128 active ready running
`-+- policy='queue-length 0' prio=10 status=enabled
|- 18:0:0:1 sdo 8:224 active ready running
`- 20:0:1:1 sdgg 131:192 active ready running
When the block devices are under multipath control, you can format them by using XFS and then mount them as required.
mkfs.xfs -K /dev/mapper/368ccf09800dce784009f298f053f1e03
/dev/mapper/368ccf09800dce784009f298f053f1e03 /hana/data xfs rw,relatime,noquota 0 0
/dev/mapper/368ccf0980058a0131a024b9cfd171c03 /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.
Adjust queue depth for HBAs and LUNs (optional)
The default queue depth settings for HBAs and LUNs work well with SAP HANA devices in most situations. For recommendations for achieving optimal performance and maximum scalability, see the latest version of the Dell PowerStore Host Configuration Guide.
To display the current queue depth values, run the commands for your HBA type:
Determine the host number, which is host20 in this example, by running the
multipath -ll command, as shown in step 7 of Scan LUNs on the host and create file systems. Linux assigns a specific number to every connected HBA port.
To change the LUN queue depth to a new value:
cd /boot
sync
dracut -f