Table of ContentsLibraryView in Frames

Configuring onboard adapters for target mode

Configure the onboard adapters for target mode to connect the adapters to the Fibre Channel fabric or to another storage controller.

Before You Begin

Ensure you have licensed the FCP service on the system.

Considerations

If you install target expansion adapters on the system, you must configure the onboard adapters as initiators.

In addition, you cannot combine 2 Gb adapters with 4 Gb adapters on the same system, or on two different systems in an active/active configuration.

For FAS60xx systems, you cannot exceed the maximum of twelve target adapter ports. For example, if you install three quad-port target expansion adapters on the system and configure one or more onboard adapters as targets, only twelve of the adapters are initialized.

If you are installing target expansion adapters, or if you exceed the allowed number of adapter ports, you must set the onboard adapters to unconfigured before installing the expansion adapters.

Steps

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

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

    Example

    fcp config 0c 0d down

    Ports 0c and 0d are taken offline.

    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 target mode by entering the following command: fcadmin config -t target adapter...

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

    Example

    fcadmin config -t target 0c 0d

    Ports 0c and 0d are set to target mode.

  3. Run the following command to see the change in state for the ports: fcadmin config

    Example

    fcadmin config
                      Local
    Adapter Type      State                  Status
    ---------------------------------------------------
      0a   initiator  CONFIGURED             online
      0b   initiator  CONFIGURED             online
      0c   target     PENDING             online
      0d   target     PENDING             online
    Note: The available Local State values are CONFIGURED, PENDING, and UNCONFIGURED. Refer to the fcadmin MAN page for detailed descriptions of each value.

    Ports 0c and 0d are now in the PENDING state.

  4. Reboot each system in the active/active configuration by entering the following command: reboot
  5. Start the FCP service by entering the following command: fcp start
  6. Verify that the FC ports are online and configured in the correct state for your configuration by entering the following command: fcadmin config

    Example

    fcadmin config
                      Local
    Adapter Type      State                  Status
    ---------------------------------------------------
      0a   initiator  CONFIGURED             online
      0b   initiator  CONFIGURED             online
      0c   target     CONFIGURED             online
      0d   target     CONFIGURED             online

    The preceding output displays for a four-port SAN configuration.

Related tasks
Licensing the FC service
Re-configuring onboard Fibre Channel adapters