Home > Storage > PowerMax and VMAX > Storage Admin > iSCSI Implementation Guide for Dell EMC Storage Arrays Running PowerMaxOS > Optional: Discover and attempt to connect to the PowerMax IP interfaces
The final step in configuring the Windows host for iSCSI is to discover and attempt to connect to the PowerMax using the new-iscsitargetportal PowerShell command specifying the IP addresses of the PowerMax IP interfaces. The first time this command is run, it might fail as a successful connection to the storage array iSCSI target portals requires either:
Even though the new-iscsitargetportal command most likely will result in an error the first time it is run from the host, its execution will enter the IQN in the login history table on the PowerMax. By performing a "symaccess list logins -v" command, a storage administrator will be able to harvest the host IQN from the login history for the iSCSI target. The storage administrator will then be able to use the host IQN in an initiator group for the initial masking being presented to the host. Once the masking view for the host has been created, the host will be able to rerun the new-iscsitargetportal command and connect to the PowerMax IP Interface.
PS C:\> New-IscsiTargetPortal -TargetPortalAddress 192.168.82.30
New-IscsiTargetPortal : Authorization Failure. <---- Improper CHAP credential or no masking view created
...
PS C:\> New-IscsiTargetPortal -TargetPortalAddress 192.168.83.30
New-IscsiTargetPortal : Authorization Failure. <---- Improper CHAP credential or no masking view created
Even though the command failed, the IQN from the host has registered in the PowerMax login history tables as shown below:
PS C:\> symaccess -sid 0536 list logins -v
Symmetrix ID : 000197900536
...
Director Identification : SE-1F
Director Port : 000
iSCSI Target Name : iqn.dellemc.0536.1F.prod1
...
Originator Node wwn : N/A
Originator Port wwn : N/A
iSCSI Name : iqn.1991-05.com.microsoft:ENTTME0108 <----
ip Address : 192.168.83.108
Type : iSCSI
User-generated Name : /
FCID : N/A
Logged In : No <----
On Fabric : Yes
Last Active Log-In : 11:26:42 AM on Wed Jun 24,2015
Director Identification : SE-2F
Director Port : 000
iSCSI Target Name : iqn.dellemc.0536.2F.prod1
...
Originator Node wwn : N/A
Originator Port wwn : N/A
iSCSI Name : iqn.1991-05.com.microsoft:ENTTME0108 <---
ip Address : 192.168.83.108
Type : iSCSI
User-generated Name : /
FCID : N/A
Logged In : No <----
On Fabric : Yes
Last Active Log-In : 11:26:42 AM on Wed Jun 24,2015
At this point, the host initiator will have logged its IQN into the login history table of the PowerMax. The storage administrator can then begin creating a masking view as described in Create an iSCSI masking view for the Prod1 host.