*postgresql.conf:*
wal_level = hot_standby
hot_standby = on
archive_mode = on
archive_command = 'cp %p ../archive/%f'
## "archive" parallel to data directory
max_wal_senders = 10
## number of slaves
*recovery.conf(in slave)*
restore_command = 'cp ../archive/%f "%p"'
standby_mode = 'on'
primary_c
We are using 9.1.,
We have a set up like a master and 2 standby servers. M -- > S1,S2 . Both
standby S1 and S2 share the same archive. Master will have an Virtual IP.
Both stand by servers will be replicated using this virtual ip.
Assume the master fails,using our heart beat mechanism Virtual IP
Thanks John.,
Yes its from WAL Archives. I dont have the basebackup instead i am having
all the WAL files that are archived right from the server start. My question
is how(steps?) to to build whole setup(postgres server)by replaying all WAL
files
(from 000100010
Can you please provide us the details of Optional Features / Optional Package
to be used for postgres source compilation for a standard
setup(recommended...)
We also look for the add on packages(available under contrib.,) to be
included for compilation in the standard setup(like pgcrypto)
Note :
Using 9.1 SR, the pg_stat_replication data's are available in Primary server.
The table is not replicated to standby server. Is it intensionally done. if
so why ?
Senthil
--
View this message in context:
http://postgresql.1045698.n5.nabble.com/pg-stat-replication-data-in-standy-servers-tp4852870
My use case.,
I have a system with master ---> Standby 1
---> Standby 2
replicating to 2 standby servers.
i will use
Incrementally_Updated_Backups(http://wiki.postgresql.org/wiki/Incrementally_Updated_Backups)
for 2 puposes
1. For adding one more sta
*> What is the procedure to make the failed master as working slave?*
Check whether the following steps works for you...
Assume the following is your use case.,
Master > Slave(Stand by..)
Master replicating to slave. At time when master failed, the slave takes
over as new master. Now
*> What is the procedure to make the failed master as working slave?*
Check whether the following steps works for you...
Assume the following is your use case.,
Master > Slave(Stand by..)
Master replicating to slave. At time when master failed, the slave takes
over as new master. Now
We have system(Cluster) with Master replicating to 2 stand by servers.
i.e
M |---> S1
|---> S2
If master failed, we do a trigger file at S1 to take over as master. Now we
need to re-point the standby S2 as slave for the new master (i.e S1)
While trying to start standby S2,the