[VMware]
[VMware] 로그 확인 방법
현재에최선을
2019. 3. 21. 11:27
[VMware] 로그 확인 방법
vCenter log 관련
처음 부팅 실패시
support bundle
vCenter Server Appliance Bash shell 에서
vc-support.sh 스크립트 실행
cat /var/log/firstboot/firstbootStatus.json 확인
실행 위치에 ".tgz" 파일 생성
또는 URL에서 가능
https://IP:443/appliance/support-bundle
firstbootStatus.json 파일 조사
로그 수집 방법 (ESXi 호스트)
1. vm-support (-h)
2. /var/tmp 와 /var/log 아래에 .tgz 파일 생성
아니면, 현재 실행 디렉토리 아래
위치 지정 시 :
vm-support -f -w /vmfs/volumes/DATASTORE_NAME
로그 수집 방법 (vCenter)
1. console 로그인
2. shell.set --enabled true 엔터
3. shell 엔터
4. vc-support -l 실행
5. /storage/log 에서 확인