Maintaining and Managing the Storage Router
198
IP Storage Router SR2122-2 User Guide
Use the
force
keyword to execute the script immediately without asking for
confirmation. (Optional)
After the script completes, issue the appropriate
show
commands to verify that
the script executed as expected.
Managing the Log File
The storage router can log event information to a series of log files, based on the
routing rules specified in the storage router logging table. The default
configuration routes all storage router event messages at notification level info or
lower to the log file. Use the
show logging
commands to display log file
entries and to search for entries that match specific text strings or regular
expressions.
Log files are created in the storage router
log
directory (
/ata4/log
). They can
occupy up to 4 MB of memory. Once this limit has been reached, the oldest file is
removed and a new one is created. The
show logging size
command can be
used to display the size of the existing log files. The
show system
command
can be used to display the amount of space allocated to log files, and the amount
of log file space currently available.
The name of the log file is
messages
, followed by a number (for example,
messages3
or
messages12
). The first log file is named
messages0
, the next log
file is named
messages1
, and so on.
Depending on the needs of your enterprise, you can archive log files to a remote
server, or you can clear log files on a periodic basis. You can use FTP to transfer
files from the storage router to a remote server (see the
“Using FTP with the
Storage Router”
section on
page 201
for details), or you can use the web-based
GUI to display the contents of the log file and use cut-and-paste techniques to save
the information to a local file. You can also issue the
show logging all
command and redirect the output of your console using the logging facilities for
your specific console interface.
Note:
See the
“Understanding Logging”
section on
page 204
for more information
about adding routing rules to the storage router logging table.
Summary of Contents for StorageWorks SR2122
Page 110: ...Configuring System Parameters 110 IP Storage Router SR2122 2 User Guide ...
Page 216: ...Cable and Port Pinouts 216 IP Storage Router SR2122 2 User Guide ...
Page 224: ...Regulatory Compliance Notices 224 IP Storage Router SR2122 2 User Guide ...
Page 232: ...Recommended Host Storage Configurations 232 IP Storage Router SR2122 2 User Guide ...
Page 242: ...Index 242 IP Storage Router SR2122 2 User Guide ...