We do the math so you don't have to!
+
Taygeta Scientific Inc.

rsync setup details

--------

Installing and Configuring rsync

Install rsync (http://rsync.samba.org) on both systems. rsync will be using the secondary network interfaces to transfer the data. The rsync setup is pretty much how Rudy Pawul describes in the heartbeat document on rsync, except that ssh is not being used. The rsync configuration file, /etc/rsyncd.conf looks like the following:
use chroot = yes
hosts allow = 10.0.0.1

[postgresql]
path = /home/pgsql
uid = postgres
gid = postgres
read only = false
comment = PostgreSQL backup
(make sure 'hosts allow' is set to the secondary network interface of the opposite system). If you invoke the following command on the primary system,
/usr/bin/rsync -auv --delete /home/pgsql/ 10.0.0.2::postgresql/
you should see a copy of all the postgres files on the secondary in /home/pgsql. If not, then your rsync installation isn't correct yet.

--------

*--- back to HA-Postgres page

About | Services | Research | Store | Contact | Home | Stargate
Legal Disclaimer
Taygeta Scientific Inc.
1340 Munras Ave., Suite 314
Monterey, CA. 93940
Phone: 831-641-0645 FAX: 831-641-0647
email: office@taygeta.com
http://www.taygeta.com/