Bill Moran wmoran
Tue Jul 18 11:45:07 PDT 2006
We're looking at potentially replicating a bunch of databases
with Slony (we're in the ASP space).

Unless there's some other trick I'm not aware of, this will require
starting a pair of slon processes for each replicated database.

I'm looking to rewrite the slon.sh script provided with the FreeBSD
port in order to make it behave more like the Apache rc script does.
i.e. you'd have something in rc.conf like this:

slon_enable='YES'
slon_profiles="db1 db2 db3"
slon_db1_configfile="/usr/local/etc/slon/db1.conf"
slon_db2_configfile="/usr/local/etc/slon/db2.conf"
slon_db3_configfile="/usr/local/etc/slon/db3.conf"

... and the startup script would automagically do the right thing.

Before I charge forward, I wanted to get any feedback/suggestions
on this approach.  Anyone see any problems with doing this, or
have suggestions on how to do it better than the Apache script does?

-- 
Bill Moran
Collaborative Fusion Inc.

****************************************************************
IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.
****************************************************************



More information about the Slony1-general mailing list