TO: All Sites Using ClearCase MultiSite
FROM: Customer Support
DATE: 6/19/01
SUBJECT: Technical Bulletin Number 41
Error in Moving a VOB Procedure in Administering ClearCase
The Release 4.1 Administering ClearCase manual contains an error in the procedure for moving a VOB on Windows NT. If you use this procedure to move a replicated VOB, oplog divergence can occur in the VOB family. If divergence occurs, it will be detected during the next synchronization from the moved VOB.
The incorrect information appears in Section 14.3, Moving a VOB on Windows NT, which instructs you to unlock the VOB (Step 8) before unregistering the VOB at its old location (Step 9). The correct procedure is to unregister the VOB at its old location, register it at its new location, and then unlock the VOB.
The following section describes the correct procedure for moving a VOB on Windows NT. For more information about moving a VOB between domains or moving a VOB when there are SID dependencies, see the whitepaper ClearCase and Active Directory, which is available on the Rational Web site.
Moving a VOB on Windows NTThis section explains how to move a VOB to another disk partition on the same Windows NT host or to a new Windows NT host.
WARNING: When moving a VOB or view storage directory, use copy or backup software that preserves ownership and access control information.
For clarity, this section uses an example:
Perform this procedure as the VOB owner:
cleartool umount \libpub
NOTE: It may not be practical to unmount the VOB from all hosts. In this case, the VOB lock to be applied in Step 4 ought to prevent unintended VOB access.
vob_snapshot_setup rmparam \libpub
cleartool lock vob:\libpub
Locked versioned object base "\libpub".
NOTE: Do not use Windows Explorer to copy the VOB storage directory, because ownership information may be changed incorrectly. The examples below use the ccopy command; although ccopy copies all of the ownership information required by ClearCase, it does not copy the full security descriptor of an object. Use of ccopy effectively grants the user who executes the command full access to the copied object. If you need to have all security descriptor information copied, use a copy utility that preserves this information (for example, the scopy command from the Windows NT Resource Kit):
scopy libpub.vbs w: /o /s
- To copy the VOB storage directory to the same host:
C:\vobstore> ccase-home-dir\etc\utils\ccopy libpub.vbs \vobstore2\libpub.vbs
- To copy the VOB storage directory to a different host:
| C:\> cd \vobstore |
| C:\vobstore> net use w: \\ccsrv04\vobstore2 |
| C:\vobstore> ccase-home-dir\etc\utils\ccopy libpub.vbs w:\libpub.vbs |
cleartool unregister -vob \\sol\vobstore\libpub.vbs
cleartool rmtag -vob -all \libpub
cleartool register -vob \\ccsvr04\vobstore2\libpub.vbs
cleartool mktag -vob -public -tag \libpub \\ccsvr04\vobstore2\libpub.vbs
Vob tag registry password:
NOTE: If you are registering a Unified Change Management Process VOB, you must supply the -ucmproject option to the register command.
If your network has several network regions, see Ensuring Global Access to the VOB--Special Cases for UNIX for a discussion of adjustments and additional registry entries you may need to make.
cleartool unlock vob:\libpub
Unlocked versioned object base "\libpub".
cleartool umount \libpub
(if not already done)
cleartool mount \libpub
If you have any questions regarding the situations discussed in this Technical Bulletin, please contact Rational Customer Support via telephone, fax, or electronic mail as described below. For information regarding support hours, languages spoken, or other support information, click the Technical Support link on the Rational Web site at www.rational.com.
| Your Location | Telephone | Facsimile | Electronic Mail |
|---|---|---|---|
| North America | 800-433-5444 toll free or 408-863-4000 Cupertino, CA |
408-863-4194 Cupertino, CA 781-676-2460 Lexington, MA |
support@rational.com |
| Europe, Middle East, and Africa | +31-(0)20-4546-200 Netherlands |
+31-(0)20-4546-201 Netherlands |
support@europe.rational.com |
| Asia Pacific | 61-2-9419-0111 Australia |
61-2-9419-0123 Australia |
support@apac.rational.com |
Technical Bulletin #41 - 6/19/01