ECS: 옵스 : racadm 또는 iDRAC UI를 통해 SupportAssist/TSR 로그를 생성하는 방법
Summary: ECS: racadm 명령을 사용하여 SupportAssist 로그를 생성하는 방법 iDRAC UI에서 TSR(Technical Support Report) 로그를 수집하는 방법
Instructions
개요
ECS 하드웨어 모델 - Gen 3:
- EX300 시리즈
- EX500
- EXF900 시리즈
- EX3000(EX3000S, EX3000D)
ObjectScale 하드웨어 모델 - Gen 4:
- X560 시리즈
- XF960 시리즈
- EX5000(EX5000S, EX5000D)
svc_collect 프로필 기능:
중요하다: xDoctor 4.8-86 이상부터는 svc_collect 프로파일 로그 수집 기능을 모든 ECS에서 실행할 수 있습니다. xDoctor 4.8-86 이상이 설치되어 있지 않은 경우 수동 로그 수집 프로세스를 사용해야 합니다. 이 로그는 PowerEdge EX-Series ECS의 모든 모델, PERC/RAID 컨트롤러 로그(EX3000), PERC/RAID 컨트롤러 용어 로그(EX3000) 및 PERC/RAID 컨트롤러 이벤트(EX3000)에 대한 TSR 로그를 생성합니다. PowerEdge 팀의 요청에 따라 PowerEdge 서버에서 더 많은 수집을 수동으로 수행해야 합니다.
- svc_collect에서 로그 수집 명령을 실행하여 문제 해결 중인 노드에 대해 실행합니다.
명령:
# svc_collect start -p ic_poweredge -n r<rack number>n<node number>
랙 1 노드 1에서 수집하는 예:
참고: 노드를 식별하지 않고 명령을 실행하면 전체 VDC에서 실행됩니다.
admin@node2:~> svc_collect start -p ic_poweredge -n r1n1 svc_collect v1.3.2 (svc_tools v2.6.0-a3) Started 2022-07-29 21:13:02 ---------------------------------------------------------------------------------------------------------------- Starting data collection for: VDC1 Using collection profile: ic_poweredge Collect only from nodes: 'r1n1' Collect configuration files: True Collect log files: True Collect command outputs: True Log file Start time: 2022-07-29 20:53:02 Log file Stop time: 2022-07-29 21:13:02 Maximum root disk util %: 80 Maximum collect size: 10240MB Collect file name: /tmp/svc_collect-ic_poweredge-VDC1-20220729_211302.zip Creating manifest file /tmp/svc_collect-VDC1-20220729_211302/MANIFEST.INF Collecting node command output from nodes [Gathering Service Tag] [Gathering raid log EX3000 only] [Gathering term log] [Gathering events log] [Generating TSR log] [Gathering TSR log - waiting up to 10 minutes to complete] Exporting TSR: SUCCESS Collecting Fabric and OS logs Getting logs for *.raid.log* on node r1n1 Getting logs for *.term.log* on node r1n1 Getting logs for *.events.log* on node r1n1 Getting logs for *_tsr_report.zip* on node r1n1 Collect saved as file /tmp/svc_collect-ic_poweredge-VDC1-20220729_211302.zip Runtime: 40.0968358517
- WinSCP(Secure Copy Protocol) 클라이언트를 사용하여 수집합니다. 수집에서 생성된 .zip 실행된 다음 DST(Dell Service Tag)가 있는 파일의 압축을 풀고 PowerEdge 팀이 검토할 수 있도록 파일에 수집합니다.
수동 단계(xDoctor 4.8-86 이전)
명령 racadm (Remote Access Controller Admin)은 모든 ECS EX-Series 노드에 로드된 Dell 명령줄 툴로, iDRAC(Integrated Dell Remote Access Controller) 리소스에 대한 로컬(ECS 호스트-iDRAC 패스스루) 및 원격(iDRAC 물리적 인터페이스) 액세스를 활성화합니다.
SupportAssist 로그는 racadm을 사용하여 로컬(현장) 또는 원격으로(SCG 또는 WebEx) 연결된 경우 생성할 수 있습니다. EX-Series에서 iDRAC 물리적 인터페이스는 기본적으로 192.168.219.10<노드#> 로컬 IP 주소를 사용하기 때문에 iDRAC UI는 로컬에서만 사용할 수 있습니다.
EX300, EX500, X560, EXF900, XF960, EX5000에서 SA(SupportAssist) 로그를 생성하는 방법:
로컬에서 racadm을 사용하여 iDRAC에 연결합니다(ECS 호스트 작동, 타겟 노드에 ssh). 참고: EX3000은 위 모델과 다른 iDRAC 버전을 사용하므로 이 KB의 다음 단계를 참조하십시오.
1. NAN IP를 사용하여 타겟 노드에 접속합니다.
admin:~> ssh 169.254.1.6
2. racadm 명령을 실행하여 TSR 로그 컬렉션을 생성합니다.
admin:~> sudo -i racadm supportassist collect Job ID = JID_xxxxxx RAC1154: The requested operation is initiated. Run the RACADM jobqueue sub-command, using the job id to check the status of the requested operation.
"EULA not accepted" 메시지가 표시되는 경우:
admin@node1:~> sudo -i racadm supportassist collect
SRV085: Unable to start the operation because the SupportAssist End User License Agreement (EULA) is not accepted.
Accept the SupportAssist End User License Agreement (EULA) by running racadm supportassist accepteula command.
해결 방법은 섹션의 단계를 사용하는 것입니다. "Using racadm Remotely to iDRAC (ECS Host down)"는 아래를 참조하십시오.
admin@node2:~> sudo -i racadm -r 192.168.219.101 -u root -p passwd techsupreport collect Security Alert: Certificate is invalid - self signed certificate Continuing execution. Use -S option for racadm to stop execution on certificate-related errors. Job ID = JID_8xxxx RAC1154: The requested operation is initiated. Run the RACADM jobqueue sub-command, using the job id to check the status of the requested operation.
그런 다음 필요에 따라 "racadm을 원격으로 사용하여 iDRAC에 연결(ECS 호스트 중단)" 섹션으로 이동하여 로그를 추출합니다.
"로컬 RACADM의 한 인스턴스가 이미 실행 중입니다"라는 메시지가 표시되는 경우:
admin@node1:~> sudo -i racadm supportassist collect One Instance of Local RACADM is already executing. Exiting the current session.
자세한 내용은 https://www.dell.com/community/Systems-Management-General/RACADM-is-already-executing-message/td-p/4732148
링크를 참조하십시오. 실행 중인 racadm 프로세스를 지운 다음 racadm을 다시 실행해야 합니다.
그 때 racadm 프로세스를 지우는 것처럼 그 순간에 다른 사람이 racadm을 실행할 필요가 없는지 확인하십시오.
racadm 프로세스가 중단될 수 있으며 노드에서 다음 명령을 사용하여 지워야 합니다.
admin@node1:~> sudo rm -rf /var/run/local_racadm.pid
그런 다음 racadm 명령을 다시 실행합니다.
이전 iDRAC 펌웨어에서 racadm 프로세스가 중단될 가능성이 더 높습니다.
이 문제가 발생하면 iDRAC 펌웨어 수준을 확인하고 해당하는 경우 펌웨어 업데이트를 권고합니다.
3. 수집 요청에 의해 생성된 작업은 ECS 노드에 복사하기 전에 성공적으로 완료되어야 합니다. 미리 보기 단계에 제공된 작업 ID를 사용하여 다음 명령을 실행하여 작업 상태를 표시합니다.
admin:~> sudo -i racadm jobqueue view -i JID_8xxxxx ---------------------------- JOB ------------------------- [Job ID=JID_8xxxxx] Job Name=SupportAssist Collection Status=Completed Start Time=[Not Applicable] Expiration Time=[Not Applicable] Message=[SRV088: The SupportAssist Collection Operation is completed successfully.] Percent Complete=[100] ----------------------------------------------------------
4. 다음 단계에서 사용할 노드의 DST(Dell Service Tag)를 가져옵니다.
admin:~> sudo -i racadm getsvctag Cxxxxx
5. iDRAC에서 ECS 노드에서 DST#>_tsr_report.zip라는 이름의 <디렉토리 위치로 TSR 보고서를 복사합니다. 로그 내보내기는 기본적으로 .zip 형식입니다. 내보내기는 몇 분 정도 걸릴 수 있습니다.
admin:~> sudo -i racadm supportassist exportlastcollection -f /home/admin/Cxxxxx_tsr_report.zip Support Assist exported successfully. admin:~> ls -alt /home/admin/Cxxxxx_tsr_report.zip -rwxr-xr-x 1 root root 943054 Nov 5 21:07 /home/admin/xxxxx_tsr_report.zip
6. 필요에 따라 SCP 또는 기타 전송 도구를 사용하여 /home/admin/Bxxxxx_tsr_report.zip 파일을 외부 위치에 복사합니다.
원격으로 racadm을 사용하여 iDRAC에 연결(ECS 호스트 다운):
1. 타겟 노드가 상주하는 랙의 작동 노드에 연결합니다.
admin:~> ssh 169.254.1.1
참고: 기본적으로 iDRAC 물리적 네트워크는 동일한 백엔드 네트워크(랙)에 연결된 다른 노드에서만 액세스할 수 있습니다.
2. iDRAC 루트 로그인/비밀번호를 사용하여 타겟 192.168.219.10<node#> IP에서 원격으로 racadm 명령을 실행하여 TSR 로그 컬렉션을 생성합니다.
admin:~> sudo -i racadm -r 192.168.219.106 -u root -p passwd techsupreport collect Job ID = JID_4xxxxxx RAC1154: The requested operation is initiated. Run the RACADM jobqueue sub-command, using the job id to check the status of the requested operation.
3. 수집 요청에 의해 생성된 작업은 ECS 노드에 복사하기 전에 성공적으로 완료되어야 합니다.
미리 보기 단계에 제공된 작업 ID를 사용하여 다음 명령을 실행하여 작업 상태를 표시합니다.
admin:~> sudo -i racadm -r 192.168.219.106 -u root -p passwd jobqueue view -i JID_4xxxxxxx ---------------------------- JOB ------------------------- [Job ID=JID_4xxxxxxx] Job Name=TSR_Collect Status=Completed Start Time=[Not Applicable] Expiration Time=[Not Applicable] Message=[SYS018: Job completed successfully.] Percent Complete=[100] ----------------------------------------------------------
4. 다음 단계에서 사용할 노드의 DST(Dell Service Tag)를 가져옵니다.
admin:~> sudo -i racadm -r 192.168.219.106 -u root -p passwd getsvctag CX1TBM2
5. iDRAC에서 ECS 노드에서 DST#>_tsr_report.zip라는 이름의 <디렉토리 위치로 TSR 보고서를 복사합니다. 로그 내보내기는 기본적으로 b 형식을 .zip. 내보내기는 몇 분 정도 걸릴 수 있습니다.
admin:~> sudo -i racadm -r 192.168.219.106 -u root -p passwd techsupreport export -f /home/admin/Cxxxxx_tsr_report.zip Progress = 100 percent Tech Support Report exported successfully. admin:~> ls -alt /home/admin/Cxxxxx_tsr_report.zip -rwxr-xr-x 1 root root 447811 Oct 31 18:42 /home/admin/Cxxxxxx_tsr_report.zip
6. 필요에 따라 SCP 또는 기타 전송 도구를 사용하여 /home/admin/Cxxxxxx_tsr_report.zip 파일을 외부 위치에 복사합니다.
7. EX3000 TSR 정보를 보려면 다음과 같이 하십시오. Windows 랩톱으로 전송되면 Windows에서 xxx_tsr_report.zip 파일을 열고 파일을 표시하며 그 중 하나는 TSR<Numbers>_<DST#>.pl.zip입니다. 이 파일을 열고 tsr 디렉토리를 연 다음 "viewer.html.
EX3000에서 TSR(Tech Support Report) 로그를 캡처하는 방법:
로컬에서 racadm을 사용하여 iDRAC에 연결합니다(ECS 호스트 작동, 타겟 노드에 ssh). 참고: EX3000은 위 모델과 다른 iDRAC 버전을 사용하므로 아래 단계를 수행합니다.
1. NAN IP를 사용하여 타겟 노드에 접속합니다.
admin:~> ssh 169.254.1.6
2. racadm 명령을 실행하여 TSR 로그 컬렉션을 생성합니다.
admin:~> sudo -i racadm techsupreport collect Job ID = JID_xxxxxx RAC1154: The requested operation is initiated. Run the RACADM jobqueue sub-command, using the job id to check the status of the requested operation.
3. 수집 요청에 의해 생성된 작업은 ECS 노드에 복사하기 전에 성공적으로 완료되어야 합니다.
미리 보기 단계에 제공된 작업 ID를 사용하여 다음 명령을 실행하여 작업 상태를 표시합니다.
admin:~> sudo -i racadm jobqueue view -i JID_xxxxx ---------------------------- JOB ------------------------- [Job ID=JID_xxxxxx] Job Name=TSR_Collect Status=Completed Start Time=[Not Applicable] Expiration Time=[Not Applicable] Message=[SYS018: Job completed successfully.] Percent Complete=[100] ----------------------------------------------------------
4. 다음 단계에서 사용할 노드의 DST(Dell Service Tag)를 가져옵니다.
admin:~> sudo -i racadm getsvctag xxxxxx
5. iDRAC에서 ECS 노드에서 DST#>_tsr_report.zip라는 이름의 <디렉토리 위치로 TSR 보고서를 복사합니다. 로그 내보내기는 기본적으로 b 형식을 .zip. 내보내기는 몇 분 정도 걸릴 수 있습니다.
admin:~> sudo -i racadm techsupreport export -f /home/admin/xxxxxx_tsr_report.zip Tech Support Report exported successfully. admin:~> ls -alt /home/admin/xxxxxxx_tsr_report.zip -rwxr-xr-x 1 root root 447811 Oct 31 18:42 /home/admin/xxxxxx_tsr_report.zip
6. 필요에 따라 SCP 또는 기타 전송 도구를 사용하여 /home/admin/xxxxxxx_tsr_report.zip 파일을 외부 위치에 복사합니다.
7. EX3000 TSR 정보를 보려면 다음과 같이 하십시오. Windows 랩톱으로 전송한 후 Windows에서 xxx_tsr_report.zip 파일을 열면 TSR<Numbers>_<DST#>.pl.zip 파일이 표시됩니다. 이 파일을 열고 tsr 디렉토리를 연 다음 "viewer.html.
메모: EX3000의 디스크 관련 문제인 경우 megacli 로그 요청이 요청되고 이 KB에 따라 다음 정보를 수집합니다. KB ECS: EX3000: RAID 컨트롤러 로그 수집 방법
racadm Remote를 사용하여 iDRAC에 연결(ECS 호스트 다운):
1. 타겟 노드가 상주하는 랙의 작동 노드에 연결합니다.
admin:~> ssh 169.254.1.1
참고: 기본적으로 iDRAC 물리적 네트워크는 동일한 백엔드 네트워크(랙)에 연결된 다른 노드에서만 액세스할 수 있습니다.
2. iDRAC 루트 로그인/비밀번호를 사용하여 타겟 192.168.219.10<node#> IP에서 원격으로 racadm 명령을 실행하여 TSR 로그 컬렉션을 생성합니다.
admin:~> sudo -i racadm -r 192.168.219.106 -u root -p passwd techsupreport collect Job ID = JID_xxxxx RAC1154: The requested operation is initiated. Run the RACADM jobqueue sub-command, using the job id to check the status of the requested operation.
3. 수집 요청에 의해 생성된 작업은 ECS 노드에 복사하기 전에 성공적으로 완료되어야 합니다.
미리 보기 단계에 제공된 작업 ID를 사용하여 다음 명령을 실행하여 작업 상태를 표시합니다.
admin:~>sudo -i racadm -r 192.168.219.106 -u root -p passwd jobqueue view -i JID_xxxxx ---------------------------- JOB ------------------------- [Job ID=JID_xxxxxx] Job Name=TSR_Collect Status=Completed Start Time=[Not Applicable] Expiration Time=[Not Applicable] Message=[SYS018: Job completed successfully.] Percent Complete=[100] ----------------------------------------------------------
4. 다음 단계에서 사용할 노드의 DST(Dell Service Tag)를 가져옵니다.
admin:~> sudo -i racadm -r 192.168.219.106 -u root -p passwd getsvctag xxxxxx
5. iDRAC에서 ECS 노드에서 DST#>_tsr_report.zip라는 이름의 <디렉토리 위치로 TSR 보고서를 복사합니다. 로그 내보내기는 기본적으로 b 형식을 .zip. 내보내기는 몇 분 정도 걸릴 수 있습니다.
admin:~> sudo -i racadm -r 192.168.219.106 -u root techsupreport export -f /home/admin/xxxxxx_tsr_report.zip Progress = 100 percent Tech Support Report exported successfully. admin:~> ls -alt /home/admin/xxxxxxx_tsr_report.zip -rwxr-xr-x 1 root root 447811 Oct 31 18:42 /home/admin/xxxxxxx_tsr_report.zip
6. 필요에 따라 SCP 또는 기타 전송 도구를 사용하여 /home/admin/xxxxxx_tsr_report.zip 파일을 외부 위치에 복사합니다.
7. EX3000 TSR 정보를 보려면 다음과 같이 하십시오. Windows 랩톱으로 전송한 후 Windows에서 xxx_tsr_report.zip 파일을 열면 TSR<Numbers>_<DST#>.pl.zip 파일이 표시됩니다. 이 파일을 열고 tsr 디렉토리를 연 다음 "viewer.html.