Configuring CNA ports

If a node has onboard CNA ports or a CNA card, you must check the configuration of the ports and possibly reconfigure them, depending on how you want to use the upgraded system.

Before you begin

You must have the correct SFP+ modules for the CNA ports.
CNA ports can be configured into native Fibre Channel (FC) mode or CNA mode. FC mode supports FC initiator and FC target; CNA mode allows concurrent NIC and FCoE traffic the same 10GbE SFP+ interface and supports FC target.

CNA ports might be on an adapter or onboard the controller and have the following configurations:

  • CNA cards ordered when the controller is ordered are configured before shipment to have the personality you request.
  • CNA cards ordered separately from the controller are shipped with the default FC target personality.
  • Onboard CNA ports on new controllers are configured before shipment to have the personality you request.

However, you should check the configuration of the CNA ports on the node and change it, if necessary.

Steps

  1. Check how the ports are currently configured by entering one of the following commands on one of the new nodes:system node hardware unified-connect show
    The system displays output similar to the following examples:

    cluster1::> system node hardware unified-connect show
     system node hardware unified-connect show
                   Current Current   Pending  Pending   
    Node  Adapter  Mode    Type      Mode     Type      Status
    ----  -------  ------- --------- -------  -------   ------
    f-a    0e      fc      initiator -        -         online
    f-a    0f      fc      initiator -        -         online
    f-a    0g      cna     target    -        -         online
    f-a    0h      cna     target    -        -         online
    f-b    0e      fc      initiator -        -         online
    f-b    0f      fc      initiator -        -         online
    f-b    0g      cna     target    -        -         online
    f-b    0h      cna     target    -        -         online    
    12 entries were displayed.
    

    You can use the supported-modessupported-fc-types, and supported-cna-types options to display a list of modes, FC types, and CNA types that the adapter supports.

  2. If the current SFP+ module does not match the desired use, replace it with the correct SFP+ module.
  3. Examine the output of the system node hardware unified-connect show command and determine whether the CNA ports have the personality you want.
  4. Take one of the following actions:
    If the CNA ports … Then…
    Do not have the personality that you want Go to Step 5.
    Have the personality that you want Skip Step 5 through Step 7 and go to Step 8.
  5. If the CNA port is online, take it offline by entering one of the following commands:
    If the adapter… Then…
    Is in initiator mode Enter the following command: system node run -node new_node-name storage disable adapter adapter_name
    Is in target mode Enter the following command: network fcp adapter modify -node new_node_name -adapter adapter_name -state down
  6. If the current configuration does not match the desired use, enter the following commands to change the configuration as needed: system node hardware unified-connect modify -node node_name -adapter adapter_name -mode fc|cna -type target|initiator
    • -mode is the personality type, fc or 10GbE cna.
    • -type is the FC4 type, target or initiator.
    Note: You need to use FC initiator for tape drives, FlexArray Virtualization systems, and Fabric MetroCluster. You also need to use FC initiator for stretch MetroCluster if you are using a FibreBridge6500N bridge. You need to use FC target for SAN clients.
  7. Verify the settings by entering one of the following commands: system node hardware unified-connect show
    Example
    The output in the following examples show that the FC4 type of adapter 1b is changing to initiator and that the mode of adapters 2a and 2b is changing to cna.

    cluster1::> system node hardware unified-connect show
                   Current Current   Pending  Pending   
    Node  Adapter  Mode    Type      Mode     Type       Status
    ----  -------  ------- --------- -------  -------    ------
    f-a    1a      fc      initiator -        -          online
    f-a    1b      fc      target    -        initiator  online
    f-a    2a      fc      target    cna      -          online
    f-a    2b      fc      target    cna      -          online  
    4 entries were displayed.
    
  8. Online any target ports by entering the following command: network fcp adapter modify -node new_node_name -adapter adapter_name -state up
    It is not necessary to online initiator ports. They automatically come online if they are connected to a device.
  9. Reboot the node so that the configuration changes take effect.
  10. Cable the port.
  11. Repeat Step 1 through Step 10 on the other node.
twitterlinkedinmailtwitterlinkedinmail
Arco

About

View all posts by