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 Setup dialog box appears, requiring you to supply the connection information for the associated primary repository server.

    2. In the Local Repository panel, register your host machine with the replication network. Choose either of the following options:

      • IP address: IP address of your host machine. The option is selected by default. You ought to select this option if your machine has a static IP address.
      • Hostname: Name of your host machine. You ought to select this option if your machine has a dynamic IP address.
    3. In the Primary Repository panel, in the Address box, type either the IP address or the hostname of the machine 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.

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

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

Related tasks

Changing repository server port number


Copyright © 2021 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1(800) 322-0333