94 | | And at NSO the complete listing of ./etc/repclient.live.cfg is : |
95 | | |
96 | | {{{ |
97 | | # This template file contains configurable parameters used by replication client code. The client |
98 | | # code includes subscribe_series, run_get_slony_logs.sh, and get_slony_logs.pl. |
99 | | # |
100 | | # Each NetDRMS site using the replication code should copy this file to a writeable location |
101 | | # and edit it as appropriate. Each of the client-side replication scripts sources this configuration |
102 | | # file to set environment variables needed by that script. |
103 | | |
104 | | ####################################################### |
105 | | # client-side-wide configurable parameters |
106 | | ####################################################### |
107 | | |
108 | | node=nso2 |
109 | | |
110 | | # Client-server communication |
111 | | kRSServer=solarport.stanford.edu |
112 | | kRSTriggerDir=/data/pgsql/slon_logs/live/triggers |
113 | | kRSUser=jsocexp |
114 | | kRSPort=55000 |
115 | | ingestion_path=/home/production/subscribe_series/trigger |
116 | | |
117 | | # Client database information |
118 | | pg_host=vso2.tuc.noao.edu |
119 | | pg_port=5432 |
120 | | pg_user=slony |
121 | | pg_dbname=nso_drms |
122 | | slony_cluster=jsoc |
125 | | ####################################################### |
126 | | # subscribe_series configurable parameters |
127 | | ####################################################### |
128 | | |
129 | | # file paths |
130 | | kLocalLogDir=/home/production/subscribe_series/log |
131 | | kLocalWorkingDir=/home/production/subscribe_series/work |
132 | | kSQLIngestionProgram=/home/production/subscribe_series/bin/get_slony_logs.pl |
133 | | kDeleteSeriesProgram=/opt/drms/bin/linux_x86_64/delete_series |
134 | | |
135 | | attempts=2000 |
136 | | |
137 | | # XXX This is not correct - archive, retention, and tapegroup should be per-series, not global. |
138 | | archive=0 |
139 | | retention=21 |
140 | | tapegroup=1 |
141 | | |
142 | | |
143 | | ####################################################### |
144 | | # get_slony_logs.pl configurable parameters |
145 | | ####################################################### |
146 | | |
147 | | scp_cmd=/usr/bin/scp |
148 | | ssh_cmd=/usr/bin/ssh |
149 | | rmt_slony_dir=/data/pgsql/slon_logs/live/site_logs |
150 | | slony_logs=/home/production/subscribe_series/slon_logs |
151 | | PSQL=/export/vso2.0/usr/bin/psql |
152 | | email_list=igor@noao.edu |
153 | | |
154 | | }}} |
155 | | |