System Administration Guide: Devices and File Systems

ProcedureHow to Assign Clients to a Discovery Domain

Before You Begin

Use the client's management interface to register the client. Using the iSCSI configuration function, specify the IP address of the iSNS server and allow discovery of the client by the iSNS server.

  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. Verify that the client has been registered with the iSNS server:


    #isnsadm list-node 
           iSCSI Name: iqn.1986-03.com.sun:01:000e0c9f10da.45173FEA.engr
    	      Alias: STK5320_NAS
    	      Type: Target
    	      .
           iSCSI Name: iqn.1986-03.com.sun:01:000e0c9f10da.454F00A2.acct
    	      Alias:
    	      Type: Initiator
    	     

    The output shows the clients' iSCSI names.

  3. Verify the name of the discovery domain:


    #isnsadm list-dd
    
  4. Add the client to the discovery domain:


    #isnsadm add-node  -d domain_name iSCSI_Name
    

    For example, to add the target called “STK5320_NAS” to the Eng-dd discovery domain:


    #isnsadm add-node -d Eng-dd  iqn.1986-03.com.sun:01:000e0c9f10da.454F00A2.engr
    
  5. List all the clients in the discovery domain to verify the client has been added:


    #isnsadm list-dd -v domain_name 
        
    

    For example, to check the Eng-dd discovery domain:


    #isnsadm list-dd -v Eng-dd
         	 DD name:	Eng-dd
              DD set: Development-dds
             iSCSI Name:	iqn.1986-03.com.sun:01:000e0c9f10da.45173FEA.engr
    	        iSCSI Name:	iqn.1986-03.com.sun:01:000e0c9f10da.454F00A2.acct
    	        iSCSI name: iqn.1986-03.com.sun:01:e00000000000.46fd8e2b