Previous Page | Next Page

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

Create a Custom Repository

To organize your metadata, the recommended practice is to create folders instead of creating separate repositories (see Working with SAS Folders). However, you might want to create a custom repository in order to physically segregate metadata for storage or security purposes.

When you create a custom repository, you should be aware that the metadata server must add, update, and delete repositories when no other activity is taking place on the server. Therefore, the server delays other client requests until the repository changes are complete. This delay might have a small effect on server performance.

To create a new custom repository, follow these steps:

  1. Log on to SAS Management Console as a user with the appropriate credentials (see Who Can Do What in the Metadata Manager Plug-in).

  2. On the Plug-ins tab, expand the Metadata Manager node.

  3. Right-click the Active Server node, and select New Repository.

  4. Follow the instructions on the wizard pages. As you answer the wizard's prompts, follow these guidelines:

    • Be sure to specify a unique name for the repository.

    • Generally, the path for a new repository should be SAS-configuration-directory/Lev1/SASMeta/MetadataServer/MetadataRepositories/repository-name. This is the default location for the initial foundation repository. By using this location, you will ensure that the directory inherits access permissions from the MetadataServer directory.

      If you choose to specify a different path, follow these guidelines:

      • Metadata repositories should be kept either on a local file system or a high-performance, high-availability network file system.

      • Do not place the directory under the rposmgr directory.

      • The directory should not contain any files other than the repository files.

      • Before completing the wizard, make sure that the process owner for the metadata server has credentials to create the directory (or to write to the directory, if it already exists).

    • If you do not want the repository to be Online, you can select a different value in the Access attribute (see About SAS Metadata Repository Access Modes).

When you create a custom repository, SAS Management Console automatically does the following:

You can also use SAS language elements to create a custom repository. If you use this method, then you must use SAS Management Console to initialize the repository. The initialization process creates the Default ACT and the resource templates.

Previous Page | Next Page | Top of Page