Creating, Registering, Moving, Copying, Renaming, and Deleting SAS Metadata Repositories |
You can move a repository to a new location while keeping its registration on the same metadata server. When choosing the new location, remember that metadata repositories should be kept either on a local file system or a high-performance, high-availability network file system.
You can use one of two approaches to move the repository, depending on whether repository availability or disk space is more important.
The first approach enables clients to continue to read metadata until the repository is ready to be registered in the new location. However, the host machine must have enough disk space to temporarily hold two copies of the repository. Follow these steps:
First, make a backup of the repository (see Best Practices for Backing Up and Restoring Your System).
Use SAS Management Console to change the repository's access mode to ReadOnly (see Change the Properties of a Metadata Repository).
Use operating system commands to copy the contents of the repository to the new location.
When the files are in the new location, use SAS Management Console to delete the repository. The Delete action deletes the contents of the repository from the previous location and removes the repository's registration from the repository manager.
Use SAS Management Console to re-register the repository. When you are prompted for the repository path, specify the repository's new location. The metadata server reads the files in the specified location to create the new repository's registration.
The second approach does not require you to create a copy of the repository. However, this approach makes the repository temporarily unavailable to clients. Follow these steps:
First, make a backup of the repository (see Best Practices for Backing Up and Restoring Your System).
In the Metadata Manager, expand the Active Server node.
Use operating system commands to move the contents of the repository to the new location.
When the files are in the new location, re-register the repository. When you are prompted for the repository path, specify the repository's new location. The metadata server reads the files in the specified location to create the new repository's registration.
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.