1. On the Linux host, collect the IQN:
# cat /etc/iscsi/initiatorname.iscsi
2. On FlashArray, create a host:
purehost create <Linux hostname>
where
<Linux hostname> is the desired hostname.
3. Configure FlashArray host with IQN:
purehost setattr --addiqnlist <IQN number> <Linux hostname>
where
<IQN number> is the initiator IQN number gathered in step 1.
<Linux hostname> is the hostname created in step 2.
4. On the FlashArray, create a volume:
purevol create <volume name> --size <size>
where
<volume name> is the desired volume name.
<size> is the desired volume size (GB or TB suffix).
5. Connect the host to volume:
purevol connect <volume name> --host <host name>
where
<volume name> is the name of the volume.
<host name> is the name of the host.
6. On the FlashArray, collect iSCSI interface IPs:
pureport list
7. On Linux Host, discover the target iSCSI portals:
# iscsiadm -m discovery -t st -p <FlashArray iSCSI IP>:3260
where
<FlashArray iSCSI IP> is the iSCSI interface IP address from either collected in step 6.
8. From your Linux Host, log in to the FlashArray iSCSI target portals on both controllers:
# iscsiadm -m node -p <FlashArray iSCSI IP CT0> --login
# iscsiadm -m node -p <FlashArray iSCSI IP CT1> --login
where
<FlashArray iSCSI IP CT0> is the iSCSI interface IP address of controller 0 collected from step 6
<FlashArray iSCSI IP CT1> is the iSCSI interface IP address of controller 1 collected from step 6
9. Add automatic iSCSI login on boot:
# iscsiadm -m node -L automatic
10. Confirm the FlashArray volume has multiple paths with multipath -ll. A multipathed volume should be represented by a device-mapped ID, as shown in in the example below [3624a93702b60622e2b014a2200011011] and [3624a93702b60622e2b014a2200011010]:
# multipath -ll
3624a93702b60622e2b014a2200011011 dm-1 PURE ,FlashArray
size=2.0T features='0' hwhandler='1 alua' wp=rw
|-+- policy='queue-length 0' prio=50 status=active
| |- 2:0:0:2 sdb 8:16 active ready running
| |- 3:0:0:2 sdf 8:80 active ready running
| |- 4:0:0:2 sdl 8:176 active ready running
| `- 5:0:0:2 sdk 8:160 active ready running
`-+- policy='queue-length 0' prio=10 status=enabled
|- 6:0:0:2 sdd 8:48 active ready running
|- 7:0:0:2 sdh 8:112 active ready running
|- 8:0:0:2 sdp 8:240 active ready running
`- 9:0:0:2 sdo 8:224 active ready running
3624a93702b60622e2b014a2200011010 dm-0 PURE ,FlashArray
size=2.0T features='0' hwhandler='1 alua' wp=rw
|-+- policy='queue-length 0' prio=50 status=active
| |- 2:0:0:1 sda 8:0 active ready running
| |- 3:0:0:1 sde 8:64 active ready running
| |- 4:0:0:1 sdj 8:144 active ready running
| `- 5:0:0:1 sdi 8:128 active ready running
`-+- policy='queue-length 0' prio=10 status=enabled
|- 6:0:0:1 sdc 8:32 active ready running
|- 7:0:0:1 sdg 8:96 active ready running
|- 8:0:0:1 sdn 8:208 active ready running
`- 9:0:0:1 sdm 8:192 active ready running