2노드 스위치 클러스터로 마이그레이션
기존의 2노드 스위치리스 클러스터 환경이 있는 경우 Cisco Nexus 9336C-FX2 및 9336C-FX2-T 스위치를 사용하여 2노드 스위치 클러스터 환경으로 마이그레이션할 수 있습니다.
마이그레이션 프로세스는 광 포트나 Twinax 포트를 사용하는 모든 노드에서 작동하지만, 노드가 클러스터 네트워크 포트에 온보드 10Gb BASE-T RJ45 포트를 사용하는 경우 이 스위치에서는 지원되지 않습니다.
검토 요구 사항
-
2노드 스위치리스 구성의 경우:
-
2노드 스위치리스 구성이 올바르게 설정되고 작동하고 있습니다.
-
모든 클러스터 포트가 작동 상태입니다.
-
모든 클러스터 논리 인터페이스(LIF)는 작동 상태이며 홈 포트에 있습니다.
-
보다 "Hardware Universe" 지원되는 모든 ONTAP 버전에 대해.
-
-
Cisco Nexus 9336C-FX2 스위치 구성의 경우:
-
두 스위치 모두 관리 네트워크 연결 기능을 갖추고 있습니다.
-
클러스터 스위치에 콘솔로 접근할 수 있습니다.
-
Nexus 9336C-FX2 노드 간 스위치와 스위치 간 연결에는 Twinax 또는 파이버 케이블을 사용합니다.
보다 "Hardware Universe" 케이블링에 대한 자세한 내용은 여기를 참조하세요.
-
-
ISL(Inter-Switch Link) 케이블은 두 9336C-FX2 스위치의 포트 1/35와 1/36에 연결됩니다.
-
두 9336C-FX2 스위치의 초기 사용자 정의가 완료되어 다음과 같은 결과가 나왔습니다.
-
9336C-FX2 스위치는 최신 버전의 소프트웨어를 실행하고 있습니다.
-
스위치에 참조 구성 파일(RCF)이 적용됩니다. SMTP, SNMP, SSH 등의 모든 사이트 사용자 정의는 새 스위치에서 구성됩니다.
-
이 절차의 예에서는 다음 클러스터 스위치와 노드 명명법을 사용합니다.
-
9336C-FX2 스위치의 이름은 cs1과 cs2입니다.
-
클러스터 SVM의 이름은 node1과 node2입니다.
-
LIF의 이름은 노드 1에서는 각각 node1_clus1과 node1_clus2이고, 노드 2에서는 각각 node2_clus1과 node2_clus2입니다.
-
그만큼
cluster1::*>프롬프트는 클러스터의 이름을 나타냅니다. -
이 절차에서 사용되는 클러스터 포트는 e0a와 e0b입니다.
보다 "Hardware Universe" 플랫폼에 대한 클러스터 포트에 대한 정보는 다음을 참조하세요. 보다 "HWU에 없는 추가 정보 중 장비를 설치하는 데 필요한 정보는 무엇입니까?" 스위치 설치 요구 사항에 대한 자세한 내용은 다음을 참조하십시오.
스위치 마이그레이션
1단계: 마이그레이션 준비
-
이 클러스터에서 AutoSupport 활성화된 경우 AutoSupport 메시지를 호출하여 자동 케이스 생성을 억제합니다.
system node autosupport invoke -node * -type all -message MAINT=xh여기서 x는 유지 관리 기간(시간)입니다.
AutoSupport 메시지는 기술 지원팀에 이 유지 관리 작업을 알려 유지 관리 기간 동안 자동 케이스 생성이 억제되도록 합니다. -
권한 수준을 고급으로 변경하려면 다음을 입력하세요.
y계속하라는 메시지가 표시되면:set -privilege advanced고급 프롬프트(
*>)이 나타납니다.
2단계: 포트 및 케이블 구성
-
새로운 클러스터 스위치 cs1과 cs2에서 노드에 연결된 모든 포트(ISL 포트 제외)를 비활성화합니다.
ISL 포트를 비활성화하지 마세요.
예를 보여주세요
다음 예에서는 스위치 cs1에서 노드에 연결된 포트 1~34가 비활성화되어 있음을 보여줍니다.
cs1# config Enter configuration commands, one per line. End with CNTL/Z. 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-34 cs1(config-if-range)# shutdown
-
두 9336C-FX2 스위치 cs1과 cs2 사이의 ISL과 ISL의 물리적 포트가 포트 1/35와 1/36에서 작동하는지 확인하세요.
show port-channel summary예를 보여주세요
다음 예에서는 ISL 포트가 스위치 cs1에서 작동 중임을 보여줍니다.
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/35(P) Eth1/36(P)다음 예에서는 ISL 포트가 스위치 cs2에서 작동 중임을 보여줍니다.
(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/35(P) Eth1/36(P) -
이웃 장치 목록을 표시합니다.
show cdp neighbors이 명령은 시스템에 연결된 장치에 대한 정보를 제공합니다.
예를 보여주세요
다음 예에서는 스위치 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 Eth1/35 175 R S I s N9K-C9336C Eth1/35 cs2 Eth1/36 175 R S I s N9K-C9336C Eth1/36 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 Eth1/35 177 R S I s N9K-C9336C Eth1/35 cs1 Eth1/36 177 R S I s N9K-C9336C Eth1/36 Total entries displayed: 2 -
모든 클러스터 포트가 작동 중인지 확인하세요.
network port show -ipspace Cluster각 포트는 다음과 같이 표시되어야 합니다.
Link그리고 건강하다Health Status.예를 보여주세요
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. -
모든 클러스터 LIF가 작동 중인지 확인하세요.
network interface show -vserver Cluster각 클러스터 LIF는 다음을 표시해야 합니다.
true~을 위한Is Home그리고 가지고있다Status Admin/Oper위로/위로.예를 보여주세요
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. -
클러스터의 모든 LIF에서 자동 되돌리기 기능을 비활성화합니다.
network interface modify -vserver Cluster -lif * -auto-revert false예를 보여주세요
cluster1::*> *network interface modify -vserver Cluster -lif * -auto-revert false* Logical Vserver Interface Auto-revert --------- ------------- ------------ Cluster node1_clus1 false node1_clus2 false node2_clus1 false node2_clus2 false 4 entries were displayed. -
노드 1의 클러스터 포트 e0a에서 케이블을 분리한 다음, 9336C-FX2 스위치에서 지원하는 적절한 케이블을 사용하여 e0a를 클러스터 스위치 cs1의 포트 1에 연결합니다.
그만큼 "Hardware Universe - 스위치" 케이블링에 대한 자세한 정보가 포함되어 있습니다.
-
노드2의 클러스터 포트 e0a에서 케이블을 분리한 다음, 9336C-FX2 스위치에서 지원하는 적절한 케이블을 사용하여 e0a를 클러스터 스위치 cs1의 포트 2에 연결합니다.
-
클러스터 스위치 cs1에서 모든 노드 연결 포트를 활성화합니다.
예를 보여주세요
다음 예에서는 스위치 cs1에서 포트 1/1~1/34가 활성화되어 있음을 보여줍니다.
cs1# config Enter configuration commands, one per line. End with CNTL/Z. 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-34 cs1(config-if-range)# no shutdown
-
모든 클러스터 LIF가 작동 중이고 표시되어 있는지 확인하십시오.
true~을 위한Is Home:network interface show -vserver Cluster예를 보여주세요
다음 예에서는 모든 LIF가 node1과 node2에 있고
Is Home결과는 사실입니다: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. -
클러스터의 노드 상태에 대한 정보를 표시합니다.
cluster show예를 보여주세요
다음 예에서는 클러스터 내 노드의 상태와 적격성에 대한 정보를 표시합니다.
cluster1::*> cluster show Node Health Eligibility Epsilon -------------------- ------- ------------ ------------ node1 true true false node2 true true false 2 entries were displayed.
-
노드 1의 클러스터 포트 e0b에서 케이블을 분리한 다음, 9336C-FX2 스위치에서 지원하는 적절한 케이블을 사용하여 e0b를 클러스터 스위치 cs2의 포트 1에 연결합니다.
-
노드2의 클러스터 포트 e0b에서 케이블을 분리한 다음, 9336C-FX2 스위치에서 지원하는 적절한 케이블을 사용하여 e0b를 클러스터 스위치 cs2의 포트 2에 연결합니다.
-
클러스터 스위치 cs2에서 모든 노드 연결 포트를 활성화합니다.
예를 보여주세요
다음 예에서는 스위치 cs2에서 포트 1/1~1/34가 활성화되어 있음을 보여줍니다.
cs2# config Enter configuration commands, one per line. End with CNTL/Z. cs2(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-34 cs2(config-if-range)# no shutdown
-
모든 클러스터 포트가 작동 중인지 확인하세요.
network port show -ipspace Cluster예를 보여주세요
다음 예에서는 모든 클러스터 포트가 node1과 node2에서 작동 중임을 보여줍니다.
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.
3단계: 구성 확인
-
클러스터 LIF에서 자동 되돌리기를 활성화합니다.
network interface modify -vserver Cluster -lif * -auto-revert true -
스위치 cs2에서 모든 클러스터 포트를 종료하고 다시 시작하여 홈 포트에 없는 모든 클러스터 LIF의 자동 복귀를 트리거합니다.
cs2> enable cs2# configure cs2(config)# interface eth1/1-1/2 cs2(config-if-range)# shutdown (Wait for 5-10 seconds before re-enabling the ports) cs2(config-if-range)# no shutdown (After executing the no shutdown command, the nodes detect the change and begin to auto-revert the cluster LIFs to their home ports) cs2(config-if-range)# exit cs2(config)# exit cs2#
-
클러스터 LIF가 홈 포트로 되돌아갔는지 확인하세요(1분 정도 걸릴 수 있음).
network interface show -vserver Cluster클러스터 LIF 중 홈 포트로 복귀되지 않은 것이 있으면 수동으로 복귀시킵니다. LIF를 소유한 로컬 노드의 각 노드 관리 LIF 또는 SP/ BMC 시스템 콘솔에 연결해야 합니다.
network interface revert -vserver Cluster -lif * -
모든 인터페이스가 true로 표시되는지 확인하십시오.
Is Home:network interface show -vserver Cluster완료하는 데 몇 분 정도 걸릴 수 있습니다. 예를 보여주세요
다음 예에서는 모든 LIF가 node1과 node2에 있고
Is Home결과는 사실입니다: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. -
두 노드 모두 각 스위치에 하나의 연결이 있는지 확인하세요.
show cdp neighbors예를 보여주세요
다음 예는 두 스위치에 대한 적절한 결과를 보여줍니다.
(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 Eth1/35 175 R S I s N9K-C9336C Eth1/35 cs2 Eth1/36 175 R S I s N9K-C9336C Eth1/36 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 Eth1/35 175 R S I s N9K-C9336C Eth1/35 cs1 Eth1/36 175 R S I s N9K-C9336C Eth1/36 Total entries displayed: 4 -
클러스터에서 검색된 네트워크 장치에 대한 정보를 표시합니다.
network device-discovery show -protocol cdp예를 보여주세요
cluster1::*> network device-discovery show -protocol cdp Node/ Local Discovered Protocol Port Device (LLDP: ChassisID) Interface Platform ----------- ------ ------------------------- ---------------- ---------------- node2 /cdp e0a cs1 0/2 N9K-C9336C e0b cs2 0/2 N9K-C9336C node1 /cdp e0a cs1 0/1 N9K-C9336C e0b cs2 0/1 N9K-C9336C 4 entries were displayed. -
설정이 비활성화되었는지 확인하세요.
network options switchless-cluster show명령을 완료하는 데 몇 분이 걸릴 수 있습니다. '3분 유효기간 만료' 공지를 기다리세요. 다음 예제의 잘못된 출력은 구성 설정이 비활성화되었음을 보여줍니다.
cluster1::*> network options switchless-cluster show Enable Switchless Cluster: false
-
클러스터의 노드 멤버 상태를 확인하세요.
cluster show예를 보여주세요
다음 예에서는 클러스터 내 노드의 상태와 적격성에 대한 정보를 보여줍니다.
cluster1::*> cluster show Node Health Eligibility Epsilon -------------------- ------- ------------ -------- node1 true true false node2 true true false
-
원격 클러스터 인터페이스의 연결성을 확인하세요.
당신은 사용할 수 있습니다 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 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)
스위치를 마이그레이션한 후에는 다음을 수행할 수 있습니다. "스위치 상태 모니터링 구성".