Moving a VOB within a domain
Use this procedure to move a VOB to another host in the same Windows® domain
or to move a VOB to a different partition on a Windows host.
The following procedure describes how to move the VOB \libpub from
storage directory C:\ClearCaseStorage\VOBs\libpub.vbs on
VOB server host \\sol (the source host) to a storage
directory shared as vobstg on VOB server host \\vobsvr01 (the
target host).
- Log on to the VOB’s current server as the VOB owner or privileged
user. In this example, the VOB’s current server is \\sol.
- Lock the VOB for all users.
- Stop Rational® ClearCase® on
the VOB server host.
- Rename the old VOB storage directory. If you omit this
step, the VOB will become available in its old location as soon as the VOB
server starts on the source host, which can cause a variety of problems for
users who try to access the VOB.
- Restart Rational ClearCase on
the source host.
- Copy the VOB storage directory, preserving all ownership information. You must use a copy utility that preserves the ownership information
contained in the VOB storage directory ACLs. See Preserving NTFS ACLs when copying a VOB or view storage directory.
Use the Rational ClearCase ccopy utility,
located in ccase-home-dir\etc\utils\ccopy.exe for
this purpose. You must run ccopy on the host to which the
VOB is being moved.
C:\ClearCaseStorage\VOBs> net use E: \\vobsvr01\vobstg
C:\ClearCaseStorage\VOBs> ccopy libpub.vbs E:\libpub.vbs
- Replace the VOB object and tag with new ones that reference the
new VOB storage directory. Use the Rational ClearCaseAdministration
Console or the following commands (this example applies to the destination
on server vobsvr01):
cleartool register –vob –replace \\vobsvr01\vobstg\libpub.vbs
cleartool mktag –vob –replace –tag \libpub \\vobsvr01\vobstg\libpub.vbs
- Unlock the VOB.
- Verify that all clients can access the VOB at the new location.