Automatic recovery of the failed postgresql master node is not working with pgpool IIRemoving Archive Logs...

Stream.findFirst different than Optional.of?

Have the conservatives lost the working majority and if so, what does this mean?

How do I handle a blinded enemy which wants to attack someone it's sure is there?

Why didn't Lorentz conclude that no object can go faster than light?

Ramanujan's radical and how we define an infinite nested radical

Found a major flaw in paper from home university – to which I would like to return

Is Apex Sometimes Case Sensitive?

我可不觉得 - agree or disagree?

Isn't a semicolon (';') needed after a function declaration in C++?

How can I portray body horror and still be sensitive to people with disabilities?

STM32 PWM problem

How to write painful torture scenes without being over-the-top

How to encircle section of matrix in LaTeX?

What does "don't have a baby" imply or mean in this sentence?

How to play songs that contain one guitar when we have two or more guitarists?

How to know if I am a 'Real Developer'

Do error bars on probabilities have any meaning?

Discouraging missile alpha strikes

Exploding Numbers

Why does finding small effects in large studies indicate publication bias?

Why would you use 2 alternate layout buttons instead of 1, when only one can be selected at once

What did Putin say about a US deep state in his state-of-the-nation speech; what has he said in the past?

Is Screenshot Time-tracking Common?

Is there a way to pause a running process on Linux systems and resume later?



Automatic recovery of the failed postgresql master node is not working with pgpool II


Removing Archive Logs after PostgreSQL PITR online-recoveryPostgreSQL: Unable to run repmgr cloned databaseTaking hot backup of slave node in postgres (master-slave config with repmgr)PostgreSQL: changing data directory location (sshfs)PGPool II - Failover when current master node diesPgpool II and Postgresql upgrade scenario using different major versionsPostgreSQL: Removing standby from streaming replicationPostgreSQL, repmgr & pgbouncer: Configuration questionsRepmgr: Error to promote Standby Cluster to Master Cluster in failoverPgpool executes queries on standby nodes instead of master when replication is behind in standby













2















I am new to Postgresql and Pgpool II setup. I have configured the Postgresql HA/Load balancing using Pgpool II and Repmgr.

I have followed the link to do the setup.



The setup consist of 3 nodes and verison of Application and OS is as mentioned below:
OS version => CentOS 6.8 (On all the 3 nodes)



Pgpool node => 192.168.0.4
Postgresql Nodes:
node1 (Master in read-write mode) => 192.168.0.6
node2 (Standby node in read only mode) => 192.168.0.7



Pgpool II version => pgpool-II version 3.5.0 (ekieboshi).
Postgresql Version => PostgreSQL 9.4.8
Repmgr Version => repmgr 3.1.3 (PostgreSQL 9.4.8)



I have configured the Pgpool in Master-Slave mode using Streaming replication.



The setup is as shown in the below image:
enter image description here



When I bring down the Master node(192.168.0.6), the automatic failover happens successfully and the Slave node(192.168.0.7) becomes the new Master node.



After failover, I have to recover the failed node(192.168.0.6) manually and sync it with the new Master node. Then register the node(192.168.0.6) as a new Standby node.



I want to automate the Recovery process of the failed node and add it to the cluster back.



The pgpool.conf file on the Pgpool node(192.168.0.4) contains parameter recovery_1st_stage_command. I have set the parameter recovery_1st_stage_command = 'basebackup.sh'. I have placed the script 'basebackup.sh' file on both the Postgresql nodes(192.168.0.6, 192.168.0.7) under the data directory '/var/lib/pgsql/9.4/data'. Also I have placed the script 'pgpool_remote_start' on both the Postgresql nodes(192.168.0.6, 192.168.0.7) under the directory '/var/lib/pgsql/9.4/data'.



Also created the pgpool extension "pgpool_recovery and pgpool_adm" on both the database node.

After the failover is completed, the 'basebackup.sh' is not executed automatically. I have to run the command 'pcp_recovey_node' manually on the Pgpool node(192.168.0.4) to recover the failed node(192.168.0.6).



