Re: Monitoring hot standby replication for failure - Mailing list pgsql-admin

From Frank Alberto Rodriguez Solana
Subject Re: Monitoring hot standby replication for failure
Date
Msg-id CAMj3sN+S4gDt2+LV-4Cf+NGtUvaazvX79WO1ehDkrxJpt2PM-Q@mail.gmail.com
Whole thread Raw
In response to Monitoring hot standby replication for failure  (Mark Steben <mark.steben@drivedominion.com>)
List pgsql-admin

Hi, you could use repmgr tool, developed by 2ndQuadrant. This work with

POtgreSQL 9.3 or higher.

In the configuration file you could use "event_notification_command" to

execute an script to monitoring and sending notifications when you needs.


This is the site:

https://repmgr.org/


And this is the documentation:

https://repmgr.org/docs/4.1/bdr-monitoring-failover.html


Greetings


El lun., 25 mar. 2019 a las 11:51, Mark Steben (<mark.steben@drivedominion.com>) escribió:
Good afternoon,

We are running postgres 9.4.  We are outsourcing our databases to another datacenter owned by a third party company.  The methodology we are using to move the database is hot standby log shipping replication.  We will run streaming replication for several days then, when the time comes to pull the trigger and make the move, I will complete recovery, bring in a 'production' version of postgresql.conf, restart the database, and hand it over to the apps.  

We want to make sure that during the several days of replication we are immediately notified if a problem arises - a missing log, a production outage, etc.  Is there a monitor or an 'in-the-box' procedure, or perhaps a condition to check during hot standby or streaming replication to ensure things are still running as planned, or if there is a problem?  

Thanks for any insights. 

--
Mark Steben
 Database Administrator
@utoRevenue | Autobase 
  CRM division of Dominion Dealer Solutions 
95D Ashley Ave.
West Springfield, MA 01089

t: 413.327-3045
f: 413.383-9567

www.fb.com/DominionDealerSolutions
www.twitter.com/DominionDealer
 www.drivedominion.com





pgsql-admin by date:

Previous
From: Mark Steben
Date:
Subject: Monitoring hot standby replication for failure
Next
From: "Jehan-Guillaume (ioguix) de Rorthais"
Date:
Subject: Re: Monitoring hot standby replication for failure