POWER7 information

Configuring the adapter in AIX

Learn how to configure the adapter using AIX® commands.

Using the smit command, do the following steps:
  1. From the command prompt, type smit iscsi, then press Enter.
  2. In the smit menu, move the cursor over the iSCSI Adapter entry, then press Enter.
  3. In the menu that displays, from the Change/Show option, select the number of the adapter you are configuring (Examples: ics0, ics1). The following is an example of the settings displayed when you select an adapter number:
                                                        [Entry Fields]
     iSCSI Adapter                                      ics0
     Description                                        iSCSI Adapter
     Status                                             Available
     Location                                           1f-09
     	 iSCSI Initiator Name                              []
     Maximum number of Commands to Queue to Adapter     [200]                   +#
     Maximum Transfer Size                              [0x100000]              +
     Discovery Filename                                 [/etc/iscsi/targetshw0] *
     Discovery Policy                                   file               +
     Automatic Discovery Secrets Filename               [/etc/iscsi/autosecret>
     Adapter IP Address                                 [10.100.100.14]
     Adapter Subnet Mask                                [255.255.255.0]
     Adapter Gateway Address                            []
     Apply change to DATABASE only                      no                     +
    
    
    
    sc+1=Help          Esc+2=Refresh       Esc+3=Cancel        Esc+4=List
    sc+5=Reset         Esc+6=Command       Esc+7=Edit          Esc+8=Image
    sc+9=Shell         Esc+0=Exit          Enter=Do
Notes:
  • Set the value for the Maximum number of Commands to Queue to Adapter to be greater than the queue depth times the number of LUNs. For example, for 20 LUNs with a queue depth of 20, the value should be greater than 400.
  • To use flat file discovery, the Discovery Policy must be set to "file."
  • Change the default file name /etc/iscsi/targetshw from targetshw to targetshwx where x is the adapter instance number (Examples: ics0, ics1 ).
  • The user may specify the iSCSI node name. If it is not specified, the adapter will use the default iSCSI node name provided by the adapter. To display the iSCSI node name used by a particular adapter, use the lscfg command to display the adapter VPD. For example, to display the iSCSI node name for ics0, use lscfg -vl ics0. The iSCSI node name is in the Z1 field of the displayed VPD. The initiator's iSCSI node name may be required to configure some iSCSI targets.
  • If the rmdev command with the -d option is issued, then you must reenter the data in the specified fields.


Send feedback Rate this page

Last updated: Wed, January 17, 2018