NVIDIA SN2100 스토리지 스위치에 RCF 스크립트 설치
NVIDIA SN2100 스토리지 스위치에 참조 구성 파일(RCF) 스크립트를 설치하여 포트 할당 및 네트워크 설정을 구성하십시오.
RCF 스크립트를 설치하기 전에 스위치에서 다음 사항을 확인하십시오:
-
지원되는 버전의 Cumulus Linux가 설치되어 있습니다.
-
관리 포트 IP 주소, 서브넷 마스크 및 기본 게이트웨이가 DHCP를 통해 정의되거나 수동으로 구성됩니다.
현재 ONTAP 및 Cumulus Linux 버전에 따라 적절한 스토리지 RCF 스크립트 버전을 선택하십시오. "NVIDIA SN2100 소프트웨어 다운로드" 페이지에서 RCF를 다운로드하십시오.
다음 예시 절차는 스토리지 스위치용 RCF 스크립트를 다운로드하고 적용하는 방법을 보여줍니다.
1단계: 스위치에 RCF를 설치합니다
-
SN2100 스위치에서 사용 가능한 인터페이스를 표시합니다.
nv show interface예를 보여주세요
cumulus@cumulus:mgmt:~$ nv show interface State Name Spd MTU Mode LLDP Summary ----- ----- --- ----- ----------- ------------------ -------------- ... ... ADMDN swp1 N/A 9216 NotConfigured ADMDN swp2 N/A 9216 NotConfigured ADMDN swp3 N/A 9216 NotConfigured ADMDN swp4 N/A 9216 NotConfigured ADMDN swp5 N/A 9216 NotConfigured ADMDN swp6 N/A 9216 NotConfigured ADMDN swp7 N/A 9216 NotConfigured ADMDN swp8 N/A 9216 NotConfigured ADMDN swp9 N/A 9216 NotConfigured ADMDN swp10 N/A 9216 NotConfigured ADMDN swp11 N/A 9216 NotConfigured ADMDN swp12 N/A 9216 NotConfigured ADMDN swp13 N/A 9216 NotConfigured ADMDN swp14 N/A 9216 NotConfigured ADMDN swp15 N/A 9216 NotConfigured ADMDN swp16 N/A 9216 NotConfigured
-
RCF 파이썬 스크립트를 스위치에 복사합니다.
admin@sw1:mgmt:~$ pwd /home/cumulus cumulus@cumulus:mgmt:~$ cd /tmp cumulus@cumulus:mgmt:/tmp$ scp <user>@<host:/<path>/RCF-v1.14-MSN2100-ST1 ssologin@10.233.204.71's password: RCF-v1.14-MSN2100-ST1 100% 8607 111.2KB/s 00:00
-
RCF python 스크립트 *RCF-v1.14-MSN2100-ST1*을 적용하십시오:
cumulus@cumulus:mgmt:/tmp$ RCF-v1.14-MSN2100-ST1 [sudo] password for cumulus: ... Step 1: Creating the banner file Step 2: Registering banner message Step 3: Updating the MOTD file Step 4: Ensuring passwordless use of cl-support command by admin Step 5: Disabling apt-get Step 6: Creating the interfaces Step 7: Adding the interface config Step 8: Disabling cdp Step 9: Adding the lldp config Step 10: Adding the RoCE base config Step 11: Modifying RoCE Config Step 12: Configure SNMP Step 13: Reboot the switch
RCF 스크립트는 위에 나열된 단계를 완료합니다.
수정할 수 없는 RCF 파이썬 스크립트 문제가 있는 경우 문의하세요. "NetApp 지원" 도움이 필요하면. -
스위치 구성에 이전의 사용자 정의를 다시 적용합니다. 참조하다"케이블링 및 구성 고려 사항 검토" 추가로 필요한 변경 사항에 대한 자세한 내용은 문의하세요.
-
컨트롤러 스토리지 포트와 NS224 셸프 포트를 스위치에 연결합니다.
2단계: 스위치와 스토리지의 연결 상태를 확인합니다
-
재부팅 후 구성을 확인하세요.
nv show interface예를 보여주세요
cumulus@cumulus:mgmt:~$ nv show interface Interface Admin Status Oper Status Speed MTU Type Remote Host Remote Port Summary ---------- ------------ ----------- ----- ----- -------- ---------------------------------- ----------- -------------------------------------------------------- bond998 up down 9216 bond bond999 up down 9216 bond br_default up up 9216 bridge IPv6 Address: fe80::1234:5678:9abc:def0/64 eth0 up up 100M 1500 eth mgmt-switch Eth105/1/17 IPv4 Address: 192.0.2.209/24 Address type: primary IPv6 Address: 2001:db8:1::495e/64 IPv6 Address: fe80::1234:5678:9abc:def0/64 lo up unknown 65536 loopback IPv4 Address: 127.0.0.1/8 Address type: primary IPv6 Address: ::1/128 mgmt up up 65575 vrf IPv4 Address: 127.0.0.1/8 IPv4 Address: 127.0.1.1/8 Address type: primary Address type: secondary IPv6 Address: ::1/128 swp1 up up 100G 9216 swp node1 e3b swp2 up up 100G 9216 swp node2 e3b swp3 up down 9216 swp swp4 up down 9216 swp swp5 up down 9216 swp swp6 up up 100G 9216 swp 952347XXXXXX e1b swp7 up down 9216 swp swp8 up down 9216 swp swp9 up down 9216 swp swp10 up down 9216 swp swp11 up down 9216 swp swp12 up down 9216 swp swp13 up down 9216 swp swp14 up down 9216 swp swp15 up down 9216 swp swp16 up down 9216 swp -
인터페이스에서 트랜시버에 대한 정보를 확인하세요.
큐물러스 리눅스 5.4nv show interface --view=pluggables예를 보여주세요
cumulus@cumulus:mgmt:~$ nv show interface --view=pluggables Interface Identifier Vendor Name Vendor PN Vendor SN Vendor Rev --------- ------------- ----------- --------------- -------------- ---------- swp3 0x11 (QSFP28) Amphenol 112-00574 APF20379253516 B0 swp4 0x11 (QSFP28) AVAGO 332-00440 AF1815GU05Z A0 swp15 0x11 (QSFP28) Amphenol 112-00573 APF21109348001 B0 swp16 0x11 (QSFP28) Amphenol 112-00573 APF21109347895 B0
Cumulus Linux 5.11 이상nv show platform transceiver예를 보여주세요
cumulus@cumulus:mgmt:~$ nv show platform transceiver Transceiver Identifier Vendor name Vendor PN Vendor SN Vendor revision ----------- ---------- ------------ --------- -------------- --------------- swp1 QSFP28 FINISAR CORP 332-00440 XA7C325 A1 swp2 QSFP28 FINISAR CORP 332-00440 XA7C33W A1 swp5 QSFP28 FINISAR CORP 332-00440 XA7C1RV A1 swp6 QSFP28 FINISAR CORP 332-00440 X4QANNS A1
-
각 노드가 각 스위치에 연결되어 있는지 확인하세요.
큐물러스 리눅스 5.4nv show interface --view=lldp예를 보여주세요
cumulus@cumulus:mgmt:~$ net show lldp LocalPort Speed Mode RemoteHost RemotePort --------- ----- ---------- ---------------------- ----------- swp3 100G Trunk/L2 sw1 e3a swp4 100G Trunk/L2 sw2 e3b swp15 100G Trunk/L2 sw13 swp15 swp16 100G Trunk/L2 sw14 swp16
Cumulus Linux 5.11 이상nv show interface lldp예를 보여주세요
cumulus@cumulus:mgmt:~$ nv show interface lldp Interface Speed Type Remote Host Remote Port --------- ----- ---- ---------------------------------- ----------- eth0 100M eth mgmt-switch Eth105/1/15 swp1 100G swp cluster1-01 e3a swp2 100G swp cluster1-02 e3a swp5 100G swp 952347XXXXXX e1a swp6 100G swp 952347XXXXXX e1a
-
스토리지 포트와 스위치 연결 상태를 확인하십시오.
-
노드 스토리지 포트의 상태를 확인하십시오:
storage port show -port-type ENET예를 보여주세요
cluster1::*> storage port show -port-type ENET Speed Node Port Type Mode (Gb/s) State Status ------------------ ---- ----- ------- ------ -------- --------------- node1 e3a ENET storage 100 enabled online e3b ENET storage 100 enabled online node2 e3a ENET storage 100 enabled online e3b ENET storage 100 enabled online 4 entries were displayed.
-
-
스토리지 시스템의 선반 포트를 확인하세요.
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 swp3 sw1 3.20 1 swp3 sw2 3.20 2 swp4 sw1 3.20 3 swp4 sw2 3.30 0 swp5 sw1 3.30 1 swp5 sw2 3.30 2 swp6 sw1 3.30 3 swp6 sw2 cluster1::*>
-
스위치가 사용 가능한지 확인하십시오:
network device-discovery show -protocol lldp예를 보여주세요
cluster1::*> network device-discovery show -protocol lldp Node/ Local Discovered Protocol Port Device (LLDP: ChassisID) Interface Platform ----------- ------ ------------------------- ---------------- ---------------- node1 e0M mgmt-switch Eth123/1/41 - e1a data-switch Ethernet1/25 - e1b data-switch Ethernet1/26 - sw1 storage-switch swp1 - sw2 storage-switch swp1 - cs1 cluster1-01 swp3 - cs2 cluster2-02 swp3 - node2 e0M mgmt-switch Eth123/1/42 - e1a data-switch Ethernet1/27 - e1b data-switch Ethernet1/28 - sw1 storage-switch swp2 - sw2 storage-switch swp2 - cs1 cluster1-01 swp4 - cs2 cluster2-02 swp4 - 18 entries were displayed. -
스위치가 모니터링되고 있는지 확인합니다.
system switch ethernet show -is-monitoring-enabled-operational true예를 보여주세요
cluster1::*> system switch ethernet show -is-monitoring-enabled-operational true Switch Type Address Model --------------------------- ------------------ ---------------- ----- sw1 storage-network 192.0.2.71 MSN2100-CB2RC Serial Number: MNXXXXXXGD Is Monitored: true Reason: None Software Version: Cumulus Linux version 5.11.1 running on Mellanox Technologies Ltd. MSN2100 Version Source: LLDP sw2 storage-network 192.0.2.72 MSN2100-CB2RC Serial Number: MNCXXXXXXGS Is Monitored: true Reason: None Software Version: Cumulus Linux version 5.11.1 running on Mellanox Technologies Ltd. MSN2100 Version Source: LLDP -
파트너(또는 다른) 스위치에서도 이러한 확인 단계를 반복하십시오.
RCF를 설치하거나 업그레이드한 후에는 다음을 수행할 수 있습니다."CSHM 파일을 설치하세요" .