Advertisement

VMware ESXi Syslog Errors - 'System logs on host {host-name} are stored on non-persistent storage.' and 'System logging is not configured on host'

KB ID 0000456 Dtd 22/11/12

Problem

Syslog Error Seen on ESXi 5.1

ESXi 5.1 Syslog Error

Error
Configuration Issues
System logs on host {host-name} are stored on non-persistent storage.

Syslog Error Seen on ESXi 5

ESXi 5 Syslog Error

Error
Configuration Issues
System logging is not configured on host {host-name}.

Syslog Error Seen on ESXi 4

ESXi 4 Syslog Error

Error
Configuration Issues
Issue detected on {host-name}: Warning: Syslog not configured. Please check Syslog options under Configuration.Software.Advanced Settings.

Solution

You tend to see this error on disk-less servers, i.e. ESXi hosts that boot from a USB Drive, or an internal SD card. ESXi likes to have some persistent storage to keep its logs on.

To stop the error you need to give it a location for the logs. That location is setup as follows;

ESXi Setting a Syslog Location

With an ESXi host selected, Configuration > Advanced Settings > Syslog > Syslog.global.logDir.

Here you have two options,

Option 1 Store the Syslogs on the SD Card

Note: If you have built the ESXi Server from a manufacturers ESXi DVD (the HP build for example) there may not be enough room on the SD card for the logs.

In the example below, I've got an ESXi host, that's running ESXi from an SD card (4GB) and I've put the syslog on there by using the default entry of;

ESXi 5 Syslog Error

Click OK > After a couple of seconds the alert will disappear (without the need to reboot).

Option 2 Store the Syslogs on Local or Shared Storage.

ESXi 5 Putting the syslog onto a DataStore

With an ESXi host selected, Configuration > Storage > On a datastore, right click > Browse Datastore > Select the new folder icon > call the folder LOGS > OK.

ESXi Shared Syslog Folder

Note: In this example I'm storing the syslog on local storage (on the ESXi host) if you have shared storage , i.e. a SAN or NAS, I suggest you create a sub-folder for each ESXi host within the LOGS directory and set the path on each host accordingly. This will take effect without a reboot and the error should cease.

Syslog Location VMware ESX

ESXi 4 Putting the syslog onto a DataStore

In this case I created a syslog area on one of the shared data stores.

With an ESX host selected, Configuration > Storage > On a datastore, right click > Browse Datastore > Select the new folder icon > call the folder syslog > OK.

esxi 4 change syslog

Then select Advanced Settings > Syslog > Enter a value in the following format:

[datastore]/syslog/hostname.log

i.e. [Volume 3]/syslog/esx2.log

esx4 specift syslog location

3. Click OK, you should not need to reboot, the error should cease straight away.

Related Articles, References, Credits, or External Links

NA