pgpool-online-recovery
6 years agoneed separate cases for DEAD and SHUTDOWN edozvola-watchdog
Dobrica Pavlinusic [Sat, 16 Sep 2017 15:09:06 +0000 (17:09 +0200)]
need separate cases for DEAD and SHUTDOWN

6 years agobetter pgpool recovery
Dobrica Pavlinusic [Fri, 15 Sep 2017 16:42:01 +0000 (18:42 +0200)]
better pgpool recovery

6 years agofix pgpool down, check replication and add node
Dobrica Pavlinusic [Fri, 15 Sep 2017 16:26:35 +0000 (18:26 +0200)]
fix pgpool down, check replication and add node

6 years agoadded watchdog info
Dobrica Pavlinusic [Fri, 15 Sep 2017 05:44:25 +0000 (07:44 +0200)]
added watchdog info

6 years agorestart pgpool on-failure
Dobrica Pavlinusic [Thu, 14 Sep 2017 19:11:42 +0000 (21:11 +0200)]
restart pgpool on-failure

6 years agoadded timestamp to test database
Dobrica Pavlinusic [Thu, 14 Sep 2017 17:33:29 +0000 (19:33 +0200)]
added timestamp to test database

6 years agomodified pgpool.service to cleanup before start
Dobrica Pavlinusic [Thu, 14 Sep 2017 17:32:45 +0000 (19:32 +0200)]
modified pgpool.service to cleanup before start

6 years agoload_balance_mode warning
Dobrica Pavlinusic [Thu, 14 Sep 2017 15:08:36 +0000 (17:08 +0200)]
load_balance_mode warning

6 years agostop pgpool if it exists, otherwise install it
Dobrica Pavlinusic [Thu, 14 Sep 2017 15:04:55 +0000 (17:04 +0200)]
stop pgpool if it exists, otherwise install it

6 years agowarning about load balance and insert/select without transactions
Dobrica Pavlinusic [Thu, 14 Sep 2017 15:03:32 +0000 (17:03 +0200)]
warning about load balance and insert/select without transactions

6 years agorecovery experiment
Dobrica Pavlinusic [Wed, 13 Sep 2017 16:39:47 +0000 (18:39 +0200)]
recovery experiment

Not really working, since heartbeat interferes with heavy hand of
online-recovery which likes to restart postgresql servers which makes
pgpool unhappy and it dies

6 years agohow to achieve more consistency with more nodes
Dobrica Pavlinusic [Wed, 13 Sep 2017 16:22:10 +0000 (18:22 +0200)]
how to achieve more consistency with more nodes

6 years agoshow all pcp commands without any params
Dobrica Pavlinusic [Wed, 13 Sep 2017 15:49:26 +0000 (17:49 +0200)]
show all pcp commands without any params

6 years agoquery pgpool to find master node
Dobrica Pavlinusic [Wed, 13 Sep 2017 15:42:20 +0000 (17:42 +0200)]
query pgpool to find master node

6 years agoexecute pcp commands on virutal_ip
Dobrica Pavlinusic [Wed, 13 Sep 2017 15:25:09 +0000 (17:25 +0200)]
execute pcp commands on virutal_ip

6 years agoupgrade pgpool to 3.6.6
Dobrica Pavlinusic [Wed, 13 Sep 2017 13:25:56 +0000 (15:25 +0200)]
upgrade pgpool to 3.6.6

6 years agossh skip strict host checking - failover now works
Dobrica Pavlinusic [Wed, 13 Sep 2017 08:27:04 +0000 (10:27 +0200)]
ssh skip strict host checking - failover now works

6 years agoverified that install on clean machines work
Dobrica Pavlinusic [Fri, 1 Sep 2017 07:23:30 +0000 (09:23 +0200)]
verified that install on clean machines work

6 years agoit's safe to assume that virtual ip is always at master
Dobrica Pavlinusic [Thu, 31 Aug 2017 13:49:41 +0000 (15:49 +0200)]
it's safe to assume that virtual ip is always at master

6 years agoall queries via pgpool 10.200.1.60:9999
Dobrica Pavlinusic [Thu, 31 Aug 2017 13:43:10 +0000 (15:43 +0200)]
all queries via pgpool 10.200.1.60:9999

6 years agofix persmission for postgres use to execute online-recovery
Dobrica Pavlinusic [Wed, 30 Aug 2017 16:39:25 +0000 (18:39 +0200)]
fix persmission for postgres use to execute online-recovery

6 years agoinit /tmp/postgres_master for online-recovery.sh
Dobrica Pavlinusic [Wed, 30 Aug 2017 16:20:24 +0000 (18:20 +0200)]
init /tmp/postgres_master for online-recovery.sh

6 years agopcp.conf and .pcppass file with correct permissions
Dobrica Pavlinusic [Wed, 30 Aug 2017 16:19:36 +0000 (18:19 +0200)]
pcp.conf and .pcppass file with correct permissions

6 years agotweak numbers for faster pgpool response
Dobrica Pavlinusic [Wed, 30 Aug 2017 15:46:23 +0000 (17:46 +0200)]
tweak numbers for faster pgpool response

6 years agoclear left-over pgpool sockets in /tmp
Dobrica Pavlinusic [Wed, 30 Aug 2017 09:57:49 +0000 (11:57 +0200)]
clear left-over pgpool sockets in /tmp

This prevents startup of pgpool after unclean crush

6 years agocleanup
Dobrica Pavlinusic [Wed, 30 Aug 2017 09:53:15 +0000 (11:53 +0200)]
cleanup

6 years agoenable postgresql-9.6 and pgpool systemd units
Dobrica Pavlinusic [Wed, 30 Aug 2017 09:52:11 +0000 (11:52 +0200)]
enable postgresql-9.6 and pgpool systemd units

6 years agodocument other_pgpool_portX from pgpool-general mailing list
Dobrica Pavlinusic [Wed, 30 Aug 2017 09:46:00 +0000 (11:46 +0200)]
document other_pgpool_portX from pgpool-general mailing list

6 years agoworking watchdog communication between pgpools
Dobrica Pavlinusic [Wed, 30 Aug 2017 09:26:16 +0000 (11:26 +0200)]
working watchdog communication between pgpools

6 years agouse ip to manage virtual IP
Dobrica Pavlinusic [Wed, 30 Aug 2017 08:24:44 +0000 (10:24 +0200)]
use ip to manage virtual IP

6 years agoworking virtual IP for pgpool
Dobrica Pavlinusic [Tue, 29 Aug 2017 14:14:27 +0000 (16:14 +0200)]
working virtual IP for pgpool

6 years agotry to config two pgpools and watchdog, non-working for now
Dobrica Pavlinusic [Tue, 29 Aug 2017 12:25:05 +0000 (14:25 +0200)]
try to config two pgpools and watchdog, non-working for now

6 years agoremoved pgpool node, split scripts
Dobrica Pavlinusic [Tue, 29 Aug 2017 10:52:56 +0000 (12:52 +0200)]
removed pgpool node, split scripts

6 years agono need to change node id when doing failover for pgpool edozvola
Dobrica Pavlinusic [Tue, 29 Aug 2017 10:45:27 +0000 (12:45 +0200)]
no need to change node id when doing failover for pgpool

6 years agofix deployment and document root ssh authorization
Dobrica Pavlinusic [Mon, 28 Aug 2017 06:13:35 +0000 (08:13 +0200)]
fix deployment and document root ssh authorization

6 years agoreduce timeout
Dobrica Pavlinusic [Wed, 23 Aug 2017 10:02:54 +0000 (12:02 +0200)]
reduce timeout

