Re: [HACKERS] Switching timeline over streaming replication

2012-12-03 Thread senthilnathan
Is this patch available in version 9.2.1 ?

Senthil 



--
View this message in context: 
http://postgresql.1045698.n5.nabble.com/Switching-timeline-over-streaming-replication-tp5723547p5734744.html
Sent from the PostgreSQL - hackers mailing list archive at Nabble.com.


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] Tracking latest timeline in standby mode

2011-12-07 Thread senthilnathan
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 bound to
S1(if S1 is ahead or equal to S2 XLOG).,

Is it required to copy the time line history file that is generated at time
of S1 promotion as master to the archive directory of S2 for replication to
work (i.e S1(new master) to S2.)

Without doing this history file copy from S1 to S2, S2 keeps throwing the
following error message.,

2011-12-07 17:29:46 IST::@:[18879]:FATAL:  could not receive data from WAL
stream: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.

cp: cannot stat `../archive/00010005': No such file or
directory
2011-12-07 17:29:49 IST::@:[18875]:LOG:  record with zero length at
0/5D8FFC0
cp: cannot stat `../archive/00010005': No such file or
directory
cp: cannot stat `../archive/0002.history': No such file or directory
2011-12-07 17:29:49 IST::@:[20362]:FATAL:  timeline 2 of the primary does
not match recovery target timeline 1
cp: cannot stat `../archive/00010005': No such file or
directory
cp: cannot stat `../archive/00010005': No such file or
directory
cp: cannot stat `../archive/0002.history': No such file or directory
2011-12-07 17:29:54 IST::@:[20367]:FATAL:  timeline 2 of the primary does
not match recovery target timeline 1
cp: cannot stat `../archive/00010005': No such file or
directory
cp: cannot stat `../archive/00010005': No such file or
directory
cp: cannot stat `../archive/0002.history': No such file or directory


 

 

--
View this message in context: 
http://postgresql.1045698.n5.nabble.com/Tracking-latest-timeline-in-standby-mode-tp3238829p5057733.html
Sent from the PostgreSQL - hackers mailing list archive at Nabble.com.

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] Tracking latest timeline in standby mode

2011-10-03 Thread senthilnathan
Whether this feature is available in version 9.1.0. ??


--
View this message in context: 
http://postgresql.1045698.n5.nabble.com/Tracking-latest-timeline-in-standby-mode-tp3238829p4863900.html
Sent from the PostgreSQL - hackers mailing list archive at Nabble.com.

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] Backup's from standby

2011-08-17 Thread senthilnathan
Thanks for your reply.,

@ Robert.,

What issue we may face if you take a backups(includes data dir + wal files)
at standby without LVM snapshot?

-Senthil

--
View this message in context: 
http://postgresql.1045698.n5.nabble.com/Backup-s-from-standby-tp4688344p4706899.html
Sent from the PostgreSQL - hackers mailing list archive at Nabble.com.

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] Backup's from standby

2011-08-16 Thread senthilnathan
Thanks for your reply.

What will happen if you issue *checkpoint* at STANDBY. I presume that it
will flush the data to the disk.

Will there be any conflict with the master WAL.(like checkpoint location...)

Senthil


--
View this message in context: 
http://postgresql.1045698.n5.nabble.com/Backup-s-from-standby-tp4688344p4703469.html
Sent from the PostgreSQL - hackers mailing list archive at Nabble.com.

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


[HACKERS] Backup's from standby

2011-08-11 Thread senthilnathan
What is the basic reason for restricting backup at standby
server(pg_start_backup)?

We are doing the following steps to take backup from standby which(backups)
might be used for standalone startups.

1.Create file system snapshot(LVM)
2.take the back up of data directory including wal files
3.Drop the file system snapshot

Will there be(foresee) any issues while using these backups? 

-Senthil

--
View this message in context: 
http://postgresql.1045698.n5.nabble.com/Backup-s-from-standby-tp4688344p4688344.html
Sent from the PostgreSQL - hackers mailing list archive at Nabble.com.

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers