You can subscribe to this list here.
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
(6) |
Sep
|
Oct
(19) |
Nov
(1) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2011 |
Jan
(12) |
Feb
(1) |
Mar
(4) |
Apr
(4) |
May
(32) |
Jun
(12) |
Jul
(11) |
Aug
(1) |
Sep
(6) |
Oct
(3) |
Nov
|
Dec
(10) |
2012 |
Jan
(11) |
Feb
(1) |
Mar
(3) |
Apr
(25) |
May
(53) |
Jun
(38) |
Jul
(103) |
Aug
(54) |
Sep
(31) |
Oct
(66) |
Nov
(77) |
Dec
(20) |
2013 |
Jan
(91) |
Feb
(86) |
Mar
(103) |
Apr
(107) |
May
(25) |
Jun
(37) |
Jul
(17) |
Aug
(59) |
Sep
(38) |
Oct
(78) |
Nov
(29) |
Dec
(15) |
2014 |
Jan
(23) |
Feb
(82) |
Mar
(118) |
Apr
(101) |
May
(103) |
Jun
(45) |
Jul
(6) |
Aug
(10) |
Sep
|
Oct
(32) |
Nov
|
Dec
(9) |
2015 |
Jan
(3) |
Feb
(5) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
(9) |
Aug
(4) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
2016 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(4) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
|
|
1
(6) |
2
|
3
|
4
|
5
|
6
|
7
(5) |
8
(1) |
9
|
10
|
11
(2) |
12
|
13
(7) |
14
|
15
(6) |
16
(1) |
17
|
18
(9) |
19
(10) |
20
(3) |
21
(6) |
22
(6) |
23
|
24
|
25
(20) |
26
(1) |
27
(1) |
28
(2) |
|
|
From: Koichi S. <koi...@gm...> - 2013-02-22 08:24:05
|
Thanks Michael for the advice. For more tips you should do, please look into a bash script pgxc_ctl available at https://github.com/koichi-szk/PGXC-Tools/tree/master/pgxc_ctl Regards; ---------- Koichi Suzuki 2013/2/22 Michael Paquier <mic...@gm...>: > > > On Fri, Feb 22, 2013 at 2:29 PM, kushal <kus...@gm...> wrote: >> >> Hi >> >> I am trying to create a setup with 2 coordinators and 2 datanodes on one >> server. I am able to get the gtm and nodes up and running. >> >> Ports: >> Data Node 1: 15442 >> Data Node 2: 15443 >> Coordinator 1: 15432 >> Coordinator 1: 15433 >> >> Next I did 'psql -p 15432 postgres' and created two datanodes >> CREATE NODE dn1 WITH (TYPE='datanode', PORT=15442); >> CREATE NODE dn2 WITH (TYPE='datanode', PORT=15443); >> >> After that I create one database: 'Create database mydb' >> >> Now I can see mydb database on datanodes 1 and 2 and coordinator 1. >> Also I can see the datanode 1 and 2 when I execute 'select * from >> pgxc_node' on coordinator 1. >> >> But mydb database does not exist and datanodes 1 and 2 are not present in >> pgxc_node table on coordinator 2. >> >> Is there anything I have missed? > > Yes, 2 things: > - You have 2 Coordinators, so you need also to register Coordinator 2 on > Coordinator 1 like that: > psql -p 15432 -c "CREATE NODE coord2 WITH (TYPE='coordinator', PORT=15433)" > And register Coordinator 1 on Coordinator 2 like that: > psql -p 15433 -c "CREATE NODE coord1 WITH (TYPE='coordinator', PORT=15432)" > - 2nd thing you forgot is to run this command on each Coordinator: > select pgxc_pool_reload(); > This updates the pooler cache located on each Coordinator with latest node > information. > >> I think this might be a very basic thing and I am sorry to bother you >> guys. I tried and failed to search through the xc mailing lists for older >> posts on similar topic. Is there a way to quickly filter the older posts for >> quick check? > > Everything's here: > http://sourceforge.net/search/?group_id=311227&type_of_search=mlists&source=navbar > -- > Michael > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > Postgres-xc-general mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-general > |
From: kushal <kus...@gm...> - 2013-02-22 07:28:01
|
Thanks Michael. It worked. On 22 February 2013 12:35, Michael Paquier <mic...@gm...>wrote: > > > On Fri, Feb 22, 2013 at 3:45 PM, kushal <kus...@gm...> wrote: > >> Its still not working. So here is what I have done. I dropped mydb >> database. I dropped data nodes from both coordinators. >> Then I ran: >> psql -p 15432 -c "CREATE NODE coord2 WITH (TYPE='coordinator', >> PORT=15433)" >> psql -p 15433 -c "CREATE NODE coord1 WITH (TYPE='coordinator', >> PORT=15432)" >> select pgxc_pool_reload(); on each coordinator >> >> Then I created datanode 1 on coord1. >> Again I ran select pgxc_pool_reload(); on each coordinator. Still I >> cannot see datanode1 entry on coordinator 2. >> > Meh? I don't really think you understood what I was explaining. You need > to create *all* the remote nodes on each Coordinator. > So on Coordinator 1: create Co2, Dn1 and Dn2. > and on Coordinator 2: create Co1, Dn1 and Dn2. > > So... > Here is what you need to launch as commands on your server: > # Register Coordinators on each other Coordinator > > psql -p 15432 -c "CREATE NODE coord2 WITH (TYPE='coordinator', PORT=15433)" > psql -p 15433 -c "CREATE NODE coord1 WITH (TYPE='coordinator', > PORT=15432)" > # Register Datanodes on Coordinator 1 and update cache > psql -p 15432 -c "CREATE NODE dn1 WITH (TYPE='datanode', PORT=15442)" > psql -p 15432 -c "CREATE NODE dn2 WITH (TYPE='datanode', PORT=15443)" > psql -p 15432 -c "select pgxc_pool_reload()" > # Register Datanodes on Coordinator 2 and update cache > psql -p 15433 -c "CREATE NODE dn1 WITH (TYPE='datanode', PORT=15442)" > psql -p 15433 -c "CREATE NODE dn2 WITH (TYPE='datanode', PORT=15443)" > psql -p 15433 -c "select pgxc_pool_reload()" > > And you are done. > > >> Also I noticed that under the table pgxc_node on coord1, there is an >> entry for coord1 with port as 5432, whereas the actual port for coord1 is >> 15432. >> > Don't worry about that this is a dummy entry. > > >> Similarly on coord2, the self port under pgxc_node is 5432, but actual >> value is 15433. I am not sure whether this is ok. >> > This is perfectly fine. You could still use ALTER NODE to update the port > value to your needs, but this is not necessary at all as a node is not > going to connect to itself > -- > Michael > |
From: Michael P. <mic...@gm...> - 2013-02-22 07:05:30
|
On Fri, Feb 22, 2013 at 3:45 PM, kushal <kus...@gm...> wrote: > Its still not working. So here is what I have done. I dropped mydb > database. I dropped data nodes from both coordinators. > Then I ran: > psql -p 15432 -c "CREATE NODE coord2 WITH (TYPE='coordinator', PORT=15433)" > psql -p 15433 -c "CREATE NODE coord1 WITH (TYPE='coordinator', PORT=15432)" > select pgxc_pool_reload(); on each coordinator > > Then I created datanode 1 on coord1. > Again I ran select pgxc_pool_reload(); on each coordinator. Still I cannot > see datanode1 entry on coordinator 2. > Meh? I don't really think you understood what I was explaining. You need to create *all* the remote nodes on each Coordinator. So on Coordinator 1: create Co2, Dn1 and Dn2. and on Coordinator 2: create Co1, Dn1 and Dn2. So... Here is what you need to launch as commands on your server: # Register Coordinators on each other Coordinator psql -p 15432 -c "CREATE NODE coord2 WITH (TYPE='coordinator', PORT=15433)" psql -p 15433 -c "CREATE NODE coord1 WITH (TYPE='coordinator', PORT=15432)" # Register Datanodes on Coordinator 1 and update cache psql -p 15432 -c "CREATE NODE dn1 WITH (TYPE='datanode', PORT=15442)" psql -p 15432 -c "CREATE NODE dn2 WITH (TYPE='datanode', PORT=15443)" psql -p 15432 -c "select pgxc_pool_reload()" # Register Datanodes on Coordinator 2 and update cache psql -p 15433 -c "CREATE NODE dn1 WITH (TYPE='datanode', PORT=15442)" psql -p 15433 -c "CREATE NODE dn2 WITH (TYPE='datanode', PORT=15443)" psql -p 15433 -c "select pgxc_pool_reload()" And you are done. > Also I noticed that under the table pgxc_node on coord1, there is an entry > for coord1 with port as 5432, whereas the actual port for coord1 is 15432. > Don't worry about that this is a dummy entry. > Similarly on coord2, the self port under pgxc_node is 5432, but actual > value is 15433. I am not sure whether this is ok. > This is perfectly fine. You could still use ALTER NODE to update the port value to your needs, but this is not necessary at all as a node is not going to connect to itself -- Michael |
From: kushal <kus...@gm...> - 2013-02-22 06:45:56
|
Its still not working. So here is what I have done. I dropped mydb database. I dropped data nodes from both coordinators. Then I ran: psql -p 15432 -c "CREATE NODE coord2 WITH (TYPE='coordinator', PORT=15433)" psql -p 15433 -c "CREATE NODE coord1 WITH (TYPE='coordinator', PORT=15432)" select pgxc_pool_reload(); on each coordinator Then I created datanode 1 on coord1. Again I ran select pgxc_pool_reload(); on each coordinator. Still I cannot see datanode1 entry on coordinator 2. Also I noticed that under the table pgxc_node on coord1, there is an entry for coord1 with port as 5432, whereas the actual port for coord1 is 15432. Similarly on coord2, the self port under pgxc_node is 5432, but actual value is 15433. I am not sure whether this is ok. Regards Kushal On 22 February 2013 11:37, Michael Paquier <mic...@gm...>wrote: > > > On Fri, Feb 22, 2013 at 2:29 PM, kushal <kus...@gm...> wrote: > >> Hi >> >> I am trying to create a setup with 2 coordinators and 2 datanodes on one >> server. I am able to get the gtm and nodes up and running. >> >> Ports: >> Data Node 1: 15442 >> Data Node 2: 15443 >> Coordinator 1: 15432 >> Coordinator 1: 15433 >> >> Next I did 'psql -p 15432 postgres' and created two datanodes >> CREATE NODE dn1 WITH (TYPE='datanode', PORT=15442); >> CREATE NODE dn2 WITH (TYPE='datanode', PORT=15443); >> >> After that I create one database: 'Create database mydb' >> >> Now I can see mydb database on datanodes 1 and 2 and coordinator 1. >> Also I can see the datanode 1 and 2 when I execute 'select * from >> pgxc_node' on coordinator 1. >> >> But mydb database does not exist and datanodes 1 and 2 are not present in >> pgxc_node table on coordinator 2. >> >> Is there anything I have missed? >> > Yes, 2 things: > - You have 2 Coordinators, so you need also to register Coordinator 2 on > Coordinator 1 like that: > psql -p 15432 -c "CREATE NODE coord2 WITH (TYPE='coordinator', PORT=15433)" > And register Coordinator 1 on Coordinator 2 like that: > psql -p 15433 -c "CREATE NODE coord1 WITH (TYPE='coordinator', PORT=15432)" > - 2nd thing you forgot is to run this command on each Coordinator: > select pgxc_pool_reload(); > This updates the pooler cache located on each Coordinator with latest node > information. > > I think this might be a very basic thing and I am sorry to bother you >> guys. I tried and failed to search through the xc mailing lists for older >> posts on similar topic. Is there a way to quickly filter the older posts >> for quick check? >> > Everything's here: > > http://sourceforge.net/search/?group_id=311227&type_of_search=mlists&source=navbar > -- > Michael > |
From: Michael P. <mic...@gm...> - 2013-02-22 06:07:39
|
On Fri, Feb 22, 2013 at 2:29 PM, kushal <kus...@gm...> wrote: > Hi > > I am trying to create a setup with 2 coordinators and 2 datanodes on one > server. I am able to get the gtm and nodes up and running. > > Ports: > Data Node 1: 15442 > Data Node 2: 15443 > Coordinator 1: 15432 > Coordinator 1: 15433 > > Next I did 'psql -p 15432 postgres' and created two datanodes > CREATE NODE dn1 WITH (TYPE='datanode', PORT=15442); > CREATE NODE dn2 WITH (TYPE='datanode', PORT=15443); > > After that I create one database: 'Create database mydb' > > Now I can see mydb database on datanodes 1 and 2 and coordinator 1. > Also I can see the datanode 1 and 2 when I execute 'select * from > pgxc_node' on coordinator 1. > > But mydb database does not exist and datanodes 1 and 2 are not present in > pgxc_node table on coordinator 2. > > Is there anything I have missed? > Yes, 2 things: - You have 2 Coordinators, so you need also to register Coordinator 2 on Coordinator 1 like that: psql -p 15432 -c "CREATE NODE coord2 WITH (TYPE='coordinator', PORT=15433)" And register Coordinator 1 on Coordinator 2 like that: psql -p 15433 -c "CREATE NODE coord1 WITH (TYPE='coordinator', PORT=15432)" - 2nd thing you forgot is to run this command on each Coordinator: select pgxc_pool_reload(); This updates the pooler cache located on each Coordinator with latest node information. I think this might be a very basic thing and I am sorry to bother you guys. > I tried and failed to search through the xc mailing lists for older posts > on similar topic. Is there a way to quickly filter the older posts for > quick check? > Everything's here: http://sourceforge.net/search/?group_id=311227&type_of_search=mlists&source=navbar -- Michael |
From: kushal <kus...@gm...> - 2013-02-22 05:30:02
|
Hi I am trying to create a setup with 2 coordinators and 2 datanodes on one server. I am able to get the gtm and nodes up and running. Ports: Data Node 1: 15442 Data Node 2: 15443 Coordinator 1: 15432 Coordinator 1: 15433 Next I did 'psql -p 15432 postgres' and created two datanodes CREATE NODE dn1 WITH (TYPE='datanode', PORT=15442); CREATE NODE dn2 WITH (TYPE='datanode', PORT=15443); After that I create one database: 'Create database mydb' Now I can see mydb database on datanodes 1 and 2 and coordinator 1. Also I can see the datanode 1 and 2 when I execute 'select * from pgxc_node' on coordinator 1. But mydb database does not exist and datanodes 1 and 2 are not present in pgxc_node table on coordinator 2. Is there anything I have missed? I think this might be a very basic thing and I am sorry to bother you guys. I tried and failed to search through the xc mailing lists for older posts on similar topic. Is there a way to quickly filter the older posts for quick check? Thanks Kushal |