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

設定連接埠,以便從 Nexus 5596 交換器移轉至 Nexus 3232C 交換器

貢獻者 netapp-yvonneo

請依照下列步驟設定連接埠,以便從 Nexus 5596 交換器移轉至新的 Nexus 3232C 交換器。

步驟
  1. 關閉實體連接至交換器CL2的叢集互連連接埠:

    「網路連接埠修改-node-name_-port port-name-up、admin假」

    顯示範例

    下列命令會關閉n1和n2上的指定連接埠、但必須關閉所有節點上的連接埠:

    cluster::*> network port modify -node n1 -port e0b -up-admin false
    cluster::*> network port modify -node n1 -port e0c -up-admin false
    cluster::*> network port modify -node n2 -port e0b -up-admin false
    cluster::*> network port modify -node n2 -port e0c -up-admin false
  2. 驗證遠端叢集介面的連線能力:

更新版本ONTAP

您可以使用 network interface check cluster-connectivity 命令以啟動叢集連線的存取檢查、然後顯示詳細資料:

network interface check cluster-connectivity startnetwork interface check cluster-connectivity show

cluster1::*> network interface check cluster-connectivity start
  • 注意: * 在執行 show 命令之前、請等待數秒以顯示詳細資料。

cluster1::*> network interface check cluster-connectivity show
                                  Source           Destination      Packet
Node   Date                       LIF              LIF              Loss
------ -------------------------- ---------------- ---------------- -----------
n1
       3/5/2022 19:21:18 -06:00   n1_clus2         n2-clus1         none
       3/5/2022 19:21:20 -06:00   n1_clus2         n2_clus2         none

n2
       3/5/2022 19:21:18 -06:00   n2_clus2         n1_clus1         none
       3/5/2022 19:21:20 -06:00   n2_clus2         n1_clus2         none
所有 ONTAP 版本

對於所有 ONTAP 版本、您也可以使用 cluster ping-cluster -node <name> 檢查連線能力的命令:

cluster ping-cluster -node <name>

cluster1::*> cluster ping-cluster -node local
Host is n1
Getting addresses from network interface table...
Cluster n1_clus1 n1       e0a    10.10.0.1
Cluster n1_clus2 n1       e0b    10.10.0.2
Cluster n1_clus3 n1       e0c    10.10.0.3
Cluster n1_clus4 n1       e0d    10.10.0.4
Cluster n2_clus1 n2       e0a    10.10.0.5
Cluster n2_clus2 n2       e0b    10.10.0.6
Cluster n2_clus3 n2       e0c    10.10.0.7
Cluster n2_clus4 n2       e0d    10.10.0.8
Local = 10.10.0.1 10.10.0.2 10.10.0.3 10.10.0.4
Remote = 10.10.0.5 10.10.0.6 10.10.0.7 10.10.0.8
Cluster Vserver Id = 4294967293 Ping status:
....
Basic connectivity succeeds on 16 path(s)
Basic connectivity fails on 0 path(s)
................
Detected 9000 byte MTU on 16 path(s):
    Local 10.10.0.1 to Remote 10.10.0.5
    Local 10.10.0.1 to Remote 10.10.0.6
    Local 10.10.0.1 to Remote 10.10.0.7
    Local 10.10.0.1 to Remote 10.10.0.8
    Local 10.10.0.2 to Remote 10.10.0.5
    Local 10.10.0.2 to Remote 10.10.0.6
    Local 10.10.0.2 to Remote 10.10.0.7
    Local 10.10.0.2 to Remote 10.10.0.8
    Local 10.10.0.3 to Remote 10.10.0.5
    Local 10.10.0.3 to Remote 10.10.0.6
    Local 10.10.0.3 to Remote 10.10.0.7
    Local 10.10.0.3 to Remote 10.10.0.8
    Local 10.10.0.4 to Remote 10.10.0.5
    Local 10.10.0.4 to Remote 10.10.0.6
    Local 10.10.0.4 to Remote 10.10.0.7
    Local 10.10.0.4 to Remote 10.10.0.8

Larger than PMTU communication succeeds on 16 path(s)
RPC status:
4 paths up, 0 paths down (tcp check)
4 paths up, 0 paths down (udp check)
  1. 使用 Cisco 命令、在活動 Nexus 5596 交換器 CL1 上關閉 ISL 41 到 48 shutdown

    如需Cisco命令的詳細資訊、請參閱中的適當指南 "Cisco Nexus 3000系列NX-OS命令參考資料"

    顯示範例

    下列範例顯示Nexus 5596交換器CL1上的ISL 41至48正在關機:

    (CL1)# configure
    (CL1)(Config)# interface e1/41-48
    (CL1)(config-if-range)# shutdown
    (CL1)(config-if-range)# exit
    (CL1)(Config)# exit
    (CL1)#
  2. 使用適當的Cisco命令、在CL1和C2之間建置暫用ISL。

    如需Cisco命令的詳細資訊、請參閱中的適當指南 "Cisco Nexus 3000系列NX-OS命令參考資料"

    顯示範例

    以下範例顯示CL1和C2之間正在設定的暫用ISL:

    C2# configure
    C2(config)# interface port-channel 2
    C2(config-if)# switchport mode trunk
    C2(config-if)# spanning-tree port type network
    C2(config-if)# mtu 9216
    C2(config-if)# interface breakout module 1 port 24 map 10g-4x
    C2(config)# interface e1/24/1-4
    C2(config-if-range)# switchport mode trunk
    C2(config-if-range)# mtu 9216
    C2(config-if-range)# channel-group 2 mode active
    C2(config-if-range)# exit
    C2(config-if)# exit
  3. 在所有節點上、移除連接至Nexus 5596交換器CL2的所有纜線。

    使用支援的纜線、將所有節點上的中斷連接連接埠重新連接至Nexus 3232C交換器C2。

  4. 從Nexus 5596交換器CL2拔下所有纜線。

    將新Cisco 3232C交換器C2上的適當Cisco QSFP連接至SFP+中斷纜線、連接埠1/24至現有Nexus 5596、CL1上的連接埠45至48。

  5. 在活動Nexus 5596交換器CL1上啟動ISL連接埠45至48。

    如需Cisco命令的詳細資訊、請參閱中的適當指南 "Cisco Nexus 3000系列NX-OS命令參考資料"

    顯示範例

    下列範例顯示要啟動的ISL連接埠45至48:

    (CL1)# configure
    (CL1)(Config)# interface e1/45-48
    (CL1)(config-if-range)# no shutdown
    (CL1)(config-if-range)# exit
    (CL1)(Config)# exit
    (CL1)#
  6. 驗證Nexus 5596交換器CL1上的ISL是否為「up」。

    如需Cisco命令的詳細資訊、請參閱中的適當指南 "Cisco Nexus 3000系列NX-OS命令參考資料"

    顯示範例

    以下範例顯示連接埠eth1/45至eth1/48指示(P)、表示連接埠通道中的ISL連接埠為「up」(正常)。

    CL1# show port-channel summary
    Flags: D - Down         P - Up in port-channel (members)
           I - Individual   H - Hot-standby (LACP only)
           s - Suspended    r - Module-removed
           S - Switched     R - Routed
           U - Up (port-channel)
           M - Not in use. Min-links not met
    --------------------------------------------------------------------------------
    Group Port-        Type   Protocol  Member Ports
          Channel
    --------------------------------------------------------------------------------
    1     Po1(SU)      Eth    LACP      Eth1/41(D)   Eth1/42(D)   Eth1/43(D)
                                        Eth1/44(D)   Eth1/45(P)   Eth1/46(P)
                                        Eth1/47(P)   Eth1/48(P)
  7. 確認介面eth1/45-48在其執行組態中已有「channel group 1 mode active(通道群組1模式)」。

  8. 在所有節點上、開啟連接至3232C交換器C2的所有叢集互連連接埠:

    「網路連接埠修改-node-name_-port port-name-up管理true」

    顯示範例

    以下範例顯示節點n1和n2上要啟動的指定連接埠:

    cluster::*> network port modify -node n1 -port e0b -up-admin true
    cluster::*> network port modify -node n1 -port e0c -up-admin true
    cluster::*> network port modify -node n2 -port e0b -up-admin true
    cluster::*> network port modify -node n2 -port e0c -up-admin true
  9. 在所有節點上、還原連接到C2的所有移轉叢集互連lifs:

    「網路介面回復-vserver叢集-lif_lif-name_」

    顯示範例

    以下範例顯示移轉的叢集lifs正還原至其主連接埠:

    cluster::*> network interface revert -vserver Cluster -lif n1_clus2
    cluster::*> network interface revert -vserver Cluster -lif n1_clus3
    cluster::*> network interface revert -vserver Cluster -lif n2_clus2
    cluster::*> network interface revert -vserver Cluster -lif n2_clus3
  10. 驗證所有叢集互連連接埠現在都已還原為其主連接埠:

    「網路介面show -role cluster」

    顯示範例

    以下範例顯示、clus2上的lifs會還原至其主連接埠、並顯示如果「is Home」欄中的「Port」欄位狀態為「true」、則會成功還原lifs。如果「是自家點」值為「假」、則LIF尚未還原。

    cluster::*> *network interface show -role cluster*
    (network interface show)
                Logical    Status     Network            Current       Current Is
    Vserver     Interface  Admin/Oper Address/Mask       Node          Port    Home
    ----------- ---------- ---------- ------------------ ------------- ------- ----
    Cluster
                n1_clus1   up/up      10.10.0.1/24       n1            e0a     true
                n1_clus2   up/up      10.10.0.2/24       n1            e0b     true
                n1_clus3   up/up      10.10.0.3/24       n1            e0c     true
                n1_clus4   up/up      10.10.0.4/24       n1            e0d     true
                n2_clus1   up/up      10.10.0.5/24       n2            e0a     true
                n2_clus2   up/up      10.10.0.6/24       n2            e0b     true
                n2_clus3   up/up      10.10.0.7/24       n2            e0c     true
                n2_clus4   up/up      10.10.0.8/24       n2            e0d     true
    8 entries were displayed.
  11. 驗證是否已連接叢集連接埠:

    「網路連接埠show -role cluster」

    顯示範例

    以下範例顯示先前「網路連接埠修改」命令的結果、驗證所有的叢集互連都是「正常」:

    cluster::*> network port show -role cluster
      (network port show)
    Node: n1
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e0a       Cluster      Cluster          up   9000 auto/10000  -        -
    e0b       Cluster      Cluster          up   9000 auto/10000  -        -
    e0c       Cluster      Cluster          up   9000 auto/10000  -        -
    e0d       Cluster      Cluster          up   9000 auto/10000  -        -
    
    Node: n2
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e0a       Cluster      Cluster          up   9000  auto/10000 -        -
    e0b       Cluster      Cluster          up   9000  auto/10000 -        -
    e0c       Cluster      Cluster          up   9000  auto/10000 -        -
    e0d       Cluster      Cluster          up   9000  auto/10000 -        -
    8 entries were displayed.
  12. 驗證遠端叢集介面的連線能力:

更新版本ONTAP

您可以使用 network interface check cluster-connectivity 命令以啟動叢集連線的存取檢查、然後顯示詳細資料:

network interface check cluster-connectivity startnetwork interface check cluster-connectivity show

cluster1::*> network interface check cluster-connectivity start
  • 注意: * 請等待數秒後再執行 `show`命令以顯示詳細資料。

cluster1::*> network interface check cluster-connectivity show
                                  Source           Destination      Packet
Node   Date                       LIF              LIF              Loss
------ -------------------------- ---------------- ---------------- -----------
n1
       3/5/2022 19:21:18 -06:00   n1_clus2         n2-clus1         none
       3/5/2022 19:21:20 -06:00   n1_clus2         n2_clus2         none

n2
       3/5/2022 19:21:18 -06:00   n2_clus2         n1_clus1         none
       3/5/2022 19:21:20 -06:00   n2_clus2         n1_clus2         none
所有 ONTAP 版本

對於所有 ONTAP 版本、您也可以使用 cluster ping-cluster -node <name> 檢查連線能力的命令:

cluster ping-cluster -node <name>

cluster1::*> cluster ping-cluster -node local
Host is n1
Getting addresses from network interface table...
Cluster n1_clus1 n1       e0a    10.10.0.1
Cluster n1_clus2 n1       e0b    10.10.0.2
Cluster n1_clus3 n1       e0c    10.10.0.3
Cluster n1_clus4 n1       e0d    10.10.0.4
Cluster n2_clus1 n2       e0a    10.10.0.5
Cluster n2_clus2 n2       e0b    10.10.0.6
Cluster n2_clus3 n2       e0c    10.10.0.7
Cluster n2_clus4 n2       e0d    10.10.0.8
Local = 10.10.0.1 10.10.0.2 10.10.0.3 10.10.0.4
Remote = 10.10.0.5 10.10.0.6 10.10.0.7 10.10.0.8
Cluster Vserver Id = 4294967293 Ping status:
....
Basic connectivity succeeds on 16 path(s)
Basic connectivity fails on 0 path(s)
................
Detected 9000 byte MTU on 16 path(s):
    Local 10.10.0.1 to Remote 10.10.0.5
    Local 10.10.0.1 to Remote 10.10.0.6
    Local 10.10.0.1 to Remote 10.10.0.7
    Local 10.10.0.1 to Remote 10.10.0.8
    Local 10.10.0.2 to Remote 10.10.0.5
    Local 10.10.0.2 to Remote 10.10.0.6
    Local 10.10.0.2 to Remote 10.10.0.7
    Local 10.10.0.2 to Remote 10.10.0.8
    Local 10.10.0.3 to Remote 10.10.0.5
    Local 10.10.0.3 to Remote 10.10.0.6
    Local 10.10.0.3 to Remote 10.10.0.7
    Local 10.10.0.3 to Remote 10.10.0.8
    Local 10.10.0.4 to Remote 10.10.0.5
    Local 10.10.0.4 to Remote 10.10.0.6
    Local 10.10.0.4 to Remote 10.10.0.7
    Local 10.10.0.4 to Remote 10.10.0.8

Larger than PMTU communication succeeds on 16 path(s)
RPC status:
4 paths up, 0 paths down (tcp check)
4 paths up, 0 paths down (udp check)
  1. 在叢集中的每個節點上、移轉與第一個要取代的 Nexus 5596 交換器 CL1 相關的介面:

    network interface migrate -vserver vserver-name -lif lif-name -source-node source-node-name -destination-node destination-node-name -destination-port destination-port-name

    顯示範例

    以下範例顯示節點n1和n2上正在移轉的連接埠或LIF:

    cluster::*> network interface migrate -vserver Cluster -lif n1_clus1 -source-node n1 -
    destination-node n1 -destination-port e0b
    cluster::*> network interface migrate -vserver Cluster -lif n1_clus4 -source-node n1 -
    destination-node n1 -destination-port e0c
    cluster::*> network interface migrate -vserver Cluster -lif n2_clus1 -source-node n2 -
    destination-node n2 -destination-port e0b
    cluster::*> network interface migrate -vserver Cluster -lif n2_clus4 -source-node n2 -
    destination-node n2 -destination-port e0c
  2. 驗證叢集的狀態:

    「網路介面展示」

    顯示範例

    下列範例顯示所需的叢集lifs已移轉至叢集交換器C2上裝載的適當叢集連接埠:

    cluster::*> network interface show
    
                Logical    Status     Network            Current       Current Is
    Vserver     Interface  Admin/Oper Address/Mask       Node          Port    Home
    ----------- ---------- ---------- ------------------ ------------- ------- ----
    Cluster
                n1_clus1   up/up      10.10.0.1/24       n1            e0b     false
                n1_clus2   up/up      10.10.0.2/24       n1            e0b     true
                n1_clus3   up/up      10.10.0.3/24       n1            e0c     true
                n1_clus4   up/up      10.10.0.4/24       n1            e0c     false
                n2_clus1   up/up      10.10.0.5/24       n2            e0b     false
                n2_clus2   up/up      10.10.0.6/24       n2            e0b     true
                n2_clus3   up/up      10.10.0.7/24       n2            e0c     true
                n2_clus4   up/up      10.10.0.8/24       n2            e0c     false
    8 entries were displayed.
    
    ----- ------- ----
  3. 在所有節點上、關閉連接至CL1的節點連接埠:

    「網路連接埠修改-node-name_-port port-name-up、admin假」

    顯示範例

    以下範例顯示節點n1和n2上要關閉的指定連接埠:

    cluster::*> network port modify -node n1 -port e0a -up-admin false
    cluster::*> network port modify -node n1 -port e0d -up-admin false
    cluster::*> network port modify -node n2 -port e0a -up-admin false
    cluster::*> network port modify -node n2 -port e0d -up-admin false
  4. 關閉主動式3232C交換器C2上的ISL 24、31和32。

    如需Cisco命令的詳細資訊、請參閱中的適當指南 "Cisco Nexus 3000系列NX-OS命令參考資料"

    顯示範例

    以下範例顯示ISL正在關機:

    C2# configure
    C2(Config)# interface e1/24/1-4
    C2(config-if-range)# shutdown
    C2(config-if-range)# exit
    C2(config)# interface 1/31-32
    C2(config-if-range)# shutdown
    C2(config-if-range)# exit
    C2(config-if)# exit
    C2#
  5. 在所有節點上、移除連接至Nexus 5596交換器CL1的所有纜線。

    使用支援的纜線、將所有節點上的中斷連接連接埠重新連接至Nexus 3232C交換器C1。

  6. 從Nexus 3232C C2連接埠E1/24拔下QSFP中斷連接線。

    使用支援的Cisco QSFP光纖或直接連接纜線、將C1上的E1/31和E1/32連接埠連接至C2上的E1/31和E1/32連接埠。

  7. 還原連接埠24上的組態、並移除C2上的暫用連接埠通道2。

    如需Cisco命令的詳細資訊、請參閱中的適當指南 "Cisco Nexus 3000系列NX-OS命令參考資料"

    顯示範例

    以下範例顯示使用適當Cisco命令還原連接埠M24的組態:

    C2# configure
    C2(config)# no interface breakout module 1 port 24 map 10g-4x
    C2(config)# no interface port-channel 2
    C2(config-if)# int e1/24
    C2(config-if)# description 40GbE Node Port
    C2(config-if)# spanning-tree port type edge
    C2(config-if)# spanning-tree bpduguard enable
    C2(config-if)# mtu 9216
    C2(config-if-range)# exit
    C2(config)# exit
    C2# copy running-config startup-config
    [] 100%
    Copy Complete.
  8. 輸入下列Cisco命令「no shutup」(不關機)、開啟C2(主動式3232C交換器)上的ISL連接埠31和32

    如需Cisco命令的詳細資訊、請參閱中的適當指南 "Cisco Nexus 3000系列NX-OS命令參考資料"

    顯示範例

    以下範例顯示3232C交換器C2上的Cisco命令「交換器名稱組態」:

    C2# configure
    C2(config)# interface ethernet 1/31-32
    C2(config-if-range)# no shutdown
  9. 驗證3232C交換器C2上的ISL連線是否為「up(正常)」。

    如需Cisco命令的詳細資訊、請參閱中的適當指南 "Cisco Nexus 3000系列NX-OS命令參考資料"

    連接埠eth1/31和eth1/32應指示(P)、表示兩個ISL連接埠都在連接埠通道中

    顯示範例
    C1# show port-channel summary
    Flags: D - Down         P - Up in port-channel (members)
           I - Individual   H - Hot-standby (LACP only)
           s - Suspended    r - Module-removed
           S - Switched     R - Routed
           U - Up (port-channel)
           M - Not in use. Min-links not met
    --------------------------------------------------------------------------------
    Group Port-        Type   Protocol  Member Ports
          Channel
    --------------------------------------------------------------------------------
    1     Po1(SU)      Eth    LACP      Eth1/31(P)   Eth1/32(P)
  10. 在所有節點上、開啟連接至全新3232C交換器C1的所有叢集互連連接埠:

    網路連接埠修改

    顯示範例

    以下範例顯示3232C交換器C1上所有要為n1和n2啟動的叢集互連連接埠:

    cluster::*> network port modify -node n1 -port e0a -up-admin true
    cluster::*> network port modify -node n1 -port e0d -up-admin true
    cluster::*> network port modify -node n2 -port e0a -up-admin true
    cluster::*> network port modify -node n2 -port e0d -up-admin true
  11. 驗證叢集節點連接埠的狀態:

    「網路連接埠展示」

    顯示範例

    下列範例顯示驗證新的3232C交換器C1上所有節點上的所有叢集互連連接埠是否都已啟動:

    cluster::*> network port show –role cluster
      (network port show)
    Node: n1
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e0a       Cluster      Cluster          up   9000 auto/10000  -        -
    e0b       Cluster      Cluster          up   9000 auto/10000  -        -
    e0c       Cluster      Cluster          up   9000 auto/10000  -        -
    e0d       Cluster      Cluster          up   9000 auto/10000  -        -
    
    Node: n2
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e0a       Cluster      Cluster          up   9000  auto/10000 -        -
    e0b       Cluster      Cluster          up   9000  auto/10000 -        -
    e0c       Cluster      Cluster          up   9000  auto/10000 -        -
    e0d       Cluster      Cluster          up   9000  auto/10000 -        -
    8 entries were displayed.
  12. 在所有節點上、將特定的叢集lifs還原為其主連接埠:

    「網路介面回復-伺服器叢集-lif_lif-name_」

    顯示範例

    以下範例顯示要還原至節點n1和n2上其主連接埠的特定叢集lifs:

    cluster::*> network interface revert -vserver Cluster -lif n1_clus1
    cluster::*> network interface revert -vserver Cluster -lif n1_clus4
    cluster::*> network interface revert -vserver Cluster -lif n2_clus1
    cluster::*> network interface revert -vserver Cluster -lif n2_clus4
  13. 驗證介面是否為主介面:

    「網路介面show -role cluster」

    顯示範例

    以下範例顯示n1和n2的叢集互連介面狀態為「up」和「is Home」:

    cluster::*> network interface show -role cluster
     (network interface show)
                Logical    Status     Network            Current       Current Is
    Vserver     Interface  Admin/Oper Address/Mask       Node          Port    Home
    ----------- ---------- ---------- ------------------ ------------- ------- ----
    Cluster
                n1_clus1   up/up      10.10.0.1/24       n1            e0a     true
                n1_clus2   up/up      10.10.0.2/24       n1            e0b     true
                n1_clus3   up/up      10.10.0.3/24       n1            e0c     true
                n1_clus4   up/up      10.10.0.4/24       n1            e0d     true
                n2_clus1   up/up      10.10.0.5/24       n2            e0a     true
                n2_clus2   up/up      10.10.0.6/24       n2            e0b     true
                n2_clus3   up/up      10.10.0.7/24       n2            e0c     true
                n2_clus4   up/up      10.10.0.8/24       n2            e0d     true
    8 entries were displayed.
  14. 驗證遠端叢集介面的連線能力:

更新版本ONTAP

您可以使用 network interface check cluster-connectivity 命令以啟動叢集連線的存取檢查、然後顯示詳細資料:

network interface check cluster-connectivity startnetwork interface check cluster-connectivity show

cluster1::*> network interface check cluster-connectivity start
  • 注意: * 請等待數秒後再執行 `show`命令以顯示詳細資料。

cluster1::*> network interface check cluster-connectivity show
                                  Source           Destination      Packet
Node   Date                       LIF              LIF              Loss
------ -------------------------- ---------------- ---------------- -----------
n1
       3/5/2022 19:21:18 -06:00   n1_clus2         n2-clus1         none
       3/5/2022 19:21:20 -06:00   n1_clus2         n2_clus2         none

n2
       3/5/2022 19:21:18 -06:00   n2_clus2         n1_clus1         none
       3/5/2022 19:21:20 -06:00   n2_clus2         n1_clus2         none
所有 ONTAP 版本

對於所有 ONTAP 版本、您也可以使用 cluster ping-cluster -node <name> 檢查連線能力的命令:

cluster ping-cluster -node <name>

cluster1::*> cluster ping-cluster -node local
Host is n1
Getting addresses from network interface table...
Cluster n1_clus1 n1       e0a    10.10.0.1
Cluster n1_clus2 n1       e0b    10.10.0.2
Cluster n1_clus3 n1       e0c    10.10.0.3
Cluster n1_clus4 n1       e0d    10.10.0.4
Cluster n2_clus1 n2       e0a    10.10.0.5
Cluster n2_clus2 n2       e0b    10.10.0.6
Cluster n2_clus3 n2       e0c    10.10.0.7
Cluster n2_clus4 n2       e0d    10.10.0.8
Local = 10.10.0.1 10.10.0.2 10.10.0.3 10.10.0.4
Remote = 10.10.0.5 10.10.0.6 10.10.0.7 10.10.0.8
Cluster Vserver Id = 4294967293 Ping status:
....
Basic connectivity succeeds on 16 path(s)
Basic connectivity fails on 0 path(s)
................
Detected 9000 byte MTU on 16 path(s):
    Local 10.10.0.1 to Remote 10.10.0.5
    Local 10.10.0.1 to Remote 10.10.0.6
    Local 10.10.0.1 to Remote 10.10.0.7
    Local 10.10.0.1 to Remote 10.10.0.8
    Local 10.10.0.2 to Remote 10.10.0.5
    Local 10.10.0.2 to Remote 10.10.0.6
    Local 10.10.0.2 to Remote 10.10.0.7
    Local 10.10.0.2 to Remote 10.10.0.8
    Local 10.10.0.3 to Remote 10.10.0.5
    Local 10.10.0.3 to Remote 10.10.0.6
    Local 10.10.0.3 to Remote 10.10.0.7
    Local 10.10.0.3 to Remote 10.10.0.8
    Local 10.10.0.4 to Remote 10.10.0.5
    Local 10.10.0.4 to Remote 10.10.0.6
    Local 10.10.0.4 to Remote 10.10.0.7
    Local 10.10.0.4 to Remote 10.10.0.8

Larger than PMTU communication succeeds on 16 path(s)
RPC status:
4 paths up, 0 paths down (tcp check)
4 paths up, 0 paths down (udp check)
  1. 將節點新增至 Nexus 3232C 叢集交換器以擴充叢集。

    下列範例顯示節點n3和n4在Nexus 3232C叢集交換器上分別有40個GbE叢集連接埠連接至E1/7和E1/8、而且兩個節點都已加入叢集。使用的40 GbE叢集互連連接埠為E4A和e4e。

    顯示組態中裝置的相關資訊:

    • 「網路裝置探索秀」

    • 「網路連接埠show -role cluster」

    • 「網路介面show -role cluster」

    • 「系統叢集交換器顯示」

    顯示範例
    cluster::> network device-discovery show
                Local  Discovered
    Node        Port   Device              Interface        Platform
    ----------- ------ ------------------- ---------------- ----------------
    n1         /cdp
                e0a    C1                 Ethernet1/1/1    N3K-C3232C
                e0b    C2                 Ethernet1/1/1    N3K-C3232C
                e0c    C2                 Ethernet1/1/2    N3K-C3232C
                e0d    C1                 Ethernet1/1/2    N3K-C3232C
    n2         /cdp
                e0a    C1                 Ethernet1/1/3    N3K-C3232C
                e0b    C2                 Ethernet1/1/3    N3K-C3232C
                e0c    C2                 Ethernet1/1/4    N3K-C3232C
                e0d    C1                 Ethernet1/1/4    N3K-C3232C
    n3         /cdp
                e4a    C1                 Ethernet1/7      N3K-C3232C
                e4e    C2                 Ethernet1/7      N3K-C3232C
    n4         /cdp
                e4a    C1                 Ethernet1/8      N3K-C3232C
                e4e    C2                 Ethernet1/8      N3K-C3232C
    12 entries were displayed.

    +

    cluster::*> network port show –role cluster
      (network port show)
    Node: n1
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e0a       Cluster      Cluster          up   9000 auto/10000  -        -
    e0b       Cluster      Cluster          up   9000 auto/10000  -        -
    e0c       Cluster      Cluster          up   9000 auto/10000  -        -
    e0d       Cluster      Cluster          up   9000 auto/10000  -        -
    
    Node: n2
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e0a       Cluster      Cluster          up   9000  auto/10000 -        -
    e0b       Cluster      Cluster          up   9000  auto/10000 -        -
    e0c       Cluster      Cluster          up   9000  auto/10000 -        -
    e0d       Cluster      Cluster          up   9000  auto/10000 -        -
    
    Node: n3
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e4a       Cluster      Cluster          up   9000 auto/40000  -        -
    e4e       Cluster      Cluster          up   9000 auto/40000  -        -
    
    Node: n4
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e4a       Cluster      Cluster          up   9000 auto/40000  -        -
    e4e       Cluster      Cluster          up   9000 auto/40000  -        -
    12 entries were displayed.

    +

    cluster::*> network interface show -role cluster
     (network interface show)
                Logical    Status     Network            Current       Current Is
    Vserver     Interface  Admin/Oper Address/Mask       Node          Port    Home
    ----------- ---------- ---------- ------------------ ------------- ------- ----
    Cluster
                n1_clus1   up/up      10.10.0.1/24       n1            e0a     true
                n1_clus2   up/up      10.10.0.2/24       n1            e0b     true
                n1_clus3   up/up      10.10.0.3/24       n1            e0c     true
                n1_clus4   up/up      10.10.0.4/24       n1            e0d     true
                n2_clus1   up/up      10.10.0.5/24       n2            e0a     true
                n2_clus2   up/up      10.10.0.6/24       n2            e0b     true
                n2_clus3   up/up      10.10.0.7/24       n2            e0c     true
                n2_clus4   up/up      10.10.0.8/24       n2            e0d     true
                n3_clus1   up/up      10.10.0.9/24       n3            e4a     true
                n3_clus2   up/up      10.10.0.10/24      n3            e4e     true
                n4_clus1   up/up      10.10.0.11/24      n4            e4a     true
                n4_clus2   up/up      10.10.0.12/24      n4            e4e     true
    12 entries were displayed.

    +

    cluster::*> system cluster-switch show
    
    Switch                      Type               Address          Model
    --------------------------- ------------------ ---------------- ---------------
    C1                          cluster-network    10.10.1.103      NX3232C
         Serial Number: FOX000001
          Is Monitored: true
                Reason:
      Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                        7.0(3)I4(1)
        Version Source: CDP
    
    C2                          cluster-network     10.10.1.104      NX3232C
         Serial Number: FOX000002
          Is Monitored: true
                Reason:
      Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                        7.0(3)I4(1)
        Version Source: CDP
    
    CL1                           cluster-network   10.10.1.101     NX5596
         Serial Number: 01234567
          Is Monitored: true
                Reason:
      Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                        7.1(1)N1(1)
        Version Source: CDP
    CL2                           cluster-network    10.10.1.102     NX5596
         Serial Number: 01234568
          Is Monitored: true
                Reason:
      Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                        7.1(1)N1(1)
        Version Source: CDP
    
    4 entries were displayed.
  2. 使用移除更換的Nexus 5596 system cluster-switch delete 命令(如果未自動移除):

    system cluster-switch delete -device switch-name

    顯示範例
    cluster::> system cluster-switch delete -device CL1
    cluster::> system cluster-switch delete -device CL2
接下來呢?

"完成移轉"