Installing Replication Server on an SLES Host v6.2
On SLES 12 x86_64
You can use the zypper
package manager to install the xDB Replication Server on an SLES 12 host. zypper will attempt to satisfy package dependencies as it installs a package, but requires access to specific repositories that are not hosted at EnterpriseDB.
Before installing xDB, use the following commands to add EnterpriseDB repository configuration files to your SLES host:
Each command creates a repository configuration file in the /etc/zypp/repos.d directory. The files are named:
edbas96suse.repo
edbasdependencies.repo
edbastools.repo
After creating the repository configuration files, use the zypper refresh command
to refresh the metadata on your SLES host to include the EnterpriseDB repositories:
When prompted for a User Name and Password, provide your connection credentials for the EnterpriseDB repository. If you need credentials, visit the following website:
Before installing EDB Postgres Advanced Server or supporting components, you must also add SUSEConnect and the SUSE Package Hub extension to the SLES host, and register the host with SUSE, allowing access to SUSE repositories. Use the commands:
For detailed information about registering a SUSE host, visit:
Then add the Java repository and update the repository metadata: Please note that only OpenJDK (version 1.8) is supported on SLES hosts of Java components. Before using an RPM installer to add Advanced Server or a supporting component that requires Java, use zypper to add supporting repository locations to your system.
Use the commands:
Note
When Replication Server is installed on a machine where Java is not present, the JDK is installed as part of the installation process. Since in this case the JDK was installed via Replication Server as its dependency, if you subsequently remove the JDK, Replication Server is also removed.
If Java 1.8 or greater exists before installing Replication Server, the installed Replication Server is not removed on removal of the JDK.
Then, you can use the zypper utility to install the xDB Replication Server components:
zypper install ppas-xdb*
Note
Before starting the publication server and subscription server, the /etc/hosts
file must contain an entry for the host name that associates it to the host IP address as shown by the following example where 192.168.187.133
is the IP address and linux-dm8s
is the host name:
On SLES 12 ppc64le
There are two steps to completing an installation:
- Setting up the repository
- Installing the package
For each step, you must be logged in as superuser.
Before setting up the repository, you need to register with EDB. To receive credentials for the EDB repository, visit: Repository Access Request.
Setting up the Repository
Setting up the repository is a one time task. If you have already set up your repository, you do not need to perform these steps.
Installing the Package
Initial configuration
Before using Replication Server, you must download and install JDBC drivers. See Installing a JDBC driver for details.