System Administration Guide: Devices and File Systems

Managing the iSNS Server and Clients

This section describes how to maintain the iSNS discovery domain sets and their members, the initiators and targets. As the site grows, continue to add clients, discovery domains, and discovery domain sets as described in the following sections:

This section provides the other procedures for managing the iSNS server, using the command line interface. The following topics are discussed:

ProcedureHow to Display the Status of a Discovery Domain Set

  1. Show the status of the discovery domain set and list the discovery domains that are its members:


    #isnsadm list-dd-set -v set_name
    

ProcedureHow to Display the Status of a Discovery Domain

  1. Show the status of the discovery domain and lists the clients that are its members:


    #isnsadm list-dd -v domain_name
    

ProcedureHow to Display the Status of Clients

  1. Select one of the following to display client status:

    • Show the status of all clients:


      #isnsadm list-node -v 
      
    • Show the status of only the clients that are targets, that is, storage objects:


      #isnsadm list-node -t
      

ProcedureHow to Remove a Client from a Discovery Domain

  1. Use the “iSNS Server Management” RBAC profile to obtain the authorizations needed for managing the iSNS service.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. List the clients to identify the one you want to remove.


    #isnsadm list-node -v
           iSCSI Name: iqn.1986-03.com.sun:01:000e0c9f10da.45173FEA.engr
    	      Alias: STK5320_NAS
    	      Type: Target
    	      Network Entity: SE5310
    	      Portal: 172.20.57.95:3260
    		      Portal Group: 1
    	      Portal: 172.20.56.95:3260
    		      Portal Group: 1
    	      DD Name: Research,Finance

    The output shows the client's iSCSI name and the name of the discovery domains of which it is a member.

  3. Remove the client from the discovery domain.


    #isnsadm remove-node -d domain_name iSCSI_name
    

ProcedureHow to Remove a Discovery Domain from a Discovery Domain Set

  1. Use the “iSNS Server Management” RBAC profile to obtain the authorizations needed for managing the iSNS service.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. List the discovery domains to identify the one you want to remove.


    #isnsadm list-dd -v
    
  3. Remove the discovery domain from the discovery domain set.


    #isnsadm remove-dd set_name domain_name
    

ProcedureHow to Disable a Discovery Domain Set

  1. Use the “iSNS Server Management” RBAC profile to obtain the authorizations needed for managing the iSNS service.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. Deactivate a discovery domain set:


    #isnsadm disable-dd-set set_name
    
  3. Verify that the state of the discovery domain set has changed to Disabled:


    #isnsadm list-dd-set set_name
    

ProcedureHow to Remove a Discovery Domain Set

After you remove a discovery domain set, its discovery domains remain. A discovery domain must be a member of at least one discovery domain set.

  1. Use the “iSNS Server Management” RBAC profile to obtain the authorizations needed for managing the iSNS service.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. List the discovery domain sets to identify the one you want to remove.


    #isnsadm list-dd-set -v
    
  3. Remove the discovery domain set.


    #isnsadm remove-dd-set set_name