Changes the properties of a replica
Product | Command type |
---|---|
MultiSite | multitool subcommand |
Platform |
---|
UNIX |
Windows |
This command changes the properties of a VOB replica. For more information, see Changing the Host Name for a Replica and Changing Ownership Preservation.
Identities: You must have one of the following identities:
Creator of the replica where you enter the command
Owner of the replica where you enter the command
VOB owner
root (UNIX)
Member of the ClearCase administrators group (Windows)
Locks: An error occurs if one or more of these objects are locked: VOB object, replica object.
Mastership: With -isconnected and -nconnected, there are no mastership restrictions. With all other options, your current replica must master the replica being changed.
EVENT RECORDS AND COMMENTS. Default: Creates one or more event records, with commenting controlled by the standard ClearCase user profile (default: -nc). See EVENT RECORDS AND COMMENTS in the multitool reference page. To edit a comment, use cleartool chevent.
SPECIFYING THE CHANGE. Default: None. You must specify at least one of -host, -preserve, -npreserve, -isconnected, or -nconnected.
SPECIFYING THE REPLICA. Default: None.
replica-name | Name of the replica (displayed with lsreplica) | |
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 | |
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) |
Associate replica bangalore with host ramohalli in the database of the current replica.
multitool chreplica -host ramohalli bangalore
Updated replica information for "bangalore".
Make replica tokyo a non-ownership-preserving replica.
multitool chreplica -npreserve tokyo
Updated replica information for "tokyo".
Mark replica sydney as not connected.
multitool chreplica -nconnected sydney
Updated replica information for "sydney".
Feedback on the documentation in this site? We welcome any comments!
Copyright © 2001 by Rational Software Corporation. All rights reserved. |