From: | Thom Brown <thombrown(at)gmail(dot)com> |
---|---|
To: | jd(at)commandprompt(dot)com |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Warm standby failover mechanism |
Date: | 2009-02-25 21:39:35 |
Message-ID: | bddc86150902251339t27992e1w454d25366bebe180@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
> As a note, all PITRTools does is wrap around all the tools that you are
> trying to make work. So you will still need pg_standby, rsync, ssh
> etc...
>
> I have updated the wiki to make it a bit more friendly.
>
> https://projects.commandprompt.com/public/pitrtools/wiki
>
> I've given PITRTools a try, but I have been unsuccessful in utilising it.
I've configured both ini files, everything owned by user postgres, and upon
running "./cmd_archiver -C cmd_archiver.ini" I get:
NOTICE: check_config_func()
NOTICE: Performing standard archive
NOTICE: archive_func()
NOTICE: send_queue_func()
NOTICE: list_queue_func()
NOTICE: generate_slave_list_func()
NOTICE: Your slaves are: ['192.168.1.17']
Traceback (most recent call last):
File "../pitr_tools/cmd_archiver", line 343, in <module>
archive_func()
File "../pitr_tools/cmd_archiver", line 254, in archive_func
queue = send_queue_func()
File "../pitr_tools/cmd_archiver", line 219, in send_queue_func
for host in list_queue_func():
File "../pitr_tools/cmd_archiver", line 202, in list_queue_func
list_archives = os.listdir(queuedir)
OSError: [Errno 2] No such file or directory: '/var/lib/postgresql/archive/
192.168.1.17'
The only time that IP address appears in the INI file is on the slaves line,
so I'm not sure why it's trying to find a directory called that.
From | Date | Subject | |
---|---|---|---|
Next Message | Fernando Moreno | 2009-02-25 21:40:54 | foxpro, odbc, data types and unnecessary convertions |
Previous Message | Justin Pasher | 2009-02-25 19:22:00 | Re: Postgres SRPMs for RHEL |