Hi All

        

     I am hoping that there are some guys out there that knows slony and
some things to look out for.


      I would really appreciate the help.

     I am busy testing the slony replication setup (master /slave) on two
virtual machines that I have setup on Debian.

   I have installed the slony packages, tested basic ocnnectivity etc... and
all god so far.


    Going through documentation I created a preamble.sk file and an
initcluster.sk file which I am trying to run in order to initialize the
cluster.

    when running the initcluster.sk I get the following error message:

preamble.sk:5: ERROR: syntax error at or near =


  I have attached both files and hoping that someone could assist please.

Preamble.sk:

                define CLUSTER test;
                define DEBIAN1 1;
                define DEBIAN2 2;

                cluster = @CLUSTER;
                node @DEBIAN1 admin
              conninfo = 'dbname=postgres host=debian1 user=slony';
                node @DEBIAN2 admin
              conninfo = 'dbname=postgres host=debian2 user=slony';


Initcluster.sk:

                 #!/usr/bin/slonik

                # File: initcluster.sk

                include <preamble.sk>;

                init cluster ( id = @DEBIAN1, comment = 'primary node -
Debian1');

Regards
Machiel


_______________________________________________
Slony1-general mailing list
[email protected]
http://lists.slony.info/mailman/listinfo/slony1-general

Reply via email to