Dell PowerStore 5200T EMC PowerStore Host Configuration Guide - Page 63

iSCSI Session Configuration

Page 63 highlights

The example below demonstrates a single target port. Repeat for all target ports. # nc -z -v 1.1.1.1 3260 Connection to 1.1.1.1 3260 port [tcp/*] succeeded! iSCSI Session Configuration To fully use iSCSI with PowerStore, it is recommended to use iSCSI interfaces (IFACE) mainly when using a single subnet. For up-to-date information, see the relevant operating system documentation about using iscsiadm to properly configure iSCSI. The following provides an example for configuring iSCSI interfaces for a multi-subnet environment. Prerequisites: ● Properly configured networking on the host and PowerStore appliance. ● In the example, IP addresses 1.1.1.1-2/24 and 1.1.2.1-2/24 are configured on the PowerStore appliance. ● The host is configured with two VLANs (11 and 12) with IP addresses 1.1.1.10 and 1.1.2.10. The example demonstrates a host with two network cards, one configured with VLAN 11, and one with VLAN 12. ● Create two iSCSI interfaces on the host (one for each VLAN): # iscsiadm --m iface -I vlan11 --o new # iscsiadm --m iface -I vlan12 --o new ● Configure each IFACE to reflect the correct network interface: # iscsiadm --mode iface -I vlan11 -o update -n iface.net_ifacename -v vlan11 updated # iscsiadm --mode iface -I vlan12 -o update -n iface.net_ifacename -v vlan12 updated NOTE: If you are using the physical interface (and not the VLAN interfaces), specify the interface that contains the IP address (the device eth1, p2p1, and so on). NOTE: Some operating system releases may require to configure additional parameters (in addition to iface.net_ifacename) to properly identify the interface. ● Perform a discovery and login from the first subnet (if multiple subnets exist): # iscsiadm -m discovery -t st -p 1.1.1.1 -I vlan11 -l 1.1.1.1:3260,1 iqn.2015-10.com.dell:dellemc-powerstore-fnm00191800733-a-2ab6c956 1.1.2.1:3260,1 iqn.2015-10.com.dell:dellemc-powerstore-fnm00191800733-a-2ab6c956 1.1.1.2:3260,1 iqn.2015-10.com.dell:dellemc-powerstore-fnm00191800733-b-2e098984 1.1.2.2:3260,1 iqn.2015-10.com.dell:dellemc-powerstore-fnm00191800733-b-2e098984 Logging in to [iface: vlan11, target: iqn.2015-10.com.dell:dellemc-powerstorefnm00191800733-a-2ab6c956, portal: 1.1.1.1,3260] Logging in to [iface: vlan11, target: iqn.2015-10.com.dell:dellemc-powerstorefnm00191800733-a-2ab6c956, portal: 1.1.2.1,3260] Logging in to [iface: vlan11, target: iqn.2015-10.com.dell:dellemc-powerstorefnm00191800733-b-2e098984, portal: 1.1.1.2,3260] Logging in to [iface: vlan11, target: iqn.2015-10.com.dell:dellemc-powerstorefnm00191800733-b-2e098984, portal: 1.1.2.2,3260] iscsiadm: Could not login to [iface: vlan11, target: iqn.2015-10.com.dell:dellemcpowerstore-fnm00191800733-a-2ab6c956, portal: 1.1.2.1,3260]. iscsiadm: initiator reported error (8 - connection timed out) Login to [iface: vlan11, target: iqn.2015-10.com.dell:dellemc-powerstorefnm00191800733-a-2ab6c956, portal: 1.1.1.1,3260] successful. iscsiadm: Could not login to [iface: vlan11, target: iqn.2015-10.com.dell:dellemcpowerstore-fnm00191800733-b-2e098984, portal: 1.1.2.2,3260]. iscsiadm: initiator reported error (8 - connection timed out) Login to [iface: vlan11, target: iqn.2015-10.com.dell:dellemc-powerstorefnm00191800733-b-2e098984, portal: 1.1.1.2,3260] successful. NOTE: The command logs in only to the target ports on the same VLAN as the iSCSI interface. Host Configuration for Linux 63

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93

