Skip to main content
本繁體中文版使用機器翻譯,譯文僅供參考,若與英文版本牴觸,應以英文版本為準。

設定 FC 適配器以啟動器模式進行 ONTAP Foreign LUN Import (FLI)移轉

貢獻者 netapp-barbe netapp-aherbin

ONTAP FLI over FC 要求 ONTAP 端的 FC 適配器處於啟動器模式。如果不存在可用的啟動器連接埠,則可能需要將 FC 目標適配器連接埠轉換為啟動器模式。此外,如果 FC 適配器具有作用中的 FC LIF,則必須將這些作用中的 FC LIF 移至同一網狀架構內的不同適配器連接埠。

步驟
  1. 檢視可用的 FC 介面卡:

    fcp adapter show -status-oper online

    範例輸出

      (network fcp adapter show)
                          Connection  Port    Admin    Operational
    Node         Adapter  Established Address Status   Status          Topology
    ------------ -------- ----------- ------- -------- --------------- --------
    ssan-a50-06a 3a       true        640a00  up       online          fabric
    ssan-a50-06b 3b       true        640a00  up       online          fabric
    ssan-a50-07a 3a       true        640e00  up       online          fabric
    ssan-a50-07b 3b       true        640d00  up       online          fabric
  2. 將目標 FC 適配器連接埠離線:

    fcp adapter modify -node <node_name> -adapter <adapter>> -status-admin down;

    範例輸出

    fcp adapter modify -node ssan-a50-06a -adapter 3a -status-admin down;
  3. 確認介面卡的狀態為關閉:

    fcp adapter show -node <node_name> -adapter <adapter>> -fields status-admin

    範例輸出

    ssan-a50-06-07::*> fcp adapter show -node ssan-a50-06a -adapter 3a -fields status-admin
    
    node         adapter status-admin
    ------------ ------- ------------
    ssan-a50-06a 3a      down
  4. 將 FC 介面卡連接埠從目標模式轉換為啟動器模式:

    system node hardware unified-connect modify -node <node_name> -adapter <adapter> -type initiator

    範例

    ssan-a50-06-07::*> system node hardware unified-connect modify -node ssan-a50-06a -adapter 3a -type initiator
    
    Any changes will take effect after rebooting the system. Use the "system node reboot" command to reboot.
  5. 使適配器重新連線:

    fcp adapter modify -node <node_name> -adapter <adapter> -status-admin up;

    範例

    ssan-a50-06-07::*> fcp adapter modify -node ssan-a50-06a -adapter 3a -status-admin up;
  6. 確認介面卡已恢復上線並處於啟動器模式:

    system node hardware unified-connect show

    範例

    ssan-a50-06-07::*> system node hardware unified-connect show
                           Current  Current    Pending  Pending    Admin
    Node          Adapter  Mode     Type       Mode     Type       Status
    ------------  -------  -------  ---------  -------  ---------  -----------
    ssan-a50-06a  3a       fc       target     -        initiator  offline << pending node reboot
    ssan-a50-06b  3b       fc       target     -        -          online
    ssan-a50-07a  3c       fc       target     -        -          online
    ssan-a50-07a  3d       fc       initiator  -        -          online <<< already converted
    ssan-a50-06-07::*>