Release 6.0
439
Appendix M Script for Reporting Information Registered
with iSNS Server
If large volume of information on initiators and targets is registered with iSNS Server, information
displayed by the
isnscli ListAllNodesWithDetails
command becomes large and makes
identifying initiator names difficult. You can use a vbs script to quickly perform identification and to
report only information required to identify initiator names.
Script name: isns.vbs
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\WMI")
Set colItems = objWMIService.ExecQuery( "SELECT * FROM
MSiSNSServerProvider_NodeClass",,48)
For Each objItem in colItems
If objItem.iSCSINodeType = 2 Then
Wscript.Echo "iSCSIName=" + objItem.iSCSIName
If objItem.iSCSINodeAlias <> "" Then
Wscript.Echo "iSCSINodeAlias=" + objItem.iSCSINodeAlias
Else
Wscript.Echo "iSCSINodeAlias="
End If
End If
Next
Following is the sample output displayed when isns.vbs script is run.
C:\>cscript //Nologo isns.vbs
iSCSIName=iqn.1991-05.com.microsoft:server1
iSCSINodeAlias=<MS SW iSCSI Initiator>
iSCSIName=iqn.1994-05.com.redhat:41139fb1987e
iSCSINodeAlias=server2
Initiator name of
the server2.
Summary of Contents for M100
Page 25: ...Release 6 0 25 User Guide About Warning Labels Power Supply AC Power Supply ...
Page 27: ...Release 6 0 27 User Guide About Warning Labels Battery ...
Page 29: ...Release 6 0 29 User Guide About Warning Labels Power Cable AC Power Supply ...
Page 40: ...Release 6 0 40 User Guide Chapter 1 Overview 1 2 1 4 Controller CONT ...
Page 48: ...Release 6 0 48 User Guide Chapter 1 Overview 1 2 3 3 Controller CONT ...
Page 260: ...Release 6 0 260 User Guide Chapter 8 Installing Optional Parts Figure 8 12 Removing the DIMMs ...
Page 459: ...NEC Corporation 7 1 Shiba 5 chome Minato ku Tokyo 108 8001 Japan URL http www necstorage com ...