vCenter Server:Gen log bundle
没有太多说的,直接上图:
执行“Generate vCenter Server log bundle”。
该文件是一个脚本文件,具体内容如下:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
@echo off REM chomps off .bat and runs a python script with the same name is this .bat file set dirpath=%~dp0 set fname=%~n0 IF "%VMWARE_CIS_HOME%"=="" ( ECHO VMWARE_CIS_HOME is not defined EXIT /B ) IF "%VMWARE_PYTHON_BIN%"=="" ( ECHO VMWARE_PYTHON_BIN is not defined EXIT /B ) IF "%VMWARE_CFG_DIR%"=="" ( ECHO VMWARE_CFG_DIR is not defined EXIT /B ) set PYTHONPATH=%VMWARE_CIS_HOME%\python-modules;%VMWARE_CIS_HOME%\vpxd\py REM Check the access to the manifest files if not EXIST "%VMWARE_CFG_DIR%\vm-support" ( ECHO Unable to access "%VMWARE_CFG_DIR%\vm-support" ECHO Please launch this script or start the command prompt using, "Run as Administrator." PAUSE EXIT /B ) "%VMWARE_PYTHON_BIN%" "%dirpath%\%fname%" %* |
执行成功后,你可以在桌面上找到它们:
——————
Done。