The lserrlogbyrcrelationship command
displays a list of the errors and events in the log by Metro Mirror
or Global Mirror relationships.
Syntax

>>- svcinfo -- -- lserrlogbyrcrelationship -- ------------------>
>--+--------------------+-- --+------------+-- --+----------+--->
'- -count -- number -' +- -config --+ '- -nohdr -'
'- -unfixed -'
>-- --+-----------------------+-- --+-----------------------+--><
'- -delim -- delimiter -' +- rcrelationship_id ---+
'- rcrelationship_name -'
Parameters
- -count number
- (Optional) Specifies the maximum number of errors or events to
list.
- -config
- (Optional) Lists only configuration events.
- -unfixed
- (Optional) Lists only
unfixed errors.
- -nohdr
- (Optional) By default, headings are displayed for each column
of data in a concise style view, and for each item of data in a detailed
style view. The -nohdr parameter suppresses
the display of these headings.
Note: If
there is no data to be displayed, headings are not displayed.
- -delim delimiter
- (Optional) By default in a concise view, all columns of data are
space-separated. The width of each column is set to the maximum possible
width of each item of data. In a detailed view, each item of data
has its own row, and if the headers are displayed, the data is separated
from the header by a space. The -delim parameter overrides
this behavior. Valid input for the -delim parameter is a one-byte
character. If you enter -delim : on the command
line, the colon character (:) separates all items
of data in a concise view; for example, the spacing of columns does
not occur. In a detailed view, the data is separated from its header
by the specified delimiter.
- rcrelationship_id
| rcrelationship_name
- (Optional) Specifies
the object ID that filters the log.
Description
This
command displays a list of the errors and events in the log by Metro
or Global Mirror relationships. The list can be filtered further by
specifying a specific object ID or name. This displays only the errors
and events that have been logged against the specified object. The
list can also be filtered to show only the configuration events or
the unfixed errors for the given object type or object ID. Similarly
the last
x entries against a given object type or object ID
can be listed.
Note: Although an object type unknown is displayed
in the error log, there is no available command to filter this object
type.
An invocation example
svcinfo lserrlogbyrcrelationship -delim :
The
resulting output
id:type:fixed:SNMP_trap_raised:error_type:node_name:sequence_number:
root_sequence_number:first_timestamp:last_timestamp:number_of_errors:error_code
2:remote:no:no:5:node1:0:0:030407090442:030407090442:1:00990226
2:remote:no:no:5:node1:0:0:030407090106:030407090106:1:00990225
1:remote:no:no:5:node1:0:0:030407085932:030407085932:1:00990225
2:remote:no:no:6:n/a:106:106:030407090117:030407090117:1:00985002