Network and Storage Protocols

How to validate if hosts have all the required ISCSI sessions (cli or powershell)

DRNielsen

Anyone that knows how to validate if a host has created all the required ISCSI sessions?

Validation from storage and not from host

 

iscsi connection show -vserver svm_name

 

Only shows the active session and not all possible sessions.

1 REPLY 1

Ontapforrum

Following two commands are good enough to find out how many remote Hosts are connected to your storage via 'igroup'.

 

::> igroup show -fields initiator
::> vserver iscsi initiator show

 

This command gives real-time status of connection activity:
vserver iscsi connection show


vserver iscsi session show : Displays all session information for the specified Vserver(s). An iSCSI session can have one or multiple connections. Typically a session has at least one connection.


Powershell:
PS C:\WINDOWS\system32> Get-NcIscsiInitiator
PS C:\WINDOWS\system32> Get-NcIscsiSession
PS C:\WINDOWS\system32> Get-NcIscsiConnection

Public