6 years agoreport fake node as primary if unknown
Dobrica Pavlinusic [Wed, 23 Aug 2017 10:02:20 +0000 (12:02 +0200)]
report fake node as primary if unknown

6 years agoexample hosts file and use it to find primary ip
Dobrica Pavlinusic [Wed, 23 Aug 2017 09:51:26 +0000 (11:51 +0200)]
example hosts file and use it to find primary ip

6 years agotest killing slave, recovery, killing master
Dobrica Pavlinusic [Wed, 23 Aug 2017 07:05:08 +0000 (09:05 +0200)]
test killing slave, recovery, killing master

6 years agoinsert number tracking id sequence to detect missing inserts
Dobrica Pavlinusic [Wed, 23 Aug 2017 07:04:34 +0000 (09:04 +0200)]
insert number tracking id sequence to detect missing inserts

6 years agoreturn success (exit 0) instead of last test on end
Dobrica Pavlinusic [Wed, 23 Aug 2017 06:56:57 +0000 (08:56 +0200)]
return success (exit 0) instead of last test on end

6 years agohow to test and recover cluster
Dobrica Pavlinusic [Wed, 23 Aug 2017 04:48:30 +0000 (06:48 +0200)]
how to test and recover cluster

6 years agocheck streaming replication
Dobrica Pavlinusic [Wed, 23 Aug 2017 04:48:17 +0000 (06:48 +0200)]
check streaming replication

6 years agorestart just pgpool
Dobrica Pavlinusic [Wed, 23 Aug 2017 04:46:48 +0000 (06:46 +0200)]
restart just pgpool

6 years agorename init cluster to 1
Dobrica Pavlinusic [Tue, 22 Aug 2017 15:39:15 +0000 (17:39 +0200)]
rename init cluster to 1

6 years agoadded ssh deploy script
Dobrica Pavlinusic [Tue, 22 Aug 2017 15:38:00 +0000 (17:38 +0200)]
added ssh deploy script

6 years agobetter workflow to init cluster
Dobrica Pavlinusic [Tue, 22 Aug 2017 15:14:41 +0000 (17:14 +0200)]
better workflow to init cluster

6 years agocreate test insert/select load
Dobrica Pavlinusic [Tue, 22 Aug 2017 15:08:02 +0000 (17:08 +0200)]
create test insert/select load

6 years agoquery master for replication status
Dobrica Pavlinusic [Tue, 22 Aug 2017 15:05:06 +0000 (17:05 +0200)]
query master for replication status

6 years agodeduce primary ip adress and ask it for replication status
Dobrica Pavlinusic [Tue, 22 Aug 2017 14:28:43 +0000 (16:28 +0200)]
deduce primary ip adress and ask it for replication status

6 years agotemplate recovery file for master node
Dobrica Pavlinusic [Tue, 22 Aug 2017 14:27:50 +0000 (16:27 +0200)]
template recovery file for master node

6 years agodocument make push and make restart
Dobrica Pavlinusic [Tue, 22 Aug 2017 14:07:04 +0000 (16:07 +0200)]
document make push and make restart

6 years agodon't use PAGER so we won't stop on it
Dobrica Pavlinusic [Tue, 22 Aug 2017 14:06:49 +0000 (16:06 +0200)]
don't use PAGER so we won't stop on it

6 years agomake restart will force pgool to check if nodes are up or down
Dobrica Pavlinusic [Tue, 22 Aug 2017 14:06:23 +0000 (16:06 +0200)]
make restart will force pgool to check if nodes are up or down

6 years agomuch smaller timeouts and delays to faster detect failover
Dobrica Pavlinusic [Tue, 22 Aug 2017 14:05:44 +0000 (16:05 +0200)]
much smaller timeouts and delays to faster detect failover

6 years agomake sure that optional things don't fail due to sh -e
Dobrica Pavlinusic [Tue, 22 Aug 2017 14:05:12 +0000 (16:05 +0200)]
make sure that optional things don't fail due to sh -e

