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 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Zdenek Kotala | 2008-07-28 11:32:54 | Re: Review: DTrace probes (merged version) ver_03 |
Previous Message | Zdenek Kotala | 2008-07-28 10:27:43 | Re: Review: DTrace probes (merged version) ver_03 |