Christopher Browne cbbrowne at ca.afilias.info
Fri Aug 13 08:05:39 PDT 2010
Fharid Salomon Fernandez <fharids at hotmail.com> writes:
> hello there, i read about some scripts that helps you administrating slony-I
> replication, (the altperl scripts )
> they are suposed to be in some directory in my computer after the instalation
> of slony-I , but i couldn't find them
> i couldn't even found any slony directory :S please can you tell me where can i
> find that directory and those scripts?
> i'm sure i have installed slony-I right because i've already used slony to
> replicate some example tables i have here

In the source code, they're found in the directory: tools/altperl.

So, supposing I pull a tarball:

{/tmp}  ls -l ~/Downloads/cbbrowne-slony1-engine-REL_2_0_0-0-ge4e2068.tar.gz
-rw-r--r-- 1 cbbrowne cbbrowne 1032841 Aug 13 11:00 /home/cbbrowne/Downloads/cbbrowne-slony1-engine-REL_2_0_0-0-ge4e2068.tar.gz

Then, extract it:
{/tmp}  tar xfz ~/Downloads/cbbrowne-slony1-engine-REL_2_0_0-0-ge4e2068.tar.gz                                         
{/tmp}  cd cbbrowne-slony1-engine-e4e2068                                                                              
{cbbrowne-slony1-engine-e4e2068}  ls                                                                                   
aclocal.m4   configure     doc             INSTALL             makefiles       redhat       SAMPLE          src    TODO
config       configure.ac  GNUmakefile.in  Makefile            README          RELEASE      share           suse   tools
config.h.in  COPYRIGHT     HISTORY-1.1     Makefile.global.in  README.Unicode  RELEASE-2.0  slony1.spec.in  tests  UPGRADING
{cbbrowne-slony1-engine-e4e2068}  cd tools/altperl                                                                     
{altperl}  ls                                                                                                          
Makefile                     slonik_drop_sequence.pl   slonik_merge_sets.pl      slonik_uninstall_nodes.pl  slon-tools.pm
old-apache-rotatelogs.patch  slonik_drop_set.pl        slonik_move_set.pl        slonik_unsubscribe_set.pl  slon_watchdog2.pl
README                       slonik_drop_table.pl      slonik_print_preamble.pl  slonik_update_nodes.pl     slon_watchdog.pl
slonik_build_env.pl          slonik_execute_script.pl  slonik_restart_node.pl    slon_kill.pl               slony_show_configuration.pl
slonik_create_set.pl         slonik_failover.pl        slonik_store_node.pl      slon_start.pl              ToDo
slonik_drop_node.pl          slonik_init_cluster.pl    slonik_subscribe_set.pl   slon_tools.conf-sample
{altperl}

The Makefile has configuration indicating where they should get
installed; this is controlled at configure time via the directive
"--with-perltools=<dir>"
-- 
select 'cbbrowne' || '@' || 'ca.afilias.info';
Christopher Browne
"Bother,"  said Pooh,  "Eeyore, ready  two photon  torpedoes  and lock
phasers on the Heffalump, Piglet, meet me in transporter room three"


More information about the Slony1-general mailing list