Slony-Replication Clients
JSOC as a client of NSO
By acting as a slony client, the JSOC fetches GONG data from NSO. To become a slony client of another DRMS site, a site must run the 'subscribe_series' script, wherein the client can subscribe to one of more series. The script takes three arguments: a configuration file name, which identifies a file that contains client-server connection information (such as the name of the server and port to connect to); a subscription-list file name, which contains a list of server data series to which the client is subscribing; a file containing information necessary for locating a ssh-agent instance. When configured for fetching GONG data, the initial run of subscribe_series will create a _nso db namespace, used by slony for internal bookkeeping, and it will create a gong namespace, used by DRMS to contain the gong related data series. It will also create the actual GONG data series listed in the subscription-list file. Unlike the other client files, the configuration file will be used each time the client subscribes to a new series. It is therefore saved in the JSOC CVS repository. The subscribe_series client configuration file is named repclient.nso.cfg and it is located in the CVS source tree at JSOC/proj/repliation/etc.