21.3 Moving a Dynamic View's Private Storage Area on UNIX

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).

  1. Log on to the view's host as the view's owner.

  2. rlogin earth -l sue

  3. Deactivate the view. Use cleartool endview -server to deactivate the view.

  4. Go to the private storage area. The private storage area is a standard UNIX directory tree, with .s as its root.

  5. cd /users/sue/viewstore/sue.vws/.s

  6. Copy the entire directory tree. You can copy the directory tree to a new location using cp, rcp, tar, or other commands. For example:

  7. 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.

  8. 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.

  9. cd ..
    mv .s .s.MOVED
    ln -s /public/view_aux/sue.priv .s

  10. Reactivate the view. Use startview or setview.

  11. 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: