ISNS Control Node Client

From Linux-iSCSI
Jump to: navigation, search

The LIO iSNS Control Client is directly based on the Linux/iSNS Project. The additional iSNS control client functionality and scripts have been included. Using the iSNS control client functionality against the Linux_iSNS_Server_Howto is stable, and is currently in use on http://linux-iscsi.org.

There is also interest in the long term to provide iSNS using software RFC-4171 heartbeat (this was actually implemented by the original author, and is still present today.

Also option for long term is using LIO T/I mounts using Linux/HA H+A with iSNS server as an cluster resource.

There i386 & x86_64 CentOS 5 client and server builds available from LIO-Cluster Link

iSNS client scripts

  • ) /sbin/isns_initiators ip_addr (Both)
       Obtain a list of iSCSI Initiator Nodes+Alias
  • ) /sbin/isns_iscsi_index ip_addr (Both)
       Obtain a verbose list of iSCSI Nodes+Alias+Portals+EIDs
  • ) /sbin/isns_network_portals ip_addr (Both)
       Obtain a verbose list of iSCSI Target Nodes+Alias+Portals
  • ) /sbin/isns_initiator_node_status ip_addr (Both)
       Determine if the local iSCSI Initiator Node is has a valid EID.
  • ) /sbin/isns_target_node_status ip_addr (Both)
       Determine if the local iSCSI Target Node is has a valid EID.
  • ) /sbin/isns_nodes ip_addr (Both)
       Obtain a verbose list of iSCSI Initiator and Target Nodes+Alias+Portals
  • ) /sbin/isns_reregister ip_addr (Both)
       Deregister and Register iSCSI Initiator and Target nodes from an iSNS
       Server
  • ) /sbin/isns_register ip_addr (Both)
       Register an iSCSI Initiator and Target nodes from an ISNS Server
  • ) /sbin/isns_deregister ip_addr (Both)
       Deregister an iSCSI Initiator and Target nodes from an ISNS Server
  • ) /sbin/isns_update_portals ip_addr (Target only)
       Update Network Portal Information based on iSCSI Target Stack settings

iSNS control node client scripts

NOTES: 1. The following scripts are meant to be used by the iSNS GUI for managing control nodes. 2. String arguments which contain spaces must be enclosed in double quotes

  • ) /isns/isns_is_control_node <ip_addr>
       Check whether the associated iSCSI node is a control node
  • ) /isns/isns_is_node_registered <ip_addr>
       Check whether the associated iSCSI node is registered with the Server
  • ) /isns/isns_list_nodes_all <ip_addr>
       List all iSCSI nodes in the database
  • ) /isns/isns_list_node_detail <ip_addr> <node_name>
       List details of the iSCSI node
  • ) /isns/isns_list_dd_members <ip_addr> <dd_id>
       List all iSCSI nodes of a discovery domain
  • ) /isns/isns_list_dd_all <ip_addr>
       List all discovery domains
  • ) /isns/isns_create_dd <ip_addr> <DD_symbolic_name>
       Create a discovery domain
  • ) /isns/isns_delete_dd <ip_addr> <dd_id>
       Delete a discovery domain
  • ) /isns/isns_add_node_to_dd <ip_addr> <dd_id> <node_name>
       Add an iSCSI node to a discovery domain
  • ) /isns/isns_remove_node_from_dd <ip_addr> <dd_id> <node_name>
       Remove an iSCSI node from a discovery domain
  • ) /isns/isns_list_dds_members <ip_addr> <dds_id>
       List details of the discovery domain set
  • ) /isns/isns_list_dds_all <ip_addr>
       List all discovery domain sets
  • ) /isns/isns_create_dds <ip_addr> <DDS_symbolic_name>
       Create a discovery domain set
  • ) /isns/isns_delete_dds <ip_addr> <dds_id>
       Delete a discovery domain set
  • ) /isns/isns_enable_dds <ip_addr> <dds_id>
       Enable a discovery domain set
  • ) /isns/isns_disable_dds <ip_addr> <dds_id>
       Disable a discovery domain set
  • ) /isns/isns_add_dd_to_dds <ip_addr> <dds_id> <dd_id>
       Add a discovery domain to a discovery domain set
  • ) /isns/isns_remove_dd_from_dds <ip_addr> <dds_id> <dd_id>
       Remove discovery domain from a discovery domain set
Personal tools