Streaming replication - slave not getting promoted
От | Jayadevan M |
---|---|
Тема | Streaming replication - slave not getting promoted |
Дата | |
Msg-id | CAFS1N4iu80iRAAoDBjfJ4KG4Qr0SYmFHPc2VjVey=OWGQALMfw@mail.gmail.com обсуждение исходный текст |
Ответы |
Re: Streaming replication - slave not getting promoted
Re: Streaming replication - slave not getting promoted |
Список | pgsql-general |
Hi,
I have streaming replication set up, with PostgreSQL 9.3. The entries in recovery.conf on the slave are as follows - standby_mode = 'on'
primary_conninfo = 'host=127.0.0.1 port=2345 user=postgres password=password'
restore_command = 'cp /pgdata/archive/%f "%p"'
trigger_file = ‘/tmp/down.trg’
hot_standby = on
FATAL: could not connect to the primary server: could not connect to server: Connection refused
One more doubt -
"
# Note that recovery.conf must be in $PGDATA directory.
# It should NOT be located in the same directory as postgresql.conf
"
В списке pgsql-general по дате отправления: