既存の2ノード スイッチレス クラスタ環境を使用している場合は、Cisco Nexus 92300YCスイッチを使用して2ノード スイッチ クラスタ環境に移行し、3ノード以上にクラスタを拡張できます。
2ノード スイッチレス構成:
Cisco Nexus 92300YCスイッチの構成:
ネットアップ Hardware Universeには、ケーブル接続に関するより詳しい情報が含まれます。
SMTP、SNMP、SSHなどのサイトのカスタマイズは、新しいスイッチで設定する必要があります。
この手順の例では、クラスタ スイッチとノードで次の命名法を使用しています。
Hardware Universeには、プラットフォームの実際のクラスタ ポートに関する最新情報が含まれています。
次のコマンドは、ケースの自動作成を2時間停止します。
cluster1::*> system node autosupport invoke -node * -type all -message MAINT=2h
次の例は、スイッチcs1でノードに接続されたポート1~64が無効になっていることを示しています。
cs1# config Enter configuration commands, one per line. End with CNTL/Z. cs1(config)# interface e/1-64 cs1(config-if-range)# shutdown
次の例は、スイッチcs1上のISLポートがupになっていることを示しています。
cs1# 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 b - BFD Session Wait S - Switched R - Routed U - Up (port-channel) p - Up in delay-lacp mode (member) M - Not in use. Min-links not met -------------------------------------------------------------------------------- Group Port- Type Protocol Member Ports Channel -------------------------------------------------------------------------------- 1 Po1(SU) Eth LACP Eth1/65(P) Eth1/66(P)
次の例は、スイッチcs2上のISLポートがupになっていることを示しています。
(cs2)# 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 b - BFD Session Wait S - Switched R - Routed U - Up (port-channel) p - Up in delay-lacp mode (member) M - Not in use. Min-links not met -------------------------------------------------------------------------------- Group Port- Type Protocol Member Ports Channel -------------------------------------------------------------------------------- 1 Po1(SU) Eth LACP Eth1/65(P) Eth1/66(P)
次の例は、スイッチcs1上の隣接デバイスを示しています。
cs1# show cdp neighbors Capability Codes: R - Router, T - Trans-Bridge, B - Source-Route-Bridge S - Switch, H - Host, I - IGMP, r - Repeater, V - VoIP-Phone, D - Remotely-Managed-Device, s - Supports-STP-Dispute Device-ID Local Intrfce Hldtme Capability Platform Port ID cs2(FDO220329V5) Eth1/65 175 R S I s N9K-C92300YC Eth1/65 cs2(FDO220329V5) Eth1/66 175 R S I s N9K-C92300YC Eth1/66 Total entries displayed: 2
次の例は、スイッチcs2上の隣接デバイスを示しています。
cs2# show cdp neighbors Capability Codes: R - Router, T - Trans-Bridge, B - Source-Route-Bridge S - Switch, H - Host, I - IGMP, r - Repeater, V - VoIP-Phone, D - Remotely-Managed-Device, s - Supports-STP-Dispute Device-ID Local Intrfce Hldtme Capability Platform Port ID cs1(FDO220329KU) Eth1/65 177 R S I s N9K-C92300YC Eth1/65 cs1(FDO220329KU) Eth1/66 177 R S I s N9K-C92300YC Eth1/66 Total entries displayed: 2
cluster1::*> network port show -ipspace Cluster Node: node1 Speed(Mbps) Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status --------- ------------ ---------------- ---- ---- ----------- -------- e0a Cluster Cluster up 9000 auto/10000 healthy e0b Cluster Cluster up 9000 auto/10000 healthy Node: node2 Speed(Mbps) Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status --------- ------------ ---------------- ---- ---- ----------- -------- e0a Cluster Cluster up 9000 auto/10000 healthy e0b Cluster Cluster up 9000 auto/10000 healthy 4 entries were displayed.
cluster1::*> network interface show -vserver Cluster Logical Status Network Current Current Is Vserver Interface Admin/Oper Address/Mask Node Port Home ----------- ---------- ---------- ------------------ ------------- ------- ----- Cluster node1_clus1 up/up 169.254.209.69/16 node1 e0a true node1_clus2 up/up 169.254.49.125/16 node1 e0b true node2_clus1 up/up 169.254.47.194/16 node2 e0a true node2_clus2 up/up 169.254.19.183/16 node2 e0b true 4 entries were displayed.
cluster1::*> network interface show -vserver Cluster -fields auto-revert Logical Vserver Interface Auto-revert --------- ------------- ------------ Cluster node1_clus1 true node1_clus2 true node2_clus1 true node2_clus2 true 4 entries were displayed.
次の例は、スイッチcs1でポート1/1~1/64が有効になっていることを示しています。
cs1# config Enter configuration commands, one per line. End with CNTL/Z. cs1(config)# interface e1/1-64 cs1(config-if-range)# no shutdown
次の例では、すべてのLIFがノード1とノード2でupになっていて、Is Homeの結果がtrueであることを示します。
cluster1::*> network interface show -vserver Cluster Logical Status Network Current Current Is Vserver Interface Admin/Oper Address/Mask Node Port Home -------- ------------ ---------- ------------------ ----------- ------- ---- Cluster node1_clus1 up/up 169.254.209.69/16 node1 e0a true node1_clus2 up/up 169.254.49.125/16 node1 e0b true node2_clus1 up/up 169.254.47.194/16 node2 e0a true node2_clus2 up/up 169.254.19.183/16 node2 e0b true 4 entries were displayed.
次の例は、クラスタ内のノードの健全性(Health)と参加資格(Eligibility)に関する情報を表示します。
cluster1::*> cluster show Node Health Eligibility Epsilon -------------------- ------- ------------ ------------ node1 true true false node2 true true false 2 entries were displayed.
次の例は、スイッチcs2でポート1/1~1/64が有効になっていることを示しています。
cs2# config Enter configuration commands, one per line. End with CNTL/Z. cs2(config)# interface e1/1-64 cs2(config-if-range)# no shutdown
次の例は、ノード1とノード2のすべてのクラスタ ポートがupになっていることを示しています。
cluster1::*> network port show -ipspace Cluster Node: node1 Ignore Speed(Mbps) Health Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status --------- ------------ ---------------- ---- ---- ----------- -------- ------ e0a Cluster Cluster up 9000 auto/10000 healthy false e0b Cluster Cluster up 9000 auto/10000 healthy false Node: node2 Ignore Speed(Mbps) Health Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status --------- ------------ ---------------- ---- ---- ----------- -------- ------ e0a Cluster Cluster up 9000 auto/10000 healthy false e0b Cluster Cluster up 9000 auto/10000 healthy false 4 entries were displayed.
次の例では、すべてのLIFがノード1とノード2でupになっていて、Is Homeの結果がtrueであることを示します。
cluster1::*> network interface show -vserver Cluster Logical Status Network Current Current Is Vserver Interface Admin/Oper Address/Mask Node Port Home --------- ------------ ---------- ------------------ ---------- ------- ---- Cluster node1_clus1 up/up 169.254.209.69/16 node1 e0a true node1_clus2 up/up 169.254.49.125/16 node1 e0b true node2_clus1 up/up 169.254.47.194/16 node2 e0a true node2_clus2 up/up 169.254.19.183/16 node2 e0b true 4 entries were displayed.
次の例は、両方のスイッチの適切な結果を示しています。
(cs1)# show cdp neighbors Capability Codes: R - Router, T - Trans-Bridge, B - Source-Route-Bridge S - Switch, H - Host, I - IGMP, r - Repeater, V - VoIP-Phone, D - Remotely-Managed-Device, s - Supports-STP-Dispute Device-ID Local Intrfce Hldtme Capability Platform Port ID node1 Eth1/1 133 H FAS2980 e0a node2 Eth1/2 133 H FAS2980 e0a cs2(FDO220329V5) Eth1/65 175 R S I s N9K-C92300YC Eth1/65 cs2(FDO220329V5) Eth1/66 175 R S I s N9K-C92300YC Eth1/66 Total entries displayed: 4 (cs2)# show cdp neighbors Capability Codes: R - Router, T - Trans-Bridge, B - Source-Route-Bridge S - Switch, H - Host, I - IGMP, r - Repeater, V - VoIP-Phone, D - Remotely-Managed-Device, s - Supports-STP-Dispute Device-ID Local Intrfce Hldtme Capability Platform Port ID node1 Eth1/1 133 H FAS2980 e0b node2 Eth1/2 133 H FAS2980 e0b cs1(FDO220329KU) Eth1/65 175 R S I s N9K-C92300YC Eth1/65 cs1(FDO220329KU) Eth1/66 175 R S I s N9K-C92300YC Eth1/66 Total entries displayed: 4
cluster1::*> network device-discovery show -protocol cdp Node/ Local Discovered Protocol Port Device (LLDP: ChassisID) Interface Platform ----------- ------ ------------------------- ---------------- ---------------- node2 /cdp e0a cs1 0/2 N9K-C92300YC e0b cs2 0/2 N9K-C92300YC node1 /cdp e0a cs1 0/1 N9K-C92300YC e0b cs2 0/1 N9K-C92300YC 4 entries were displayed.
次の例のfalseの出力は、設定が無効になっていることを示しています。
cluster1::*> network options switchless-cluster show Enable Switchless Cluster: false
次の例は、クラスタ内のノードの正常性と適格性に関する情報を示します。
cluster1::*> cluster show Node Health Eligibility Epsilon -------------------- ------- ------------ -------- node1 true true false node2 true true false
cluster1::*> cluster ping-cluster -node node2 Host is node2 Getting addresses from network interface table... Cluster node1_clus1 169.254.209.69 node1 e0a Cluster node1_clus2 169.254.49.125 node1 e0b Cluster node2_clus1 169.254.47.194 node2 e0a Cluster node2_clus2 169.254.19.183 node2 e0b Local = 169.254.47.194 169.254.19.183 Remote = 169.254.209.69 169.254.49.125 Cluster Vserver Id = 4294967293 Ping status: .... Basic connectivity succeeds on 4 path(s) Basic connectivity fails on 0 path(s) ................ Detected 9000 byte MTU on 4 path(s): Local 169.254.47.194 to Remote 169.254.209.69 Local 169.254.47.194 to Remote 169.254.49.125 Local 169.254.19.183 to Remote 169.254.209.69 Local 169.254.19.183 to Remote 169.254.49.125 Larger than PMTU communication succeeds on 4 path(s) RPC status: 2 paths up, 0 paths down (tcp check) 2 paths up, 0 paths down (udp check)
cluster1::*> system node autosupport invoke -node * -type all -message MAINT=END