ONTAP Discussions

Netapp Filer Log files

GUVNIJJAR
64,252 Views

I am new to Netapp and use various filers to support such as the FAS 2040, FAS6070, FAS3070 to name a few.  I wanted to find about the logging, where all the system messages,event, errors are logged for the filers and what are the log files and where are they located, so at least I am aware in case of troubleshooting purposes.  Is there a link which explains about logging, or can anyone advise.

Thanks

4 REPLIES 4

peter_lehmann
64,249 Views

The NetApp Controllers have the "messages" file, which logs the console output to these files. You can find it in the root volume, in the /etc directory.

All other logfiles are located in the subdirectory /logs in the same location as before.

If you want to get them centrally, install OnCommand Core 5.0, which will collect and track all events on your systems in a central location and provide a webinterface to access the information.

Peter

jo30233an
64,249 Views

The following list outlines the various log files and their locations used by Data ONTAP. In addition, ONTAP also uses syslogd daemon to log system messages (and uses the config file /etc/syslog.conf)

Messages:
/etc/log/messages (symbolic link to /etc/messages) 
SnapMirror:
/etc/log/snapmirror 
FlexClone:
/etc/log/clone 
Auditlog:
/etc/log/auditlog 
Deduplication:
/etc/log/sis 
LACP:
/etc/log/lacp_log 
Backup:
/etc/log/backup and /etc/log/ndmpdlog 
FTP:
/etc/log/ftp.cmd and /etc/log/ftp.xfer 
Shelf Messages:
/etc/log/shelflog/shelflog_ata and /etc/log/shelflog_esh 
Volume Operations:
/etc/log/vol_history 
Crash Files:
/etc/log/crash/aggregates/<aggregatename>/ 
Performance Archives:
/etc/log/stats/archives 
ACP:
/etc/log/acp/acplog_master and /etc/log/acplog 

RANJBASSI
53,352 Views

Is there a way I can view historic messages when logged into data ONTap CLI using putty or similar?

 

Thanks

PHILMEAGHER
50,526 Views

If not already responded to see the following:

 

setup (if not already) a saved putty session for the filer you wish to extract the logs from.

 

within the Category for the saved filer select the logging option, on the right under "session logging" select "all session output"

then within the log file name field browse to were you wish to save the log file.

Give it a name, and save this to your "saved" filer putty session"

 

Connect to the filer and test as you add text to the cli it will output to the log file.

 

Once working within the cli run the following  command; rdfile /etc/messages.0

 

This will give you a history and output it to your log file "whereever you saved it"

 

hope this helps.

 

TA 

Public