Connectrix B-Series: 라이선스 키를 스위치에 추가하지 못함, "라이선스 변경 커밋 실패" 오류 발생

Summary: "licenseadd"를 사용하여 MX610s 스위치에 라이선스를 추가할 수 없음 " 명령을 실행하여 FOS 버전 8.1.x에 대해 설명합니다. "License install -k" 및 "License -install" 명령 "은(는) FOS 버전 8.1.x에서 지원되지 않습니다.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

오류:
Switch-A:admin licenseadd "W4ZfEaJftZaSJAJJQRff37KSKHRgJrFrEFPfQFH*****"
adding license-key [W4ZfEaJftZaSJAJJQRff37KSKHRgJrFrEFPfQFH*****]
failed to commit license changes

Cause

다음 오류로 인해 Supportsave 및 라이선스 설치 실행 실패:
 "The switch does not have enough disk space to run full supportsave. Available Free disk space is 0 MB."
 
Switch-A:admin> supportsave
This command collects RASLOG, TRACE, supportShow, core file, FFDC data
and then transfer them to a FTP/SCP/SFTP server or a USB device.
This operation can take several minutes.
OK to proceed? (yes, y, no, n): [no] yes
Host IP or Host Name: 10.82.50.27
User Name: username
Password: ******
Protocol (ftp | scp | sftp): sftp
Remote Directory: /home/inti/brocade
Do you want to continue with CRA (Y/N) [N]:
The switch does not have enough disk space to run full supportsave. Available Free disk space is 0 MB.
Please run the following commands to release disk space and retry full supportsave
1. "supportsave -k" to transfer core files to remote location
2. "supportsave -R" to remove the core files in the switch
SupportSave failed.
아래 명령에서 삭제할 코어 파일을 찾습니다.
Switch-A:admin> supportsave -R
No core or FFDC data files found!
SupportSave completed.

Resolution

이 문제를 해결할 수 있는 몇 가지 방법이 있습니다.
  • 해결책 1 :
  1. 아래 명령을 실행하여 루트 계정이 활성화되어 있는지 확인합니다.
 userconfig --show root
  1. 루트 계정을 사용하여 제거합니다. /var/log/esmd_lib.log 더 많은 플래시 메모리를 차지할 수 있는 파일
  1. 루트에서 아래 명령의 출력을 캡처합니다.
root> ls lR /var
이 출력에는 다음이 표시됩니다.
/var/log:

-rw-r--r--   1 root     root      3113586 Oct 14 11:16 esmd_lib.log
-rw-r--r--   1 root     admin    14065977 Oct 13 05:17 esmd_lib.log.1
-rw-r--r--   1 root     admin    82593068 Oct  7 11:04 esmd_lib.log.2
-rw-r--r--   1 root     root     329366414 Sep  2 13:41 esmd_lib.log.3
  1. 루트에서 다음 명령을 실행하여 파일을 제거합니다.
rm /var/log/esmd_lib.log
rm /var/log/esmd_lib.log.1
rm /var/log/esmd_lib.log.2
이렇게 하면 플래시 메모리가 정리되고 supportsave 실행됩니다.
  1. 수집 supportsave 를 사용하여 라이센스를 설치하십시오. licenseadd <key> 플래시 메모리를 정리한 후 명령합니다.
  2. 루트 계정이 활성화된 경우 아래 명령을 실행하여 임시 및 원치 않는 펌웨어 파일을 제거합니다.
df -k 
 
루트 계정이 활성화되지 않은 경우 메모리 문제로 인해 활성화하지 못할 수 있습니다. 루트 계정이 비활성화된 경우 해결책 2를 따릅니다.
Switch_A:admin> userconfig --show root
Account name: root*
Description: root
Enabled: No
Password Last Change Date: Unknown (UTC)
Password Expiration Date: Not Applicable (UTC)
Locked: No
Role: root
AD membership: 0-255
Home AD: 0
Day Time Access: N/A
Switch_A:admin> userconfig --change root -e yes
sqlite3_exec error: 10 disk I/O error
Failed to change user account attributes
  • 해결책 2 :
  1. 구성을 백업하고 다음을 수행합니다. Hareboot 유지 보수 기간에서 플래시 메모리 문제를 해결합니다.
  2. 수행 후 Hareboot수집 supportsave 로그를 기록하고 다음을 사용하여 라이선스를 설치해 보십시오. licenseadd <key> 사용해야 합니다.
  • 해결책 3 :
해결책 2를 사용해도 플래시 메모리를 지우지 못하거나 루트 계정을 활성화하지 못하면 스위치 교체를 수행하기 전에 스위치 공급업체에 추가 지원을 요청하십시오.

Additional Information

Affected Products

Dell EMC Networking MX-G610s
Article Properties
Article Number: 000223916
Article Type: Solution
Last Modified: 10 May 2024
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.