Appendix B iSCSI Configuration Example Using Solaris 109
e. Verify that discovered targets are listed on the data host.
#iscsiadm list discovery-address
Discovery Address: 192.168.1.1:3260
...
f. List the IQNs of the targets using the iscsiadm command and the IP
addresses you noted on the Port Summary page.
>iscsiadm list discovery-address -v 192.168.1.1
Discovery Address: 192.168.1.1:3260
Target name:
iqn.1986-03.com.sun:2510.600a0b80003487e400000000474c6e0b
Target address: 192.168.1.1:3260, 1
Target name:
iqn.1986-03.com.sun:2510.600a0b80003487e400000000474c6e0b
Target address: 192.168.1.2:3260, 1
Target name:
iqn.1986-03.com.sun:2510.600a0b80003487e400000000474c6e0b
Target address: 192.168.2.1:3260, 2
Target name:
iqn.1986-03.com.sun:2510.600a0b80003487e400000000474c6e0b
Target address: 192.168.2.2:3260, 2
g. Add the IQNs of the targets discovered in the last steps to the discovery
table.
#iscsiadm add static-config iqn.1986-
03.com.sun:2510.600a0b80003487e400000000474c6e0b,192.168.1.1
This adds a target to the list of statically configured targets. Repeat for each target
port.
h. List the statically configured targets and verify that the new targets have been
added.
# iscsiadm list static-config
Static Configuration Target:
iqn.1986-03.com.sun:2510.600a0b80003487e400000000474c6e0b,
192.168.1.1:3260
...