Setting up primary/replication repositories

Replication repositories are created during a repository import. This process also establishes a relationship between the primary repository and replication repository.

Ensure that the following requirements are met:

To set up a repository as a replication repository, do the following:

  1. If not already running, open the Repository Server Control Panel dialog box.
  2. Click Import Repository on the toolbar, or select Tools > Import Repository.
  3. In the Open dialog box, specify the path to the .dat file to be imported.
    Tip: You can select multiple repository files to import them in a single operation.
  4. Click the Open button. The Import Repository dialog box appears and displays information on the selected repository files in the Import Information list.
    Note: A repository exported from a pre-7.3 version of TestArchitect may have an issue when imported into TestArchitect 7.3 or later, if the original repository name contained any underscore (_) characters. Please note that the suggested name in the Repository Name column may not accurately reflect the original name.
  5. Select the Import as Replication Repository check box.
    Restriction: Since you are importing the repository as a replication, you are not allowed to modify the default name in the Repository Name field.


  6. Click OK. A status bar indicating the progress of the import is visible in the bottom left corner of the Import Repository dialog box.
    Note: If the status of the imported repository files is Error, please refer to Troubleshooting repository import.
    When the import process finishes, a successful notification message replaces the progress bar in the status area. The successfully imported repositories display a status of Done.
  7. Click Close to exit the Import Repository dialog box. The Repository Server - Control Panel dialog box appears:

  8. Configure the imported repository to designate it as a replication repository.
    1. In the Repository Server Control Panel dialog box, select the repository that you imported as a replication repository, then click the Set Primary Repository button on the toolbar. The Primary repository dialog box appears, requiring you to supply the connection information for the associated primary repository server.

    2. In the IP box, enter either the IP address or the hostname of the repository server which hosts the primary repository. The default port for repository servers is 53400, and appears in the Port box. Leave this as is, unless a different port is used on the server to which you are referring.
    3. Click OK. If the repository is successfully imported as a replication repository, the host and port of the associated primary repository are displayed in the Primary Repository field in the Repository List panel . Likewise, a check of the Repository Server Control Panel dialog box on the remote host reveals a complementary link in the Replication Repository field.

Note: When your replication repository is down (not running), you must switch to the primary repository to continue your work.