Solved

Retrieving Dell OMSA log file saved on VMware ESXi 4.1 host

Posted on 2013-02-07
6
1,257 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 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 38865927
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
ID: 38866123
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 119
ID: 38866150
have you changed WinSCP to SCP rather than SFTP?

you can use the following commands

cat <file name>

or

nano filename
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

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

Thank you.
0
 

Author Comment

by:LittleJohn101
ID: 38866227
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
ID: 38866228
Answer refers to service that is required and tools to access directory of where logs are stored.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

830 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