From: | Frank Alberto Rodriguez Solana <franknigth(at)gmail(dot)com> |
---|---|
To: | Mark Steben <mark(dot)steben(at)drivedominion(dot)com> |
Cc: | pgsql-admin <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: Monitoring hot standby replication for failure |
Date: | 2019-03-25 18:05:37 |
Message-ID: | CAMj3sN+S4gDt2+LV-4Cf+NGtUvaazvX79WO1ehDkrxJpt2PM-Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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:
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(dot)steben(at)drivedominion(dot)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 <http://www.autorevenue.com/> | Autobase
> <http://www.autobase.net/>
> 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 <http://www.autorevenue.com/>
>
> <http://autobasedigital.net/marketing/DD12_sig.jpg>
>
>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Jehan-Guillaume (ioguix) de Rorthais | 2019-03-25 20:24:32 | Re: Monitoring hot standby replication for failure |
Previous Message | Mark Steben | 2019-03-25 17:50:42 | Monitoring hot standby replication for failure |