Install PostgreSQL Applier
Once you have completed the configuration of the PostgreSQL database, you can configure and install the PostgreSQL applier as described using the steps below.
Before installing the applier, the following addition needs adding to the extractor configuration. Apply the following parameters on the extractor host, update the extractor using the details below, and then install the applier
Add the following to
/etc/tungsten/tungsten.ini[alpha]...Existing Replicator Config...enable-heterogeneous-service=trueshell> tpm updateUnpack the Tungsten Replicator distribution in a staging directory:
shell> tar zxf tungsten-replicator-8.0.4-132.tar.gzChange into the staging directory:
shell> cd tungsten-replicator-8.0.4-132Create the
/etc/tungsten/tungsten.iniusing the example below as a template.Example tungsten.ini[defaults]install-directory=/opt/continuentuser=tungstenprofile-script=~/.bash_profilerest-api-admin-user=apiuserrest-api-admin-password=secretreplicator-rest-api-address=0.0.0.0[alpha]master=sourcehostmembers=localhost,sourcehostdatasource-type=postgresqlpostgresql-dbname=dbnamereplication-user=tungstenreplication-password=secretreplication-host=remotedbhostreplication-port=5432Show argument definitions
install-directory=/opt/continuentInstallation directory.user=tungstenOS System User, for example tungsten. DO NOT use root.profile-script=~/.bash_profileAppend commands to include env.sh in this profile script.rest-api-admin-user=apiuserSpecify the initial Admin Username for API access.Available from v7.0.0rest-api-admin-password=secretSpecify the initial Admin User Password for API access.rest-api-admin-passwordalias only available from version 7.1.2 onwards.Available from v7.0.0replicator-rest-api-address=0.0.0.0Address for the API to bind too.Available from v7.0.0Once the prerequisites and configuring of the installation has been completed, the software can be installed:
shell> ./tools/tpm install
If the installation process fails, check the output of the /tmp/tungsten-configure.log file for more information about
the root cause.
Once the replicators have started, the status of the service can be checked using trepctl. See "Management and Monitoring of PostgreSQL Deployments" for more information.