|
From: 鈴木 幸市 <ko...@in...> - 2014-06-10 01:02:17
|
We had similar report in the past. In this case, as you noticed, pg_hba.conf setting had some problem and setting up this correctly corrected the issue. If you set log_min_messages to DEBUG1 or higher at all the nodes, you may get better hints.
BTY, you can correct pgxc_node settings with ALTER NODE. Pgxc_ctl does this. Also, please make sure that you ran {CREATE|ALTER} NODE at all the nodes. Unlike other DDL, {CREATE | ALTER | DROP} NODE does not propagate to other nodes.
Regards;
---
Koichi Suzuki
2014/06/10 7:13、Wilkerson, Daniel <dwi...@fu...> のメール:
> Hi. I am trying to stand up a multi node cluster across multiple servers. The current configuration I have is one coordinator and two datanodes per server on 3 servers. Each has a GTM proxy configured. I have two more servers configured to be the GTM master and slave/standby.
>
> When executing create database in my cluster after all the config work (including the create node calls) I am getting the following error. ERROR: Failed to get pooled connections
> CONTEXT: SQL statement "EXECUTE DIRECT ON (cn2) 'SELECT pg_catalog.pg_try_advisory_xact_lock_shared(65535, 0)'"
>
> I noticed that the coordinator on each node is added as host = local host after using the initdb command to create the coordinator nodes. When executing the create node calls to add the other coordinators and datanodes to each other I am using the IP addresses of the servers instead; I have also tried the DNS names also with no luck.
>
> The output of pgxc_node from one of the cluster coordinator/datanodes looks like:
>
> oid | node_name | node_type | node_port | node_host | nodeis_primary | nodeis_preferred | node_id
> -------+-----------+-----------+-----------+--------------+----------------+------------------+-------------
> 11198 | cn1 | C | 5432 | localhost | f | f | -1178713634
> 16393 | cn2 | C | 5432 | xx.xx.40.11 | f | f | -1923125220
> 16394 | cn3 | C | 5432 | xx.xx.40.123 | f | f | 1101067607
> 16395 | dn1 | D | 15432 | xx.xx.33.198 | t | t | -560021589
> 16396 | dn2 | D | 15433 | xx.xx.33.198 | f | f | 352366662
> 16397 | dn3 | D | 15432 | xx.xx.40.11 | f | f | -700122826
> 16398 | dn4 | D | 15433 | xx.xx.40.11 | f | f | 823103418
> 16399 | dn5 | D | 15432 | xx.xx.40.123 | f | f | -1268658584
> 16400 | dn6 | D | 15433 | xx.xx.40.123 | f | f | -1765597067
>
> The entry with localhost was added after using the initdb command. I used it this way: initdb –D CN1 - - node name CN1
>
> The last troubleshooting step I tried as issuing and alter node to change the host of CN1 to it's IP instead of local host, but I get the ERROR: Failed to get pooled connections error there too. I have tried to reload the pool several times with select pgxc_pool_reload(); That didn't work either. I have added the entries in the pg_hba.conf for the two subnets and copied the hba file to all the servers and their nodes.
>
>
> Any help would be greatly appreciated. I'm certain it's something silly I did wrong in the cluster config, but am having trouble finding it. It's something very, very tiny I imagine. If there is any other config information needed let me know. Hope I've capture the most important bits.
>
> Thanks!
> dew
>
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> Postgres-xc-general mailing list
> Pos...@li...
> https://lists.sourceforge.net/lists/listinfo/postgres-xc-general
>
|