You can discover iSER target portals by using the internet storage name service (iSNS)
method.
Before you begin
Before you use the iSNS discovery, you must do the following tasks:
About this task
To discover iSER targets by using iSNS, complete the following steps:
Procedure
-
Modify the iSNS server settings in the /etc/iscsi/iscsid.conf file by
entering the IP address and the port number that is used by your iSNS server:
isns.address = <iSNS server IP address>
isns.port = <iSNS server port>
-
Make the iSNS configuration changes effective by restarting the iSER initiator service.
-
Run the iSNS discovery command to generate a list of all iSER target portals that are
registered with the iSNS server:
iscsiadm --mode discovery --type isns