Cisco Nexus 9336C-FX2 공유 스위치 교체
결함이 있는 Nexus 9336C-FX2 공유 스위치를 교체할 수 있습니다. 이는 중단 없는 절차(NDU)입니다.
스위치 교체를 수행하기 전에 다음 사항을 확인하세요.
-
기존 클러스터 및 네트워크 인프라에서:
-
기존 클러스터는 적어도 하나의 완전히 연결된 클러스터 스위치를 갖추고 완벽하게 작동하는 것으로 검증되었습니다.
-
모든 클러스터 포트가 작동 중입니다.
-
모든 클러스터 논리 인터페이스(LIF)가 작동 중이며 홈 포트에 있습니다.
-
ONTAP 클러스터 ping-cluster -node node1 명령은 기본 연결과 PMTU보다 큰 통신이 모든 경로에서 성공적임을 나타내야 합니다.
-
-
Nexus 9336C-FX2 교체 스위치의 경우:
-
교체 스위치의 관리 네트워크 연결이 작동합니다.
-
교체 스위치에 대한 콘솔 접근이 가능합니다.
-
노드 연결은 포트 1/1~1/34입니다.
-
모든 ISL(Inter-Switch Link) 포트는 포트 1/35 및 1/36에서 비활성화됩니다.
-
원하는 참조 구성 파일(RCF)과 NX-OS 운영 체제 이미지 스위치가 스위치에 로드됩니다.
-
STP, SNMP, SSH 등 이전 사이트 사용자 정의 사항은 새 스위치에 복사해야 합니다.
-
클러스터 LIF가 호스팅되는 노드에서 클러스터 LIF를 마이그레이션하는 명령을 실행해야 합니다.
이 절차의 예에서는 다음 스위치 및 노드 명명법을 사용합니다.
-
기존 Nexus 9336C-FX2 스위치의 이름은 _sh1_과 _sh2_입니다.
-
새로운 Nexus 9336C-FX2 스위치의 이름은 _newsh1_과 _newsh2_입니다.
-
노드 이름은 _node1_과 _node2_입니다.
-
각 노드의 클러스터 포트는 _e3a_와 _e3b_로 명명됩니다.
-
클러스터 LIF 이름은 다음과 같습니다.
node1_clus1그리고node1_clus2node1의 경우node2_clus1그리고node2_clus2노드2의 경우. -
모든 클러스터 노드에 대한 변경 사항에 대한 프롬프트는 cluster1::*>입니다.
다음 절차는 다음 네트워크 토폴로지를 기반으로 합니다.
예시 토폴로지 보기
cluster1::*> network port show -ipspace Cluster
Node: node1
Ignore
Speed(Mbps) Health Health
Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status
--------- ------------ ---------------- ---- ---- ------------ -------- ------
e3a Cluster Cluster up 9000 auto/100000 healthy false
e3b Cluster Cluster up 9000 auto/100000 healthy false
Node: node2
Ignore
Speed(Mbps) Health Health
Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status
--------- ------------ ---------------- ---- ---- ------------ -------- ------
e3a Cluster Cluster up 9000 auto/100000 healthy false
e3b Cluster Cluster up 9000 auto/100000 healthy false
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 e3a true
node1_clus2 up/up 169.254.49.125/16 node1 e3b true
node2_clus1 up/up 169.254.47.194/16 node2 e3a true
node2_clus2 up/up 169.254.19.183/16 node2 e3b true
4 entries were displayed.
cluster1::*> network device-discovery show -protocol cdp
Node/ Local Discovered
Protocol Port Device (LLDP: ChassisID) Interface Platform
----------- ------ ------------------------- ---------------- ----------------
node2 /cdp
e3a sh1 Eth1/2 N9K-C9336C
e3b sh2 Eth1/2 N9K-C9336C
node1 /cdp
e3a sh1 Eth1/1 N9K-C9336C
e3b sh2 Eth1/1 N9K-C9336C
4 entries were displayed.
sh1# 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 144 H FAS2980 e3a
node2 Eth1/2 145 H FAS2980 e3a
sh2 Eth1/35 176 R S I s N9K-C9336C Eth1/35
sh2 (FDO220329V5) Eth1/36 176 R S I s N9K-C9336C Eth1/36
Total entries displayed: 4
sh2# 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 139 H FAS2980 eb
node2 Eth1/2 124 H FAS2980 eb
sh1 Eth1/35 178 R S I s N9K-C9336C Eth1/35
sh1 Eth1/36 178 R S I s N9K-C9336C Eth1/36
Total entries displayed: 4
-
이 클러스터에서 AutoSupport 활성화된 경우 AutoSupport 메시지를 호출하여 자동 케이스 생성을 억제합니다.
system node autosupport invoke -node * -type all -message MAINT=xh여기서 x는 유지 관리 기간(시간)입니다.
-
선택 사항: 스위치와 newsh2에 적절한 RCF와 이미지를 설치하고 필요한 사이트 준비를 합니다.
-
필요한 경우 새 스위치에 적합한 RCF 및 NX-OS 소프트웨어 버전을 확인하고 다운로드하고 설치하세요. 새 스위치가 올바르게 설정되었고 RCF 및 NX-OS 소프트웨어 업데이트가 필요하지 않은지 확인한 경우 계속 진행하십시오.3단계 .
-
NetApp 지원 사이트의 NetApp 클러스터 및 관리 네트워크 스위치 참조 구성 파일 설명 페이지로 이동합니다.
-
클러스터 네트워크 및 관리 네트워크 호환성 매트릭스에 대한 링크를 클릭한 다음, 필요한 스위치 소프트웨어 버전을 확인하세요.
-
브라우저의 뒤로 화살표를 클릭하여 설명 페이지로 돌아간 후, 계속을 클릭하고 라이선스 계약에 동의한 다음 다운로드 페이지로 이동합니다.
-
다운로드 페이지의 단계에 따라 설치하려는 ONTAP 소프트웨어 버전에 맞는 RCF 및 NX-OS 파일을 다운로드하세요.
-
-
새 스위치에서 관리자로 로그인하고 노드 클러스터 인터페이스에 연결될 모든 포트(포트 1/1~1/34)를 종료합니다. 교체하려는 스위치가 작동하지 않고 전원이 꺼진 경우 다음으로 이동하세요.4단계 . 클러스터 노드의 LIF는 이미 각 노드의 다른 클러스터 포트로 장애 조치되었어야 합니다.
예를 보여주세요
newsh2# config Enter configuration commands, one per line. End with CNTL/Z. newsh2(config)# interface e1/1-34 newsh2(config-if-range)# shutdown
-
[[4단계]]모든 클러스터 LIF에 자동 복귀가 활성화되어 있는지 확인합니다.
network interface show - vserver Cluster -fields auto-revert예를 보여주세요
cluster1::> network interface show -vserver Cluster -fields auto-revert Logical Vserver Interface Auto-revert ------------ ------------- ------------- Cluster node1_clus1 true Cluster node1_clus2 true Cluster node2_clus1 true Cluster node2_clus2 true 4 entries were displayed. -
[[5단계]] 원격 클러스터 인터페이스의 연결성을 확인합니다.
당신은 사용할 수 있습니다 network interface check cluster-connectivity 클러스터 연결에 대한 접근성 검사를 시작한 다음 세부 정보를 표시하는 명령:
network interface check cluster-connectivity start`그리고 `network 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
------ -------------------------- ---------------- ---------------- -----------
node1
3/5/2022 19:21:18 -06:00 node1_clus2 node2-clus1 none
3/5/2022 19:21:20 -06:00 node1_clus2 node2_clus2 none
node2
3/5/2022 19:21:18 -06:00 node2_clus2 node1_clus1 none
3/5/2022 19:21:20 -06:00 node2_clus2 node1_clus2 none
모든 ONTAP 릴리스의 경우 다음을 사용할 수도 있습니다. cluster ping-cluster -node <name> 연결성을 확인하는 명령:
cluster ping-cluster -node <name>
cluster1::*> cluster ping-cluster -node local Host is node2 Getting addresses from network interface table... Cluster node1_clus1 169.254.209.69 node1 e3a Cluster node1_clus2 169.254.49.125 node1 e3b Cluster node2_clus1 169.254.47.194 node2 e3a Cluster node2_clus2 169.254.19.183 node2 e3b 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)
-
Nexus 9336C-FX2 스위치 sh1에서 ISL 포트 1/35 및 1/36을 종료합니다.
예를 보여주세요
sh1# configure Enter configuration commands, one per line. End with CNTL/Z. sh1(config)# interface e1/35-36 sh1(config-if-range)# shutdown
-
[[7단계]]Nexus 9336C-FX2 sh2 스위치에서 모든 케이블을 제거한 다음, 이를 Nexus C9336C-FX2 newsh2 스위치의 동일한 포트에 연결합니다.
-
sh1과 newsh2 스위치 사이의 ISL 포트 1/35과 1/36를 가동한 후 포트 채널 작동 상태를 확인합니다.
포트 채널은 Po1(SU)를 표시해야 하고, 멤버 포트는 Eth1/35(P) 및 Eth1/36(P)를 표시해야 합니다.
예를 보여주세요
이 예제에서는 ISL 포트 1/35와 1/36을 활성화하고 스위치 sh1에서 포트 채널 요약을 표시합니다.
sh1# configure Enter configuration commands, one per line. End with CNTL/Z. sh1 (config)# int e1/35-36 sh1 (config-if-range)# no shutdown sh1 (config-if-range)# 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/35(P) Eth1/36(P) sh1 (config-if-range)# -
network port show ipspace Cluster예를 보여주세요
출력은 다음과 같아야 합니다.
cluster1::*> network port show -ipspace Cluster Node: node1 Ignore Speed(Mbps) Health Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status --------- ------------ ---------------- ---- ----- ---------- - - -------- ---- e3a Cluster Cluster up 9000 auto/100000 healthy false e3b Cluster Cluster up 9000 auto/100000 healthy false Node: node2 Ignore Speed(Mbps) Health Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status --------- ------------ ---------------- ---- ----- ----------- - -------- ---- e3a Cluster Cluster up 9000 auto/100000 healthy false e3b Cluster Cluster up 9000 auto/auto - false 4 entries were displayed. -
이전 단계에서 사용한 동일한 노드에서 네트워크 인터페이스 되돌리기 명령을 사용하여 이전 단계의 포트와 연결된 클러스터 LIF를 되돌립니다.
이 예에서 Home 값이 true이고 포트가 e3b이면 node1의 LIF node1_clus2가 성공적으로 되돌려집니다.
다음 명령은 node1의 LIF node1_clus2를 홈 포트 e3a로 반환하고 두 노드의 LIF에 대한 정보를 표시합니다. 두 클러스터 인터페이스 모두에서 Is Home 열이 *참*이고 올바른 포트 할당(이 예에서는 노드 1의 e3a 및 e3b)이 표시되면 첫 번째 노드를 성공적으로 구동할 수 있습니다.
예를 보여주세요
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 e3a true node1_clus2 up/up 169.254.49.125/16 node1 e3b true node2_clus1 up/up 169.254.47.194/16 node2 e3a true node2_clus2 up/up 169.254.19.183/16 node2 e3a false 4 entries were displayed. -
cluster show예를 보여주세요
이 예에서는 이 클러스터의 node1과 node2에 대한 노드 상태가 참임을 보여줍니다.
cluster1::*> cluster show Node Health Eligibility ------------- ------- ------------ node1 false true node2 true true
-
network port show ipspace Cluster예를 보여주세요
cluster1::*> network port show -ipspace Cluster Node node1 Ignore Speed(Mbps) Health Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status --------- ----------- ----------------- ----- ----- ------------ -------- ------ e3a Cluster Cluster up 9000 auto/100000 healthy false e3b Cluster Cluster up 9000 auto/100000 healthy false Node: node2 Ignore Speed(Mbps) Health Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status --------- ------------ ---------------- ----- ----- ------------ -------- ------ e3a Cluster Cluster up 9000 auto/100000 healthy false e3b Cluster Cluster up 9000 auto/100000 healthy false 4 entries were displayed.
당신은 사용할 수 있습니다 network interface check cluster-connectivity 클러스터 연결에 대한 접근성 검사를 시작한 다음 세부 정보를 표시하는 명령:
network interface check cluster-connectivity start`그리고 `network 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
------ -------------------------- ---------------- ---------------- -----------
node1
3/5/2022 19:21:18 -06:00 node1_clus2 node2-clus1 none
3/5/2022 19:21:20 -06:00 node1_clus2 node2_clus2 none
node2
3/5/2022 19:21:18 -06:00 node2_clus2 node1_clus1 none
3/5/2022 19:21:20 -06:00 node2_clus2 node1_clus2 none
모든 ONTAP 릴리스의 경우 다음을 사용할 수도 있습니다. cluster ping-cluster -node <name> 연결성을 확인하는 명령:
cluster ping-cluster -node <name>
cluster1::*> cluster ping-cluster -node local Host is node2 Getting addresses from network interface table... Cluster node1_clus1 169.254.209.69 node1 e3a Cluster node1_clus2 169.254.49.125 node1 e3b Cluster node2_clus1 169.254.47.194 node2 e3a Cluster node2_clus2 169.254.19.183 node2 e3b 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)
-
network port show예를 보여주세요
cluster1::*> network port show -ipspace Cluster Node: node1 Ignore Speed(Mbps) Health Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status --------- ----------- ---------------- ---- ----- ------------ -------- ------ e3a Cluster Cluster up 9000 auto/100000 healthy false e3b Cluster Cluster up 9000 auto/100000 healthy false Node: node2 Ignore Speed(Mbps) Health Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status --------- ------------ ---------------- ---- ---- ------------ -------- ------ e3a Cluster Cluster up 9000 auto/100000 healthy false e3b Cluster Cluster up 9000 auto/100000 healthy false 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 e3a true node1_clus2 up/up 169.254.49.125/16 node1 e3b true node2_clus1 up/up 169.254.47.194/16 node2 e3a true node2_clus2 up/up 169.254.19.183/16 node2 e3b true 4 entries were displayed. cluster1::> network device-discovery show -protocol cdp Node/ Local Discovered Protocol Port Device (LLDP: ChassisID) Interface Platform ----------- ------ ------------------------- ---------------- ---------------- node2 /cdp e3a sh1 0/2 N9K-C9336C e3b newsh2 0/2 N9K-C9336C node1 /cdp e3a sh1 0/1 N9K-C9336C e3b newsh2 0/1 N9K-C9336C 4 entries were displayed. sh1# 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 144 H FAS2980 e3a node2 Eth1/2 145 H FAS2980 e3a newsh2 Eth1/35 176 R S I s N9K-C9336C Eth1/35 newsh2 Eth1/36 176 R S I s N9K-C9336C Eth1/36 Total entries displayed: 4 sh2# 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 139 H FAS2980 e3b node2 Eth1/2 124 H FAS2980 eb sh1 Eth1/35 178 R S I s N9K-C9336C Eth1/35 sh1 Eth1/36 178 R S I s N9K-C9336C Eth1/36 Total entries displayed: 4 -
HA 쌍 1, 공유 스위치 newsh2에 연결된 스토리지가 정상인지 확인합니다.
-
HA 쌍 2, 공유 스위치 newsh2에 연결된 스토리지가 정상인지 확인하세요.
storage port show -port-type ENET예를 보여주세요
storage::*> storage port show -port-type ENET Speed VLAN Node Port Type Mode (Gb/s) State Status ID ------- ------- ------- ---------- ----------- --------- --------- ----- node1 e3a ENET storage 100 enabled online 30 e3b ENET storage 0 enabled offline 30 e7a ENET storage 0 enabled offline 30 e7b ENET storage 100 enabled online 30 node2 e3a ENET storage 100 enabled online 30 e3b ENET storage 0 enabled offline 30 e7a ENET storage 0 enabled offline 30 e7b ENET storage 100 enabled online 30 -
storage shelf port show -fields remote- device,remote-port예를 보여주세요
cluster1::*> storage shelf port show -fields remote-device,remote-port shelf id remote-port remote-device ----- -- ------------ ---------------------------- 3.20 0 Ethernet1/13 sh1 3.20 1 Ethernet1/13 newsh2 3.20 2 Ethernet1/14 sh1 3.20 3 Ethernet1/14 newsh2 3.30 0 Ethernet1/15 sh1 3.30 1 Ethernet1/15 newsh2 3.30 2 Ethernet1/16 sh1 3.30 3 Ethernet1/16 newsh2 8 entries were displayed.
-
스위치 sh1과 새로운 스위치 newsh1에 대해 이 단계를 반복합니다.
-
자동 케이스 생성을 억제한 경우 AutoSupport 메시지를 호출하여 다시 활성화하세요.
system node autosupport invoke -node * -type all -message MAINT=END
스위치를 교체한 후에는 다음을 수행할 수 있습니다. "스위치 상태 모니터링 구성".