[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Retrieving Dell OMSA log file saved on VMware ESXi 4.1 host

Posted on 2013-02-07
6
Medium Priority
?
1,360 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 125

Accepted Solution

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

you can use the following commands

cat <file name>

or

nano filename
0
[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

 

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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
August and September have been big months for VMware—from VMworld last month to our new Course of the Month in VMware Professional - Data Center Virtualization. We reached out to Andrew Hancock, resident VMware vExpert, to have a more in-depth discu…
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…
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
Suggested Courses

640 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