Method used to configure the iSCSI initiator in Solaris 10

Method used to configure the iSCSI initiator in Solaris 10:
1. Check whether iSCSI services have been started.
Run svcs -a |grep iscsi to check the status of iSCSI. If the status of iSCSI is online, iSCSI services have been started. Otherwise, run svcadm enable iscsi_initiator to start iSCSI services.
2. Configure the Solaris iSCSI initiator.
Run iscsiadm add discovery-address [ip addr:portal no]
# iscsiadm add discovery-address xxx.xxx.xxx.xxx:3260
to configure the Solaris iSCSI initiator.
3. Add an initiator corresponding to the host on the array side and map it to the LUN.
4. (Optional) Methods used to search for the iSCSI target:
a. If a dynamic discovery device (SendTargets) has been configured, run the following command:
# iscsiadm modify discovery --sendtargets enable
b. If a dynamic discovery device (iSNS) has been configured, run the following command:
# iscsiadm modify discovery --isns enable
c. If a static discovery device has been configured, run the following command:
# iscsiadm modify discovery --static enable
5. Run devfsadm -i iscsi to create links for iSCSI devices.
6. Run format to check iSCSI disks.

Scroll to top