Table of ContentsView in Frames

Configuring onboard adapters for initiator mode

You can configure individual FC ports of onboard adapters and certain FC adapter cards for initiator mode. Initiator mode is used to connect the ports to back-end disk shelves.

About this task

Each onboard FC port can be individually configured as an initiator or a target. Traditionally, ports on FC adapter cards were either initiators or targets, and you could not change the mode.

However, each port on the following cards can be individually configured as either a target or initiator FC port, just like the onboard FC ports:
  • The X2056-R6 4-port 8-Gb FC adapter for the 62xx vertical I/O slots (slots 1, 11, and 12).
  • The X1132A-R6 4-port 8-Gb FC adapter for the 62xx and the 32xx.
  • The X1143A-R6 2-port 16-Gb FC adapter for the 62xx and the 32xx.

For detailed information about the number of target adapters supported on each hardware platform, see the Data ONTAP SAN Configuration Guide for 7-Mode.

Steps

  1. If you have already connected the port to a switch or fabric, take it offline by entering the following command: fcp config down...

    fcp config down... is the FC/FCoE Target Adapter port name. You can specify more than one port.

    Example
    filer> fcp config 0c down

    filer> Fri Dec 20 05:05:24 EST [filer:scsitarget.ispfct.offlineStart:notice]: Offlining Fibre Channel target adapter 0c. Fri Dec 20 05:05:24 EST [filer:scsitarget.ispfct.offlineComplete:notice]: Fibre Channel target adapter 0c offlined.

    filer> fcp config 0d down

    filer> Fri Dec 20 05:05:24 EST [filer:scsitarget.ispfct.offlineStart:notice]: Offlining Fibre Channel target adapter 0d. Fri Dec 20 05:05:24 EST [filer:scsitarget.ispfct.offlineComplete:notice]: Fibre Channel target adapter 0d offlined.

    Ports 0c and 0d are taken offline.
    filer> ucadmin show
    
    Current  Current       Pending    Pending
    Adapter Mode Type     Mode Type   Status
    ---------------------------------------------------
    0a      fc target        - -       online
    0b 	fc target        - -       online
    0c 	fc target        - -       online
    0d 	fc target        - -       online
    Note: If the adapter does not go offline, you can also remove the cable from the appropriate adapter port on the system.
  2. Set the onboard ports to operate in initiator mode by entering the following command: ucadmin modify -t initiator adapter_name...

    adapter_name is the port number. You can specify more than one port.

    Example
    ucadmin modify -t initiator 0c 0d
    Ports 0c and 0d are set to initiator mode.
  3. Run the following command to see the change in state for the ports: ucadmin show
    filer> ucadmin show
    
    Current  Current       Pending        Pending
    Adapter Mode Type     Mode Type       Status
    ---------------------------------------------------
    0a      fc target       - -            online
    0b 	fc target       - -            online
    0c 	fc target       - initiator    offline
    0d 	fc target       - initiator    offline
  4. Reboot each system in the HA pair by entering the following command: reboot
  5. Verify that the FC ports are online and configured in the correct state for your configuration by entering the following command: ucadmin show
    Example
    filer> ucadmin show
    
    Current  Current       Pending        Pending
    Adapter Mode Type     Mode Type       Status
    ---------------------------------------------------
    0a      fc target       - -            online
    0b 	fc target       - -            online
    0c 	fc initiator    - -            online
    0d 	fc initiator    - -            online
    Note: The available statuses are online, offline, and unsupported. Refer to the ucadmin man page for detailed descriptions of each value.
    The preceding output displays for a four-port SAN configuration.