6 years agoignore psql PAGER
Dobrica Pavlinusic [Tue, 22 Aug 2017 11:50:26 +0000 (13:50 +0200)]
ignore psql PAGER

6 years agoremove warnings about unreadable current dir
Dobrica Pavlinusic [Tue, 22 Aug 2017 08:16:51 +0000 (10:16 +0200)]
remove warnings about unreadable current dir

6 years agocreate test database
Dobrica Pavlinusic [Tue, 22 Aug 2017 08:09:27 +0000 (10:09 +0200)]
create test database

6 years agowait for replication to start
Dobrica Pavlinusic [Tue, 22 Aug 2017 08:08:59 +0000 (10:08 +0200)]
wait for replication to start

6 years agoworking cluster init with three nodes
Dobrica Pavlinusic [Tue, 22 Aug 2017 07:11:31 +0000 (09:11 +0200)]
working cluster init with three nodes

6 years agosend log to syslog
Dobrica Pavlinusic [Mon, 21 Aug 2017 18:32:17 +0000 (20:32 +0200)]
send log to syslog

6 years agodeploy config on nodes
Dobrica Pavlinusic [Mon, 21 Aug 2017 17:36:40 +0000 (19:36 +0200)]
deploy config on nodes

6 years agosystemctl actions require sudo but is-active works across network
Dobrica Pavlinusic [Mon, 21 Aug 2017 16:43:22 +0000 (18:43 +0200)]
systemctl actions require sudo but is-active works across network

6 years agoport script to Centos7, PostgreSQL 9.6, pgpool v3.6.5 and systemd
Dobrica Pavlinusic [Mon, 21 Aug 2017 15:49:13 +0000 (17:49 +0200)]
port script to Centos7, PostgreSQL 9.6, pgpool v3.6.5 and systemd

9 years agoMerge pull request #4 from meswapnilwagh/patch-1 master
Ahmed Bessifi [Tue, 4 Nov 2014 08:27:57 +0000 (09:27 +0100)]
Merge pull request #4 from meswapnilwagh/patch-1

Update README.md

9 years agoUpdate README.md
Swapnil A. Wagh [Tue, 4 Nov 2014 07:22:26 +0000 (12:52 +0530)]
Update README.md

9 years agobugfix #3
abessifi [Sat, 1 Nov 2014 15:16:49 +0000 (16:16 +0100)]
bugfix #3

10 years agoUpdate README.md
Ahmed Bessifi [Sun, 2 Feb 2014 20:39:11 +0000 (14:39 -0600)]
Update README.md

10 years agoUpdate README.md
Ahmed Bessifi [Sun, 19 Jan 2014 13:54:09 +0000 (07:54 -0600)]
Update README.md

10 years agoUpdate README.md
Ahmed Bessifi [Sun, 19 Jan 2014 12:53:48 +0000 (06:53 -0600)]
Update README.md

10 years agoAdd installation section to README.md
Ahmed [Sun, 19 Jan 2014 04:02:12 +0000 (22:02 -0600)]
Add installation section to README.md

10 years agoUpdate README.md
Ahmed Bessifi [Sat, 18 Jan 2014 15:06:36 +0000 (09:06 -0600)]
Update README.md

10 years agoAdd requirements section to README.md
Ahmed [Sat, 18 Jan 2014 22:05:12 +0000 (16:05 -0600)]
Add requirements section to README.md

10 years agoremove unused checkPostgres function
Ahmed [Sat, 18 Jan 2014 03:51:56 +0000 (21:51 -0600)]
remove unused checkPostgres function

10 years agoInitialize project
Ahmed [Tue, 14 Jan 2014 06:16:35 +0000 (00:16 -0600)]
Initialize project

10 years agoInitial commit
Ahmed Bessifi [Mon, 13 Jan 2014 15:55:29 +0000 (07:55 -0800)]
Initial commit