Solved

Retrieving Dell OMSA log file saved on VMware ESXi 4.1 host

Posted on 2013-02-07
6
1,233 Views
Last Modified: 2016-11-23
My RAID controller cache backup battery in my Dell server is in degraded state. I have the Dell OpenManage System Administrator (OMSA) installed on my VMware ESXi 4.1 installation. I exported the log file for the controller using OMSA, but it saved it in /var/log. How do you access this folder on the ESXi host?

I tried connecting directly to the host using VMware vSphere Client, under Administration, System Logs, but in the Server log drop down menu I don't have the option to access /var/log, but I do get subfolders like /var/log/messages.

I tried WinSCP but get error "Cannot initialize SFTP protocol. Is the host running a SFTP server?"

I tried HTTP by going to https://esxihost/host/ but there is no response from the server.

I was going to try the vSphere CLI but I didn't see any commands to access a specific folder, perhaps I didn't look closely enough.

All I want to do is look at the log files the Dell OMSA saved to the hosts local /var/log folder. Does anyone know how to do this? Is this even possible with ESXi?
0
Comment
Question by:LittleJohn101
  • 4
  • 2
6 Comments
 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
Comment Utility
Make sure you have enabled ssh?

and then you can login via ssh remotely and check the log, or download with WinSCP.

see here

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

Author Comment

by:LittleJohn101
Comment Utility
Thanks for your response.

Remote Tech Support (SSH) was already enabled and running... I can login with putty, and get to the /var/log directory but then I don't know how to view the file. I don't know how to view the log files that were saved here though.

WinSCP still doesn't work despite Remote Tech Support (SSH) being enabled and running. I still get the same error message.
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
have you changed WinSCP to SCP rather than SFTP?

you can use the following commands

cat <file name>

or

nano filename
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 

Author Comment

by:LittleJohn101
Comment Utility
Ok I didn't know you could change WinSCP to use different protocols, that worked.

Thank you.
0
 

Author Comment

by:LittleJohn101
Comment Utility
I've requested that this question be closed as follows:

Accepted answer: 0 points for LittleJohn101's comment #a38866123

for the following reason:

Response points to making sure service that is required is turned on.
0
 

Author Closing Comment

by:LittleJohn101
Comment Utility
Answer refers to service that is required and tools to access directory of where logs are stored.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now