Sostituire l'interruttore CN1610 CL1 con l'interruttore 3232C C1
Per sostituire lo switch CN1610 (CL1) con uno Nexus 3232C (C1), procedere come segue.
-
Verificare lo stato del cluster:
network interface show -role cluster
Mostra esempio
L'esempio seguente mostra che le LIF del cluster richieste sono state migrate alle porte del cluster appropriate ospitate sullo switch del cluster C2:
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 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.
-
Chiudere le porte del nodo collegate a CL1 su tutti i nodi:
network port modify -node node-name -port port-name -up-admin false
Mostra esempio
L'esempio seguente mostra porte specifiche che vengono chiuse sui nodi n1 e 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
-
Spegnere le porte ISL 24, 31 e 32 sullo switch C2 3232C attivo.
Per ulteriori informazioni sui comandi Cisco, consultare le guide elencate nella "Cisco Nexus 3000 Series NX-OS Command References".
Mostra esempio
L'esempio seguente mostra che gli ISL 24, 31 e 32 sono stati spenti sullo switch C2 del 3232C attivo:
C2# configure C2(config)# interface ethernet 1/24/1-4 C2(config-if-range)# shutdown C2(config-if-range)# exit C2(config)# interface ethernet 1/31-32 C2(config-if-range)# shutdown C2(config-if-range)# exit C2(config)# exit C2#
-
Rimuovere i cavi collegati allo switch CN1610 CL1 su tutti i nodi.
Utilizzando il cablaggio appropriato, è necessario ricollegare le porte disconnesse su tutti i nodi allo switch Nexus 3232C C1.
-
Rimuovere i cavi QSFP28 dalla porta C2 E1/24 Nexus 3232C.
È necessario collegare le porte e1/31 e e1/32 su C1 alle porte e1/31 e e1/32 su C2 utilizzando cavi a fibra ottica o a collegamento diretto Cisco QSFP28 supportati.
-
Ripristinare la configurazione sulla porta 24 e rimuovere il canale 2 della porta temporanea su C2:
Per ulteriori informazioni sui comandi Cisco, consultare le guide elencate nella "Cisco Nexus 3000 Series NX-OS Command References".
Mostra esempio
Nell'esempio riportato di seguito viene illustrato il
running-configuration
file in corso di copia instartup-configuration
file:C2# configure C2(config)# no interface breakout module 1 port 24 map 10g-4x C2(config)# no interface port-channel 2 C2(config-if)# interface e1/24 C2(config-if)# description 100GbE/40GbE Node Port C2(config-if)# spanning-tree port type edge Edge port type (portfast) should only be enabled on ports connected to a single host. Connecting hubs, concentrators, switches, bridges, etc... to this interface when edge port type (portfast) is enabled, can cause temporary bridging loops. Use with CAUTION Edge Port Type (Portfast) has been configured on Ethernet 1/24 but will only have effect when the interface is in a non-trunking mode. 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.
-
Porta ISL 31 e 32 su C2, lo switch 3232C attivo.
Per ulteriori informazioni sui comandi Cisco, consultare le guide elencate nella "Cisco Nexus 3000 Series NX-OS Command References".
Mostra esempio
Il seguente esempio mostra gli ISL 31 e 32 che vengono introdotti sullo switch C2 3232C:
C2# configure C2(config)# interface ethernet 1/31-32 C2(config-if-range)# no shutdown C2(config-if-range)# exit C2(config)# exit C2# copy running-config startup-config [] 100% Copy Complete.
-
Verificare che le connessioni ISL siano
up
Sullo switch C2 3232C.Per ulteriori informazioni sui comandi Cisco, consultare le guide elencate nella "Cisco Nexus 3000 Series NX-OS Command References".
Mostra esempio
L'esempio seguente mostra le connessioni ISL verificate. Le porte eth1/31 e eth1/32 indicano
(P)
, Vale a dire che entrambe le porte ISL sonoup
nel port-channel: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) C2# 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)
-
Visualizzare tutte le porte di interconnessione del cluster collegate al nuovo switch 3232C C1 su tutti i nodi:
network port modify -node node-name -port port-name -up-admin true
Mostra esempio
L'esempio seguente mostra tutte le porte di interconnessione del cluster collegate al nuovo switch 3232C C1 in corso di attivazione:
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
-
Verificare lo stato della porta del nodo del cluster:
network port show -role cluster
Mostra esempio
L'esempio seguente mostra l'output che verifica che le porte di interconnessione del cluster sui nodi n1 e n2 sul nuovo switch 3232C C1 siano
up
:cluster::*> network port show -role cluster (network port show) Node: n1 Broadcast Speed (Mbps) Health Ignore Port IPspace Domain Link MTU Admin/Open Status Health 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 Broadcast Speed (Mbps) Health Ignore Port IPspace Domain Link MTU Admin/Open Status Health 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.