Project

General

Profile

Actions

Task #2227

closed

test replication tools for postgres

Added by Lucio Lelii about 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
_InfraScience Systems Engineer
Category:
High-Throughput-Computing
Target version:
Start date:
Feb 10, 2016
Due date:
% Done:

100%

Estimated time:
Infrastructure:
Development

Description

install and test one of the tools for postgreSQL replication reported here https://wiki.postgresql.org/wiki/Replication,_Clustering,_and_Connection_Pooling

Pgpool-II looks interesting


Related issues

Blocked by D4Science Infrastructure - Task #4144: Two VMs are needed to test the pgpool replication functionalitiesClosed_InfraScience Systems EngineerMay 31, 2016

Actions
Actions #1

Updated by Lucio Lelii about 9 years ago

Do you have any update on this ?

Actions #2

Updated by Pasquale Pagano about 9 years ago

  • Priority changed from Urgent to Immediate

@tommaso.piccioli@isti.cnr.it please react asap since we need to move forward on this activity.

Actions #3

Updated by Tommaso Piccioli about 9 years ago

  • % Done changed from 0 to 20

New empty VM created:

postgres1-d-d4s.d4science.org
postgres2-d-d4s.d4science.org

ubuntu 14.04

Actions #4

Updated by Andrea Dell'Amico about 9 years ago

  • Assignee changed from _InfraScience Systems Engineer to Andrea Dell'Amico

I'm taking it.

Actions #5

Updated by Andrea Dell'Amico about 9 years ago

  • Status changed from New to In Progress
Actions #6

Updated by Andrea Dell'Amico about 9 years ago

  • % Done changed from 20 to 40

pgpool II and postres are installed on both machines. I'm studying the pgpool configuration to make it usable.

Actions #7

Updated by Andrea Dell'Amico about 9 years ago

  • % Done changed from 40 to 50

pgpool is actually running on postgres1-d-d4s.d4science.org. It's configured to run on replication mode and the load balancer is active.

I don't have configured the cache memory yet, nor I did touch the connection pool parameters.
The failover capabilities are also not configured.

Actions #9

Updated by Andrea Dell'Amico about 9 years ago

  • % Done changed from 50 to 60

The pgpool main configuration file is now a template, and we have a set of tasks to configure the authentication.

Actions #10

Updated by Andrea Dell'Amico about 9 years ago

  • Status changed from In Progress to Feedback
Actions #11

Updated by Andrea Dell'Amico about 9 years ago

  • Status changed from Feedback to In Progress

The replication scripts need more testing. And we need some automated tools to remove the WAL archives regularly because they grow fast.

Actions #12

Updated by Andrea Dell'Amico almost 9 years ago

  • Assignee changed from Andrea Dell'Amico to _InfraScience Systems Engineer

I need two different VMs to test the replication without breaking the actual instances.

Actions #13

Updated by Andrea Dell'Amico almost 9 years ago

  • Blocked by Task #4144: Two VMs are needed to test the pgpool replication functionalities added
Actions #14

Updated by Andrea Dell'Amico almost 9 years ago

@lucio.lelii@isti.cnr.it I need a short downtime to update the pgpool configuration on those hosts to be identical to the one seen on #4144, otherwise the recovery is not going to work.

Actions #15

Updated by Lucio Lelii almost 9 years ago

you can restart the node with pgpool, we are not using it yet.

Actions #16

Updated by Andrea Dell'Amico almost 9 years ago

  • Status changed from In Progress to Feedback
  • % Done changed from 60 to 100

The two servers are now up to date.

Actions #17

Updated by Andrea Dell'Amico almost 9 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)