We recommend that you create one or more view storage locations on a NAS device and use them for newly created views. See Creating a Storage Location on NAS for an example of the appropriate mkstgloc syntax. To make a server storage location for view storage, use the -view option to mkstgloc.
The following command creates a dynamic view with storage in a storage location named ccviewstg. It makes no difference whether the storage location is on a NAS device.
cleartool mkview -tag viewtag -stgloc ccnasviewstg
You can also use the mkview command with -host, -hpath, and -gpath options to create a snapshot or dynamic view that has all of its storage on a NAS device. The following example creates a new dynamic view on a UNIX host. The view is served by a view server process running on the ClearCase host ccviewsvr-ux and has all of its storage on a NAS device mounted by ccviewsvr-ux at /net/nasdevice.
cleartool mkview -tag nasview -host ccviewsvr-ux \
-gpath /net/nasdevice/viewstg/nasview.vws -hpath /net/nasdevice/viewstg/nasview.vws \
/net/nasdevice/viewstg/nasview.vws
To create a similar dynamic view on Windows, served by a view_server process running on ClearCase host ccviewsvr-nt but with all view storage on a NAS device at \\nasdevice:
cleartool mkview -tag nasview -host ccviewsvr-nt ^
-gpath \\nasdevice\viewstg\nasview.vws -hpath \\nasdevice\viewstg\nasview.vws ^
\\nasdevice\viewstg\nasview.vws
Feedback on the documentation in this site? We welcome any comments!
Copyright © 2001 by Rational Software Corporation. All rights reserved. |