Skip site navigation (1) Skip section navigation (2)

about postgres-r setup.

From: leiyonghua <leiyonghua(at)alibaba-inc(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: about postgres-r setup.
Date: 2008-07-28 10:41:30
Message-ID: 488DA25A.30406@alibaba-inc.com (view raw or flat)
Thread:
Lists: pgsql-hackers
hi,
i have setup a postgres-r environment, including two nodes, and
1) the Ensemble daemon run with default configure (means no command options)
2) set the internal variable
repl_default_gcs = 'ensemble'
at postgresql.conf
3) all initial sql script initialized at node1 and node2 as follows:
create database data;
\c data;
create table foo (id serial primary key, n text);
4) execute sql:
alter database data start replication in group tst;

at node1, and seems everything is ok:

NOTICE: Applying for membership in the communication group...
NOTICE: Successfully started replication.
ALTER DATABASE

5)execute sql:
alter database data accept replication from group tst;

at node2, and the psql command is hung up,

NOTICE: Applying for membership in the communication group...
NOTICE: Successfully joined the replication group. Now recovering schema...

so, i dont know what happened, pls give me some advice.

thanks.

best,
leiyonghua

Responses

pgsql-hackers by date

Next:From: Zdenek KotalaDate: 2008-07-28 11:32:54
Subject: Re: Review: DTrace probes (merged version) ver_03
Previous:From: Zdenek KotalaDate: 2008-07-28 10:27:43
Subject: Re: Review: DTrace probes (merged version) ver_03

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group