version 1.4, 2008/10/16 18:33:06
|
version 1.5, 2008/10/16 18:46:58
|
Line 25 and dcs1, respectively: |
|
Line 25 and dcs1, respectively: |
|
0,20,40 * * * * /var/lib/pgsql/rsync_pg_dcs0_to_dcs2.pl | 0,20,40 * * * * /var/lib/pgsql/rsync_pg_dcs0_to_dcs2.pl |
0,20,40 * * * * /var/lib/pgsql/rsync_pg_dcs1_to_dcs2.pl | 0,20,40 * * * * /var/lib/pgsql/rsync_pg_dcs1_to_dcs2.pl |
| |
For this to work, this must be done on dcs2 after any reboot: |
For this to work, this must be done on dcs0, dcs1 and dcs2, as user |
|
postgres, after any reboot: |
| |
> ssh-agent | head -2 > /var/lib/pgsql/ssh-agent.env | > ssh-agent | head -2 > /var/lib/pgsql/ssh-agent.env |
> chmod 600 /var/lib/pgsql/ssh-agent.env | > chmod 600 /var/lib/pgsql/ssh-agent.env |