replication - Postgresql 9.4 and BDR SELECT bdr.bdr_group_join ERROR -


i'm trying configurate postgresql 9.4 bdr, have 2 servers master has address 169.254.9.90 , slave has address 169.254.12.48. have configurated master when try join slave replication i'm getting error:

command join:

select bdr.bdr_group_join(     local_node_name := 'node2',     node_external_dsn := 'host=169.254.12.48 port=5432 user=postgres dbname=amstest password=postgres',     join_using_dsn := 'host=169.254.9.90 port=5432 user=postgres dbname=amstest password=postgres' ); 

the error im getting is:

error: connection remote local in replication mode failed detail: remote reported: error: establish bdr: fatal: no pg_hba.conf entry replication connection host "169.254.9.90", user "postgres", ssl on fatal: no pg_hba.conf entry replication connection host "169.254.9.90", user "postgres", ssl off

detail: connection string 'replication=database fallback_application_name='bdr test connection' connect_timeout=30 keepalives=1 keepalives_idle=20 keepalives_interval=20 keepalives_count=5 host=169.254.12.48 port=5432 user=postgres dbname=amstest password=postgres'

context: sql statement "select *
bdr.bdr_test_remote_connectback(join_using_dsn, node_external_dsn)" pl/pgsql function bdr_group_join(text,text,text,text,integer,text[]) line 39 @ sql statement

could me please?

fatal: no pg_hba.conf entry replication connection host "169.254.9.90", user "postgres"

each node must able connect each other node, both replication , non-replication connections.

the newly joining node not have pg_hba.conf permits existing node specifying join target connect it.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -