When the underlying operating system of the ESXi host is installed on the SD card, when the host is configured in Vcenter, if the ESXi host has an error "not configuring system logging on the host XXX.XXX.XXX.XXX" or "the system log on the host is stored in non-persistent storage", You can try the following actions.
ESXi generated log storage on the SD card will also appear full of space, so the best case for the log of all hosts are stored on the shared storage.
Create a log folder on shared storage and create a esxi03 folder under the folder to store the log files for the third host. As shown in the following figure operation.
Select the error ESXi host, and in admin-settings-Advanced system settings, find the Syslog.global.logDir line of argument
Point edit. Enter the path that the log file holds:
The above figure is an example of the path is [Vsandatastore]/scratch/log, you have to make sure that the datastore under the directory Oh, if not, you can use Datastore browser to create the directory manually.
After the confirmation, the warning message on the host will automatically disappear, then look at the folder, and find that there is already a log generated, as shown in the following figure.
===================================================================
If not, you can also try this approach:
1, casually find a datastore, local or shared all rows, configuration-memory, and then select the storage, you will find the path to store, please see the following figure
2, select Host-Configuration-software-Advanced Settings-scratchconfig.configuredscratchlocation Enter just the path to the memory, and then restart the ESXi host.