Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

379
Visualizações
repmgr - recover from failed primary?

Hi all using repmgr to test some failover logic

Unsure what command is needed to recover from this situation:

repmgr -f /etc/repmgr.conf cluster show
 ID | Name | Role    | Status               | Upstream | Location | Priority | Timeline | Connection string                                                        
----+------+---------+----------------------+----------+----------+----------+----------+---------------------------------------------------------------------------
 1  | rep3 | primary | * running            |          | default  | 100      | 1        | xxx
 2  | 2    | standby | ! running as primary |          | default  | 100      | 2        | xxx

Series of events:

  • Primary alive
  • Standby alive
  • Primary shutdown
  • Standby promoted to primary
  • Primary started

We probably want to change the role of the old primary to become a standby now?

over 4 years ago · Santiago Trujillo
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda