167
Log File Management
18
The
log
command allows you to view restorer log file entries and to save and clear the log file
contents. Messages from the
alerts
feature, the
autosupport
reports, and general system
messages go to the log directory and into the file
messages
. A log entry appears for each restorer
command given on the system. The log directory is
/ddvar/log
. See “log” on page 223 for the
complete command syntax.
Once a week, the restorer automatically opens new log files and renames the previous files with an
appended number of 1 (one) through 9, such as
messages.1
. Each numbered file is rolled to the
next number each week. For example, at the second week, the file
messages.1
is rolled to
messages.2
. If a file
messages.2
already existed, it would roll to
messages.3
. An existing
messages.9
is deleted when
messages.8
is rolled to
messages.9
. See “Archive Log Files”
on page 169 for instructions on saving log files. The operation takes place every Sunday at 3 a.m.
Display Log Files
To view the log files, use the
log view
operation. With no
filename
, the command displays the
current
messages
file. When viewing the log, use the up and down arrows to scroll through the
file; use the
q
key to quit; enter a slash character (/) and a pattern to search through the file.
log view [
filename
]
The display of the
messages
file is similar to the following. The last message in the example is an
hourly system status message that the restorer generates automatically. The message reports system
uptime, the amount of data stored, NFS operations, and the amount of disk space used for data
storage (%). The hourly messages go to the system log and to the serial console if one is attached.
#
log view
Jun 27 12:11:33 localhost rpc.mountd: authenticated unmount
request from perfsun-g.datadomain.com:668 for /ddr/col1/segfs
(/ddr/col1/segfs)
Jun 27 12:28:54 localhost sshd(pam_unix)[998]: session opened
for user jsmith10 by (uid=0)
Jun 27 13:00:00 localhost logger: at 1:00pm up 3 days, 3:42,
52324 NFS ops, 84763 GB data col. (1%)
Summary of Contents for DD400 Series
Page 1: ...Software Version 3 1 2 DD400 Series Restorer User Guide ...
Page 4: ......
Page 38: ...Regulatory Standards Compliance xxxviii DD400 Series Restorer User Guide ...
Page 54: ...Hardware System Level Interfaces 16 DD400 Series Restorer User Guide ...
Page 60: ...Display the Space Usage Graphs 22 DD400 Series Restorer User Guide ...
Page 96: ...The License Command 58 DD400 Series Restorer User Guide ...
Page 102: ...Return Command Output to a Remote machine 64 DD400 Series Restorer User Guide ...
Page 128: ...Clean Operations 90 DD400 Series Restorer User Guide ...
Page 138: ...Display the History of Disk Failures 100 DD400 Series Restorer User Guide ...
Page 182: ...CIFS Command 144 DD400 Series Restorer User Guide ...
Page 194: ...Procedure Replace a Replica 156 DD400 Series Restorer User Guide ...
Page 210: ...Send Log messages to Another System 172 DD400 Series Restorer User Guide ...
Page 228: ...Operations for Trained Service Personnel 190 DD400 Series Restorer User Guide ...