Solved

Configure system logs for VMWare host server

Posted on 2015-02-10
15
534 Views
Last Modified: 2015-02-11
Hey Experts.

For some reason, one of my VMWare hosts is showing this error message:

"System logs on host x.x.x.x are stored on non-persistent storage"

I noticed that the ScratchConfig.ConfiguredScratchLocation was empty for that host but the other hosts have a path similar to /somethingt/something/2758163tr23g072q0g3gfh3fgher (obviously they are different between the hosts).  How do I set the path on the host that is missing it?

Thanks in advance for your help!
0
Comment
Question by:samiam41
[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
  • 7
  • 5
  • 3
15 Comments
 
LVL 120
ID: 40600655
0
 
LVL 2

Assisted Solution

by:Chach DalSanto
Chach DalSanto earned 200 total points
ID: 40600664
Fairly common problem; I get this initially when I set my Hosts to boot the hypervisor from flash storage.  You need to set this path in the Advanced Settings under the configuration tab.  Check out the VMware KB article here:

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2032823

Thx
0
 
LVL 9

Author Comment

by:samiam41
ID: 40600722
Hey Andrew!  The server is booted from a SD flash disk and I set the syslog.global.logDir to /scratch/log but the error message remains.  I followed your EE post but I may be missing something.  

Thanks Chach for the reply.  I'm looking through your suggestion now.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 9

Author Comment

by:samiam41
ID: 40600742
How do I know what the datastore path is that I should use?

The other hosts use /vmfs/volumes/52dxxxxx

How do I find that path?
0
 
LVL 2

Expert Comment

by:Chach DalSanto
ID: 40600772
Honestly I just map mine to either local storage OTHER than the flash disk, (like a RAID5 array of onboard storage) or to a folder on an iSCSI / FC target somewhere else.  That does the trick.

Thx
0
 
LVL 9

Author Comment

by:samiam41
ID: 40600785
I'm good with mapping it to a folder on the iSCSI but I don't know what that path would be, rather than the SD flash media.  If I use /vmfs/volumes, how do I find the rest /52dxxxxxxx?
0
 
LVL 120
ID: 40600800
don't forget the [ sqaure brackets ]

use the friendly name of the datastore!
0
 
LVL 9

Author Comment

by:samiam41
ID: 40600804
don't forget the [square brackets ]

I don't know what to use for a path to the vmfs storage.  How do I find this?
0
 
LVL 120
ID: 40600836
what is your datastore name....

put that in square brackets, and that's it....

we use

[iscsi-lun19-dcs-san1] logs/.locker-esxi001/log

where the datastore is in square brackets, and then we create logs folder, and .locker folder...
0
 
LVL 2

Assisted Solution

by:Chach DalSanto
Chach DalSanto earned 200 total points
ID: 40600837
For local storage, it will be formatted like this as an example:

[datastore1] /systemlogs2015/Host1

Use whatever folder structure you want; I just made this up based on a template we sue.

Thx
0
 
LVL 9

Author Comment

by:samiam41
ID: 40600906
Ok.  I browsed to the datastores view and opened up the Local-G6 datastore.  I created a folder called Logs. When I enter [Local-G6]/Logs or [Local-G6] Logs into ScratchConfig.ConfiguredScratchLocation or Syslog.global.logDir (I tried each one separately) and get this error each time:

Call "OptionManager.UpdateValues" for object "EsxHostAdvSettings-9" on vCenter Server "some.server.here" failed.

Not sure what I'm doing wrong.
0
 
LVL 120
ID: 40600917
everything is case sensitive.
0
 
LVL 9

Author Comment

by:samiam41
ID: 40601046
If I'm understanding this correctly, the syslog.global.logDir has some relation to ScratchConfig > ScratchConfig.ConfiguredScratchLocation

Is this correct?
0
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 300 total points
ID: 40601129
they can be...its to do with different types of install, Embedded versus le, e.g where there is space on the disk, to create the space

often when installed on SD card or USB flash drive you will get the warning you have seen, and if you set a variable and location to a shared LUN the issue will disappear (handy, if the server fails to start you can still get at the logs!)

see here

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1033696

we set and use the Syslog.global.logDir variable.
0
 
LVL 9

Author Closing Comment

by:samiam41
ID: 40601776
Thanks for the help with this!  I've learned a lot about VMware in a short amount of time and that credit goes to you all.  I appreciate the time and help you've provided.

Thanks, Aaron
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
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 …
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

738 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