Postgres Plus xDB Replication Server with Multi-
Master User’s Guide
Figure 65 - Register Publication Server dialog box
Click the Register button after you have filled in the fields. A Publication Server node appears in the replication tree of the xDB Replication Console. Expand the Publication
Server node to expose the SMR and MMR type nodes.
Figure 66 – Replication tree after registering a publication server
Continue to build the single-master replication system under the SMR type node.
5.2.2 Adding a Publication Database
The database in which publications are to reside must be identified to xDB Replication
Server. This is done by creating a publication database definition.
After the publication database definition is created, a Publication Database node representing that publication database definition appears in the replication tree of the
Copyright © 2012 EnterpriseDB Corporation. All rights reserved. 120
Postgres Plus xDB Replication Server with Multi-
Master User’s Guide xDB Replication Console. Publications that are to contain tables and views residing within this database can then be created under the Publication Database node.
You must enter database connection information such as the database server network address, database identifier, and database login user name and password when you create the publication database definition. The connection information is used by the publication server to access the publication tables and views when it performs replication.
Step 1: Make sure the database server in which the publication database resides is running and accepting client connections.
Step 2: Select the SMR type node under the Publication Server node. From the
Publication menu, choose Publication Database, and then choose Add Database.
Alternatively, click the secondary mouse button on the SMR type node and choose Add
Database. The Publication Service – Add Database dialog box appears.
Step 3: Fill in the following fields:
Database Type. Select Oracle, SQL Server, PostgreSQL, or Postgres Plus
Advanced Server for the type of publication database. For an Advanced Server
Oracle compatible installation, select the Postgres Plus Advanced Server option.
For an Advanced Server PostgreSQL compatible installation, select the
PostgreSQL option.
Host. IP address of the host on which the publication database server is running.
Port. Port on which the publication database server is listening for connections.
User. The publication database user name created in Step 1 of Section 5.1.2.
Password. Password of the database user.
Service ID (For Oracle). Enter the Oracle System Identifier (SID) of the Oracle instance running the publication database if the SID radio button is selected. Enter the net service name of a connect descriptor as defined in the
TNSNAMES.ORA
file if the Service Name radio button is selected.
Database (For Postgres or SQL Server). Enter the Postgres or SQL Server database name.
Copyright © 2012 EnterpriseDB Corporation. All rights reserved. 121
Postgres Plus xDB Replication Server with Multi-
Master User’s Guide
Figure 67 - Publication Service - Add Database dialog box
Step 4: Click the Test button. If Test Result: Success appears, click the OK button, then click the Save button.
Figure 68 - Successful publication database test
Copyright © 2012 EnterpriseDB Corporation. All rights reserved. 122