Installing the Solaris iSCSI initiator

This section describes how to install the Solaris iSCSI initiator.

Confirm that the initiator service is installed by issuing this command:
pkginfo SUNWiscsiu SUNWiscsir

If the initiator service is not installed, follow the Solaris operating system instructions to install the service.

To install the Solaris iSCSI initiator, perform the following steps:

  1. Run the discovery command.
    iSCSIadm -m discovery -t st -p x.x.x.x
    where x.x.x.x is the IP address of each clustered Ethernet port on the SAN Volume Controller cluster. This command reports the IQN name of the target that is associated with each SAN Volume Controller node port. The following example shows a sample output:
    iscsiadm -m discovery -t st -p 9.71.43.131
    
    9.71.43.131:3260,1 iqn.1986-03.com.ibm:2145.china5.hlnc111874
  2. Use the IP address with the iscsiadm add command to indicate which discovery address to use with the host and SAN Volume Controller cluster connection.
    iscsiadm add discovery-address 192.168.1.97:3260

    Issue this command for all SAN Volume Controller clustered Ethernet ports that you are using.

  3. If you are using the Internet Storage Name Service (iSNS) server facility, issue the iscsiadm add iSNS-server command to locate the facility.
    iscsiadm add iSNS-server 10.0.0.1:3205
  4. Enable the iSCSI target discovery method with the iscsiadm modify discovery command.
    • For file-based discovery, the command uses this form:
      iscsiadm modify discovery --sendtargets enable
    • For iSNS discovery, the command uses this form:
      iscsiadm modify discovery --iSNS enable
  5. Create the iSCSI device links for the local system.
    devfsadm -i iscsi
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2003, 2009. All Rights Reserved.