Previous Page | Next Page

Creating, Registering, Moving, Copying, Renaming, and Deleting SAS Metadata Repositories

Moving a Metadata Repository to a New Location on the Same Metadata Server

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:

  1. First, make a backup of the repository (see Best Practices for Backing Up and Restoring Your System).

  2. Use SAS Management Console to change the repository's access mode to ReadOnly (see Change the Properties of a Metadata Repository).

  3. Use operating system commands to copy the contents of the repository to the new location.

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

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

  1. First, make a backup of the repository (see Best Practices for Backing Up and Restoring Your System).

  2. In the Metadata Manager, expand the Active Server node.

  3. Unregister the repository.

  4. Use operating system commands to move the contents of the repository to the new location.

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

Previous Page | Next Page | Top of Page