23.7 Moving a View to NAS

View databases, like VOB databases, have formats that are specific to the view server host architecture. As discussed in Moving a VOB to NAS, the host architecture is determined by the architecture of the view server host, and you need not reformat a view you are moving to a NAS device unless you are also changing the architecture of the view server host.

Moving a Dynamic View

To move a dynamic view from a ClearCase host running UNIX to a NAS device, follow the procedures described in Moving a View for moving the view to different location on the same host. As with many other examples in this chapter, the only significant procedural change is the need to use the -host, -hpath, and -gpath options to the cleartool register and mktag commands when you register and make a tag for the view at its new location.

The cleartool register and mktag command lines used in the Moving a View to a UNIX Host with a Different Architecture procedure here can be modified as shown here to move the view to storage on the NAS device mounted by host ccviewsvr1 at /net/nasdevice:

cleartool register -view -host ccviewsvr1 -hpath /net/nasdevice/viewstg/sue.vws \
-gpath /net/nasdevice/viewstg/sue.vws /net/nasdevice/viewstg/sue.vws
cleartool mktag -view -view -tag sue -host ccviewsvr1 -nstart \
-hpath /net/nasdevice/viewstg/sue.vws -gpath /net/nasdevice/viewstg/sue.vws \
/net/nasdevice/viewstg/sue.vws

Moving a Snapshot View

To move a snapshot view that has its view storage directory and snapshot view directory co-located, follow the procedure described in Moving a View for moving the view to different location on the same host.