Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Failover of the Primary database and starting the standby database in Postgresql in PITR configuraiton?



Hello all,
 
Thanks for your response. The example shown by Charles Duffy, is quite impressive. Actually i built my replication based on this.
 
But, i want to test the failover. In the example shown by Charles, mentions 'a trigger file' as it says:
-------------------------------------------------------------------------------
touch ~/pg82demo/trigger
 
This should immediately cause the slave to finish processing archived
segments, exit recovery mode, and come up ready for use.
-------------------------------------------------------------------------------
what shold be the content of the trigger file. How do we cause the slave to finish the processing of the archived segments, exit the recovery mode and come up ready for use???
 
Please help in the the FAILOVER of the primary and promoting the slave to the primary mode.
 
Thanks! 
On Feb 19, 2008 3:19 AM, Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:
On Tue, 2008-02-19 at 09:53 +0530, Praveen Kumar (TUV) wrote:

> Go through this below mentioned link
>
>
>
> http://archives.postgresql.org/sydpug/2006-10/msg00001.php

I think people should be reading the manual, rather than reading an old
email. We have improved and corrected the manual, but old emails stay
the same. We can also change the manual some more in response to
clarifications.


--
 Simon Riggs
 2ndQuadrant  http://www.2ndQuadrant.com




Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group