The example below demonstrates a single target port. Repeat for all target ports.
# nc -z -v 1.1.1.1 3260
Connection to 1.1.1.1 3260 port [tcp/*] succeeded!
iSCSI Session Configuration
To fully use iSCSI with PowerStore, it is recommended to use iSCSI interfaces (IFACE) mainly when using a single subnet.
For up-to-date information, see the relevant operating system documentation about using iscsiadm to properly configure iSCSI.
The following provides an example for configuring iSCSI interfaces for a multi-subnet environment.
Prerequisites:
Properly configured networking on the host and PowerStore appliance.
In the example, IP addresses 1.1.1.1-2/24 and 1.1.2.1-2/24 are configured on the PowerStore appliance.
The host is configured with two VLANs (11 and 12) with IP addresses 1.1.1.10 and 1.1.2.10.
The example demonstrates a host with two network cards, one configured with VLAN 11, and one with VLAN 12.
Create two iSCSI interfaces on the host (one for each VLAN):
# iscsiadm --m iface -I vlan11 --o new
# iscsiadm --m iface -I vlan12 --o new
Configure each IFACE to reflect the correct network interface:
# iscsiadm --mode iface -I vlan11 -o update -n iface.net_ifacename -v vlan11 updated
# iscsiadm --mode iface -I vlan12 -o update -n iface.net_ifacename -v vlan12 updated
NOTE:
If you are using the physical interface (and not the VLAN interfaces), specify the interface that contains the IP
address (the device eth1, p2p1, and so on).
NOTE:
Some operating system releases may require to configure additional parameters (in addition to
iface.net_ifacename)
to properly identify the interface.
Perform a discovery and login from the first subnet (if multiple subnets exist):
# iscsiadm -m discovery -t st -p 1.1.1.1 -I vlan11 -l
1.1.1.1:3260,1 iqn.2015-10.com.dell:dellemc-powerstore-fnm00191800733-a-2ab6c956
1.1.2.1:3260,1 iqn.2015-10.com.dell:dellemc-powerstore-fnm00191800733-a-2ab6c956
1.1.1.2:3260,1 iqn.2015-10.com.dell:dellemc-powerstore-fnm00191800733-b-2e098984
1.1.2.2:3260,1 iqn.2015-10.com.dell:dellemc-powerstore-fnm00191800733-b-2e098984
Logging in to [iface: vlan11, target: iqn.2015-10.com.dell:dellemc-powerstore-
fnm00191800733-a-2ab6c956, portal: 1.1.1.1,3260]
Logging in to [iface: vlan11, target: iqn.2015-10.com.dell:dellemc-powerstore-
fnm00191800733-a-2ab6c956, portal: 1.1.2.1,3260]
Logging in to [iface: vlan11, target: iqn.2015-10.com.dell:dellemc-powerstore-
fnm00191800733-b-2e098984, portal: 1.1.1.2,3260]
Logging in to [iface: vlan11, target: iqn.2015-10.com.dell:dellemc-powerstore-
fnm00191800733-b-2e098984, portal: 1.1.2.2,3260]
iscsiadm: Could not login to [iface: vlan11, target: iqn.2015-10.com.dell:dellemc-
powerstore-fnm00191800733-a-2ab6c956, portal: 1.1.2.1,3260].
iscsiadm: initiator reported error (8 - connection timed out)
Login to [iface: vlan11, target: iqn.2015-10.com.dell:dellemc-powerstore-
fnm00191800733-a-2ab6c956, portal: 1.1.1.1,3260] successful.
iscsiadm: Could not login to [iface: vlan11, target: iqn.2015-10.com.dell:dellemc-
powerstore-fnm00191800733-b-2e098984, portal: 1.1.2.2,3260].
iscsiadm: initiator reported error (8 - connection timed out)
Login to [iface: vlan11, target: iqn.2015-10.com.dell:dellemc-powerstore-
fnm00191800733-b-2e098984, portal: 1.1.1.2,3260] successful.
NOTE:
The command logs in only to the target ports on the same VLAN as the iSCSI interface.
Host Configuration for Linux
63