When you locate VOB storage on a NAS device, you can easily replace
the VOB host for any VOB on the NAS device with another VOB host of the same
architecture without actually moving the VOB storage.
The following procedure replaces a VOB host running Linux® or the UNIX® system
for the VOB /vobs/libpub with a different Rational® ClearCase® host
of the same architecture, vobsvr1. The procedure locks the VOB, removes
the old tag and object, and then creates a new object and tag, specifying
the replacement host and the existing storage.
- Lock the VOB
- Unmount the VOB as needed on dynamic view hosts.
- Optional: (If applicable) Disable VOB snapshots on
the current host. If VOB database snapshots are enabled for the
VOB, disable them with this command:
vob_snapshot_setup rmparam /vobs/libpub
- Remove the VOB tag and unregister the VOB. Use the Rational ClearCase Administration
Console or the following commands:
cleartool rmtag –vob –all /vobs/libpub
cleartool unregister –vob /net/nasdevice/vobstg/libpub.vbs
- Terminate the VOB’s server processes on the current host.
- On a host running Linux or the UNIX system, search the process table for
the vob_server and vobrpc_server processes that service the VOB. Run the Linux and UNIX system-based ps command
and search its output for processes associated with libpub.vbs.
Use the Linux and UNIX system-based kill command
to terminate any such processes.
- On a Windows® host, stop and restart Rational ClearCase.
- Register the VOB and create a new VOB tag. Use the Rational ClearCase Administration
Console or the following commands:
cleartool register –vob –host vobsvr1 –hpath /net/nasdevice/vobstg/libpub.vbs \ –gpath /net/nasdevice/vobstg/libpub.vbs /net/nasdevice/vobstg/libpub.vbs
cleartool mktag –vob –replace –host vobsvr1 –tag /vobs/libpub \ –hpath /net/nasdevice/vobstg/libpub.vbs –gpath \ /net/nasdevice/vobstg/libpub.vbs /net/nasdevice/vobstg/libpub.vbs
- Unlock the VOB.
- Mount the VOB as needed on dynamic view hosts.
- Optional: Enable VOB snapshots on the new host. If you want to enable VOB database snapshots on the new VOB host, do
so with vob_snapshot_setup modparam,
supplying the appropriate parameters.