How can I automate the execution of pcp_recovery_node command on the Pgpool node with out any manual intervention.



Scripts used by me as follows:



basebackup.sh script



#!/bin/bash
# first stage recovery
# $1 datadir
# $2 desthost
# $3 destdir

#as I'm using repmgr it's not necessary for me to know datadir(master) $1
RECOVERY_NODE=$2
CLUSTER_PATH=$3
#repmgr needs to know the master's ip
MASTERNODE=`/sbin/ifconfig eth0 | grep inet | awk '{print $2}' | sed 's/addr://'`

cmd1=`ssh postgres@$RECOVERY_NODE "repmgr -D $CLUSTER_PATH --force standby clone $MASTERNODE"`
echo $cmd1


pgpool_remote_start script



#! /bin/sh

if [ $# -ne 2 ]
then
echo "pgpool_remote_start remote_host remote_datadir"
exit 1
fi

DEST=$1
DESTDIR=$2
PGCTL=/usr/pgsql-9.4/bin/pg_ctl

ssh -T $DEST $PGCTL -w -D $DESTDIR start 2>/dev/null 1>/dev/null < /dev/null &


failover.sh script



#!/bin/sh
failed_node=$1
new_master=$2
(
date
echo "Failed node: $failed_node"
set -x

# Promote standby/slave to be a new master (old master failed)
/usr/bin/ssh -T -l postgres $new_master "/usr/pgsql-9.4/bin/repmgr -f /var/lib/pgsql/repmgr/repmgr.conf standby promote 2>/dev/null 1>/dev/null <&-"
exit 0;
) 2>&1 | tee -a /tmp/pgpool_failover.log


Help me with the procedure to automate the recovery of the failed node.

Also let me know, for failover is it compulsory to use repmgr or we can do it without repmgr. Also specify any other method for failover without using Repmgr, its advantages and disadvantages over Repmgr.










share|improve this question





























    2















    I am new to Postgresql and Pgpool II setup. I have configured the Postgresql HA/Load balancing using Pgpool II and Repmgr.

    I have followed the link to do the setup.



    The setup consist of 3 nodes and verison of Application and OS is as mentioned below:
    OS version => CentOS 6.8 (On all the 3 nodes)



    Pgpool node => 192.168.0.4
    Postgresql Nodes:
    node1 (Master in read-write mode) => 192.168.0.6
    node2 (Standby node in read only mode) => 192.168.0.7



    Pgpool II version => pgpool-II version 3.5.0 (ekieboshi).
    Postgresql Version => PostgreSQL 9.4.8
    Repmgr Version => repmgr 3.1.3 (PostgreSQL 9.4.8)



    I have configured the Pgpool in Master-Slave mode using Streaming replication.



    The setup is as shown in the below image:
    enter image description here



    When I bring down the Master node(192.168.0.6), the automatic failover happens successfully and the Slave node(192.168.0.7) becomes the new Master node.



    After failover, I have to recover the failed node(192.168.0.6) manually and sync it with the new Master node. Then register the node(192.168.0.6) as a new Standby node.



    I want to automate the Recovery process of the failed node and add it to the cluster back.



    The pgpool.conf file on the Pgpool node(192.168.0.4) contains parameter recovery_1st_stage_command. I have set the parameter recovery_1st_stage_command = 'basebackup.sh'. I have placed the script 'basebackup.sh' file on both the Postgresql nodes(192.168.0.6, 192.168.0.7) under the data directory '/var/lib/pgsql/9.4/data'. Also I have placed the script 'pgpool_remote_start' on both the Postgresql nodes(192.168.0.6, 192.168.0.7) under the directory '/var/lib/pgsql/9.4/data'.



    Also created the pgpool extension "pgpool_recovery and pgpool_adm" on both the database node.

    After the failover is completed, the 'basebackup.sh' is not executed automatically. I have to run the command 'pcp_recovey_node' manually on the Pgpool node(192.168.0.4) to recover the failed node(192.168.0.6).



    How can I automate the execution of pcp_recovery_node command on the Pgpool node with out any manual intervention.



    Scripts used by me as follows:



    basebackup.sh script



    #!/bin/bash
    # first stage recovery
    # $1 datadir
    # $2 desthost
    # $3 destdir

    #as I'm using repmgr it's not necessary for me to know datadir(master) $1
    RECOVERY_NODE=$2
    CLUSTER_PATH=$3
    #repmgr needs to know the master's ip
    MASTERNODE=`/sbin/ifconfig eth0 | grep inet | awk '{print $2}' | sed 's/addr://'`

    cmd1=`ssh postgres@$RECOVERY_NODE "repmgr -D $CLUSTER_PATH --force standby clone $MASTERNODE"`
    echo $cmd1


    pgpool_remote_start script



    #! /bin/sh

    if [ $# -ne 2 ]
    then
    echo "pgpool_remote_start remote_host remote_datadir"
    exit 1
    fi

    DEST=$1
    DESTDIR=$2
    PGCTL=/usr/pgsql-9.4/bin/pg_ctl

    ssh -T $DEST $PGCTL -w -D $DESTDIR start 2>/dev/null 1>/dev/null < /dev/null &


    failover.sh script



    #!/bin/sh
    failed_node=$1
    new_master=$2
    (
    date
    echo "Failed node: $failed_node"
    set -x

    # Promote standby/slave to be a new master (old master failed)
    /usr/bin/ssh -T -l postgres $new_master "/usr/pgsql-9.4/bin/repmgr -f /var/lib/pgsql/repmgr/repmgr.conf standby promote 2>/dev/null 1>/dev/null <&-"
    exit 0;
    ) 2>&1 | tee -a /tmp/pgpool_failover.log


    Help me with the procedure to automate the recovery of the failed node.

    Also let me know, for failover is it compulsory to use repmgr or we can do it without repmgr. Also specify any other method for failover without using Repmgr, its advantages and disadvantages over Repmgr.










    share|improve this question



























      2












      2








      2


      1






      I am new to Postgresql and Pgpool II setup. I have configured the Postgresql HA/Load balancing using Pgpool II and Repmgr.

      I have followed the link to do the setup.



      The setup consist of 3 nodes and verison of Application and OS is as mentioned below:
      OS version => CentOS 6.8 (On all the 3 nodes)



      Pgpool node => 192.168.0.4
      Postgresql Nodes:
      node1 (Master in read-write mode) => 192.168.0.6
      node2 (Standby node in read only mode) => 192.168.0.7



      Pgpool II version => pgpool-II version 3.5.0 (ekieboshi).
      Postgresql Version => PostgreSQL 9.4.8
      Repmgr Version => repmgr 3.1.3 (PostgreSQL 9.4.8)



      I have configured the Pgpool in Master-Slave mode using Streaming replication.



      The setup is as shown in the below image:
      enter image description here



      When I bring down the Master node(192.168.0.6), the automatic failover happens successfully and the Slave node(192.168.0.7) becomes the new Master node.



      After failover, I have to recover the failed node(192.168.0.6) manually and sync it with the new Master node. Then register the node(192.168.0.6) as a new Standby node.



      I want to automate the Recovery process of the failed node and add it to the cluster back.



      The pgpool.conf file on the Pgpool node(192.168.0.4) contains parameter recovery_1st_stage_command. I have set the parameter recovery_1st_stage_command = 'basebackup.sh'. I have placed the script 'basebackup.sh' file on both the Postgresql nodes(192.168.0.6, 192.168.0.7) under the data directory '/var/lib/pgsql/9.4/data'. Also I have placed the script 'pgpool_remote_start' on both the Postgresql nodes(192.168.0.6, 192.168.0.7) under the directory '/var/lib/pgsql/9.4/data'.



      Also created the pgpool extension "pgpool_recovery and pgpool_adm" on both the database node.

      After the failover is completed, the 'basebackup.sh' is not executed automatically. I have to run the command 'pcp_recovey_node' manually on the Pgpool node(192.168.0.4) to recover the failed node(192.168.0.6).



      How can I automate the execution of pcp_recovery_node command on the Pgpool node with out any manual intervention.



      Scripts used by me as follows:



      basebackup.sh script



      #!/bin/bash
      # first stage recovery
      # $1 datadir
      # $2 desthost
      # $3 destdir

      #as I'm using repmgr it's not necessary for me to know datadir(master) $1
      RECOVERY_NODE=$2
      CLUSTER_PATH=$3
      #repmgr needs to know the master's ip
      MASTERNODE=`/sbin/ifconfig eth0 | grep inet | awk '{print $2}' | sed 's/addr://'`

      cmd1=`ssh postgres@$RECOVERY_NODE "repmgr -D $CLUSTER_PATH --force standby clone $MASTERNODE"`
      echo $cmd1


      pgpool_remote_start script



      #! /bin/sh

      if [ $# -ne 2 ]
      then
      echo "pgpool_remote_start remote_host remote_datadir"
      exit 1
      fi

      DEST=$1
      DESTDIR=$2
      PGCTL=/usr/pgsql-9.4/bin/pg_ctl

      ssh -T $DEST $PGCTL -w -D $DESTDIR start 2>/dev/null 1>/dev/null < /dev/null &


      failover.sh script



      #!/bin/sh
      failed_node=$1
      new_master=$2
      (
      date
      echo "Failed node: $failed_node"
      set -x

      # Promote standby/slave to be a new master (old master failed)
      /usr/bin/ssh -T -l postgres $new_master "/usr/pgsql-9.4/bin/repmgr -f /var/lib/pgsql/repmgr/repmgr.conf standby promote 2>/dev/null 1>/dev/null <&-"
      exit 0;
      ) 2>&1 | tee -a /tmp/pgpool_failover.log


      Help me with the procedure to automate the recovery of the failed node.

      Also let me know, for failover is it compulsory to use repmgr or we can do it without repmgr. Also specify any other method for failover without using Repmgr, its advantages and disadvantages over Repmgr.










      share|improve this question
















      I am new to Postgresql and Pgpool II setup. I have configured the Postgresql HA/Load balancing using Pgpool II and Repmgr.

      I have followed the link to do the setup.



      The setup consist of 3 nodes and verison of Application and OS is as mentioned below:
      OS version => CentOS 6.8 (On all the 3 nodes)



      Pgpool node => 192.168.0.4
      Postgresql Nodes:
      node1 (Master in read-write mode) => 192.168.0.6
      node2 (Standby node in read only mode) => 192.168.0.7



      Pgpool II version => pgpool-II version 3.5.0 (ekieboshi).
      Postgresql Version => PostgreSQL 9.4.8
      Repmgr Version => repmgr 3.1.3 (PostgreSQL 9.4.8)



      I have configured the Pgpool in Master-Slave mode using Streaming replication.



      The setup is as shown in the below image:
      enter image description here



      When I bring down the Master node(192.168.0.6), the automatic failover happens successfully and the Slave node(192.168.0.7) becomes the new Master node.



      After failover, I have to recover the failed node(192.168.0.6) manually and sync it with the new Master node. Then register the node(192.168.0.6) as a new Standby node.



      I want to automate the Recovery process of the failed node and add it to the cluster back.



      The pgpool.conf file on the Pgpool node(192.168.0.4) contains parameter recovery_1st_stage_command. I have set the parameter recovery_1st_stage_command = 'basebackup.sh'. I have placed the script 'basebackup.sh' file on both the Postgresql nodes(192.168.0.6, 192.168.0.7) under the data directory '/var/lib/pgsql/9.4/data'. Also I have placed the script 'pgpool_remote_start' on both the Postgresql nodes(192.168.0.6, 192.168.0.7) under the directory '/var/lib/pgsql/9.4/data'.



      Also created the pgpool extension "pgpool_recovery and pgpool_adm" on both the database node.

      After the failover is completed, the 'basebackup.sh' is not executed automatically. I have to run the command 'pcp_recovey_node' manually on the Pgpool node(192.168.0.4) to recover the failed node(192.168.0.6).



      How can I automate the execution of pcp_recovery_node command on the Pgpool node with out any manual intervention.



      Scripts used by me as follows:



      basebackup.sh script



      #!/bin/bash
      # first stage recovery
      # $1 datadir
      # $2 desthost
      # $3 destdir

      #as I'm using repmgr it's not necessary for me to know datadir(master) $1
      RECOVERY_NODE=$2
      CLUSTER_PATH=$3
      #repmgr needs to know the master's ip
      MASTERNODE=`/sbin/ifconfig eth0 | grep inet | awk '{print $2}' | sed 's/addr://'`

      cmd1=`ssh postgres@$RECOVERY_NODE "repmgr -D $CLUSTER_PATH --force standby clone $MASTERNODE"`
      echo $cmd1


      pgpool_remote_start script



      #! /bin/sh

      if [ $# -ne 2 ]
      then
      echo "pgpool_remote_start remote_host remote_datadir"
      exit 1
      fi

      DEST=$1
      DESTDIR=$2
      PGCTL=/usr/pgsql-9.4/bin/pg_ctl

      ssh -T $DEST $PGCTL -w -D $DESTDIR start 2>/dev/null 1>/dev/null < /dev/null &


      failover.sh script



      #!/bin/sh
      failed_node=$1
      new_master=$2
      (
      date
      echo "Failed node: $failed_node"
      set -x

      # Promote standby/slave to be a new master (old master failed)
      /usr/bin/ssh -T -l postgres $new_master "/usr/pgsql-9.4/bin/repmgr -f /var/lib/pgsql/repmgr/repmgr.conf standby promote 2>/dev/null 1>/dev/null <&-"
      exit 0;
      ) 2>&1 | tee -a /tmp/pgpool_failover.log


      Help me with the procedure to automate the recovery of the failed node.

      Also let me know, for failover is it compulsory to use repmgr or we can do it without repmgr. Also specify any other method for failover without using Repmgr, its advantages and disadvantages over Repmgr.







      postgresql-9.4 centos pgpool repmgr






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Sep 9 '16 at 9:59







      yravi104

















      asked Sep 8 '16 at 16:51









      yravi104yravi104

      112




      112






















          1 Answer
          1






          active

          oldest

          votes


















          0














          It is as designed: when pgpool does the failover, the failed master is ejected from the pool so that there is a protection against a split-brain. If the failed master comes back again (degenrated master), pgpool will not automatically perform the recovery operation. You have to manually execute the command pcp_recovery_node command.



          If you want to automate this, then you can have a cron job running on each database, this cron would check the status of the database and when it detects a degenerated master it would execute the pcp_recovery_node command. This script can also take care of re-attaching failed standby databases (when a standby fails, pgpool ejects it from the pool and it does not re-attach it when the standby comes back).



          I did something like that, it is a bit tricky, you must make sure that the script is never executed twice, for example if the cron interval is shorted than the time to perform the recovery (have a mechanism of a pid file to protect agains that). Otherwise it works.



          As for repmgr, I use their scripts to perform failover, recovery, etc. but I don't use repmgrd to automate the failover, I found it safer to have the automatic failover done by pgpool.






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "182"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f149131%2fautomatic-recovery-of-the-failed-postgresql-master-node-is-not-working-with-pgpo%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            It is as designed: when pgpool does the failover, the failed master is ejected from the pool so that there is a protection against a split-brain. If the failed master comes back again (degenrated master), pgpool will not automatically perform the recovery operation. You have to manually execute the command pcp_recovery_node command.



            If you want to automate this, then you can have a cron job running on each database, this cron would check the status of the database and when it detects a degenerated master it would execute the pcp_recovery_node command. This script can also take care of re-attaching failed standby databases (when a standby fails, pgpool ejects it from the pool and it does not re-attach it when the standby comes back).



            I did something like that, it is a bit tricky, you must make sure that the script is never executed twice, for example if the cron interval is shorted than the time to perform the recovery (have a mechanism of a pid file to protect agains that). Otherwise it works.



            As for repmgr, I use their scripts to perform failover, recovery, etc. but I don't use repmgrd to automate the failover, I found it safer to have the automatic failover done by pgpool.






            share|improve this answer




























              0














              It is as designed: when pgpool does the failover, the failed master is ejected from the pool so that there is a protection against a split-brain. If the failed master comes back again (degenrated master), pgpool will not automatically perform the recovery operation. You have to manually execute the command pcp_recovery_node command.



              If you want to automate this, then you can have a cron job running on each database, this cron would check the status of the database and when it detects a degenerated master it would execute the pcp_recovery_node command. This script can also take care of re-attaching failed standby databases (when a standby fails, pgpool ejects it from the pool and it does not re-attach it when the standby comes back).



              I did something like that, it is a bit tricky, you must make sure that the script is never executed twice, for example if the cron interval is shorted than the time to perform the recovery (have a mechanism of a pid file to protect agains that). Otherwise it works.



              As for repmgr, I use their scripts to perform failover, recovery, etc. but I don't use repmgrd to automate the failover, I found it safer to have the automatic failover done by pgpool.






              share|improve this answer


























                0












                0








                0







                It is as designed: when pgpool does the failover, the failed master is ejected from the pool so that there is a protection against a split-brain. If the failed master comes back again (degenrated master), pgpool will not automatically perform the recovery operation. You have to manually execute the command pcp_recovery_node command.



                If you want to automate this, then you can have a cron job running on each database, this cron would check the status of the database and when it detects a degenerated master it would execute the pcp_recovery_node command. This script can also take care of re-attaching failed standby databases (when a standby fails, pgpool ejects it from the pool and it does not re-attach it when the standby comes back).



                I did something like that, it is a bit tricky, you must make sure that the script is never executed twice, for example if the cron interval is shorted than the time to perform the recovery (have a mechanism of a pid file to protect agains that). Otherwise it works.



                As for repmgr, I use their scripts to perform failover, recovery, etc. but I don't use repmgrd to automate the failover, I found it safer to have the automatic failover done by pgpool.






                share|improve this answer













                It is as designed: when pgpool does the failover, the failed master is ejected from the pool so that there is a protection against a split-brain. If the failed master comes back again (degenrated master), pgpool will not automatically perform the recovery operation. You have to manually execute the command pcp_recovery_node command.



                If you want to automate this, then you can have a cron job running on each database, this cron would check the status of the database and when it detects a degenerated master it would execute the pcp_recovery_node command. This script can also take care of re-attaching failed standby databases (when a standby fails, pgpool ejects it from the pool and it does not re-attach it when the standby comes back).



                I did something like that, it is a bit tricky, you must make sure that the script is never executed twice, for example if the cron interval is shorted than the time to perform the recovery (have a mechanism of a pid file to protect agains that). Otherwise it works.



                As for repmgr, I use their scripts to perform failover, recovery, etc. but I don't use repmgrd to automate the failover, I found it safer to have the automatic failover done by pgpool.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 4 hours ago









                SauleSaule

                1653




                1653






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Database Administrators Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f149131%2fautomatic-recovery-of-the-failed-postgresql-master-node-is-not-working-with-pgpo%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Szabolcs (Ungheria) Altri progetti | Menu di navigazione48°10′14.56″N 21°29′33.14″E /...

                    Discografia di Klaus Schulze Indice Album in studio | Album dal vivo | Singoli | Antologie | Colonne...

                    How to make inet_server_addr() return localhost in spite of ::1/128RETURN NEXT in Postgres FunctionConnect to...