Problema:
Dopo uno spegnimento o un riavvio di un ESXi viene visualizzato l'errore "System logs are stored on non-persistent storage"
Risoluzione da SSH
Check
vim-cmd hostsvc/advopt/view ScratchConfig.ConfiguredScratchLocation
Write
vim-cmd hostsvc/advopt/update ScratchConfig.ConfiguredScratchLocation string /vmfs/volumes/UTXT_07_VMware/busev7-log
vim-cmd hostsvc/advopt/update ScratchConfig.ConfiguredScratchLocation string /vmfs/volumes/UTXT_07_VMware/busev12-log
vim-cmd hostsvc/advopt/update ScratchConfig.ConfiguredScratchLocation string /vmfs/volumes/UTXT_07_VMware/busev13-log
vim-cmd hostsvc/advopt/update ScratchConfig.ConfiguredScratchLocation string /vmfs/volumes/UTXT_07_VMware/busev21-log
vim-cmd hostsvc/advopt/update ScratchConfig.ConfiguredScratchLocation string /vmfs/volumes/UTXT_07_VMware/esxi01-log
vim-cmd hostsvc/advopt/update ScratchConfig.ConfiguredScratchLocation string /vmfs/volumes/UTXT_07_VMware/esxi02-log
vim-cmd hostsvc/advopt/update ScratchConfig.ConfiguredScratchLocation string /vmfs/volumes/UTXT_07_VMware/esxi03-log
vim-cmd hostsvc/advopt/update ScratchConfig.ConfiguredScratchLocation string /vmfs/volumes/UTXT_07_VMware/esxi04-log
vim-cmd hostsvc/advopt/update ScratchConfig.ConfiguredScratchLocation string /vmfs/volumes/UTXT_07_VMware/esxi05-log
vim-cmd hostsvc/advopt/update ScratchConfig.ConfiguredScratchLocation string /vmfs/volumes/UTXT_07_VMware/esxi06-log
Risoluzione da pagina WEB
Nell'host ESXi in questione aprire il seguente menu:
System
Configure
Advanced System Settings
e cercare la variabile Syslog.global.logDir
Default, in locale su /scratch/log
[] /scratch/log
Settare lo storage corrispondente all'host su un
[UTXT_07_VMware] /busev7-log
[UTXT_07_VMware] /busev12-log
[UTXT_07_VMware] /busev13-log
[UTXT_07_VMware] /busev21-log
[UTXT_07_VMware] /esxi01-log
[UTXT_07_VMware] /esxi02-log
[UTXT_07_VMware] /esxi03-log
[UTXT_07_VMware] /esxi04-log
[UTXT_07_VMware] /esxi05-log
[UTXT_07_VMware] /esxi06-log