Table of Contents Previous Next


3 Installation and Uninstallation : 3.1 Installing With Stack Builder or StackBuilder Plus

Stack Builder and StackBuilder Plus are programs used to download and install add-on products and updates to PostgreSQL and Advanced Server. Stack Builder is used for PostgreSQL. StackBuilder Plus is used for Advanced Server.
Step 1: You must have Java Runtime Environment (JRE) version 1.7 or later installed on the hosts where you intend to install any xDB Replication Server component (xDB Replication Console, publication server, or subscription server). Any Java product such as Oracle Java or OpenJDK may be used.
For Windows only: 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 wish to use with the xDB Replication Server. The xDB 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 xDB Replication Server is installed. (If JAVA_HOME is not set, then the first JRE version encountered in the Path system environment variable determines the xDB Replication Server version to be installed.)
Note: For Advanced Server versions prior to 9.3, a Java runtime is supplied and installed as part of the Advanced Server installation process, however, you must still have pre-installed a separate Java runtime system on your host. The xDB Replication Server installation process does not utilize the Java runtime supplied with Advanced Server.
Note: After installation of xDB Replication Server has completed, the path to your Java runtime program is stored in the xDB Startup Configuration file used by xDB Replication Server. Verify that the path to your Java runtime program set in the xDB Startup Configuration file is correct. See Section 3.5 for the location of this file.
Step 2: From the host’s application menu, open the Postgres menu and choose Stack Builder or StackBuilder Plus.
Step 3 (For Linux only): Depending upon your Linux host, a dialog box or a prompt appears requesting the root account’s password. Enter the root password and click the OK button.
Step 4: The StackBuilder Plus welcome screen appears. Select your Postgres installation from the drop-down list and click the Next button.
Step 5 (For Advanced Server): Expand the EnterpriseDB Tools node and check the box for Replication Server. Click the Next button.
Note: Though the following images show Replication Server v6.0, use the same process for Replication Server v6.2.
Step 5 (For PostgreSQL): Expand the Registration-Required and Trial Products node, and then expand the EnterpriseDB Tools node. Check the box for Replication Server under the EnterpriseDB Tools list and click the Next button.
Step 6 (For Advanced Server only): In the Account Registration screen, either enter your email address and password for your EnterpriseDB user account if you have one, or click the link in which case you will be directed to the registration page of the EnterpriseDB website where you can create an account. Click the Next button.
Note (For PostgreSQL only): Proceed to Step 7. If you are using PostgreSQL, account registration occurs later in the process.
Step 7: Verify that Replication Server appears in the list of selected packages. Click the Next button.
Step 8: When downloading of the Replication Server package completes, the following screen appears that starts the installation of xDB Replication Server. Click the Next button.
Note: You can check the Skip Installation box if you wish to install xDB Replication Server some other time.
Step 9: Select the installation language and click the OK button.
Step 10: In the Setup xDB Replication Server screen, click the Next button.
Step 11: Read the license agreement. If you accept the agreement, select the accept radio button and click the Next button.
Step 12: Browse to a directory where you want the xDB Replication Server components installed, or allow it to install the components in the default location shown. Click the Next button.
Step 13: If you do not want a particular xDB Replication Server component installed on this particular host, uncheck the box next to the component name. Click the Next button.
Step 14: In the Account Registration screen select the radio button that applies to you. Click the Next button.
Step 15: Enter information for the xDB administrator.
Admin User. The xDB administrator user name to authenticate certain usage of the xDB Replication Server such as registering a publication server or a 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 xDB administrator given in the Admin User field.
The admin user and the admin password (in encrypted form) are saved to the xDB Replication Configuration file named /etc/edb-repl.conf (XDB_HOME\etc\edb-repl.conf on Windows hosts). Click the Next button.
Step 16 (Only if publication server is a selected component): Enter an available port on which the publication server will run. Default port number is 9051. Click the Next button.
Step 17 (Only if subscription server is a selected component): Enter an available port on which the subscription server will run. Default port number is 9052. Click the Next button.
Step 18: For the operating system account under which the publication server or subscription server is to run, enter postgres (enterprisedb if you are using Advanced Server installed in Oracle compatible configuration mode).
Step 19: On the Ready to Install screen, click the Next button.
Step 20: When installation has completed the following screen appears. Click the Finish button.
Step 21: On the StackBuilder Plus Installation Complete screen, click the Finish button.

3 Installation and Uninstallation : 3.1 Installing With Stack Builder or StackBuilder Plus

Table of Contents Previous Next