Registers a new ClearCase network region
Product | Command Type |
---|---|
ClearCase | cleartool subcommand |
Attache | command |
Platform |
---|
UNIX |
Windows |
The mkregion command registers a new network region by adding a new region tag (region name) and, optionally, a comment to the regions file on the ClearCase registry server host. Use the lsregion command to display the region tags contained in regions.
After creating a new region, you can create VOB-tags and view-tags for the region with mktag, mkvob, and mkview.
A ClearCase client host (which may also be an Attache helper host) can belong to only one region. Use the hostinfo -long command to display the client host's registry region. See the Administrator's Guide for more information on ClearCase network regions.
SPECIFYING THE REGION TAG. Default: None. You must name the region.
-tco·mment tag-comment
Adds a comment to the region-tag's entry in the registry file. Use lsregion -long to display the tag-comment.
OVERWRITING AN EXISTING TAG. Default: An error occurs if mkregion names a region-tag that already exists.
The UNIX examples in this section are written for use in csh. If you use another shell, you may need to use different quoting and escaping conventions.
The Windows examples that include wildcards or quoting are written for use in cleartool interactive mode. If you use cleartool single-command mode, you may need to change the wildcards and quoting to make your command interpreter process the command appropriately.
In cleartool single-command mode, cmd-context represents the UNIX shell or Windows command interpreter prompt, followed by the cleartool command. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt. In Attache, cmd-context represents the workspace prompt.
Register a new region with tag us_east.
cmd-context mkregion -tag us_east -tcomment "all east coast ClearCase hosts"
Change the comment stored with region-tag us_east.
cmd-context mkregion -tag us_east -tcomment "east coast development hosts" -replace
/var/adm/atria/rgy/regions
/var/adm/atria/rgy/rgy_region.conf
ccase-home-dir\var\rgy\regions
lsregion, lsview, mktag, mkview, mkvob, rmregion
Feedback on the documentation in this site? We welcome any comments!
Copyright © 2001 by Rational Software Corporation. All rights reserved. |