new1234.jpg
Home > VMware > VMware: System logs on host [hostname] are stored on non-persistent storage

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:

  1. In vSphere Client, select the host in the inventory panel.
  2. Click the Configuration tab, then click Advanced Settings under Software.
  3. 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.

  4. 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.

VMpros.nl

 

Result:

After a few minutes the logs are stored at the new location (in this case I used central storage):

VMpros.nl

More information: VMware

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn

  1. April 11th, 2014  (Quote) at 13:47  (Quote) | #1

    Why not redirect the logs to the build-in syslog collector in vCenter (appliance)?

  2. vahid
    January 9th, 2016  (Quote) at 17:03  (Quote) | #2

    merci beaucoup

  1. No trackbacks yet.