Solaris Express SAN Configuration and Multipathing Guide

ProcedureTo Determine Port Instances

  1. Determine the HBA PCI adapter slot and the I/O board PCI slot.

    You need this information to perform the calculation in Determining Fibre Channel Adapter Port Instances.

    For example, assume you have an array with an HBA card located in PCI adapter slot 5, and the PCI adapter is in slot 1 of the I/O board.

  2. Determine the instance number.

    1. Search for the fp driver binding name in the /etc/path_to_inst file.


      Note –

      Determine the correct entry by finding the hardware path described in your server hardware manual or Sun System Handbook. The Sun System Handbook is available at http://sunsolve.sun.com/handbook_pub/.


    2. Narrow the search by using the I/O board and slot information from Step 1.


      Note –

      The following method of deriving the Solaris Express Developer Edition OS device path of an HBA from its physical location in server might not work for all Sun server hardware.


      1. Multiply the PCI adapter slot number by the number of adapter ports.

        For example, if the HBA has two ports, multiply by 2. Using the array with an HBA in the PCI adapter slot 5, multiply 5 by 2 to get 10.

      2. Add the PCI adapter I/O board slot number to the number derived in Step i.

        Using an HBA in PCI adapter slot 5 and PCI slot 1 of the I/O board, add 1 to 10 for a sum of 11.

      3. Convert the number derived in Step ii to hexadecimal.

        The number 11 converts to “b” in hexadecimal.

      4. Search for the fp entry with pci@ hex where hex is the number you derived in Step iii.

        The following table shows the elements of the device path for a PCI single FC network adapter device that has the following path:


        "/pci@b,2000/SUNW,qlc@2/fp@0,0" 7 "fp"

        Entry Item  

        Entry Value  

        Physical Name 

        /pci@b,2000/SUNW,qlc@2/fp@0,0

        Instance Number 

        7

        Driver Binding Name 

        fp

    3. Manually plumb each FP instance.

      Use the ifconfig interface-number plumb command. In this example, the value of interface-number is fcip7.


      # ifconfig fcip7 plumb
      

      When the command is successful, a message appears on both the console and in the messages file. For example:


      Sep 13 15:52:30 bytownite ip: ip: joining multicasts failed (7) on fcip0 - 
      will use link layer brocasts for multicast