Home
Command  Home
Scalable Graphic

Soft - is your software and documentation
Asset - is something that must be protected
Management - is what we do
Enterprise - is the capability
Computing - is the power
Services - are what we provide


   

A.    The lsreplica command lists information about all VOB-replica objects recorded in the VOB database of the current replica (except for deleted replicas). Other replicas may exist, but the packets that contain their creation information have not yet been imported at the curre

B.   Lists each replica's creation information, master replica, mastership request setting, ownership information, and host. If the current replica is in the process of restoration, this option annotates the listings of other replicas from which restoration updates are required.

 


D.    Lists the family members of the current replica, but does not list the current replica itself. Use this option in scripts that process only sibling replicas.


E.    Lists the replicas in the specified family. Specify vob-selector in the form [vob:]pname-in-vob pname-in-vob. Pathname of the VOB tag (whether or not the VOB is mounted) or of any file system object within the VOB (if the VOB is mounted)


F.    replica-selector in the format:

[replica:]replica-name[@vob-selector]

Notes:

1. If you do not specify a vob-selector uses the current VOB

2. replica-name = the name of the replica display with lsreplica

3. vob-selector = VOB family of the replica: can be omitted if the current working directory is within the VOB. Specify vob-selector in the form [vob:]pname-in-vob where pname-in-vob. Pathname of the VOB tag (whether or not the VOB is mounted) or of any file system object with the VOB (if the VOB is mounted)

Table of Contents

Table of Contents. 1

How do I use the multitool lsreplica command.. 2

1.       to list the name of all replicas of the VOB containing the current working directory.. 2

2.       to list the names of all siblings of the VOB containing the current working directory. 2

3.       to display a long listing of the current VOB's replicas. 2

4.       List all replicas of the VOB whose VOB tag is \samecs. 3

5.       To list the name, master replica, and replica host of all replicas in the family /vobs/samecs. 4

 

How do I use the multitool lsreplica command

1.   to list the name of all replicas of the VOB containing the current working directory

multitool lsreplica –short
London

delhi

Sydney

Boston

2.   to list the names of all siblings of the VOB containing the current working directory.

multitool lsreplica –short –siblings

delhi

sydney

boston

3.   to display a long listing of the current VOB's replicas.

multitool lsreplica –long
replica "london"
15-Aug-07.15:48:39 by Geoff Bush (gbush@samecs.com)
  replica type: unfiltered
  master replica: london@/vobs/samecs
  request for mastership:enabled
  owner: vobadm
  group: samecs
  host: "vobserver.london"
replica "delhi"
19-May-07.15:47:13 by Geoff Bush (gbush@samecs.com)
  replica type: unfiltered
  master replica: delhi@/vobs/samecs
  request for mastership:enabled
  owner: vobadm
  group: samecs
  host: "vobserver.delhi"
replica "sydney"
15-Aug-07.15:48:44 by Geoff Bush (gbush@samecs.com)
  replica type: unfiltered
  master replica: boston_hub@/vobs/samecs
  request for mastership:enabled
  owner: vobadm
  group: samecs
  host: "vobserver.sydney"
replica "boston"
19-May-07.15:49:46 by Geoff Bush (gbush@samecs.com)
  replica type: unfiltered
  master replica: boston@/vobs/samecs
  request for mastership:enabled
  owner: vobadm
  group: samecs
  host: "vobserver.boston"

4.   List all replicas of the VOB whose VOB tag is \samecs.

multitool lsreplica –invob \samecs
For VOB replica "samecs":
15-Aug.07.15           gbush          replica "london"
19-May.07.15           gbush          replica "delhi"
15-Aug.07.15           gbush          replica "sydney"

19-May.07.15           gbush          replica "boston"

 

5.   To list the name, master replica, and replica host of all replicas in the family /vobs/samecs.

cleartool lsreplica –fmt "Name: %n\n\tMaster replica: %[master]p\n\tReplica host: %[replica_host]p\n" -invob /vobs/samecs
Name: london
   Master replica: london@/vobs/samecs
   Replica host: vobserver.london
Name: delhi
   Master replica: delhi@/vobs/samecs
   Replica host: vobserver.delhi
Name: sydney
   Master replica: sydney@/vobs/samecs
   Replica host: vobserver.delhi

Name: boston
   Master replica: boston@/vobs/samecs
   Replica host: vobserver.boston


This website is published "as is". There is no warranty of any kind (express or implied) as to the operation of our site, the accuracy of the information or the services or products referred to on it. All warranties are excluded as far as permitted at law. Neither we nor any third party will be liable for any losses or damage that may result from use of the website or as a consequence of any inaccuracies in, or any omissions from, the information which it contains.