Solved

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

Posted on 2014-04-24
1
7,981 Views
Last Modified: 2014-04-24
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?
0
Comment
Question by:Allanore
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 121

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 40021011
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

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A look into Log Analysis and Effective Critical Alerting.
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
Suggested Courses

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question