Installing Replication Server on Windows v7

EDB provides a graphical interactive installer for Windows. You can access it two ways:

Prerequisites

  • You must have Java Runtime Environment (JRE) version 1.8 or later installed on the hosts where you intend to install any Replication Server component (Replication Console, publication server, or subscription server). Any Java product such as Oracle Java or OpenJDK may be used. Follow the directions for your host operating system to install the Java runtime environment.

  • Be sure the system environment variable, JAVA_HOME, is set to the JRE installation directory of the JRE version and bitness (32-bit or 64-bit) you want to use with Replication Server. The Replication Server installer for a Windows platform contains both the 32-bit and 64-bit versions. The JAVA_HOME setting determines whether the 32-bit or the 64-bit version of Replication Server is installed. If JAVA_HOME is not set, the first JRE version encountered in the Path system environment variable determines the Replication Server version to be installed.

Installing directly

After downloading the graphical installer, to start the installation wizard, assume sufficient privileges (superuser or administrator) and double-click the installer icon. If prompted, provide a password.

In some versions of Windows, to invoke the installer with Administrator privileges, you need to right-click on the installer icon and select Run as Administrator from the context menu.

Proceed to the Using the graphical installer section.

Using Stack Builder or StackBuilder Plus

If you are using PostgreSQL, you can invoke the graphical installer with Stack Builder. See Using Stack Builder.

  1. In Stack Builder, follow the prompts until you get to the module selection page.

  2. Expand the Registration-required and trial products node.

  3. Expand the EnterpriseDB Tools node and select Replication Server.

  4. Proceed to the Using the graphical installer section in this topic.

If you are using EDB Postgres Advanced Server, you can invoke the graphical installer with StackBuilder Plus. See Using StackBuilder Plus.

  1. In StackBuilder Plus, follow the prompts until you get to the module selection page.

  2. Expand the EnterpriseDB Tools node and select Replication Server.

  3. Proceed to the Using the graphical installer section in this topic.

Using the graphical installer

  1. Select the installation language and select OK.

  2. On the Setup Replication Server page, select Next.

  3. Read the license agreement. If you accept the agreement, select the I accept the agreement option and select Next.

  4. Browse to a directory where you want the Replication Server components to be installed, or allow the installer to install the components in the default location. Select Next.

  5. If you do not want a particular Replication Server component installed, uncheck the box next to the component name. Select Next.

  6. On the Account Registration page, select the option that applies to you. Select Next.

    • If you do not have an EnterpriseDB user account, you are directed to the registration page of the EnterpriseDB website.

    • If you already have an EnterpriseDB user account, enter the email address and password for your EnterpriseDB user account. Select Next.

  7. Enter information for the Replication Server administrator.

    Note

    From this point on, we suggest you record the values you enter as they will be needed during the publication and subscription server registration process.

    Enter values for the following fields:

    • Admin User The Replication Server administrator user name needed to authenticate some Replication Server actions such as registering a publication server or subscription server running on this host. Any alphanumeric string may be entered for the admin user name. The default admin user name is admin.

    • Admin Password Password of your choice for the Replication Server administrator.

    The admin user and the admin password (in encrypted form) are saved to the XDB_HOME\etc\edb-repl.conf configuration file. Select Next.

  8. If a publication server is being installed, enter an available port on which the publication server can run. The default port number is 9051. Select Next.

  9. If a subscription server is being installed, enter an available port on which the subscription server can run. The default port number is 9052. Select Next.

  10. If you are using EDB Postgres Advanced Server installed in Oracle compatible configuration mode, enter postgres or enterprisedb for the operating system account under which the publication server or subscription server runs.

  11. On the Ready to Install page, select Next.

    An information box shows the installation progress of the selected components. This may take a few minutes.

  12. When the installation has completed, select Finish.

Successful installation of Replication Server results in the creation of directory structures and files in your host environment as described in Installation details. Verify that the path to your Java runtime program set in XDB_HOME\etc\edb-repl.conf is correct.