beautypg.com

Viewing disk array logs – HP Surestore Disk Array 12h and FC60 User Manual

Page 309

background image

Managing the Disk Array Using Array Manager 60 309

M

a

na
ging

the

Di
sk
Array

on HP-UX

Viewing Disk Array Logs

To display the disk array controller log files, type:

amlog [-s ] [-e ] [-t ]
[-c] [-d ] [-a ]

StartTime identifies the starting date and time. Log entries with an earlier date and
time will not be displayed. The default is the time of the oldest log entry. The format for
entering the date and time is MMddhhmm[yy], where:

MM = Month (01-12)
dd = Day (01-31)
hh = Hour (00-23)
mm = Minute (00-59)
yy = Year (00-99) [optional] Any number less than 90 will be evaluated as 2000 + yy

EndTime identifies the ending date and time. Log entries with a later date and time will
not be printed. The default is the time of the last log entry. Uses the same format as
StartTime.

Recordtype specifies the log record types to be displayed. The following record types
are valid:

– ctrlr - controller log sense. This is the default record type if none is specified.
– mel - major event log. These entries can be filtered using the -c option. Major event

logging is available in firmware versions HP08 and later.

-c limits the major event log entries displayed to only those with critical status. Note
that using this option will limit the amount of information displayed, including non-
critical log entries that may be useful for isolating problems.

LogDir identifies the path name of the log directory. The default is /var/opt/hparray/log
The log entries are organized into a series of files with the naming convention
AML000nn. When a log files reaches a certain size, a new file is created using the next
sequential number. An associated catalog file (AMLCATLG) provides the information
for navigating the binary entries in the main log files.

ArrayID identifies a specific disk array for which log entries should be displayed. The
default is to print entries for all disk arrays connected to and recognized by the host. The