Cumulus Linux 버전 업그레이드
필요에 따라 Cumulus Linux 버전을 업그레이드하려면 다음 절차를 완료하세요.
다음 사항이 있는지 확인하세요.
-
중급 수준의 Linux 지식.
-
기본적인 텍스트 편집, UNIX 파일 권한, 프로세스 모니터링에 대한 지식이 필요합니다. 다음을 포함한 다양한 텍스트 편집기가 사전 설치되어 있습니다.
vi그리고nano. -
Linux 또는 UNIX 셸에 액세스합니다. Windows를 사용하는 경우 Cumulus Linux와 상호 작용하기 위한 명령줄 도구로 Linux 환경을 사용하세요.
-
NVIDIA SN2100 스위치 콘솔 액세스를 위한 직렬 콘솔 스위치의 전송 속도 요구 사항은 다음과 같이 115200으로 설정됩니다.
-
115200보드
-
8개의 데이터 비트
-
1 정지 비트
-
패리티: 없음
-
흐름 제어: 없음
-
다음 사항을 주의하세요.
|
|
Cumulus Linux가 업그레이드될 때마다 전체 파일 시스템 구조가 지워지고 다시 구축됩니다. 기존 구성이 지워집니다. Cumulus Linux를 업데이트하기 전에 스위치 구성을 저장하고 기록해야 합니다. |
|
|
cumulus 사용자 계정의 기본 비밀번호는 *cumulus*입니다. Cumulus Linux에 처음 로그인할 때 기본 비밀번호를 변경해야 합니다. 새 이미지를 설치하기 전에 모든 자동화 스크립트를 업데이트해야 합니다. Cumulus Linux는 설치 과정에서 기본 비밀번호를 자동으로 변경하는 명령줄 옵션을 제공합니다. |
보다 "새로운 Cumulus Linux 이미지 설치" 자세한 내용은.
-
클러스터 스위치를 관리 네트워크에 연결합니다.
-
ping 명령을 사용하여 Cumulus Linux와 RCF를 호스팅하는 서버에 대한 연결을 확인합니다.
-
클러스터 스위치에 연결된 각 노드의 클러스터 포트를 표시합니다.
network device-discovery show -
각 클러스터 포트의 관리 및 운영 상태를 확인합니다.
-
모든 클러스터 포트가 정상 상태로 작동하는지 확인하세요.
network port show -role cluster -
모든 클러스터 인터페이스(LIF)가 홈 포트에 있는지 확인하세요.
network interface show -role cluster -
클러스터가 두 클러스터 스위치에 대한 정보를 모두 표시하는지 확인합니다.
system cluster-switch show -is-monitoring-enabled-operational true
-
-
클러스터 LIF에서 자동 되돌리기를 비활성화합니다. 클러스터 LIF는 파트너 클러스터 스위치로 장애 조치되고 대상 스위치에서 업그레이드 절차를 수행하는 동안 해당 위치에 남아 있습니다.
network interface modify -vserver Cluster -lif * -auto-revert false -
현재 Cumulus Linux 버전과 연결된 포트를 확인하세요.
cumulus@cumulus:mgmt:~$ net show system Hostname......... cumulus Build............ Cumulus Linux 4.4.3 Uptime........... 0:08:20.860000 Model............ Mlnx X86 CPU.............. x86_64 Intel Atom C2558 2.40GHz Memory........... 8GB Disk............. 14.7GB ASIC............. Mellanox Spectrum MT52132 Ports............ 16 x 100G-QSFP28 Part Number...... MSN2100-CB2FC Serial Number.... MT2105T05177 Platform Name.... x86_64-mlnx_x86-r0 Product Name..... MSN2100 ONIE Version..... 2019.11-5.2.0020-115200 Base MAC Address. 04:3F:72:43:92:80 Manufacturer..... Mellanox cumulus@cumulus:mgmt:~$ net show interface State Name Spd MTU Mode LLDP Summary ----- ------ ---- ----- ---------- ---------------------- -------------------- . . UP swp1 100G 9216 Trunk/L2 node1 (e5b) Master: bridge(UP) UP swp2 100G 9216 Trunk/L2 node2 (e5b) Master: bridge(UP) UP swp3 100G 9216 Trunk/L2 SHFFG1826000112 (e0b) Master: bridge(UP) UP swp4 100G 9216 Trunk/L2 SHFFG1826000112 (e0b) Master: bridge(UP) UP swp5 100G 9216 Trunk/L2 SHFFG1826000102 (e0b) Master: bridge(UP) UP swp6 100G 9216 Trunk/L2 SHFFG1826000102 (e0b) Master: bridge(UP)) . .
-
Cumulux Linux 5.4.0 이미지를 다운로드하세요:
cumulus@cumulus:mgmt:~$ sudo onie-install -a -i http://<ip-to-webserver>/path/to/cumulus-linux-5.4.0-mlx-amd64.bin [sudo] password for cumulus: Fetching installer: http://<ip-to-webserver>/path/to/cumulus-linux-5.4.0-mlx-amd64.bin Downloading URL: http://<ip-to-webserver>/path/to/cumulus-linux-5.4.0-mlx-amd64.bin # 100.0% Success: HTTP download complete. EFI variables are not supported on this system Warning: SecureBoot is not available. Image is signed. . . . Staging installer image...done. WARNING: WARNING: Activating staged installer requested. WARNING: This action will wipe out all system data. WARNING: Make sure to back up your data. WARNING: Are you sure (y/N)? y Activating staged installer...done. Reboot required to take effect.
-
스위치를 재부팅하세요:
cumulus@cumulus:mgmt:~$ sudo reboot
-
비밀번호를 변경하세요:
cumulus login: cumulus Password: You are required to change your password immediately (administrator enforced) Changing password for cumulus. Current password: cumulus New password: <new_password> Retype new password: <new_password> Linux cumulus 5.10.0-cl-1-amd64 #1 SMP Debian 5.10.162-1+cl5.4.0u1 (2023-01-20) x86_64 Welcome to NVIDIA Cumulus (R) Linux (R) ZTP in progress. To disable, do 'ztp -d'
-
Cumulus Linux 버전을 확인하세요:
nv show systemcumulus@cumulus:mgmt:~$ nv show system operational applied ---------- -------------- ---------- hostname cumulus cumulus build Cumulus Linux 5.4.0 uptime 14:07:08 timezone Etc/UTC -
호스트 이름을 변경하세요:
cumulus@cumulus:mgmt:~$ nv set system hostname sw1 cumulus@cumulus:mgmt:~$ nv config apply Warning: The following files have been changed since the last save, and they WILL be overwritten. - /etc/nsswitch.conf - /etc/synced/synced.conf . .
-
스위치에서 로그아웃한 다음 다시 로그인하면 프롬프트에서 업데이트된 스위치 이름을 확인할 수 있습니다.
cumulus@cumulus:mgmt:~$ exit logout Debian GNU/Linux 10 cumulus ttyS0 cumulus login: cumulus Password: Last login: Tue Dec 15 21:43:13 UTC 2020 on ttyS0 Linux cumulus 5.10.0-cl-1-amd64 #1 SMP Debian 5.10.162-1+cl5.4.0u1 (2023-01-20) x86_64 Welcome to NVIDIA Cumulus (R) Linux (R) ZTP in progress. To disable, do 'ztp -d' cumulus@sw1:mgmt:~$
-
IP 주소를 설정하세요:
cumulus@sw1:mgmt:~$ nv set interface eth0 ip address 10.231.80.206/22 cumulus@sw1:mgmt:~$ nv set interface eth0 ip gateway 10.231.80.1 cumulus@sw1:mgmt:~$ nv config apply applied [rev_id: 2] cumulus@sw1:mgmt:~$ ip route show vrf mgmt default via 10.231.80.1 dev eth0 proto kernel unreachable default metric 4278198272 10.231.80.0/22 dev eth0 proto kernel scope link src 10.231.80.206 127.0.0.0/8 dev mgmt proto kernel scope link src 127.0.0.1
-
새 사용자를 만들고 이 사용자를 다음에 추가합니다.
sudo그룹. 이 사용자는 콘솔/SSH 세션을 다시 시작한 후에만 유효합니다.sudo adduser --ingroup netedit admincumulus@sw1:mgmt:~$ sudo adduser --ingroup netedit admin [sudo] password for cumulus: Adding user 'admin' ... Adding new user 'admin' (1001) with group `netedit' ... Creating home directory '/home/admin' ... Copying files from '/etc/skel' ... New password: Retype new password: passwd: password updated successfully Changing the user information for admin Enter the new value, or press ENTER for the default Full Name []: Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [Y/n] y cumulus@sw1:mgmt:~$ sudo adduser admin sudo [sudo] password for cumulus: Adding user `admin' to group `sudo' ... Adding user admin to group sudo Done. cumulus@sw1:mgmt:~$ exit logout Connection to 10.233.204.71 closed. [admin@cycrh6svl01 ~]$ ssh admin@10.233.204.71 admin@10.233.204.71's password: Linux sw1 4.19.0-cl-1-amd64 #1 SMP Cumulus 4.19.206-1+cl4.4.1u1 (2021-09-09) x86_64 Welcome to NVIDIA Cumulus (R) Linux (R) For support and online technical documentation, visit http://www.cumulusnetworks.com/support The registered trademark Linux (R) is used pursuant to a sublicense from LMI, the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis. admin@sw1:mgmt:~$
-
관리자 사용자가 액세스할 수 있는 추가 사용자 그룹을 추가합니다.
nv명령:cumulus@sw1:mgmt:~$ sudo adduser admin nvshow [sudo] password for cumulus: Adding user `admin' to group `nvshow' ... Adding user admin to group nvshow Done.보다 "NVIDIA 사용자 계정" 자세한 내용은.
-
클러스터 스위치를 관리 네트워크에 연결합니다.
-
ping 명령을 사용하여 Cumulus Linux와 RCF를 호스팅하는 서버에 대한 연결을 확인합니다.
-
클러스터 스위치에 연결된 각 노드의 클러스터 포트를 표시합니다.
network device-discovery show -
각 클러스터 포트의 관리 및 운영 상태를 확인합니다.
-
모든 클러스터 포트가 정상 상태로 작동하는지 확인하세요.
network port show -role cluster -
모든 클러스터 인터페이스(LIF)가 홈 포트에 있는지 확인하세요.
network interface show -role cluster -
클러스터가 두 클러스터 스위치에 대한 정보를 모두 표시하는지 확인합니다.
system cluster-switch show -is-monitoring-enabled-operational true
-
-
클러스터 LIF에서 자동 되돌리기를 비활성화합니다. 클러스터 LIF는 파트너 클러스터 스위치로 장애 조치되고 대상 스위치에서 업그레이드 절차를 수행하는 동안 해당 위치에 남아 있습니다.
network interface modify -vserver Cluster -lif * -auto-revert false -
현재 Cumulus Linux 버전과 연결된 포트를 확인하세요.
cumulus@sw1:mgmt:~$ nv show system operational applied ------------------- -------------------- ----------------- hostname cumulus cumulus build Cumulus Linux 5.3.0 uptime 6 days, 8:37:36 timezone Etc/UTC cumulus@sw1:mgmt:~$ nv show interface Interface MTU Speed State Remote Host Remote Port- Type Summary ------------- ----- ----- ----- ------------------- ------------ --------- ------------- + cluster_isl 9216 200G up bond + eth0 1500 100M up mgmt-sw1 Eth105/1/14 eth IP Address: 10.231.80 206/22 eth0 IP Address: fd20:8b1e:f6ff:fe31:4a0e/64 + lo 65536 up loopback IP Address: 127.0.0.1/8 lo IP Address: ::1/128 + swp1s0 9216 10G up cluster01 e0b swp . . . + swp15 9216 100G up sw2 swp15 swp + swp16 9216 100G up sw2 swp16 swp -
Cumulux Linux 5.4.0 이미지를 다운로드하세요:
cumulus@sw1:mgmt:~$ sudo onie-install -a -i http://<ip-to-webserver>/path/to/cumulus-linux-5.4.0-mlx-amd64.bin [sudo] password for cumulus: Fetching installer: http://<ip-to-webserver>/path/to/cumulus-linux-5.4.0-mlx-amd64.bin Downloading URL: http://<ip-to-webserver>/path/to/cumulus-linux-5.4.0-mlx-amd64.bin # 100.0% Success: HTTP download complete. EFI variables are not supported on this system Warning: SecureBoot is not available. Image is signed. . . . Staging installer image...done. WARNING: WARNING: Activating staged installer requested. WARNING: This action will wipe out all system data. WARNING: Make sure to back up your data. WARNING: Are you sure (y/N)? y Activating staged installer...done. Reboot required to take effect.
-
스위치를 재부팅하세요:
cumulus@sw1:mgmt:~$ sudo reboot
-
비밀번호를 변경하세요:
cumulus login: cumulus Password: You are required to change your password immediately (administrator enforced) Changing password for cumulus. Current password: cumulus New password: <new_password> Retype new password: <new_password> Linux cumulus 5.10.0-cl-1-amd64 #1 SMP Debian 5.10.162-1+cl5.4.0u1 (2023-01-20) x86_64 Welcome to NVIDIA Cumulus (R) Linux (R) ZTP in progress. To disable, do 'ztp -d'
-
Cumulus Linux 버전을 확인하세요:
nv show systemcumulus@cumulus:mgmt:~$ nv show system operational applied -------------- ---------------- hostname cumulus cumulus build Cumulus Linux 5.4.0 uptime 14:07:08 timezone Etc/UTC
-
호스트 이름을 변경하세요:
cumulus@cumulus:mgmt:~$ nv set system hostname sw1 cumulus@cumulus:mgmt:~$ nv config apply Warning: The following files have been changed since the last save, and they WILL be overwritten. - /etc/nsswitch.conf - /etc/synced/synced.conf . .
-
스위치에서 로그아웃한 다음 다시 로그인하면 프롬프트에서 업데이트된 스위치 이름을 확인할 수 있습니다.
cumulus@cumulus:mgmt:~$ exit logout Debian GNU/Linux 10 cumulus ttyS0 cumulus login: cumulus Password: Last login: Tue Dec 15 21:43:13 UTC 2020 on ttyS0 Linux cumulus 5.10.0-cl-1-amd64 #1 SMP Debian 5.10.162-1+cl5.4.0u1 (2023-01-20) x86_64 Welcome to NVIDIA Cumulus (R) Linux (R) ZTP in progress. To disable, do 'ztp -d' cumulus@sw1:mgmt:~$
-
IP 주소를 설정하세요:
cumulus@sw1:mgmt:~$ nv unset interface eth0 ip address dhcp cumulus@sw1:mgmt:~$ nv set interface eth0 ip address 10.231.80.206/22 cumulus@sw1:mgmt:~$ nv set interface eth0 ip gateway 10.231.80.1 cumulus@sw1:mgmt:~$ nv config apply applied [rev_id: 2] cumulus@sw1:mgmt:~$ ip route show vrf mgmt default via 10.231.80.1 dev eth0 proto kernel unreachable default metric 4278198272 10.231.80.0/22 dev eth0 proto kernel scope link src 10.231.80.206 127.0.0.0/8 dev mgmt proto kernel scope link src 127.0.0.1
-
새 사용자를 만들고 이 사용자를 다음에 추가합니다.
sudo그룹. 이 사용자는 콘솔/SSH 세션을 다시 시작한 후에만 유효합니다.sudo adduser --ingroup netedit admincumulus@sw1:mgmt:~$ sudo adduser --ingroup netedit admin [sudo] password for cumulus: Adding user 'admin' ... Adding new user 'admin' (1001) with group `netedit' ... Creating home directory '/home/admin' ... Copying files from '/etc/skel' ... New password: Retype new password: passwd: password updated successfully Changing the user information for admin Enter the new value, or press ENTER for the default Full Name []: Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [Y/n] y cumulus@sw1:mgmt:~$ sudo adduser admin sudo [sudo] password for cumulus: Adding user `admin' to group `sudo' ... Adding user admin to group sudo Done. cumulus@sw1:mgmt:~$ exit logout Connection to 10.233.204.71 closed. [admin@cycrh6svl01 ~]$ ssh admin@10.233.204.71 admin@10.233.204.71's password: Linux sw1 4.19.0-cl-1-amd64 #1 SMP Cumulus 4.19.206-1+cl4.4.1u1 (2021-09-09) x86_64 Welcome to NVIDIA Cumulus (R) Linux (R) For support and online technical documentation, visit http://www.cumulusnetworks.com/support The registered trademark Linux (R) is used pursuant to a sublicense from LMI, the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis. admin@sw1:mgmt:~$
-
관리자 사용자가 액세스할 수 있는 추가 사용자 그룹을 추가합니다.
nv명령:cumulus@sw1:mgmt:~$ sudo adduser admin nvshow [sudo] password for cumulus: Adding user `admin' to group `nvshow' ... Adding user admin to group nvshow Done.보다 "NVIDIA 사용자 계정" 자세한 내용은.
-
클러스터 스위치를 관리 네트워크에 연결합니다.
-
ping 명령을 사용하여 Cumulus Linux와 RCF를 호스팅하는 서버에 대한 연결을 확인합니다.
-
클러스터 스위치에 연결된 각 노드의 클러스터 포트를 표시합니다.
network device-discovery show -
각 클러스터 포트의 관리 및 운영 상태를 확인합니다.
-
모든 클러스터 포트가 정상 상태로 작동하는지 확인하세요.
network port show -role cluster -
모든 클러스터 인터페이스(LIF)가 홈 포트에 있는지 확인하세요.
network interface show -role cluster -
클러스터가 두 클러스터 스위치에 대한 정보를 모두 표시하는지 확인합니다.
system cluster-switch show -is-monitoring-enabled-operational true
-
-
클러스터 LIF에서 자동 되돌리기를 비활성화합니다. 클러스터 LIF는 파트너 클러스터 스위치로 장애 조치되고 대상 스위치에서 업그레이드 절차를 수행하는 동안 해당 위치에 남아 있습니다.
network interface modify -vserver Cluster -lif * -auto-revert false -
현재 Cumulus Linux 버전과 연결된 포트를 확인하세요.
cumulus@sw1:mgmt:~$ nv show system operational applied ------------------- -------------------- ----------------- hostname cumulus cumulus build Cumulus Linux 5.4.0 uptime 6 days, 8:37:36 timezone Etc/UTC cumulus@sw1:mgmt:~$ nv show interface Interface MTU Speed State Remote Host Remote Port- Type Summary ------------- ----- ----- ----- ------------------- ------------ --------- ------------- + cluster_isl 9216 200G up bond + eth0 1500 100M up mgmt-sw1 Eth105/1/14 eth IP Address: 10.231.80 206/22 eth0 IP Address: fd20:8b1e:f6ff:fe31:4a0e/64 + lo 65536 up loopback IP Address: 127.0.0.1/8 lo IP Address: ::1/128 + swp1s0 9216 10G up cluster01 e0b swp . . . + swp15 9216 100G up sw2 swp15 swp + swp16 9216 100G up sw2 swp16 swp -
Cumulux Linux 5.11.0 이미지를 다운로드하세요:
cumulus@sw1:mgmt:~$ sudo onie-install -a -i http://<ip-to-webserver>/path/to/cumulus-linux-5.11.0-mlx-amd64.bin [sudo] password for cumulus: Fetching installer: http://<ip-to-webserver>/path/to/cumulus-linux-5.11.0-mlx-amd64.bin Downloading URL: http://<ip-to-webserver>/path/to/cumulus-linux-5.11.0-mlx-amd64.bin # 100.0% Success: HTTP download complete. EFI variables are not supported on this system Warning: SecureBoot is not available. Image is signed. . . . Staging installer image...done. WARNING: WARNING: Activating staged installer requested. WARNING: This action will wipe out all system data. WARNING: Make sure to back up your data. WARNING: Are you sure (y/N)? y Activating staged installer...done. Reboot required to take effect.
-
스위치를 재부팅하세요:
cumulus@sw1:mgmt:~$ sudo reboot
-
비밀번호를 변경하세요:
cumulus login: cumulus Password: You are required to change your password immediately (administrator enforced) Changing password for cumulus. Current password: cumulus New password: <new_password> Retype new password: <new_password> Linux cumulus 5.11.0-cl-1-amd64 #1 SMP Debian 5.10.162-1+cl5.4.0u1 (2023-01-20) x86_64 Welcome to NVIDIA Cumulus (R) Linux (R) ZTP in progress. To disable, do 'ztp -d'
-
Cumulus Linux 버전을 확인하세요:
nv show systemcumulus@cumulus:mgmt:~$ nv show system operational applied -------------- ---------------- hostname cumulus cumulus build Cumulus Linux 5.11.0 uptime 14:07:08 timezone Etc/UTC
-
호스트 이름을 변경하세요:
cumulus@cumulus:mgmt:~$ nv set system hostname sw1 cumulus@cumulus:mgmt:~$ nv config apply Warning: The following files have been changed since the last save, and they WILL be overwritten. - /etc/nsswitch.conf - /etc/synced/synced.conf . .
-
스위치에서 로그아웃한 다음 다시 로그인하면 프롬프트에서 업데이트된 스위치 이름을 확인할 수 있습니다.
cumulus@cumulus:mgmt:~$ exit logout Debian GNU/Linux 10 cumulus ttyS0 cumulus login: cumulus Password: Last login: Tue Dec 15 21:43:13 UTC 2020 on ttyS0 Linux cumulus 5.11.0-cl-1-amd64 #1 SMP Debian 5.10.162-1+cl5.4.0u1 (2023-01-20) x86_64 Welcome to NVIDIA Cumulus (R) Linux (R) ZTP in progress. To disable, do 'ztp -d' cumulus@sw1:mgmt:~$
-
IP 주소를 설정하세요:
cumulus@sw1:mgmt:~$ nv unset interface eth0 ip address dhcp cumulus@sw1:mgmt:~$ nv set interface eth0 ip address 10.231.80.206/22 cumulus@sw1:mgmt:~$ nv set interface eth0 ip gateway 10.231.80.1 cumulus@sw1:mgmt:~$ nv config apply applied [rev_id: 2] cumulus@sw1:mgmt:~$ ip route show vrf mgmt default via 10.231.80.1 dev eth0 proto kernel unreachable default metric 4278198272 10.231.80.0/22 dev eth0 proto kernel scope link src 10.231.80.206 127.0.0.0/8 dev mgmt proto kernel scope link src 127.0.0.1
Cumulus Linux 버전을 업그레이드한 후에는 다음을 수행할 수 있습니다."RCF 스크립트를 설치하거나 업그레이드합니다." .