ESXi 5.5 System Logs on host are stored on non-persistent storage

I upgraded 2 ESXi hosts from 4.1 to 5.5.

Now they are both showing the following waring: System Logs on Host are stored on non-persistent storage.

Both hosts are connected to a shared SAN storage device. The ESXi os is run off a 1GB flash card on each server.


In the vsphere client i clicked on each host and went to Configuration> Advanced Settings> Syslog.global and the logdir path is set to [] /scratch/log

What is the best practices for this setup? Should i change the logdir to the datastore on the SAN?
AllanoreAsked:
Who is Participating?
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Best Practice is to set this to a SAN (VMFS) LUN Location, or NAS NFS location. e.g. permanent datastore.

We have a small LUN (2GB), which is setup with a folder called /logs

and in each folder we have a folder per ESXi server

e.g.

/logs/locker-esx001
/logs/locker-esx002

we also setup a Syslog Server to send the logs to a Syslog Server which is fine.

BUT, you can have issues, with flash drives, if the ESXi ramdisks, runs out of space, which causes HA issues, and driver issues, and logging issues.

see these VMware Articles

VMware KB: System logs are stored on non-persistent storage

Creating a persistent scratch location for ESXi 4.x and 5.x (1033696)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.