Command line reference for Microsoft iSNS Server

below is a quick command line reference for iSNS.  More details available in our user guide

https://www.microsoft.com/downloads/details.aspx?familyid=0dbc4af5-9410-4080-a545-f90b45650e20&displaylang=en

Usage: ISNSCLI [program function] [parameter0] [parameterN]

Program functions:

ListNodes

LN

Lists all registered Nodes. A Node is an iSCSI initiator or target.

ListNodeDetails [Node]

LND [Node]

Lists details for the specified Node, such as Node attributes and related Portals and Entity, etc.

ListAllNodesWithDetails

LA

Lists each Node along with details of each. Performs a ListNodeDetails on each Node returned by ListNodes.

ListDiscoveryDomains

LDD

Lists all Discovery Domains.

ListDiscoveryDomainNodeMembers [DD_ID]

LDDNM [DD_ID]

Lists all Node members of the DD specified by DD_ID.

ListAllDiscoveryDomainsWithNodeMembers

LADD

Lists each Discovery Domain along with node members of each. Performs a ListDiscoveryDomainNodeMembers on each

 

Discovery Domain returned by ListDiscoveryDomains.

CreateDiscoveryDomain ["DD Symbolic Name"]

CreateDD ["DD Symbolic Name"] 

Creates a new Discovery Domain with the specified DD Symbolic

Name. The server-assigned DD_ID of the newly created DD will be displayed on successful creation.

DeleteDiscoveryDomain [DD_ID]

DeleteDD [DD_ID]

Deletes the Discovery Domain specified by DD_ID.

AddNodeToDiscoveryDomain [DD_ID] [Node]

AddNodeToDD [DD_ID] [Node]  - Adds the specified Node to the DD specified by DD_ID.

RemoveNodeFromDiscoveryDomain [DD_ID] [Node]

RemoveNodeFromDD [DD_ID] [Node]

Removes the specified Node from the DD specified by DD_ID.

ListDiscoveryDomainSets

LDDS

Lists all Discovery Domain Sets.

ListDiscoveryDomainSetMembers [DDS_ID]

LDDSM [DDS_ID]

Lists all DD members of the DDS specified by DDS_ID.

ListAllDiscoveryDomainsSetsWithMembers

LADDS

Lists each Discovery Domain Set along with members of each.

Essentially performs a ListDiscoveryDomainSetMembers on each

Discovery Domain Set returned by ListDiscoveryDomainSets.

CreateDiscoveryDomainSet ["DDS Symbolic Name"]

CreateDDS ["DDS Symbolic Name"]

Creates a new Discovery Domain Set with the specified DDS

Symbolic Name. The server-assigned DDS_ID of the newly

created DDS will be displayed on successful creation.

The status of the DDS is initially Disabled.

DeleteDiscoveryDomainSet [DDS_ID]

DeleteDDS [DDS_ID]

Deletes the Discovery Domain Set specified by DDS_ID.

AddDiscoveryDomainToDiscoveryDomainSet [DDS_ID] [DD_ID]

AddDDToDDS [DDS_ID] [DD_ID]

Adds the specified DD_ID to the DDS specified by DDS_ID.

RemoveDiscoveryDomainFromDiscoveryDomainSet [DDS_ID] [DD_ID]

RemoveDDFromDDS [DDS_ID] [DD_ID]

Removes the specified DD_ID from the DDS specified by DDS_ID.

EnableDiscoveryDomainSet [DDS_ID]

EnableDDS [DDS_ID]

Enables the Discovery Domain Set specified by DDS_ID.

DisableDiscoveryDomainSet [DDS_ID]

DisableDDS [DDS_ID]

Disables the Discovery Domain Set specified by DDS_ID.

RegisterDHCPOption

RDHCP

Configure the iSNS DHCP option on any available Microsoft DHCP server. For this command to succeed, you

must be logged in as a DHCP server administrator.