CN1610 스위치에 참조 구성 파일 설치
참조 구성 파일(RCF)을 설치하려면 다음 절차를 따르세요.
RCF를 설치하기 전에 먼저 클러스터 LIF를 스위치 cs2에서 마이그레이션해야 합니다. RCF가 설치되고 검증된 후 LIF를 다시 마이그레이션할 수 있습니다.
검토 요구 사항
다음 사항이 있는지 확인하세요.
-
스위치 구성의 현재 백업입니다.
-
완벽하게 작동하는 클러스터(로그에 오류가 없고, 결함이 있는 클러스터 네트워크 인터페이스 카드(NIC)나 이와 유사한 문제가 없음).
-
클러스터 스위치에서 완벽하게 기능하는 포트 연결.
-
모든 클러스터 포트가 설정되었습니다.
-
모든 클러스터 논리 인터페이스(LIF)가 설정되었습니다.
-
성공적인 커뮤니케이션 경로: ONTAP (권한: 고급)
cluster ping-cluster -node node1명령은 다음을 표시해야 합니다.larger than PMTU communication모든 경로에서 성공합니다. -
RCF 및 ONTAP 의 지원되는 버전입니다.
스위치 호환성 표를 꼭 확인하세요. "NetApp CN1601 및 CN1610 스위치" 지원되는 RCF 및 ONTAP 버전에 대한 페이지입니다.
RCF 설치
다음 절차에서는 클러스터형 Data ONTAP 8.2 구문을 사용합니다. 결과적으로 클러스터 Vserver, LIF 이름 및 CLI 출력은 Data ONTAP 8.3과 다릅니다.
RCF 버전과 FASTPATH 버전의 명령 구문 사이에 명령 종속성이 있을 수 있습니다.
|
|
RCF 버전 1.2에서는 보안 문제로 인해 Telnet 지원이 명시적으로 비활성화되었습니다. RCF 1.2를 설치하는 동안 연결 문제를 방지하려면 Secure Shell(SSH)이 활성화되어 있는지 확인하세요. 그만큼 "NetApp CN1610 스위치 관리자 가이드" SSH에 대한 자세한 정보가 있습니다. |
이 절차의 예에서는 다음 스위치 및 노드 명명법을 사용합니다.
-
두 개의 NetApp 스위치는 cs1과 cs2입니다.
-
두 개의 클러스터 LIF는 clus1과 clus2입니다.
-
V서버는 vs1과 vs2입니다.
-
그만큼
cluster::*>프롬프트는 클러스터의 이름을 나타냅니다. -
각 노드의 클러스터 포트는 e1a와 e2a로 명명됩니다.
"Hardware Universe"플랫폼에서 지원되는 실제 클러스터 포트에 대한 자세한 정보가 있습니다.
-
지원되는 ISL(Inter-Switch Links)은 포트 0/13부터 0/16까지입니다.
-
지원되는 노드 연결은 포트 0/1~0/12입니다.
-
FASTPATH, RCF 및 ONTAP 의 지원되는 버전입니다.
스위치 호환성 표를 꼭 확인하세요. "NetApp CN1601 및 CN1610 스위치" 지원되는 FASTPATH, RCF 및 ONTAP 버전에 대한 페이지입니다.
1단계: 클러스터 마이그레이션
-
현재 스위치 구성 정보를 저장합니다.
write memory예를 보여주세요
다음 예에서는 현재 스위치 구성이 시작 구성에 저장되는 것을 보여줍니다.(
startup-config) 스위치 cs2의 파일:(cs2) # write memory This operation may take a few minutes. Management interfaces will not be available during this time. Are you sure you want to save? (y/n) y Config file 'startup-config' created successfully. Configuration Saved!
-
각 노드의 콘솔에서 clus2를 포트 e1a로 마이그레이션합니다.
network interface migrate예를 보여주세요
cluster::*> network interface migrate -vserver vs1 -lif clus2 -source-node node1 -destnode node1 -dest-port e1a cluster::*> network interface migrate -vserver vs2 -lif clus2 -source-node node2 -destnode node2 -dest-port e1a
-
각 노드의 콘솔에서 마이그레이션이 발생했는지 확인하세요.
network interface show -role cluster예를 보여주세요
다음 예에서는 clus2가 두 노드 모두에서 포트 e1a로 마이그레이션되었음을 보여줍니다.
cluster::*> network port show -role cluster clus1 up/up 10.10.10.1/16 node2 e1a true clus2 up/up 10.10.10.2/16 node2 e1a false -
두 노드 모두에서 포트 e2a를 종료합니다.
network port modify예를 보여주세요
다음 예에서는 두 노드 모두에서 포트 e2a가 종료되는 것을 보여줍니다.
cluster::*> network port modify -node node1 -port e2a -up-admin false cluster::*> network port modify -node node2 -port e2a -up-admin false
-
두 노드 모두에서 포트 e2a가 종료되었는지 확인하세요.
network port show예를 보여주세요
cluster::*> network port show -role cluster Auto-Negot Duplex Speed (Mbps) Node Port Role Link MTU Admin/Oper Admin/Oper Admin/Oper ------ ------ -------- ---- ----- ----------- ---------- ----------- node1 e1a cluster up 9000 true/true full/full auto/10000 e2a cluster down 9000 true/true full/full auto/10000 node2 e1a cluster up 9000 true/true full/full auto/10000 e2a cluster down 9000 true/true full/full auto/10000 -
활성 NetApp 스위치인 cs1의 ISL 포트를 종료합니다.
예를 보여주세요
(cs1) # configure (cs1) (config) # interface 0/13-0/16 (cs1) (interface 0/13-0/16) # shutdown (cs1) (interface 0/13-0/16) # exit (cs1) (config) # exit
2단계: RCF 설치
-
RCF를 스위치에 복사합니다.
설정해야 합니다 .scr스크립트를 호출하기 전에 파일 이름의 일부로 확장자를 추가합니다. 이 확장은 FASTPATH 운영 체제를 위한 확장입니다.스위치는 스크립트가 스위치에 다운로드될 때 자동으로 스크립트의 유효성을 검사하고 출력은 콘솔로 전송됩니다.
예를 보여주세요
(cs2) # copy tftp://10.10.0.1/CN1610_CS_RCF_v1.1.txt nvram:script CN1610_CS_RCF_v1.1.scr [the script is now displayed line by line] Configuration script validated. File transfer operation completed successfully.
-
스크립트가 다운로드되어 지정한 파일 이름으로 저장되었는지 확인하세요.
예를 보여주세요
(cs2) # script list Configuration Script Name Size(Bytes) -------------------------------- ----------- running-config.scr 6960 CN1610_CS_RCF_v1.1.scr 2199 2 configuration script(s) found. 6038 Kbytes free.
-
스크립트를 검증합니다.
스크립트는 다운로드하는 동안 유효성 검사를 거쳐 각 줄이 유효한 스위치 명령줄인지 확인합니다. 예를 보여주세요
(cs2) # script validate CN1610_CS_RCF_v1.1.scr [the script is now displayed line by line] Configuration script 'CN1610_CS_RCF_v1.1.scr' validated.
-
스크립트를 스위치에 적용합니다.
예를 보여주세요
(cs2) #script apply CN1610_CS_RCF_v1.1.scr Are you sure you want to apply the configuration script? (y/n) y [the script is now displayed line by line]... Configuration script 'CN1610_CS_RCF_v1.1.scr' applied.
-
변경 사항이 스위치에 구현되었는지 확인하세요.
(cs2) # show running-config
이 예에서는 다음을 표시합니다.
running-config스위치의 파일. 예상한 대로 설정한 매개변수가 있는지 확인하려면 파일을 RCF와 비교해야 합니다. -
변경 사항을 저장합니다.
-
설정하다
running-config파일을 표준으로 지정합니다.예를 보여주세요
(cs2) # write memory This operation may take a few minutes. Management interfaces will not be available during this time. Are you sure you want to save? (y/n) y Config file 'startup-config' created successfully.
-
스위치를 재부팅하고 다음을 확인하세요.
running-config파일이 정확합니다.재부팅이 완료되면 로그인하여 다음을 확인해야 합니다.
running-config파일을 찾은 다음 RCF의 버전 레이블인 인터페이스 3/64에 대한 설명을 찾으세요.예를 보여주세요
(cs2) # reload The system has unsaved changes. Would you like to save them now? (y/n) y Config file 'startup-config' created successfully. Configuration Saved! System will now restart!
-
활성 스위치인 cs1에서 ISL 포트를 켭니다.
예를 보여주세요
(cs1) # configure (cs1) (config)# interface 0/13-0/16 (cs1) (Interface 0/13-0/16)# no shutdown (cs1) (Interface 0/13-0/16)# exit (cs1) (config)# exit
-
ISL이 작동하는지 확인하세요.
show port-channel 3/1링크 상태 필드는 다음을 표시해야 합니다.
Up.예를 보여주세요
(cs2) # show port-channel 3/1 Local Interface................................ 3/1 Channel Name................................... ISL-LAG Link State..................................... Up Admin Mode..................................... Enabled Type........................................... Static Load Balance Option............................ 7 (Enhanced hashing mode) Mbr Device/ Port Port Ports Timeout Speed Active ------ ------------- --------- ------- 0/13 actor/long 10G Full True partner/long 0/14 actor/long 10G Full True partner/long 0/15 actor/long 10G Full True partner/long 0/16 actor/long 10G Full True partner/long -
두 노드 모두에서 클러스터 포트 e2a를 시작합니다.
network port modify예를 보여주세요
다음 예에서는 node1과 node2에서 포트 e2a가 활성화되는 것을 보여줍니다.
cluster::*> network port modify -node node1 -port e2a -up-admin true cluster::*> network port modify -node node2 -port e2a -up-admin true
3단계: 설치 확인
-
두 노드 모두에서 포트 e2a가 작동하는지 확인하세요.
network port show -role cluster예를 보여주세요
cluster::*> network port show -role cluster Auto-Negot Duplex Speed (Mbps) Node Port Role Link MTU Admin/Oper Admin/Oper Admin/Oper ------ ---- -------- ---- ---- ----------- ---------- ------------ node1 e1a cluster up 9000 true/true full/full auto/10000 e2a cluster up 9000 true/true full/full auto/10000 node2 e1a cluster up 9000 true/true full/full auto/10000 e2a cluster up 9000 true/true full/full auto/10000 -
두 노드 모두에서 포트 e2a와 연관된 clus2를 되돌립니다.
network interface revertONTAP 버전에 따라 LIF가 자동으로 되돌아갈 수 있습니다.
예를 보여주세요
cluster::*> network interface revert -vserver node1 -lif clus2 cluster::*> network interface revert -vserver node2 -lif clus2
-
LIF가 이제 홈인지 확인하세요(
true) 두 노드 모두에서:network interface show -role cluster예를 보여주세요
cluster::*> network interface show -role cluster Logical Status Network Current Current Is Vserver Interface Admin/Oper Address/Mask Node Port Home ------- ---------- ---------- -------------- -------- ------- ---- vs1 clus1 up/up 10.10.10.1/24 node1 e1a true clus2 up/up 10.10.10.2/24 node1 e2a true vs2 clus1 up/up 10.10.10.1/24 node2 e1a true clus2 up/up 10.10.10.2/24 node2 e2a true -
노드 멤버의 상태를 확인하세요.
cluster show예를 보여주세요
cluster::> cluster show Node Health Eligibility -------------- ------- ------------ node1 true true node2 true true -
복사하다
running-config파일을startup-config소프트웨어 버전과 스위치 설정에 만족하면 파일을 다운로드하세요.예를 보여주세요
(cs2) # write memory This operation may take a few minutes. Management interfaces will not be available during this time. Are you sure you want to save? (y/n) y Config file 'startup-config' created successfully. Configuration Saved!
-
다른 스위치 cs1에 RCF를 설치하려면 이전 단계를 반복합니다.