Use the following procedure on a UNIX host to move a dynamic view's private storage area to another location. For clarity, we use an example involving view storage directory /users/sue/viewstore/sue.vws, on host earth. The procedure works both when the private storage area is local (.s is an actual subdirectory of the view storage directory) and when it is remote (.s is a UNIX-level symbolic link to a remote location).
Log on to the view's host as the view's owner.
rlogin earth -l sue
Deactivate the view. Use cleartool endview -server to deactivate the view.
Go to the private storage area. The private storage area is a standard UNIX directory tree, with .s as its root.
cd /users/sue/viewstore/sue.vws/.s
Copy the entire directory tree. You can copy the directory tree to a new location using cp, rcp, tar, or other commands. For example:
mkdir -p /public/view_aux/sue.priv
cp -r * /public/view_aux/sue.priv
Be sure to select a new location that is globally accessible.
Replace the old .s directory with a symbolic link. It doesn't matter whether the existing .s is an actual subdirectory or a symbolic link. Move it aside and create a (new) symbolic link in its place.
cd ..
mv .s .s.MOVED
ln -s /public/view_aux/sue.priv .s
Remove the private storage area. When you have verified that the private storage pool is working well in its new location, you can remove the old one:
If old private storage area .s.MOVED is an actual directory:
rm -fr /users/sue/viewstore/sue.vws/.s.MOVED
If old private storage area .s.MOVED is a UNIX symbolic link:
cd /users/sue/viewstore/sue.vws/.s.MOVED
rm -fr *
cd ..
rmdir .s.MOVED
Feedback on the documentation in this site? We welcome any comments!
Copyright © 2001 by Rational Software Corporation. All rights reserved. |