3.6 ClearCase Commands Related to MultiSite

The ClearCase commands in Table 10 manage or display MultiSite information.

Table 10 ClearCase Commands Related to MultiSite


Command

Description

checkout -unreserved -nmaster


Performs a nonmastered checkout, which is an unreserved checkout on a branch not mastered by your current replica.


lscheckout -areplicas


Lists checked-out versions across all replicas of a VOB (Default: lists your current replica's checkouts).


mkattype -shared
mkhltype -shared
mklbtype -shared


Creates a shared type object.


mkelem -master


Assigns mastership of the main branch of the element to the replica in which you create the element. Also, if your config spec contains mkbranch rules and you do not specify the -nco option with mkelem, mkelem assigns mastership of these branches to the replica in which you create the element.


vob_scrubber


Scrubs oplog entries and export_sync records.


In general, all ClearCase commands obey MultiSite mastership restrictions in a replicated VOB. In addition, the following commands work differently in replicated VOBs:

describe

Lists the master replica of an object. For replicas, branch types, and branches, lists the mastership request setting.
describe vob:pname-in-vob

Lists the replica name and the VOB family feature level.
ln
mkelem
rmname

To change a directory, you must work in the master replica of the branch on which the directory is checked out. Changes to directories include

  • Creating a VOB hard link or VOB symbolic link (ln)
  • Creating a new element (mkelem)
  • Removing a reference to an element or VOB symbolic link (rmname)

mk**type -replace

If a type object is shared, you cannot change its instance restrictions. For example, you cannot replace a one-per-element branch type with a one-per-branch branch type.
mkeltype -replace

You cannot change the definition of an element type in a replicated VOB.
rmtype eltype:type-name

You cannot delete an element type in a replicated VOB.