Aggiornamento del file di configurazione di riferimento (RCF)
È possibile aggiornare la versione RCF quando si dispone di una versione esistente del file RCF installata sugli switch operativi.
Assicurarsi di disporre di quanto segue:
-
Backup corrente della configurazione dello switch.
-
Un cluster completamente funzionante (nessun errore nei log o problemi simili).
-
RCF corrente.
-
Se si sta aggiornando la versione RCF, è necessaria una configurazione di avvio nell'RCF che rifletta le immagini di avvio desiderate.
Se è necessario modificare la configurazione di avvio per riflettere le immagini di avvio correnti, è necessario farlo prima di riapplicare RCF in modo che venga creata un'istanza della versione corretta in caso di riavvio futuro.
|
|
Durante questa procedura non è necessario alcun collegamento interswitch operativo (ISL). Ciò è dovuto alla progettazione, in quanto le modifiche alla versione di RCF possono influire temporaneamente sulla connettività ISL. Per garantire operazioni del cluster senza interruzioni, la seguente procedura esegue la migrazione di tutte le LIF del cluster allo switch del partner operativo durante l'esecuzione delle operazioni sullo switch di destinazione. |
|
|
Prima di installare una nuova versione del software dello switch e gli RCF, è necessario cancellare le impostazioni dello switch ed eseguire la configurazione di base. Prima di cancellare le impostazioni dello switch, è necessario essere collegati allo switch utilizzando la console seriale o aver conservato le informazioni di configurazione di base. |
Passaggio 1: Preparazione per l'aggiornamento
-
Se AutoSupport è attivato su questo cluster, eliminare la creazione automatica del caso richiamando un messaggio AutoSupport:
system node autosupport invoke -node * -type all -message MAINT=xhdove x è la durata della finestra di manutenzione in ore.
-
Impostare il livello di privilegio su Advanced (avanzato), immettendo y quando viene richiesto di continuare:
set -privilege advancedViene visualizzato il prompt Advanced (*>).
-
Visualizza le porte su ciascun nodo connesse agli switch:
network device-discovery showMostra esempio
cluster1::*> network device-discovery show Node/ Local Discovered Protocol Port Device (LLDP: ChassisID) Interface Platform ----------- ------ ------------------------- ---------------- ---------------- node1-01/cdp e10a cs1(FLMXXXXXXXX) Ethernet1/16/3 N9K-C9332D-GX2B e10b cs2(FDOXXXXXXXX) Ethernet1/16/3 N9K-C9332D-GX2B e11a cs1(FLMXXXXXXXX) Ethernet1/16/4 N9K-C9332D-GX2B e11b cs2(FDOXXXXXXXX) Ethernet1/16/4 N9K-C9332D-GX2B e1a cs1(FLMXXXXXXXX) Ethernet1/16/1 N9K-C9332D-GX2B e1b cs2(FDOXXXXXXXX) Ethernet1/16/1 N9K-C9332D-GX2B . . . e7a cs1(FLMXXXXXXXX) Ethernet1/16/2 N9K-C9332D-GX2B e7b cs2(FDOXXXXXXXX) Ethernet1/16/2 N9K-C9332D-GX2B node1-01/lldp e10a cs1 (c8:60:8f:xx:xx:xx) Ethernet1/16/3 - e10b cs2 (04:e3:87:xx:xx:xx) Ethernet1/16/3 - e11a cs1 (c8:60:8f:xx:xx:xx) Ethernet1/16/4 - e11b cs2 (04:e3:87:xx:xx:xx) Ethernet1/16/4 - e1a cs1 (c8:60:8f:xx:xx:xx) Ethernet1/16/1 - e1b cs2 (04:e3:87:xx:xx:xx) Ethernet1/16/1 - . . . e7a cs1 (c8:60:8f:xx:xx:xx) Ethernet1/16/2 - e7b cs2 (04:e3:87:xx:xx:xx) Ethernet1/16/2 - -
Verificare lo stato amministrativo e operativo di ogni porto.
-
Porte cluster
-
Verificare che tutte le porte del cluster siano funzionanti:
network port show -ipspace ClusterMostra esempio
cluster1::*> network port show -ipspace Cluster Node: node1-01 Ignore Speed(Mbps) Health Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status --------- ------------ ---------------- ---- ---- ----------- -------- ------ e7a Cluster Cluster up 9000 auto/100000 healthy false e7b Cluster Cluster up 9000 auto/100000 healthy false Node: node1-02 Ignore Speed(Mbps) Health Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status --------- ------------ ---------------- ---- ---- ----------- -------- ------ e7a Cluster Cluster up 9000 auto/100000 healthy false e7b Cluster Cluster up 9000 auto/100000 healthy false Node: node1-03 Ignore Speed(Mbps) Health Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status --------- ------------ ---------------- ---- ---- ----------- -------- ------ e7a Cluster Cluster up 9000 auto/10000 healthy false e7b Cluster Cluster up 9000 auto/10000 healthy false Node: node1-04 Ignore Speed(Mbps) Health Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status --------- ------------ ---------------- ---- ---- ----------- -------- ------ e7a Cluster Cluster up 9000 auto/10000 healthy false e7b Cluster Cluster up 9000 auto/10000 healthy false -
Verificare che tutte le interfacce del cluster (LIF) siano sulla porta home:
network interface show -role clusterMostra esempio
cluster1::*> network interface show -role cluster Logical Status Network Current Current Is Vserver Interface Admin/Oper Address/Mask Node Port Home ----------- ------------------ ---------- ----------------- ------------ ------- ---- Cluster node1-01_clus1 up/up 169.254.3.4/23 node1-01 e7a true node1-01_clus2 up/up 169.254.3.5/23 node1-01 e7b true node1-02_clus1 up/up 169.254.3.8/23 node1-02 e7a true node1-02_clus2 up/up 169.254.3.9/23 node1-02 e7b true node1-03_clus1 up/up 169.254.1.3/23 node1-03 e7a true node1-03_clus2 up/up 169.254.1.1/23 node1-03 e7b true node1-04_clus1 up/up 169.254.1.6/23 node1-04 e7a true node1-04_clus2 up/up 169.254.1.7/23 node1-04 e7b true 8 entries were displayed. -
Verificare che il cluster visualizzi le informazioni per entrambi gli switch:
system cluster-switch show -is-monitoring-enabled-operational trueMostra esempio
cluster1::*> system cluster-switch show -is-monitoring-enabled-operational true Switch Type Address Model --------------------------- ------------------ ---------------- --------------- cs2(FDOXXXXXXXX) cluster-network 10.228.137.233 N9K-C9332D-GX2B Serial Number: FDOXXXXXXXX Is Monitored: true Reason: None Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 10.4(2) Version Source: CDP/ISDP cs2(FLMXXXXXXXX) cluster-network 10.228.137.234 N9K-C9332D-GX2B Serial Number: FLMXXXXXXXX Is Monitored: true Reason: None Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 10.4(2) Version Source: CDP/ISDP 2 entries were displayed.
-
-
Porte HA
-
Verificare che tutte le porte HA siano attive e in stato di integrità:
ha interconnect status show -node <node-name>
-
Mostra esempio
cluster1::*> ha interconnect status show -node node1-01 (system ha interconnect status show) Node: node1-01 Link 0 Status: up Link 1 Status: up Is Link 0 Active: true Is Link 1 Active: true IC RDMA Connection: up Slot: 0 Debug Firmware: no Interconnect Port 0 : Port Name: e1a-17 MTU: 4096 Link Information: ACTIVE Interconnect Port 1 : Port Name: e1b-18 MTU: 4096 Link Information: ACTIVE cluster1::*> ha interconnect status show -node node1-01 (system ha interconnect status show) Node: node1-01 Link 0 Status: up Link 1 Status: up Is Link 0 Active: true Is Link 1 Active: true IC RDMA Connection: up Slot: 0 Debug Firmware: no Interconnect Port 0 : Port Name: e1a-17 MTU: 4096 Link Information: ACTIVE Interconnect Port 1 : Port Name: e1b-18 MTU: 4096 Link Information: ACTIVE . . .-
Porte di archiviazione
-
Verificare che tutte le porte di archiviazione siano attive e integre:
storage port show -port-type ENETMostra esempio
cluster1::*> storage port show -port-type ENET Speed Node Port Type Mode (Gb/s) State Status ------------------ ---- ----- ------- ------ -------- ----------- node1-01 e10a ENET - 100 enabled online e10b ENET - 100 enabled online e11a ENET - 100 enabled online e11b ENET - 100 enabled online node1-02 e10a ENET - 100 enabled online e10b ENET - 100 enabled online e11a ENET - 100 enabled online e11b ENET - 100 enabled online node1-03 e10a ENET - 100 enabled online e10b ENET - 100 enabled online e11a ENET - 100 enabled online node1-04 e10a ENET - 100 enabled online e10b ENET - 100 enabled online e11a ENET - 100 enabled online e11b ENET - 100 enabled online 16 entries were displayed.
-
-
Porte per ripiani portaoggetti
-
Verificare che tutte le porte dello scaffale di archiviazione siano attive e in buono stato:
storage shelf port showMostra esempio
cluster1::*> storage shelf port show Shelf ID Module State Internal? ----- -- ------ ------------ --------- 1.1 0 A connected false 1 A connected false 2 A connected false 3 A connected false 4 A connected false 5 A connected false 6 A connected false 7 A connected false 8 B connected false 9 B connected false 10 B connected false 11 B connected false 12 B connected false 13 B connected false 14 B connected false 15 B connected false 16 entries were displayed. -
Verificare che tutte le porte dello scaffale di archiviazione siano attive e in buono stato:
storage shelf port show -fields remote-device,remote-port,connector-stateMostra esempio
cluster1::*> storage shelf port show -fields remote-device,remote-port,connector-state shelf id connector-state remote-port remote-device ----- -- --------------- -------------- ----------------- 1.1 0 connected Ethernet1/17/1 CX9332D-cs1 1.1 1 connected Ethernet1/15/1 CX9364D-cs1 1.1 2 connected Ethernet1/17/2 CX9332D-cs1 1.1 3 connected Ethernet1/15/2 CX9364D-cs1 1.1 4 connected Ethernet1/17/3 CX9332D-cs1 1.1 5 connected Ethernet1/15/3 CX9364D-cs1 1.1 6 connected Ethernet1/17/4 CX9332D-cs1 1.1 7 connected Ethernet1/15/4 CX9364D-cs1 1.1 8 connected Ethernet1/19/1 CX9332D-cs1 1.1 9 connected Ethernet1/17/1 CX9364D-cs1 1.1 10 connected Ethernet1/19/2 CX9332D-cs1 1.1 11 connected Ethernet1/17/2 CX9364D-cs1 1.1 12 connected Ethernet1/19/3 CX9332D-cs1 1.1 13 connected Ethernet1/17/3 CX9364D-cs1 1.1 14 connected Ethernet1/19/4 CX9332D-cs1 1.1 15 connected Ethernet1/17/4 CX9364D-cs1 16 entries were displayed.
-
-
-
Disattiva l'autorevert sulle LIF del cluster.
network interface modify -vserver Cluster -lif * -auto-revert false
Fase 2: Configurare le porte
-
Sullo switch cs1, chiudere le porte collegate a tutte le porte dei nodi.
cs1# config cs1(config)# interface e1/1/1-4,e1/2/1-4,e1/3/1-4,e1/4/1-4,e1/5/1-4,e1/6/1-4,e1/7/1-4,e1/8/1-4 cs1(config-if-range)# shutdown cs1(config)# interface e1/9/1-4,e1/10/1-4,e1/11/1-4,e1/12/1-4,e1/13/1-4,e1/14/1-4,e1/15/1-4,e1/16/1-4 cs1(config-if-range)# shutdown cs1(config)# interface e1/17/1-4,e1/18/1-4,e1/19/1-4,e1/20/1-4,e1/21/1-4,e1/22/1-44,e1/23/1-4 cs1(config-if-range)# shutdown cs1(config)# interface e1/24/1-,e1/25/1-4,e1/26/1-4,e1/27/1-4,e1/28/1-4,e1/29/1-4,e1/30/1-44 cs1(config-if-range)# shutdown cs1(config-if-range)# exit cs1(config)# exit
Assicurati di chiudere tutte le porte connesse per evitare problemi di connessione di rete. Vedi l'articolo della Knowledge Base "Nodo fuori dal quorum quando si esegue la migrazione della LIF del cluster durante l'aggiornamento del sistema operativo dello switch" per ulteriori dettagli. -
Verificare che i LIF del cluster abbiano eseguito il failover sulle porte ospitate sullo switch cs1. Potrebbero volerci alcuni secondi.
network interface show -role clusterMostra esempio
cluster1::*> network interface show -role cluster Logical Status Network Current Current Is Vserver Interface Admin/Oper Address/Mask Node Port Home ----------- --------------- ---------- ------------------ ----------- ------- ---- Cluster node1-01_clus1 up/up 169.254.36.44/16 node1-01 e7a true node1-01_clus2 up/up 169.254.7.5/16 node1-01 e7b true node1-02_clus1 up/up 169.254.197.206/16 node1-02 e7a true node1-02_clus2 up/up 169.254.195.186/16 node1-02 e7b true node1-03_clus1 up/up 169.254.192.49/16 node1-03 e7a true node1-03_clus2 up/up 169.254.182.76/16 node1-03 e7b true node1-04_clus1 up/up 169.254.59.49/16 node1-04 e7a true node1-04_clus2 up/up 169.254.62.244/16 node1-04 e7b true 8 entries were displayed. -
Verificare che il cluster funzioni correttamente:
cluster showMostra esempio
cluster1::*> cluster show Node Health Eligibility Epsilon ----------------- ------- ------------ ------- node1-01 true true false node1-02 true true false node1-03 true true true node1-04 true true false 4 entries were displayed.
-
Se non è già stato fatto, salvare una copia della configurazione corrente dello switch copiando l'output del seguente comando in un file di testo:
show running-config-
Registrare eventuali aggiunte personalizzate tra l'attuale
running-confige il file RCF in uso (ad esempio una configurazione SNMP per la tua organizzazione). -
Per NX-OS 10.2 e versioni successive, utilizzare
show diff running-configcomando per confrontare con il file RCF salvato nel bootflash. In caso contrario, utilizzare uno strumento di confronto/differenza di terze parti.
-
-
Salva i dettagli di configurazione di base nel
write_erase.cfgfile sul bootflash.Assicurati di configurare quanto segue:
-
Nome utente e password
-
Indirizzo IP di gestione
-
Gateway predefinito
-
Cambia nome
cs1# show run | i "username admin password" > bootflash:write_erase.cfgcs1# show run | section "vrf context management" >> bootflash:write_erase.cfgcs1# show run | section "interface mgmt0" >> bootflash:write_erase.cfgcs1# show run | section "switchname" >> bootflash:write_erase.cfgcs1# echo "hardware access-list tcam region ing-racl 1024" >> bootflash:write_erase.cfgcs1# echo "hardware access-list tcam region egr-racl 1024" >> bootflash:write_erase.cfgcs1# echo "hardware access-list tcam region ing-l2-qos 1536" >> bootflash:write_erase.cfgVedi l'articolo della Knowledge Base"Come cancellare la configurazione su uno switch Cisco Interconnect mantenendo la connettività remota" per ulteriori dettagli.
-
-
Verificare che il
write_erase.cfgil file è popolato come previsto:show file bootflash:write_erase.cfg -
Emettere il
write erasecomando per cancellare la configurazione salvata corrente:cs1# write eraseWarning: This command will erase the startup-configuration.Do you wish to proceed anyway? (y/n) [n] y -
Copiare la configurazione di base salvata in precedenza nella configurazione di avvio.
cs1# copy bootflash:write_erase.cfg startup-config -
Riavviare lo switch:
cs1# reloadThis command will reboot the system. (y/n)? [n] y -
Dopo che l'indirizzo IP di gestione è nuovamente raggiungibile, accedere allo switch tramite SSH.
Potrebbe essere necessario aggiornare le voci del file host relative alle chiavi SSH.
-
Copiare l'RCF nella memoria di avvio dello switch CS1 utilizzando uno dei seguenti protocolli di trasferimento: FTP, TFTP, SFTP o SCP.
Per ulteriori informazioni sui comandi Cisco, consultare la guida appropriata in "Cisco Nexus 9000 Series NX-OS Command Reference" guide.
Mostra esempio
Questo esempio mostra l'utilizzo di TFTP per copiare un RCF nel bootflash dello switch CS1:
cs1# copy tftp: bootflash: vrf management Enter source filename: NX9332D-GX2B-RCF-v10.0-Shared.txt Enter hostname for the tftp server: 172.22.201.50 Trying to connect to tftp server......Connection to Server Established. TFTP get operation was successful Copy complete, now saving to disk (please wait)...
-
Applicare l'RCF precedentemente scaricato al bootflash.
Per ulteriori informazioni sui comandi Cisco, consultare la guida appropriata in "Cisco Nexus 9000 Series NX-OS Command Reference" guide.
Questo esempio mostra il file RCF
NX9332D-GX2B-RCF-v10.0-Shared.txtin fase di installazione sullo switch cs1:cs1# copy NX9332D-GX2B-RCF-v10.0-Shared.txt running-config echo-commands
Assicuratevi di leggere attentamente le sezioni Note di installazione, Note importanti e banner del vostro RCF. Per garantire la corretta configurazione e il corretto funzionamento dello switch, è necessario leggere e seguire queste istruzioni.
-
Verificare che il file RCF sia la versione più recente corretta:
show running-configQuando si controlla l'output per verificare che l'RCF sia corretto, assicurarsi che le seguenti informazioni siano corrette:
-
Il banner RCF
-
Le impostazioni di nodo e porta
-
Personalizzazioni
L'output varia in base alla configurazione del sito. Controllare le impostazioni della porta e fare riferimento alle note di rilascio per eventuali modifiche specifiche all'RCF installato.
-
-
Riapplicare eventuali personalizzazioni precedenti alla configurazione dello switch.
-
Dopo aver verificato che le versioni RCF, le aggiunte personalizzate e le impostazioni degli switch siano corrette, copiare il file
running-configfile alstartup-configfile.Per ulteriori informazioni sui comandi Cisco, consultare la guida appropriata in "Cisco Nexus 9000 Series NX-OS Command Reference" guide.
cs1# copy running-config startup-config[] 100% Copy complete -
Riavviare l'interruttore CS1. È possibile ignorare gli avvisi "`cluster switch Health monitor'" e gli eventi "`cluster ports down'" riportati sui nodi durante il riavvio dello switch.
cs1# reloadThis command will reboot the system. (y/n)? [n] y -
Verificare lo stato di tutte le porte del cluster.
-
Porte cluster
-
Verificare che le porte del cluster siano funzionanti in tutti i nodi del cluster:
network port show -ipspace clusterMostra esempio
cluster1::*> network port show -ipspace Cluster Node: node1 Ignore Speed(Mbps) Health Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status --------- ------------ ---------------- ---- ---- ----------- -------- ------ e7a Cluster Cluster up 9000 auto/10000 healthy false e7b Cluster Cluster up 9000 auto/10000 healthy false Node: node1-02 Ignore Speed(Mbps) Health Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status --------- ------------ ---------------- ---- ---- ----------- -------- ------ e7a Cluster Cluster up 9000 auto/10000 healthy false e7b Cluster Cluster up 9000 auto/10000 healthy false Node: node1-03 Ignore Speed(Mbps) Health Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status --------- ------------ ---------------- ---- ---- ----------- -------- ------ e7a Cluster Cluster up 9000 auto/100000 healthy false e7b Cluster Cluster up 9000 auto/100000 healthy false Node: node1-04 Ignore Speed(Mbps) Health Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status --------- ------------ ---------------- ---- ---- ----------- -------- ------ e7a Cluster Cluster up 9000 auto/100000 healthy false e7b Cluster Cluster up 9000 auto/100000 healthy false 8 entries were displayed. -
Verificare lo stato dello switch dal cluster.
network device-discovery show -protocol cdpsystem cluster-switch show -is-monitoring-enabled-operational trueMostra esempio
cluster1::*> network device-discovery show -protocol cdp Node/ Local Discovered Protocol Port Device (LLDP: ChassisID) Interface Platform ----------- ------ ------------------------- ---------------- ---------------- node1-01/cdp e10a cs1(FLMXXXXXXXX) Ethernet1/16/3 N9K-C9332D-GX2B e10b cs2(FDOXXXXXXXX) Ethernet1/16/3 N9K-C9332D-GX2B e11a cs1(FLMXXXXXXXX) Ethernet1/16/4 N9K-C9332D-GX2B e11b cs2(FDOXXXXXXXX) Ethernet1/16/4 N9K-C9332D-GX2B e1a cs1(FLMXXXXXXXX) Ethernet1/16/1 N9K-C9332D-GX2B e1b cs2(FDOXXXXXXXX) Ethernet1/16/1 N9K-C9332D-GX2B . . . e7a cs1(FLMXXXXXXXX) Ethernet1/16/2 N9K-C9332D-GX2B e7b cs2(FDOXXXXXXXX) Ethernet1/16/2 N9K-C9332D-GX2B cluster1::*> system cluster-switch show -is-monitoring-enabled-operational true Switch Type Address Model --------------------------- ------------------ ---------------- --------------- cs2(FDOXXXXXXXX) cluster-network 10.228.137.233 N9K-C9332D-GX2B Serial Number: FDOXXXXXXXX Is Monitored: true Reason: None Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 10.4(2) Version Source: CDP/ISDP cs1(FLMXXXXXXXX) cluster-network 10.228.137.234 N9K-C9332D-GX2B Serial Number: FLMXXXXXXXX Is Monitored: true Reason: None Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 10.4(2) Version Source: CDP/ISDP 2 entries were displayed.
-
-
Porte HA
-
Verificare che tutte le porte HA siano attive e in stato di integrità:
ha interconnect status show -node <node-name>
-
Mostra esempio
cluster1::*> ha interconnect status show -node node1-01 (system ha interconnect status show) Node: node1-01 Link 0 Status: up Link 1 Status: up Is Link 0 Active: true Is Link 1 Active: true IC RDMA Connection: up Slot: 0 Debug Firmware: no Interconnect Port 0 : Port Name: e1a-17 MTU: 4096 Link Information: ACTIVE Interconnect Port 1 : Port Name: e1b-18 MTU: 4096 Link Information: ACTIVE cluster1::*> ha interconnect status show -node node1-02 (system ha interconnect status show) Node: node1-02 Link 0 Status: up Link 1 Status: up Is Link 0 Active: true Is Link 1 Active: true IC RDMA Connection: up Slot: 0 Debug Firmware: no Interconnect Port 0 : Port Name: e1a-17 MTU: 4096 Link Information: ACTIVE Interconnect Port 1 : Port Name: e1b-18 MTU: 4096 Link Information: ACTIVE . . .-
Porte di archiviazione
-
Verificare che tutte le porte di archiviazione siano attive e integre:
storage port show -port-type ENETMostra esempio
cluster1::*> storage port show -port-type ENET Speed Node Port Type Mode (Gb/s) State Status ------------------ ---- ----- ------- ------ -------- ----------- node1-01 e10a ENET - 100 enabled online e10b ENET - 100 enabled online e11a ENET - 100 enabled online e11b ENET - 100 enabled online node1-02 e10a ENET - 100 enabled online e10b ENET - 100 enabled online e11a ENET - 100 enabled online e11b ENET - 100 enabled online node1-03 e10a ENET - 100 enabled online e10b ENET - 100 enabled online e11a ENET - 100 enabled online node1-04 e10a ENET - 100 enabled online e10b ENET - 100 enabled online e11a ENET - 100 enabled online e11b ENET - 100 enabled online 16 entries were displayed.
-
-
Porte per ripiani portaoggetti
-
Verificare che tutte le porte dello scaffale di archiviazione siano attive e in buono stato:
storage shelf port showMostra esempio
cluster1::*> storage shelf port show Shelf ID Module State Internal? ----- -- ------ ------------ --------- 1.1 0 A connected false 1 A connected false 2 A connected false 3 A connected false 4 A connected false 5 A connected false 6 A connected false 7 A connected false 8 B connected false 9 B connected false 10 B connected false 11 B connected false 12 B connected false 13 B connected false 14 B connected false 15 B connected false 16 entries were displayed. -
Verificare lo stato di connessione di tutte le porte dello scaffale di archiviazione:
storage shelf port show -fields remote-device,remote-port,connector-stateMostra esempio
cluster1::*> storage shelf port show -fields remote-device,remote-port,connector-state shelf id connector-state remote-port remote-device ----- -- --------------- -------------- ----------------- 1.1 0 connected Ethernet1/17/1 CX9332D-cs1 1.1 1 connected Ethernet1/15/1 CX9364D-cs1 1.1 2 connected Ethernet1/17/2 CX9332D-cs1 1.1 3 connected Ethernet1/15/2 CX9364D-cs1 1.1 4 connected Ethernet1/17/3 CX9332D-cs1 1.1 5 connected Ethernet1/15/3 CX9364D-cs1 1.1 6 connected Ethernet1/17/4 CX9332D-cs1 1.1 7 connected Ethernet1/15/4 CX9364D-cs1 1.1 8 connected Ethernet1/19/1 CX9332D-cs1 1.1 9 connected Ethernet1/17/1 CX9364D-cs1 1.1 10 connected Ethernet1/19/2 CX9332D-cs1 1.1 11 connected Ethernet1/17/2 CX9364D-cs1 1.1 12 connected Ethernet1/19/3 CX9332D-cs1 1.1 13 connected Ethernet1/17/3 CX9364D-cs1 1.1 14 connected Ethernet1/19/4 CX9332D-cs1 1.1 15 connected Ethernet1/17/4 CX9364D-cs1 16 entries were displayed.
-
-
-
Verificare che il cluster funzioni correttamente:
cluster showMostra esempio
cluster1::*> cluster show Node Health Eligibility Epsilon ----------------- -------- ------------- ------- node1-01 true true false node1-02 true true false node1-03 true true true node1-04 true true false 4 entries were displayed.
-
Ripetere i passaggi da 4 a 18 sullo switch cs2.
-
Abilitare il ripristino automatico sulle LIF del cluster.
network interface modify -vserver Cluster -lif * -auto-revert true
Fase 3: Verificare la configurazione della rete cluster e lo stato del cluster
-
Verificare che le porte dello switch collegate alle porte del cluster siano up.
show interface briefMostra esempio
cs1# show interface brief | grep up . . Eth1/9/3 1 eth trunk up none 100G(D) -- Eth1/9/4 1 eth trunk up none 100G(D) -- Eth1/15/1 1 eth trunk up none 100G(D) -- Eth1/15/2 1 eth trunk up none 100G(D) -- Eth1/15/3 1 eth trunk up none 100G(D) -- Eth1/15/4 1 eth trunk up none 100G(D) -- Eth1/16/1 1 eth trunk up none 100G(D) -- Eth1/16/2 1 eth trunk up none 100G(D) -- Eth1/16/3 1 eth trunk up none 100G(D) -- Eth1/16/4 1 eth trunk up none 100G(D) -- Eth1/17/1 1 eth trunk up none 100G(D) -- Eth1/17/2 1 eth trunk up none 100G(D) -- Eth1/17/3 1 eth trunk up none 100G(D) -- Eth1/17/4 1 eth trunk up none 100G(D) -- . . .
-
Verificare che i nodi previsti siano ancora connessi:
show cdp neighborsMostra esempio
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(FDOXXXXXXXX) Eth1/31 179 R S I s N9K-C9364D-GX2A Eth1/63 cs2(FDOXXXXXXXX) Eth1/32 179 R S I s N9K-C9364D-GX2A Eth1/64 node1-01 Eth1/4/1 123 H AFX-1K e1a node1-01 Eth1/4/2 123 H AFX-1K e7a node1-01 Eth1/4/3 123 H AFX-1K e10a node1-01 Eth1/4/4 123 H AFX-1K e11a node1-02 Eth1/9/1 138 H AFX-1K e1a node1-02 Eth1/9/2 138 H AFX-1K e7a node1-02 Eth1/9/3 138 H AFX-1K e10a node1-02 Eth1/9/4 138 H AFX-1K e11a node1-03 Eth1/15/1 138 H AFX-1K e1a node1-03 Eth1/15/2 138 H AFX-1K e7a node1-03 Eth1/15/3 138 H AFX-1K e10a node1-03 Eth1/15/4 138 H AFX-1K e11a node1-04 Eth1/16/1 173 H AFX-1K e1a node1-04 Eth1/16/2 173 H AFX-1K e7a node1-04 Eth1/16/3 173 H AFX-1K e10a node1-04 Eth1/16/4 173 H AFX-1K e11a Total entries displayed: 18 -
Verificare che i nodi del cluster si trovino nelle VLAN del cluster corrette utilizzando i seguenti comandi:
show vlan briefshow interface trunkMostra esempio
cs1# show vlan brief VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Po1, Po999, Eth1/31, Eth1/32 Eth1/33, Eth1/34, Eth1/1/1 Eth1/1/2, Eth1/1/3, Eth1/1/4 Eth1/2/1, Eth1/2/2, Eth1/2/3 Eth1/2/4, Eth1/3/1, Eth1/3/2 Eth1/3/3, Eth1/3/4, Eth1/4/1 Eth1/4/2, Eth1/4/3, Eth1/4/4 Eth1/5/1, Eth1/5/2, Eth1/5/3 Eth1/5/4, Eth1/6/1, Eth1/6/2 Eth1/6/3, Eth1/6/4, Eth1/7/1 Eth1/7/2, Eth1/7/3, Eth1/7/4 Eth1/8/1, Eth1/8/2, Eth1/8/3 Eth1/8/4, Eth1/9/1, Eth1/9/2 Eth1/9/3, Eth1/9/4, Eth1/10/1 Eth1/10/2, Eth1/10/3, Eth1/10/4 Eth1/11/1, Eth1/11/2, Eth1/11/3 Eth1/11/4, Eth1/12/1, Eth1/12/2 Eth1/12/3, Eth1/12/4, Eth1/13/1 Eth1/13/2, Eth1/13/3, Eth1/13/4 Eth1/14/1, Eth1/14/2, Eth1/14/3 Eth1/14/4, Eth1/15/1, Eth1/15/2 Eth1/15/3, Eth1/15/4, Eth1/16/1 Eth1/16/2, Eth1/16/3, Eth1/16/4 Eth1/17/1, Eth1/17/2, Eth1/17/3 Eth1/17/4, Eth1/18/1, Eth1/18/2 Eth1/18/3, Eth1/18/4, Eth1/19/1 Eth1/19/2, Eth1/19/3, Eth1/19/4 Eth1/20/1, Eth1/20/2, Eth1/20/3 Eth1/20/4, Eth1/21/1, Eth1/21/2 Eth1/21/3, Eth1/21/4, Eth1/22/1 Eth1/22/2, Eth1/22/3, Eth1/22/4 Eth1/23/1, Eth1/23/2, Eth1/23/3 Eth1/23/4, Eth1/24/1, Eth1/24/2 Eth1/24/3, Eth1/24/4, Eth1/25/1 Eth1/25/2, Eth1/25/3, Eth1/25/4 Eth1/26/1, Eth1/26/2, Eth1/26/3 Eth1/26/4, Eth1/27/1, Eth1/27/2 Eth1/27/3, Eth1/27/4, Eth1/28/1 Eth1/28/2, Eth1/28/3, Eth1/28/4 Eth1/29/1, Eth1/29/2, Eth1/29/3 Eth1/29/4, Eth1/30/1, Eth1/30/2 Eth1/30/3, Eth1/30/4 17 VLAN0017 active Eth1/1/1, Eth1/1/2, Eth1/1/3 Eth1/1/4, Eth1/2/1, Eth1/2/2 Eth1/2/3, Eth1/2/4, Eth1/3/1 Eth1/3/2, Eth1/3/3, Eth1/3/4 Eth1/4/1, Eth1/4/2, Eth1/4/3 Eth1/4/4, Eth1/5/1, Eth1/5/2 Eth1/5/3, Eth1/5/4, Eth1/6/1 Eth1/6/2, Eth1/6/3, Eth1/6/4 Eth1/7/1, Eth1/7/2, Eth1/7/3 Eth1/7/4, Eth1/8/1, Eth1/8/2 Eth1/8/3, Eth1/8/4, Eth1/9/1 Eth1/9/2, Eth1/9/3, Eth1/9/4 Eth1/10/1, Eth1/10/2, Eth1/10/3 Eth1/10/4, Eth1/11/1, Eth1/11/2 Eth1/11/3, Eth1/11/4, Eth1/12/1 Eth1/12/2, Eth1/12/3, Eth1/12/4 Eth1/13/1, Eth1/13/2, Eth1/13/3 Eth1/13/4, Eth1/14/1, Eth1/14/2 Eth1/14/3, Eth1/14/4, Eth1/15/1 Eth1/15/2, Eth1/15/3, Eth1/15/4 Eth1/16/1, Eth1/16/2, Eth1/16/3 Eth1/16/4, Eth1/17/1, Eth1/17/2 Eth1/17/3, Eth1/17/4, Eth1/18/1 Eth1/18/2, Eth1/18/3, Eth1/18/4 Eth1/19/1, Eth1/19/2, Eth1/19/3 Eth1/19/4, Eth1/20/1, Eth1/20/2 Eth1/20/3, Eth1/20/4, Eth1/21/1 Eth1/21/2, Eth1/21/3, Eth1/21/4 Eth1/22/1, Eth1/22/2, Eth1/22/3 Eth1/22/4, Eth1/23/1, Eth1/23/2 Eth1/23/3, Eth1/23/4, Eth1/24/1 Eth1/24/2, Eth1/24/3, Eth1/24/4 Eth1/25/1, Eth1/25/2, Eth1/25/3 Eth1/25/4, Eth1/26/1, Eth1/26/2 Eth1/26/3, Eth1/26/4, Eth1/27/1 Eth1/27/2, Eth1/27/3, Eth1/27/4 Eth1/28/1, Eth1/28/2, Eth1/28/3 Eth1/28/4, Eth1/29/1, Eth1/29/2 Eth1/29/3, Eth1/29/4, Eth1/30/1 Eth1/30/2, Eth1/30/3, Eth1/30/4 18 VLAN0018 active Eth1/1/1, Eth1/1/2, Eth1/1/3 Eth1/1/4, Eth1/2/1, Eth1/2/2 Eth1/2/3, Eth1/2/4, Eth1/3/1 Eth1/3/2, Eth1/3/3, Eth1/3/4 Eth1/4/1, Eth1/4/2, Eth1/4/3 Eth1/4/4, Eth1/5/1, Eth1/5/2 Eth1/5/3, Eth1/5/4, Eth1/6/1 Eth1/6/2, Eth1/6/3, Eth1/6/4 Eth1/7/1, Eth1/7/2, Eth1/7/3 Eth1/7/4, Eth1/8/1, Eth1/8/2 Eth1/8/3, Eth1/8/4, Eth1/9/1 Eth1/9/2, Eth1/9/3, Eth1/9/4 Eth1/10/1, Eth1/10/2, Eth1/10/3 Eth1/10/4, Eth1/11/1, Eth1/11/2 Eth1/11/3, Eth1/11/4, Eth1/12/1 Eth1/12/2, Eth1/12/3, Eth1/12/4 Eth1/13/1, Eth1/13/2, Eth1/13/3 Eth1/13/4, Eth1/14/1, Eth1/14/2 Eth1/14/3, Eth1/14/4, Eth1/15/1 Eth1/15/2, Eth1/15/3, Eth1/15/4 Eth1/16/1, Eth1/16/2, Eth1/16/3 Eth1/16/4, Eth1/17/1, Eth1/17/2 Eth1/17/3, Eth1/17/4, Eth1/18/1 Eth1/18/2, Eth1/18/3, Eth1/18/4 Eth1/19/1, Eth1/19/2, Eth1/19/3 Eth1/19/4, Eth1/20/1, Eth1/20/2 Eth1/20/3, Eth1/20/4, Eth1/21/1 Eth1/21/2, Eth1/21/3, Eth1/21/4 Eth1/22/1, Eth1/22/2, Eth1/22/3 Eth1/22/4, Eth1/23/1, Eth1/23/2 Eth1/23/3, Eth1/23/4, Eth1/24/1 Eth1/24/2, Eth1/24/3, Eth1/24/4 Eth1/25/1, Eth1/25/2, Eth1/25/3 Eth1/25/4, Eth1/26/1, Eth1/26/2 Eth1/26/3, Eth1/26/4, Eth1/27/1 Eth1/27/2, Eth1/27/3, Eth1/27/4 Eth1/28/1, Eth1/28/2, Eth1/28/3 Eth1/28/4, Eth1/29/1, Eth1/29/2 Eth1/29/3, Eth1/29/4, Eth1/30/1 Eth1/30/2, Eth1/30/3, Eth1/30/4 30 VLAN0030 active Eth1/1/1, Eth1/1/2, Eth1/1/3 Eth1/1/4, Eth1/2/1, Eth1/2/2 Eth1/2/3, Eth1/2/4, Eth1/3/1 Eth1/3/2, Eth1/3/3, Eth1/3/4 Eth1/4/1, Eth1/4/2, Eth1/4/3 Eth1/4/4, Eth1/5/1, Eth1/5/2 Eth1/5/3, Eth1/5/4, Eth1/6/1 Eth1/6/2, Eth1/6/3, Eth1/6/4 Eth1/7/1, Eth1/7/2, Eth1/7/3 Eth1/7/4, Eth1/8/1, Eth1/8/2 Eth1/8/3, Eth1/8/4, Eth1/9/1 Eth1/9/2, Eth1/9/3, Eth1/9/4 Eth1/10/1, Eth1/10/2, Eth1/10/3 Eth1/10/4, Eth1/11/1, Eth1/11/2 Eth1/11/3, Eth1/11/4, Eth1/12/1 Eth1/12/2, Eth1/12/3, Eth1/12/4 Eth1/13/1, Eth1/13/2, Eth1/13/3 Eth1/13/4, Eth1/14/1, Eth1/14/2 Eth1/14/3, Eth1/14/4, Eth1/15/1 Eth1/15/2, Eth1/15/3, Eth1/15/4 Eth1/16/1, Eth1/16/2, Eth1/16/3 Eth1/16/4, Eth1/17/1, Eth1/17/2 Eth1/17/3, Eth1/17/4, Eth1/18/1 Eth1/18/2, Eth1/18/3, Eth1/18/4 Eth1/19/1, Eth1/19/2, Eth1/19/3 Eth1/19/4, Eth1/20/1, Eth1/20/2 Eth1/20/3, Eth1/20/4, Eth1/21/1 Eth1/21/2, Eth1/21/3, Eth1/21/4 Eth1/22/1, Eth1/22/2, Eth1/22/3 Eth1/22/4, Eth1/23/1, Eth1/23/2 Eth1/23/3, Eth1/23/4, Eth1/24/1 Eth1/24/2, Eth1/24/3, Eth1/24/4 Eth1/25/1, Eth1/25/2, Eth1/25/3 Eth1/25/4, Eth1/26/1, Eth1/26/2 Eth1/26/3, Eth1/26/4, Eth1/27/1 Eth1/27/2, Eth1/27/3, Eth1/27/4 Eth1/28/1, Eth1/28/2, Eth1/28/3 Eth1/28/4, Eth1/29/1, Eth1/29/2 Eth1/29/3, Eth1/29/4, Eth1/30/1 Eth1/30/2, Eth1/30/3, Eth1/30/4 40 VLAN0040 active Eth1/1/1, Eth1/1/2, Eth1/1/3 Eth1/1/4, Eth1/2/1, Eth1/2/2 Eth1/2/3, Eth1/2/4, Eth1/3/1 Eth1/3/2, Eth1/3/3, Eth1/3/4 Eth1/4/1, Eth1/4/2, Eth1/4/3 Eth1/4/4, Eth1/5/1, Eth1/5/2 Eth1/5/3, Eth1/5/4, Eth1/6/1 Eth1/6/2, Eth1/6/3, Eth1/6/4 Eth1/7/1, Eth1/7/2, Eth1/7/3 Eth1/7/4, Eth1/8/1, Eth1/8/2 Eth1/8/3, Eth1/8/4, Eth1/9/1 Eth1/9/2, Eth1/9/3, Eth1/9/4 Eth1/10/1, Eth1/10/2, Eth1/10/3 Eth1/10/4, Eth1/11/1, Eth1/11/2 Eth1/11/3, Eth1/11/4, Eth1/12/1 Eth1/12/2, Eth1/12/3, Eth1/12/4 Eth1/13/1, Eth1/13/2, Eth1/13/3 Eth1/13/4, Eth1/14/1, Eth1/14/2 Eth1/14/3, Eth1/14/4, Eth1/15/1 Eth1/15/2, Eth1/15/3, Eth1/15/4 Eth1/16/1, Eth1/16/2, Eth1/16/3 Eth1/16/4, Eth1/17/1, Eth1/17/2 Eth1/17/3, Eth1/17/4, Eth1/18/1 Eth1/18/2, Eth1/18/3, Eth1/18/4 Eth1/19/1, Eth1/19/2, Eth1/19/3 Eth1/19/4, Eth1/20/1, Eth1/20/2 Eth1/20/3, Eth1/20/4, Eth1/21/1 Eth1/21/2, Eth1/21/3, Eth1/21/4 Eth1/22/1, Eth1/22/2, Eth1/22/3 Eth1/22/4, Eth1/23/1, Eth1/23/2 Eth1/23/3, Eth1/23/4, Eth1/24/1 Eth1/24/2, Eth1/24/3, Eth1/24/4 Eth1/25/1, Eth1/25/2, Eth1/25/3 Eth1/25/4, Eth1/26/1, Eth1/26/2 Eth1/26/3, Eth1/26/4, Eth1/27/1 Eth1/27/2, Eth1/27/3, Eth1/27/4 Eth1/28/1, Eth1/28/2, Eth1/28/3 Eth1/28/4, Eth1/29/1, Eth1/29/2 Eth1/29/3, Eth1/29/4, Eth1/30/1 Eth1/30/2, Eth1/30/3, Eth1/30/4 cs1# show interface trunk -------------------------------------------------------------------------------- Port Native Status Port Vlan Channel -------------------------------------------------------------------------------- Eth1/1/1 1 trunking -- Eth1/1/2 1 trunking -- Eth1/1/3 1 trunking -- Eth1/1/4 1 trunking -- Eth1/2/1 1 trunking -- Eth1/2/2 1 trunking -- Eth1/2/3 1 trunking -- Eth1/2/4 1 trunking -- . . . Eth1/30/1 none Eth1/30/2 none Eth1/30/3 none Eth1/30/4 none Eth1/31 none Eth1/32 none Po1 1Per informazioni dettagliate sull'utilizzo di porte e VLAN specifiche, fare riferimento alla sezione banner e note importanti nell'RCF. -
Verificare che l'ISL tra cs1 e cs2 funzioni correttamente:
show port-channel summaryMostra esempio
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/31(P) Eth1/32(P) 999 Po999(SD) Eth NONE -- cs1# -
Verificare che le LIF del cluster siano tornate alla porta home:
network interface show -role clusterMostra esempio
cluster1::*> network interface show -role cluster Logical Status Network Current Current Is Vserver Interface Admin/Oper Address/Mask Node Port Home ----------- --------------- ---------- ------------------ ----------- ------- ---- Cluster node1-01_clus1 up/up 169.254.36.44/16 node1-01 e7a true node1-01_clus2 up/up 169.254.7.5/16 node1-01 e7b true node1-02_clus1 up/up 169.254.197.206/16 node1-02 e7a true node1-02_clus2 up/up 169.254.195.186/16 node1-02 e7b true node1-03_clus1 up/up 169.254.192.49/16 node1-03 e7a true node1-03_clus2 up/up 169.254.182.76/16 node1-03 e7b true node1-04_clus1 up/up 169.254.59.49/16 node1-04 e7a true node1-04_clus2 up/up 169.254.62.244/16 node1-04 e7b true 8 entries were displayed.In caso di mancato ritorno delle LIF del cluster alle porte home, puoi ripristinarle manualmente dal nodo locale:
network interface revert -vserver vserver_name -lif <lif-name> -
Verificare che il cluster funzioni correttamente:
cluster showMostra esempio
cluster1::*> cluster show Node Health Eligibility Epsilon ----------------- ------- ------------- ------- node1-01 true true false node1-02 true true false node1-03 true true true node1-04 true true false 4 entries were displayed.
-
Verificare la connettività delle interfacce del cluster remoto:
-
Puoi usare il
network interface check cluster-connectivity showcomando per visualizzare i dettagli di un controllo di accessibilità per la connettività del cluster:network interface check cluster-connectivity showMostra esempio
cluster1::*> network interface check cluster-connectivity show Source Destination Packet Node Date LIF LIF Loss ------ -------------------------- ---------------- --------------- ----------- node1-01 6/4/2025 03:13:33 -04:00 node1-01_clus2 node1-02_clus1 none 6/4/2025 03:13:34 -04:00 node1-01_clus2 node1-02_clus1 none node1-02 6/4/2025 03:13:33 -04:00 node1-02_clus2 node1-01_clus1 none 6/4/2025 03:13:34 -04:00 node1-02_clus2 node1-01_clus2 none . . . -
In alternativa, puoi usare il
cluster ping-cluster -node <node-name>comando per verificare la connettività:cluster ping-cluster -node <node-name>
Mostra esempio
cluster1::*> cluster ping-cluster -node local Host is node1-04 Getting addresses from network interface table... Cluster node1-01_clus1 169.254.36.44 node1-01 e7a Cluster node1-01_clus2 169.254.7.5 node1-01 e7b Cluster node1-02_clus1 169.254.197.206 node1-02 e7a Cluster node1-02_clus2 169.254.195.186 node1-02 e7b Cluster node1-03_clus1 169.254.192.49 node1-03 e7a Cluster node1-03_clus2 169.254.182.76 node1-03 e7b Cluster node1-04_clus1 169.254.59.49 node1-04 e7a Cluster node1-04_clus2 169.254.62.244 node1-04 e7b Local = 169.254.59.49 169.254.62.244 Remote = 169.254.36.44 169.254.7.5 169.254.197.206 169.254.195.186 169.254.192.49 169.254.182.76 Cluster Vserver Id = 4294967293 Ping status: ............ Basic connectivity succeeds on 12 path(s) Basic connectivity fails on 0 path(s) ................................................ Detected 9000 byte MTU on 12 path(s): Local 169.254.59.49 to Remote 169.254.182.76 Local 169.254.59.49 to Remote 169.254.192.49 Local 169.254.59.49 to Remote 169.254.195.186 Local 169.254.59.49 to Remote 169.254.197.206 Local 169.254.59.49 to Remote 169.254.36.44 Local 169.254.59.49 to Remote 169.254.7.5 Local 169.254.62.244 to Remote 169.254.182.76 Local 169.254.62.244 to Remote 169.254.192.49 Local 169.254.62.244 to Remote 169.254.195.186 Local 169.254.62.244 to Remote 169.254.197.206 Local 169.254.62.244 to Remote 169.254.36.44 Local 169.254.62.244 to Remote 169.254.7.5 Larger than PMTU communication succeeds on 12 path(s) RPC status: 6 paths up, 0 paths down (tcp check) 6 paths up, 0 paths down (udp check) -
Dopo aver aggiornato il tuo RCF,"verificare la configurazione SSH" .