23.4 Moving a VOB to NAS

All of the procedures for moving VOBs described in Chapter 12, Moving VOBs, refer to the architecture of the VOB host. VOB database formats are architecture-dependent, and the database must be reformatted if the VOB is moved from a host of one architecture to a host of another architecture (for example, from Solaris to HP-UX).

When a VOB's database resides on a NAS device, the host architecture is determined by the architecture of the VOB server host, not the NAS device. You need to reformat a VOB database only if you are changing the architecture of the server host. If you move a VOB from one NAS device to another one-even if the device comes from a different manufacturer-you do not have to reformat the VOB database as long as the VOB server host architecture does not change.

Moving a VOB That Has No Remote Pools

To move a VOB that has no remote pools from a ClearCase host running UNIX to a NAS device, follow the procedures described in Moving a VOB on UNIX, but remember to use the -host, -hpath, and -gpath options to the register and mktag commands. The example here has been modified to register the VOB libpub that has been moved to /net/nasdevice/vobstg and is served by the UNIX host ccvobsvr1.

cleartool register -vob -replace -host ccvobsvr1 -hpath /net/nasdevice/vobstg/libpub.vbs \
-gpath /net/nasdevice/vobstg/libpub.vbs /net/nasdevice/vobstg/libpub.vbs
cleartool mktag -vob -replace -tag /vobs/libpub -host ccvobsvr1 \
-hpath /net/nasdevice/vobstg/libpub.vbs -gpath /net/nasdevice/vobstg/libpub.vbs \
/net/nasdevice/vobstg/libpub.vbs

A similar change is required when moving a VOB from a Windows VOB server host to a NAS device. Follow the procedure described in Moving a VOB Within a Domain, but modify the register and mktag commands as shown here:

cleartool register -vob -replace -host sol -hpath \\sol\vobstore2\libpub.vbs ^
-gpath \\sol\vobstore2\libpub.vbs \\sol\vobstore2\libpub.vbs
cleartool mktag -vob -replace -tag \libpub -host ccvobsvr1 ^
-hpath \\sol\vobstore2\libpub.vbs -gpath \\sol\vobstore2\libpub.vbs ^
\\sol\vobstore2\libpub.vbs

Consolidating Remote Pools

A VOB hosted on a UNIX platform can have one or more of its storage pools located on a remote UNIX host and accessed by means of a symbolic link. If you move a VOB with this configuration to a NAS device, you may want to consolidate the remote pools by replacing the symbolic links with local directories. As long as the remote pools are accessible to the VOB server host (see If the VOB Has Remote Pools) you do not need to consolidate them, but doing so will simplify VOB backups and other administrative tasks.