Table of ContentsView in Frames

Changing the WWPN for a target adapter

Data ONTAP automatically sets the WWPNs on your target adapters during initialization. However, there are some circumstances in which you might need to change the WWPN assignments on your target expansion adapters or your onboard adapters.

About this task

There are two scenarios that might require you to change the WWPN assignments:
  • Head swap: after performing a head swap, you might not be able to place the target adapters in their original slots, resulting in different WWPN assignments. In this situation it is important to change the WWPN assignments because many of the hosts bind to these WWPNs. In addition, the fabric might be zoned by WWPN.
  • Fabric reorganization: you might want to reorganize the fabric connections without having to physically move the target adapters or modify your cabling.

Sometimes, you might need to set the new WWPN on a single adapter. In other cases, it is easier to swap the WWPNs between two adapters, rather than individually set the WWPNs on both adapters.

Steps

  1. Take the adapter offline by entering the following command:
    fcp config adapter down

    Example

    fcp config 4a down

    Note: If you are swapping WWPNs between two adapters, ensure that you take both adapters offline first.

  2. Display the existing WWPNs by entering the following command:
    fcp portname show [-v]

    If you do not use the -v option, all currently used WWPNs and their associated adapters are displayed. If you use the -v option, all other valid WWPNs that are not being used are also shown.

  3. Set the new WWPN for a single adapter or swap WWPNs between two adapters.

    Note: If you do not use the -f option, initiators might fail to reconnect to this adapter if the WWPN is changed. If you use the -f option, it overrides the warning message of changing the WWPNs.

    If you want to... Then...
    Set the WWPN on a single adapter Enter the following command:
    fcp portname set [-f] adapter wwpn
    Swap WWPNs between two adapters. Enter the following command:
    fcp portname swap [-f] adapter1 adapter2

    Example

    fcp portname set -f 1b 50:0a:09:85:87:09:68:ad

    Example

    fcp portname swap -f 1a 1b

  4. Bring the adapter back online by entering the following command:
    fcp config adapter up

    Example

    fcp config 4a up