Usrlocalnetdrms currentbasedrmsreplicationetciasrepclientcfg » History » Version 1
Herve Ballans, 10/06/2016 15:57
| 1 | 1 | Herve Ballans | h1. Usrlocalnetdrms currentbasedrmsreplicationetciasrepclientcfg |
|---|---|---|---|
| 2 | 1 | Herve Ballans | |
| 3 | 1 | Herve Ballans | <pre> |
| 4 | 1 | Herve Ballans | # This template file contains configurable parameters used by replication client code. The client |
| 5 | 1 | Herve Ballans | # code includes subscribe_series, run_get_slony_logs.sh, and get_slony_logs.pl. |
| 6 | 1 | Herve Ballans | # |
| 7 | 1 | Herve Ballans | # Each NetDRMS site using the replication code should copy this file to a writeable location |
| 8 | 1 | Herve Ballans | # and edit it as appropriate. Each of the client-side replication scripts sources this configuration |
| 9 | 1 | Herve Ballans | # file to set environment variables needed by that script. |
| 10 | 1 | Herve Ballans | |
| 11 | 1 | Herve Ballans | ####################################################### |
| 12 | 1 | Herve Ballans | # client-side-wide configurable parameters |
| 13 | 1 | Herve Ballans | ####################################################### |
| 14 | 1 | Herve Ballans | |
| 15 | 1 | Herve Ballans | #node=<the name of the remote sites replication node> |
| 16 | 1 | Herve Ballans | node=IASprod |
| 17 | 1 | Herve Ballans | |
| 18 | 1 | Herve Ballans | # Client-server communication |
| 19 | 1 | Herve Ballans | #kRSServer=<replication server> |
| 20 | 1 | Herve Ballans | #kRSTriggerDir=<directory that contains files used for server-client communication> |
| 21 | 1 | Herve Ballans | #kRSUser=<linux user with access to replication subscription server> |
| 22 | 1 | Herve Ballans | #kRSPort=<replication server port> |
| 23 | 1 | Herve Ballans | #ingestion_path=<location of ingestion "die" file> |
| 24 | 1 | Herve Ballans | kRSServer=jsocport.stanford.edu |
| 25 | 1 | Herve Ballans | kRSTriggerDir=/data/pgsql/slon_logs/live/triggers |
| 26 | 1 | Herve Ballans | kRSUser=jsocexp |
| 27 | 1 | Herve Ballans | kRSPort=55000 |
| 28 | 1 | Herve Ballans | ingestion_path=/home/production/netdrms_current/base/drms/replication |
| 29 | 1 | Herve Ballans | |
| 30 | 1 | Herve Ballans | |
| 31 | 1 | Herve Ballans | |
| 32 | 1 | Herve Ballans | |
| 33 | 1 | Herve Ballans | # Client database information |
| 34 | 1 | Herve Ballans | #pg_host=<hostname/IP address of the subscribers (clients) machine hosting the database> |
| 35 | 1 | Herve Ballans | #pg_port=<port on the subscribers (clients) machine hosting the database> |
| 36 | 1 | Herve Ballans | #pg_user=<postgreSQL user who accesses the replication objects on the subscribers (clients) database> |
| 37 | 1 | Herve Ballans | #pg_dbname=<name of the database containing replication objects> |
| 38 | 1 | Herve Ballans | #slony_cluster=<replication cluster name - this is defined at the site that is generating the slony logs. |
| 39 | 1 | Herve Ballans | # All nodes that share the same set of data will have the same value for this field. If you are getting your logs from Stanford, then use "jsoc"> |
| 40 | 1 | Herve Ballans | pg_host=localhost |
| 41 | 1 | Herve Ballans | pg_port=5432 |
| 42 | 1 | Herve Ballans | pg_user=slony |
| 43 | 1 | Herve Ballans | pg_dbname=ias_sdo |
| 44 | 1 | Herve Ballans | slony_cluster=jsoc |
| 45 | 1 | Herve Ballans | |
| 46 | 1 | Herve Ballans | |
| 47 | 1 | Herve Ballans | # Apps |
| 48 | 1 | Herve Ballans | #kRSPerl=<path to Perl binary to use when Perl scripts are executed> |
| 49 | 1 | Herve Ballans | kRSPerl=/usr/bin/perl |
| 50 | 1 | Herve Ballans | |
| 51 | 1 | Herve Ballans | # URLs |
| 52 | 1 | Herve Ballans | #kRSBaseURL=<base URL for all Slony services> |
| 53 | 1 | Herve Ballans | kRSBaseURL=??????? |
| 54 | 1 | Herve Ballans | |
| 55 | 1 | Herve Ballans | </pre> |