Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Pull request Compare This branch is 1 commit ahead, 23 commits behind ssinger:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
altperl
mkservice
slony_bulkload
Makefile
README.checks
awk-for-stored-proc-vers.awk
build_release.sh
check_slon.sh
check_slony_cluster.sh
configure-replication.sh
configure-replication.txt
duplicate-node.sh
find-triggers-to-deactivate.sh
generate_syncs.sh
launch_clusters.sh
log.pm
logshipping_toinsert.pl
mediawiki_sample.txt
mkmediawiki.pl
mkslonconf.sh
psql_replication_check.pl
pull-gborg-mail.sh
release_checklist.sh
run_rep_tests.sh
search-logs.sh
slon.in-profiles
slonikconfdump.sh
slony-cluster-analysis-mass.sh
slony-cluster-analysis.sh
slony1_dump.sh
slony1_extract_schema.sh
start_slon.sh
test_slony_replication.pl
test_slony_state-dbi.pl
test_slony_state.pl

README.checks

The two scripts perform different tasks.

check_slon.sh checks to see that the slon daemon is in the proces list
and optionally checks for any error or warning messages in the slon
log file it is called using two or three parameters; the clustername,
the dbname and (optionally) the location of the log file. This script
is to be executed on each node in the cluster (both master and slaves)

check_slony_cluster.sh checks that active receiver nodes are comfirming
sync within 10 seconds of the master. I'm not entirely sure that this is
the best strategy, and if you know otherwise, I'd love to hear. Requires
two parameters;  the clustername and the dbname. This script is executed
on the master database only.

These scripts are designed to run on the host on which they are
checking. With a little modification, they could check remote servers
on the network. They are quite simplistic and may not be suitable for
your environment. You are free to modify the code to suit your own needs.
Something went wrong with that request. Please try again.