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

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public