Chapter 3 Installing the Repository


Setting up the repository database server

The repository administrator must set up the repository on a database server.

Steps To create a repository on the server:

  1. Choose a server on which to install the repository. The server must be accessible to all those who will need to work with the repository.
  2. Install or obtain access to a DBMS suitable to store the repository tables. For this step, you have two options:

  3. Create an empty database to host the repository, with an administrator user who has full rights on all the tables. For instructions on performing this step with SQL Anywhere, see Installing SQL Anywhere.
  4. On a client machine, with PowerDesigner installed, create a direct repository definition to connect to the new database by selecting Repository →Repository Definitions.

    For detailed information about creating repository definitions, see the Working with the Repository book.
  5. Enter an appropriate name to identify the repository, the user name ADMIN, and then press F4 to open the Select a Data Source window. Select the type of data source that you want to use to connect to the repository database. If it already exists, select it in the list; otherwise, click the Configure button and configure it as necessary.

    For detailed information about creating, configuring, and using connection profiles, see "Connecting to a Database" in the Models chapter of the Core Features Guide .
  6. Select Repository →Connect to open the Connect dialog. Select the name of the repository definition you just created and click OK to connect. A message box is displayed inviting you to install the repository. This will involve running a SQL script to create the necessary tables. Click Yes to continue.
  7. The read-only Repository Installation Script window opens. Click Execute to run the script and create the repository tables:


    When the repository has been successfully installed, a final message "Repository installation completed" is displayed in the Output window. In the repository Browser, the root of the repository tree now displays the repository name, the repository user and the current branch (MyBase::ADMIN::<Default>), and is ready for use.

Notes:

 


Copyright (C) 2008. Sybase Inc. All rights reserved.