Solved

Retrieving Dell OMSA log file saved on VMware ESXi 4.1 host

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

 

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
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…

777 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