VMware: System logs on host [hostname] are stored on non-persistent storage
Last week I installed some new vSphere hosts with flash disk storage. Some hosts has a yellow caution icon and a message stating:
Configuration Issues – System logs on host [hostname] are stored on non-persistent storage.
Solution:
Verify the location of System logs:
- In vSphere Client, select the host in the inventory panel.
- Click the Configuration tab, then click Advanced Settings under Software.
- Ensure that Syslog.global.logDir points to a persistent location.
The directory should be specified as [datastorename] path_to_file where the path is relative to the datastore. For example, [datastore1] /systemlogs.
- If the Syslog.global.logDir field is empty or explicitly points to a scratch partition, make sure that the field ScratchConfig.CurrentScratchLocation shows a location on persistent storage.
Result:
After a few minutes the logs are stored at the new location (in this case I used central storage):
More information: VMware
Why not redirect the logs to the build-in syslog collector in vCenter (appliance)?
merci beaucoup