Creating SCSI host port connections using DS CLI

Complete this task to create SCSI host port connections using the DS command-line interface.

Before you begin, you must have the command-line interface prompt, and you must be connected to a storage unit that can be used for open systems host system storage.

The 1750 machine type supports the “identified” access mode for SCSI host attachments, which requires that all SCSI host ports be identified to a storage unit. One SCSI host port connection must be created for each SCSI host port that accesses storage unit fixed block volumes. Use the lshosttype, mkhostconnect, and lshostconnect commands to create the SCSI host port connections.

A SCSI host port contains attributes that identify the following information:
  • SCSI host system type
  • Port profile
  • Port WWPN
  • Volume group ID that the port accesses
  • An array of storage unit I/O port IDs that the host port logs into for volume access
  • An attribute to indicate that all I/O ports can be used for volume access
  • Host port description
  • Port nickname
There are two ways that you can approach this task:
  • Use the -hosttype parameter with the mkhostconnect command. Using the -hosttype parameter is the best solution for most users.
  • Use the mkhostconnect command with the -lbs, -addrdiscovery, and -profile parameters.
Notes:
  1. Specifying the -hosttype parameter automatically sets the -lbs, -addrdiscovery, and -profile values.
  2. If you do not use the -hosttype parameter, you must issue the lsportprof command to ensure that you obtain the correct values to use with the -lbs, -addrdiscovery, and -profile parameters.
  3. You cannot use the -hosttype parameter with these other parameters.

The following task is described from the assumption that you have used the -hosttype parameter.

To configure the SCSI host ports, perform the following steps:

  1. Obtain your host type information by issuing the lshosttype command. Enter the lshosttype command at the dscli command prompt with the following parameters and variables:
    dscli>lshosttype –l -type volumeGroup_type
    This command displays a report like the following:
    Name Profile AddrDiscovery LBS Description
    pSeries IBM pSeries - AIX reportlun 512 IBM pSeries, RS/6000 and RS/6000 SP Servers (AIX)
    zLinux IBM zSeries - zLinux lunpolling 512 IBM zSeries Servers (Linux)

    iSeries (if
    os400all was
    specified)

    IBM iSeries - os400 reportlun 520

    IBM iSeries
    Servers
    (System i)

    Note: Volume group type is one of the following designations (use a separate command for each choice):
    • ficonall
    • scsiall
    • scsimask
    • scsimap256
    • os400all
    • os400mask

    The same results are displayed when you specify os400all or os400mask or when you specify scsiall and scsimask or scsimap256.

  2. Create SCSI host ports by issuing the mkhostconnect command. Enter the mkhostconnect command at the dscli command prompt with the following parameters and variables:
    dscli>mkhostconnect -dev storage_image_ID -wwname wwpn
     -hosttype host_type -volgrp volume_group_ID -ioport port_ID 
    host_name
    Notes:
    1. The -wwname parameter specifies the 16-character worldwide name that is assigned to the host system fibre-channel adapter port. This WWPN value is validated each time that the host system port logs into an I/O port.
    2. The -hosttype parameter specifies fibre-channel communications layer characteristics that might be unique according to the host system manufacturer, operating system, or version of the system. Typical specifications are iSeries, pSeries, an so on.
    3. The -volgrp parameter specifies the volume group ID that this host port can access. Host port objects might be created prior to creating volume groups, in which case you must use the chhostconnect command to add volume group ID assignments at a later time.
    4. The -ioport all specifies SCSI host port (WWPN) access into all IO ports that are configured for the FC-AL or SCSI-FCP topology.
    5. host_name specifies the SCSI host system nickname that you have assigned.
  3. Repeat Step 2 for each SCSI host system port that will access LUN volumes.
  4. Verify that all SCSI host ports have been configured and that they are recognized by the storage unit according to your specifications by issuing the lshostconnect command with the -l parameter.
Related reference
mkhostconnect
chhostconnect
lsportprof
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.