lsrcconsistgrp

The list report style can be used to obtain two styles of report.
  1. The attributes of the Remote Copy consistency group, plus the ID and name of every relationship which is in the group.
  2. The detailed information about a single Remote Copy consistency group.

Syntax

Read syntax diagramSkip visual syntax diagram>>- svcinfo -- -- lsrcconsistgrp -- ---------------------------->

>--+--------------------------------+-- --+----------+-- ------->
   '- -filtervalue -- attrib=value -'     '- -nohdr -'

>--+-----------------------+-- --+-------------+-- ------------->
   '- -delim -- delimiter -'     +- object_id -+
                                 '- name ------'

>--+-----------------+-----------------------------------------><
   '- -filtervalue? -'

Parameters

-filtervalue attribute=value
Optionally specifies a list of one or more filters. Only objects with a value that matches the filter attribute value are returned. If a capacity is specified, the units must also be included.
-nohdr
By default, headings are displayed for each column of data (in a concise style view), and each item of data (in a detailed style view). Using the -nohdr parameter will suppress the display of these headings.
Note:Note: If there is no data to be displayed (for example, an empty view has been returned), then headings are not displayed irrespective of whether the -nohdr option was used or not.
-delim delimiter
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. Using the -delim parameter will override this behavior. Valid input for the -delim parameter is a one byte character. If, for example, you entered -delim : a colon will be used to separate all items of data in a concise view (for example, the spacing of columns does not occur) and in a detailed view the data is separated from its header by a colon.
object_id | name
Optionally specifies the name or ID of an object. If not supplied, the concise view of all objects, or all of those objects matching the filtering requirements in -filtervalue (if specified), of the given type are returned. If supplied, the detailed view of the specific object is returned, and any filtervalue entry (if entered) is ignored.
-filtervalue?
Display a list of valid filter attributes. The valid filters for the svcinfo lsrcconsistgrp command are:
  • group_id
  • name
  • master_cluster_id
  • master_cluster_name
  • aux_cluster_id
  • aux_cluster_name
  • primary
  • state
  • relationship_count
  • id

Description

This command will return a concise list or a detailed view, of Remote Copy consistency groups visible to the cluster.

The following list provides possible values that are applicable to the attributes that are displayed as data in the output views:

primary n/a, master, aux
state inconsistent_stopped, inconsistent_copying, consistent_stopped, consistent_synchronized, idling, idling_disconnected, inconsistent_disconnected consistent_disconnected, empty
freeze_time The time in YY/MM/DD/HH/MM format.
status online, primary_offline, secondary_offline
sync in_sync, out_of_sync
Note:Note: The names of the Remote Copy relationships and consistency groups may be blank if the relationship or consistency groups are inter-cluster and the cluster partnership is disconnected.

Possible failures

Examples

A concise invocation example

svcinfo lsrcconsistgrp -delim : 

The concise resulting output

id:name:master_cluster_id:master_cluster_name:aux_cluster_id:aux_cluster_name:pr
 imary:state:relationship_count
 248:jdemo_BA_cons1:0000020060406746:clusterB:0000020061413ABA:clusterA:master:co
 nsistent_stopped:2
 249:rccstgrp0:0000020061413ABA:clusterA:0000020061413ABA:clusterA::empty:0
 250:jdemo_BA_cons2:0000020060406746:clusterB:0000020061413ABA:clusterA:master:in
 consistent_stopped:1
 251:BA_cons1:0000020060406746:clusterB:0000020061413ABA:clusterA:master:consiste
 nt_stopped:4
 252:AB_cons2:0000020061413ABA:clusterA:0000020060406746:clusterB::empty:0
 253:AB_cons1:0000020061413ABA:clusterA:0000020060406746:clusterB:aux:consistent_
 stopped:3
 254:AA_cons2:0000020061413ABA:clusterA:0000020061413ABA:clusterA::empty:0
 255:AA_cons1:0000020061413ABA:clusterA:0000020061413ABA:clusterA:master:consiste
 nt_synchronised:2

A detailed invocation example

svcinfo lsrcconsistgrp -delim : 254

The detailed resulting output

id:254
name:rccstgrp0
master_cluster_id:0000010030A007E5
master_cluster_name:kkk
aux_cluster_id:0000010030A007E5
aux_cluster_name:kkk
primary:master
state:inconsistent_stopped
relationship_count:1
freeze_time:
status:online
sync:
RC_rel_id:2
RC_rel_name:aaa

Related topics

(C) Copyright International Business Machines Corporation 2003, 2004