Fri Nov 25 14:05:33 PST 2011
- Previous message: [Slony1-general] slony centos 5.7 RPM installation setup
- Next message: [Slony1-general] slony centos 5.7 RPM installation setup
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 11-11-25 04:05 PM, Vitaliy Semochkin wrote: > Hello, > > I've installed slony on centos 5.7 using postgre yum repository slony1-91 > > Can someone please tell me where I'm supposed to store place slony > shell variables such as: > CLUSTERNAME > MASTERDBNAME > SLAVEDBNAME > MASTERHOST > SLAVEHOST > REPLICATIONUSER > > I can create a shell file and place it to /etc/profile.d but it came > to my mind that an rpm distribution might already have such file. > > > when I start slon manually I use something like > slon $CLUSTERNAME "dbname=$MASTERDBNAME user=$REPLICATIONUSER host=$MASTERHOST" > > > also how to pass paramets to /etc/init.d/slony1-91 > That script will source the file /etc/sysconfig/slony1 so if you add things into /etc/sysconfig/slony1 it will get added to the environment of the init script. It also passes the argument to slon when it starts slon. SLONCONF=/etc/slon.conf You can set the slon parameters in that slon.conf file See http://www.slony.info/documentation/2.1/runtime-config.html for the format of the conf file. > Regards, > Vitaliy S > _______________________________________________ > Slony1-general mailing list > Slony1-general at lists.slony.info > http://lists.slony.info/mailman/listinfo/slony1-general
- Previous message: [Slony1-general] slony centos 5.7 RPM installation setup
- Next message: [Slony1-general] slony centos 5.7 RPM installation setup
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list