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
|
2
(1) |
3
(12) |
4
(2) |
5
(2) |
6
(13) |
7
(2) |
8
(1) |
9
(7) |
10
(7) |
11
(7) |
12
(2) |
13
(9) |
14
(11) |
15
(2) |
16
(2) |
17
(3) |
18
(4) |
19
(1) |
20
(7) |
21
(3) |
22
|
23
|
24
(7) |
25
(5) |
26
(5) |
27
(2) |
28
(1) |
29
|
30
|
31
|
|
|
|
|
|
From: 鈴木 幸市 <ko...@in...> - 2014-03-28 00:52:19
|
What do you mean by “multi master”? If you mean “multi master replication”, it is reasonable not to expect write scalability. XC will provide read scalability in this case though. XC’s write scalability is achieved by both GTM (Global XID) and the combination of table sharding and replication. Stable tables should be replaced, while frequentlly-updated tables should be shared. Hope your application matches XC. --- Koichi Suzuki 2014/03/27 20:24、Juned Khan <jkh...@gm...<mailto:jkh...@gm...>> のメール: Hi Koichi, As of now what i am trying to do is, i want to setup pgxc for one state. but in future this number of state will be increased upto five. I want to take the advantage multi-master functionality as well as data synchronization between all the states.with my application there will be 1000 of concurrent connections. For HA i am setting GTM master and slave if required i can setup slave for datanodes as well. from my application side i am thinking to use HearBeat for failover. i will only have one table in our application which will have billion of records. I am looking for such solution which satisfies multi-master and high-availability feature. this is th two feature is the main reason i want to use pgxc. Please suggest. Regards Juned Khan On Thu, Mar 27, 2014 at 8:49 AM, Koichi Suzuki <koi...@gm...<mailto:koi...@gm...>> wrote: Juned; I'd like to know what kind of cluster you need to configure. Also would like to know if your application is OLTP, batch or analytic, as well as what XC feature you'd like. If it is OLTP, how much transactions your are handling and if each transaction is as simple as DBT-1/DBT-2 or bit more complicated as DBT-5. You're trying to add datanodes so I imaged you're trying to start small and then expand the cluster. I'd like to know how your application is growing in size and transaction. Also, I'd like to know how much HA feature you need and what kind of automatic failover tool you are planning to use. They are always very important points when you choose most suitable database for your application. They are very important to think in advance and if you can share these (not what is your application, but the above characteristics), we may be able to provide more suitable information to you. Best Regards --- Koichi Suzuki 2014-03-26 22:00 GMT+09:00 Mason Sharp <ms...@tr...<mailto:ms...@tr...>>: > > > > On Wed, Mar 26, 2014 at 8:49 AM, Juned Khan <jkh...@gm...<mailto:jkh...@gm...>> wrote: >> >> Hi Mason >> >> That is correct mailing list helped me a lot, and i am very thankful to >> everyone. >> >> Yeah earlier i have asked about this requirement and received good >> response and advices >> but the point which you have mentioned that is noticeable, i can not >> ignore that >> >> i should think about this many points before moving ahead. >> > > BTW, I did not mean to discouarge you... I just did not want you to try to > use XC for a solution where it is not a good fit (or, not a good fit without > some custom development work) and end up saying that Postgres-XC is not good > in general. > > -- > Mason Sharp > > TransLattice - http://www.translattice.com<http://www.translattice.com/> > Distributed and Clustered Database Solutions > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > Postgres-xc-general mailing list > Pos...@li...<mailto:Pos...@li...> > https://lists.sourceforge.net/lists/listinfo/postgres-xc-general > -- Thanks, Juned Khan iNextrix Technologies Pvt Ltd. www.inextrix.com<http://www.inextrix.com/> ------------------------------------------------------------------------------ _______________________________________________ Postgres-xc-general mailing list Pos...@li...<mailto:Pos...@li...> https://lists.sourceforge.net/lists/listinfo/postgres-xc-general |
From: Juned K. <jkh...@gm...> - 2014-03-27 11:24:33
|
Hi Koichi, As of now what i am trying to do is, i want to setup pgxc for one state. but in future this number of state will be increased upto five. I want to take the advantage multi-master functionality as well as data synchronization between all the states.with my application there will be 1000 of concurrent connections. For HA i am setting GTM master and slave if required i can setup slave for datanodes as well. from my application side i am thinking to use HearBeat for failover. i will only have one table in our application which will have billion of records. I am looking for such solution which satisfies multi-master and high-availability feature. this is th two feature is the main reason i want to use pgxc. Please suggest. Regards Juned Khan On Thu, Mar 27, 2014 at 8:49 AM, Koichi Suzuki <koi...@gm...>wrote: > Juned; > > I'd like to know what kind of cluster you need to configure. Also > would like to know if your application is OLTP, batch or analytic, as > well as what XC feature you'd like. If it is OLTP, how much > transactions your are handling and if each transaction is as simple as > DBT-1/DBT-2 or bit more complicated as DBT-5. > > You're trying to add datanodes so I imaged you're trying to start > small and then expand the cluster. I'd like to know how your > application is growing in size and transaction. > > Also, I'd like to know how much HA feature you need and what kind of > automatic failover tool you are planning to use. > > They are always very important points when you choose most suitable > database for your application. > > They are very important to think in advance and if you can share these > (not what is your application, but the above characteristics), we may > be able to provide more suitable information to you. > > Best Regards > --- > Koichi Suzuki > > > 2014-03-26 22:00 GMT+09:00 Mason Sharp <ms...@tr...>: > > > > > > > > On Wed, Mar 26, 2014 at 8:49 AM, Juned Khan <jkh...@gm...> wrote: > >> > >> Hi Mason > >> > >> That is correct mailing list helped me a lot, and i am very thankful to > >> everyone. > >> > >> Yeah earlier i have asked about this requirement and received good > >> response and advices > >> but the point which you have mentioned that is noticeable, i can not > >> ignore that > >> > >> i should think about this many points before moving ahead. > >> > > > > BTW, I did not mean to discouarge you... I just did not want you to try > to > > use XC for a solution where it is not a good fit (or, not a good fit > without > > some custom development work) and end up saying that Postgres-XC is not > good > > in general. > > > > -- > > Mason Sharp > > > > TransLattice - http://www.translattice.com > > Distributed and Clustered Database Solutions > > > > > > > > > ------------------------------------------------------------------------------ > > Learn Graph Databases - Download FREE O'Reilly Book > > "Graph Databases" is the definitive new guide to graph databases and > their > > applications. Written by three acclaimed leaders in the field, > > this first edition is now available. Download your free book today! > > http://p.sf.net/sfu/13534_NeoTech > > _______________________________________________ > > Postgres-xc-general mailing list > > Pos...@li... > > https://lists.sourceforge.net/lists/listinfo/postgres-xc-general > > > -- Thanks, Juned Khan iNextrix Technologies Pvt Ltd. www.inextrix.com |
From: Koichi S. <koi...@gm...> - 2014-03-27 03:19:28
|
Juned; I'd like to know what kind of cluster you need to configure. Also would like to know if your application is OLTP, batch or analytic, as well as what XC feature you'd like. If it is OLTP, how much transactions your are handling and if each transaction is as simple as DBT-1/DBT-2 or bit more complicated as DBT-5. You're trying to add datanodes so I imaged you're trying to start small and then expand the cluster. I'd like to know how your application is growing in size and transaction. Also, I'd like to know how much HA feature you need and what kind of automatic failover tool you are planning to use. They are always very important points when you choose most suitable database for your application. They are very important to think in advance and if you can share these (not what is your application, but the above characteristics), we may be able to provide more suitable information to you. Best Regards --- Koichi Suzuki 2014-03-26 22:00 GMT+09:00 Mason Sharp <ms...@tr...>: > > > > On Wed, Mar 26, 2014 at 8:49 AM, Juned Khan <jkh...@gm...> wrote: >> >> Hi Mason >> >> That is correct mailing list helped me a lot, and i am very thankful to >> everyone. >> >> Yeah earlier i have asked about this requirement and received good >> response and advices >> but the point which you have mentioned that is noticeable, i can not >> ignore that >> >> i should think about this many points before moving ahead. >> > > BTW, I did not mean to discouarge you... I just did not want you to try to > use XC for a solution where it is not a good fit (or, not a good fit without > some custom development work) and end up saying that Postgres-XC is not good > in general. > > -- > Mason Sharp > > TransLattice - http://www.translattice.com > Distributed and Clustered Database Solutions > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > Postgres-xc-general mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-general > |
From: Mason S. <ms...@tr...> - 2014-03-26 13:00:34
|
On Wed, Mar 26, 2014 at 8:49 AM, Juned Khan <jkh...@gm...> wrote: > Hi Mason > > That is correct mailing list helped me a lot, and i am very thankful to > everyone. > > Yeah earlier i have asked about this requirement and received good > response and advices > but the point which you have mentioned that is noticeable, i can not > ignore that > > i should think about this many points before moving ahead. > > BTW, I did not mean to discouarge you... I just did not want you to try to use XC for a solution where it is not a good fit (or, not a good fit without some custom development work) and end up saying that Postgres-XC is not good in general. -- Mason Sharp TransLattice - http://www.translattice.com Distributed and Clustered Database Solutions |
From: Juned K. <jkh...@gm...> - 2014-03-26 12:49:43
|
Hi Mason That is correct mailing list helped me a lot, and i am very thankful to everyone. Yeah earlier i have asked about this requirement and received good response and advices but the point which you have mentioned that is noticeable, i can not ignore that i should think about this many points before moving ahead. Regards, Juned Khan On Tue, Mar 25, 2014 at 7:59 PM, Mason Sharp <ms...@tr...>wrote: > > > > On Tue, Mar 25, 2014 at 9:08 AM, Juned Khan <jkh...@gm...> wrote: > >> Hi Mason, >> >> >> OK, that is not too much, regular PostgreSQL could work. Are a lot of >> those reads? Perhaps you can use PostgreSQL with streaming replication and >> do reads from a local hot standby, but writing to a remote master. It would >> have to be ok though that writes are not permitted if the network is down, >> as well as accepting that for those reads it may not be the latest version >> of the row/tuple, and the writes will incur latency. The other things you >> could do is, if your writes are mainly inserts is to write to local tables >> when the network is down, and then write these to the remote master once it >> is up again >> >> for this scenario what application i should use, what powerful and stable >> application you do suggest to achieve this ? >> > > I don't know enough about your application, I was trying to give you some > ideas for possible database architectures, though you may have some work > ahead of you to put it in place if there is a lot of customization. People > on the email list have been trying to help you over the last few weeks. > Your company may want to consider bringing in an outside consulting company > that can sign an NDA, meet with you, and work with you on a solution. > > -- > Mason Sharp > > TransLattice - http://www.translattice.com > Distributed and Clustered Database Solutions > > > -- Thanks, Juned Khan iNextrix Technologies Pvt Ltd. www.inextrix.com |
From: 鈴木 幸市 <ko...@in...> - 2014-03-26 01:41:04
|
It has not been tested with XC yet. pg_upgrade handles catalog upgrade and I don’t think it handles pgxc_* catalogs. Unfortunately, we’ve not done pg_upgrade extension to XC. Regards; --- Koichi Suzuki 2014/03/26 10:35、Michael Paquier <mic...@gm...> のメール: > On Wed, Mar 26, 2014 at 10:21 AM, 鈴木 幸市 <ko...@in...> wrote: >> Similar to PostgreSQL database, major upgrade requires pg_dumpall and >> pg_restore. > I don't recall any work in this area, but what about pg_upgrade? > -- > Michael > |
From: Michael P. <mic...@gm...> - 2014-03-26 01:35:43
|
On Wed, Mar 26, 2014 at 10:21 AM, 鈴木 幸市 <ko...@in...> wrote: > Similar to PostgreSQL database, major upgrade requires pg_dumpall and > pg_restore. I don't recall any work in this area, but what about pg_upgrade? -- Michael |
From: 鈴木 幸市 <ko...@in...> - 2014-03-26 01:22:10
|
Similar to PostgreSQL database, major upgrade requires pg_dumpall and pg_restore. Regards; --- Koichi Suzuki 2014/03/25 14:52、Juned Khan <jkh...@gm...<mailto:jkh...@gm...>> のメール: Hi All, I have installed pgxc on one of my server which is pgxc-1.1 but i had some issues with that version and those issues are fixed in latest stable(REL1_2_STABLE) so is there any automatic or manual process to upgrade it i found this link but seems this is to upgrade postgreSQL but i want to upgrade pgxc itself to latest stable http://postgres-xc.sourceforge.net/docs/1_1_beta/upgrading.html Please suggest. -- Thanks, Juned Khan iNextrix Technologies Pvt Ltd. www.inextrix.com<http://www.inextrix.com/> ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech_______________________________________________ Postgres-xc-general mailing list Pos...@li... https://lists.sourceforge.net/lists/listinfo/postgres-xc-general |
From: Mason S. <ms...@tr...> - 2014-03-25 14:29:13
|
On Tue, Mar 25, 2014 at 9:08 AM, Juned Khan <jkh...@gm...> wrote: > Hi Mason, > > > OK, that is not too much, regular PostgreSQL could work. Are a lot of > those reads? Perhaps you can use PostgreSQL with streaming replication and > do reads from a local hot standby, but writing to a remote master. It would > have to be ok though that writes are not permitted if the network is down, > as well as accepting that for those reads it may not be the latest version > of the row/tuple, and the writes will incur latency. The other things you > could do is, if your writes are mainly inserts is to write to local tables > when the network is down, and then write these to the remote master once it > is up again > > for this scenario what application i should use, what powerful and stable > application you do suggest to achieve this ? > I don't know enough about your application, I was trying to give you some ideas for possible database architectures, though you may have some work ahead of you to put it in place if there is a lot of customization. People on the email list have been trying to help you over the last few weeks. Your company may want to consider bringing in an outside consulting company that can sign an NDA, meet with you, and work with you on a solution. -- Mason Sharp TransLattice - http://www.translattice.com Distributed and Clustered Database Solutions |
From: Juned K. <jkh...@gm...> - 2014-03-25 13:08:17
|
Hi Mason, OK, that is not too much, regular PostgreSQL could work. Are a lot of those reads? Perhaps you can use PostgreSQL with streaming replication and do reads from a local hot standby, but writing to a remote master. It would have to be ok though that writes are not permitted if the network is down, as well as accepting that for those reads it may not be the latest version of the row/tuple, and the writes will incur latency. The other things you could do is, if your writes are mainly inserts is to write to local tables when the network is down, and then write these to the remote master once it is up again for this scenario what application i should use, what powerful and stable application you do suggest to achieve this ? As per my requirement i would have two database server on each state (MASTER and SLAVE) so i have to write those data on Central server. Regards Juned Khan On Tue, Mar 25, 2014 at 5:56 PM, Mason Sharp <ma...@st...> wrote: > > > On Tue, Mar 25, 2014 at 5:54 AM, Juned Khan <jkh...@gm...> wrote: > >> Hi Mason, >> >> >> how many transactions per second? >> there is almost 50 to 100 >> > > OK, that is not too much, regular PostgreSQL could work. Are a lot of > those reads? Perhaps you can use PostgreSQL with streaming replication and > do reads from a local hot standby, but writing to a remote master. It would > have to be ok though that writes are not permitted if the network is down, > as well as accepting that for those reads it may not be the latest version > of the row/tuple, and the writes will incur latency. The other things you > could do is, if your writes are mainly inserts is to write to local tables > when the network is down, and then write these to the remote master once it > is up again. > > >> >> How much of the data needs to be replicated to all nodes and how much can >> be distributed? >> Equally, if i have two datanodes with 50 records then they should >> distributed equally >> > > OK, so there is no easy, clean distribution rule for you, like location, > country_code, etc. > > >> >> How frequently do (reporting) queries need to look at all billion rows or >> a large portion thereof? >> 10 t0 20 times per day, we have 4 to 5 kind of CDR reports. >> >> > OK. A local hot standby should be able to handle it. If you need faster > performance, you could do periodic loads into a Stado instance. > > >> Please suggest. >> >> >> >> On Mon, Mar 24, 2014 at 6:27 PM, Mason Sharp <ms...@tr...>wrote: >> >>> >>> >>> >>> On Mon, Mar 24, 2014 at 1:59 AM, Juned Khan <jkh...@gm...> wrote: >>> >>>> Hi Michel, >>>> >>>> Thank you very much for valuable response. >>>> >>>> As a solution of this problem can i use VPN or setup all components >>>> on same network ? >>>> >>>> Please suggest. >>>> >>>> >>>> >>> What should the behavior be when the network is down? Is it ok for there >>> to be an outage? >>> >>> I believe I also previously said XC may not be the best fit for what you >>> are doing. You could perhaps make it work by modifying the code, but it >>> depends on exactly what you are trying to do. You mention a billion rows, >>> but how many transactions per second? How much of the data needs to be >>> replicated to all nodes and how much can be distributed? How frequently do >>> (reporting) queries need to look at all billion rows or a large portion >>> thereof? Are writes typically done at each location for a particular set of >>> data (regional customers)? Or is that all sites need to write to all of the >>> data equally, that there is not a good way of splitting it up? >>> >>> -- >>> Mason Sharp >>> >>> TransLattice - http://www.translattice.com >>> Distributed and Clustered Database Solutions >>> >>> >>> >> >> >> -- >> Thanks, >> Juned Khan >> iNextrix Technologies Pvt Ltd. >> www.inextrix.com >> >> >> ------------------------------------------------------------------------------ >> Learn Graph Databases - Download FREE O'Reilly Book >> "Graph Databases" is the definitive new guide to graph databases and their >> applications. Written by three acclaimed leaders in the field, >> this first edition is now available. Download your free book today! >> http://p.sf.net/sfu/13534_NeoTech >> _______________________________________________ >> Postgres-xc-general mailing list >> Pos...@li... >> https://lists.sourceforge.net/lists/listinfo/postgres-xc-general >> >> > > > -- > Mason Sharp > > StormDB - http://www.stormdb.com > The Database Cloud > Postgres-XC Support and Services > -- Thanks, Juned Khan iNextrix Technologies Pvt Ltd. www.inextrix.com |
From: Mason S. <ma...@st...> - 2014-03-25 12:49:14
|
On Tue, Mar 25, 2014 at 5:54 AM, Juned Khan <jkh...@gm...> wrote: > Hi Mason, > > > how many transactions per second? > there is almost 50 to 100 > OK, that is not too much, regular PostgreSQL could work. Are a lot of those reads? Perhaps you can use PostgreSQL with streaming replication and do reads from a local hot standby, but writing to a remote master. It would have to be ok though that writes are not permitted if the network is down, as well as accepting that for those reads it may not be the latest version of the row/tuple, and the writes will incur latency. The other things you could do is, if your writes are mainly inserts is to write to local tables when the network is down, and then write these to the remote master once it is up again. > > How much of the data needs to be replicated to all nodes and how much can > be distributed? > Equally, if i have two datanodes with 50 records then they should > distributed equally > OK, so there is no easy, clean distribution rule for you, like location, country_code, etc. > > How frequently do (reporting) queries need to look at all billion rows or > a large portion thereof? > 10 t0 20 times per day, we have 4 to 5 kind of CDR reports. > > OK. A local hot standby should be able to handle it. If you need faster performance, you could do periodic loads into a Stado instance. > Please suggest. > > > > On Mon, Mar 24, 2014 at 6:27 PM, Mason Sharp <ms...@tr...>wrote: > >> >> >> >> On Mon, Mar 24, 2014 at 1:59 AM, Juned Khan <jkh...@gm...> wrote: >> >>> Hi Michel, >>> >>> Thank you very much for valuable response. >>> >>> As a solution of this problem can i use VPN or setup all components >>> on same network ? >>> >>> Please suggest. >>> >>> >>> >> What should the behavior be when the network is down? Is it ok for there >> to be an outage? >> >> I believe I also previously said XC may not be the best fit for what you >> are doing. You could perhaps make it work by modifying the code, but it >> depends on exactly what you are trying to do. You mention a billion rows, >> but how many transactions per second? How much of the data needs to be >> replicated to all nodes and how much can be distributed? How frequently do >> (reporting) queries need to look at all billion rows or a large portion >> thereof? Are writes typically done at each location for a particular set of >> data (regional customers)? Or is that all sites need to write to all of the >> data equally, that there is not a good way of splitting it up? >> >> -- >> Mason Sharp >> >> TransLattice - http://www.translattice.com >> Distributed and Clustered Database Solutions >> >> >> > > > -- > Thanks, > Juned Khan > iNextrix Technologies Pvt Ltd. > www.inextrix.com > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > Postgres-xc-general mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-general > > -- Mason Sharp StormDB - http://www.stormdb.com The Database Cloud Postgres-XC Support and Services |
From: Juned K. <jkh...@gm...> - 2014-03-25 09:54:56
|
Hi Mason, how many transactions per second? there is almost 50 to 100 How much of the data needs to be replicated to all nodes and how much can be distributed? Equally, if i have two datanodes with 50 records then they should distributed equally How frequently do (reporting) queries need to look at all billion rows or a large portion thereof? 10 t0 20 times per day, we have 4 to 5 kind of CDR reports. Please suggest. On Mon, Mar 24, 2014 at 6:27 PM, Mason Sharp <ms...@tr...>wrote: > > > > On Mon, Mar 24, 2014 at 1:59 AM, Juned Khan <jkh...@gm...> wrote: > >> Hi Michel, >> >> Thank you very much for valuable response. >> >> As a solution of this problem can i use VPN or setup all components >> on same network ? >> >> Please suggest. >> >> >> > What should the behavior be when the network is down? Is it ok for there > to be an outage? > > I believe I also previously said XC may not be the best fit for what you > are doing. You could perhaps make it work by modifying the code, but it > depends on exactly what you are trying to do. You mention a billion rows, > but how many transactions per second? How much of the data needs to be > replicated to all nodes and how much can be distributed? How frequently do > (reporting) queries need to look at all billion rows or a large portion > thereof? Are writes typically done at each location for a particular set of > data (regional customers)? Or is that all sites need to write to all of the > data equally, that there is not a good way of splitting it up? > > -- > Mason Sharp > > TransLattice - http://www.translattice.com > Distributed and Clustered Database Solutions > > > -- Thanks, Juned Khan iNextrix Technologies Pvt Ltd. www.inextrix.com |
From: Juned K. <jkh...@gm...> - 2014-03-25 05:52:34
|
Hi All, I have installed pgxc on one of my server which is pgxc-1.1 but i had some issues with that version and those issues are fixed in latest stable(REL1_2_STABLE) so is there any automatic or manual process to upgrade it i found this link but seems this is to upgrade postgreSQL but i want to upgrade pgxc itself to latest stable http://postgres-xc.sourceforge.net/docs/1_1_beta/upgrading.html Please suggest. -- Thanks, Juned Khan iNextrix Technologies Pvt Ltd. www.inextrix.com |
From: Juned K. <jkh...@gm...> - 2014-03-24 14:30:02
|
Hi Koichi, Thanks you very much for your reply As i am testing with VMs and yet didn't put this on production server i can go with fixed and stable version of pgxc. https://github.com/postgres-xc/postgres-xc/tree/REL1_2_STABLE And even i am happy that i have solutions for such issues. Again thanks a lot for your concern Regards Juned Khan On Mon, Mar 24, 2014 at 7:13 PM, Koichi Suzuki <koi...@gm...>wrote: > Thanks. I did another analysis in parallel and found the following: > > 1) pg_basebackup does not run with the coordinator, > > 2) alter node does not work correctly if it needs pgxc_pool_reload(). > In this case, you should use DROP NODE and CREATE NODE instead. > > The log says the above. > > I've included all these fixes to the latest REL1_2_STABLE branch at > both sourceforge and github repo. > > Please try. Fixes are made in pgxc_ctl. > > Also, please note that the master branch does not include this fix > because we need to fix the above in the master anyway. > > To fix your problem, visit each coordinator and do the following: > > 1) Restore pgxc_node entries for the remote node by DROP NODE and CREATE > NODE. > 2) After all done, issue "select pgxc_pool_reload()" > 3) Restore local node pgxc_node entry by ALTER NODE, > 4) Issue "select pgxc_pool_reload()" > > I hope this may fix your problem without re-configuring the cluster. > Otherwise, please try from the scratch with the latest pgxc_ctl. > > My apology for the inconvenience and appreciate for your patience and > collaboration. > > Best; > --- > Koichi Suzuki > > > 2014-03-24 16:25 GMT+09:00 Juned Khan <jkh...@gm...>: > > Hi koichi, > > > > PFA > > I have changed the log level as you said. > > > > > > On Mon, Mar 24, 2014 at 10:43 AM, 鈴木 幸市 <ko...@in...> > wrote: > >> > >> Hmmm.. it’s quite strange. Another way to collect info is to set the > >> following in postgresql.conf for the coordinator in question. > >> > >> log_min_messages = debug5 > >> log_error_verbosity = vervose > >> > >> It could be too novice but please do this at the coordinator your psql > is > >> connecting. Also, it will be safer to restart your coordinator to make > >> these changes effective. > >> > >> Could share the result? > >> > >> Best; > >> --- > >> Koichi Suzuki > >> > >> 2014/03/20 18:57、Juned Khan <jkh...@gm...> のメール: > >> > >> Hi Koichi, > >> > >> it doesn't work with newly added datanode but with existing datanode it > >> does > >> > >> koichi=# execute direct on (datanode3) 'select * from t1'; > >> ERROR: Failed to get pooled connections > >> > >> > >> > >> > >> > >> On Thu, Mar 20, 2014 at 3:20 PM, Koichi Suzuki <koi...@gm...> > >> wrote: > >>> > >>> Does "EXECUTE DIRECT" work? > >>> --- > >>> Koichi Suzuki > >>> > >>> > >>> 2014-03-20 18:00 GMT+09:00 Juned Khan <jkh...@gm...>: > >>> > Hi koichi, > >>> > > >>> > All components just stops and starts without any problem. > >>> > > >>> > But still i am not able to execute that query, same issue. > >>> > > >>> > > >>> > On Thu, Mar 20, 2014 at 1:49 PM, Koichi Suzuki < > koi...@gm...> > >>> > wrote: > >>> >> > >>> >> What happens if you restart all the components? > >>> >> --- > >>> >> Koichi Suzuki > >>> >> > >>> >> > >>> >> 2014-03-20 14:07 GMT+09:00 Juned Khan <jkh...@gm...>: > >>> >> > Hi koichi, > >>> >> > > >>> >> > I have already tried to reload but still its giving me same error. > >>> >> > > >>> >> > postgres=# SELECT pgxc_pool_reload(); > >>> >> > pgxc_pool_reload > >>> >> > ------------------ > >>> >> > t > >>> >> > (1 row) > >>> >> > > >>> >> > > >>> >> > koichi=# alter table t1 add node (datanode3); > >>> >> > ERROR: Failed to get pooled connections > >>> >> > > >>> >> > > >>> >> > Although i am able to connect directly on datanode3. > >>> >> > > >>> >> > Please suggest. > >>> >> > > >>> >> > > >>> >> > > >>> >> > On Thu, Mar 20, 2014 at 6:26 AM, Koichi Suzuki > >>> >> > <koi...@gm...> > >>> >> > wrote: > >>> >> >> > >>> >> >> Sorry, made a silly reply. > >>> >> >> > >>> >> >> Please try SELECT pgxc_pool_reload(). Documentation will be > found > >>> >> >> at > >>> >> >> > >>> >> >> > >>> >> >> > >>> >> >> > http://postgres-xc.sourceforge.net/docs/1_1/functions-admin.html#FUNCTIONS-ADMIN-SET > >>> >> >> > >>> >> >> Good luck. > >>> >> >> --- > >>> >> >> Koichi Suzuki > >>> >> >> > >>> >> >> > >>> >> >> 2014-03-19 20:56 GMT+09:00 Juned Khan <jkh...@gm...>: > >>> >> >> > Hi koichi, > >>> >> >> > > >>> >> >> > Having little bit issue. > >>> >> >> > New datanode is added successfully and even database structure > is > >>> >> >> > copied > >>> >> >> > on new datanode(i have added datanode3). > >>> >> >> > > >>> >> >> > But as tables are empty, i am just trying to add new datanode > >>> >> >> > using > >>> >> >> > below > >>> >> >> > command > >>> >> >> > > >>> >> >> > > >>> >> >> > koichi=# alter table t1 add node (datanode3); > >>> >> >> > ERROR: Failed to get pooled connections > >>> >> >> > > >>> >> >> > But as you suggested i tried to clean the connection. > >>> >> >> > > >>> >> >> > postgres=# CLEAN CONNECTION TO COORDINATOR (coord1,coord2) FOR > >>> >> >> > koichi; > >>> >> >> > CLEAN CONNECTION > >>> >> >> > > >>> >> >> > postgres=# CLEAN CONNECTION TO NODE > >>> >> >> > (datanode1,datanode2,datanode3) > >>> >> >> > for > >>> >> >> > database koichi; > >>> >> >> > CLEAN CONNECTION > >>> >> >> > > >>> >> >> > But still its giving me same error, is there any other solution > >>> >> >> > for > >>> >> >> > this > >>> >> >> > problem? > >>> >> >> > > >>> >> >> > Regards, > >>> >> >> > Juned khan > >>> >> >> > > >>> >> >> > > >>> >> >> > > >>> >> >> > On Sat, Mar 15, 2014 at 11:59 AM, Juned Khan > >>> >> >> > <jkh...@gm...> > >>> >> >> > wrote: > >>> >> >> >> > >>> >> >> >> Hi Koichi, > >>> >> >> >> > >>> >> >> >> Thanks for your information, > >>> >> >> >> i just tried with stop and start components and it worked. > >>> >> >> >> > >>> >> >> >> This link will help me to fix future issues. And i ll keep in > >>> >> >> >> mind > >>> >> >> >> about that documentation bug. > >>> >> >> >> > >>> >> >> >> > >>> >> >> >> > >>> >> >> >> > >>> >> >> >> On Sat, Mar 15, 2014 at 3:56 AM, Koichi Suzuki > >>> >> >> >> <koi...@gm...> > >>> >> >> >> wrote: > >>> >> >> >>> > >>> >> >> >>> pgxc_ctl command "add datanode master" should run all the > >>> >> >> >>> necessary > >>> >> >> >>> clean_connection calls. > >>> >> >> >>> > >>> >> >> >>> Try to run clean_connection SQL command (specific to XC) as > >>> >> >> >>> seen in > >>> >> >> >>> > >>> >> >> >>> > >>> >> >> >>> > http://postgres-xc.sourceforge.net/docs/1_1/sql-cleanconnection.html > >>> >> >> >>> > >>> >> >> >>> I found a document bug in the example CLEAN CONNECTION TO > >>> >> >> >>> COORDINATOR > >>> >> >> >>> coord1,coord2 FOR DATABASEname; > >>> >> >> >>> > >>> >> >> >>> You should enclose set of node names with (). > >>> >> >> >>> > >>> >> >> >>> Regards; > >>> >> >> >>> --- > >>> >> >> >>> Koichi Suzuki > >>> >> >> >>> > >>> >> >> >>> > >>> >> >> >>> 2014-03-14 5:59 GMT+00:00 Juned Khan <jkh...@gm...>: > >>> >> >> >>> > Koichi=# alter table t1 add node (datanode3); > >>> >> >> >>> > > >>> >> >> >>> > ERROR: Failed to get pooled connections > >>> >> >> >>> > CONTEXT: SQL statement "EXECUTE DIRECT ON (coord3) 'SELECT > >>> >> >> >>> > pg_catalog.pg_try_advisory_xact_lock_shared(65535, 0)'" > >>> >> >> >>> > > >>> >> >> >>> > > >>> >> >> >>> > > >>> >> >> >>> > On Fri, Mar 14, 2014 at 11:20 AM, Juned Khan > >>> >> >> >>> > <jkh...@gm...> > >>> >> >> >>> > wrote: > >>> >> >> >>> >> > >>> >> >> >>> >> Hi Masataka, Koichi, > >>> >> >> >>> >> > >>> >> >> >>> >> New datanode is successfully added and all components are > >>> >> >> >>> >> running.i > >>> >> >> >>> >> have > >>> >> >> >>> >> small doubt. > >>> >> >> >>> >> > >>> >> >> >>> >> As i just added new datanode so , will existing database > >>> >> >> >>> >> automatically > >>> >> >> >>> >> copied > >>> >> >> >>> >> on this datanode or i have to create and import it > manually > >>> >> >> >>> >> from > >>> >> >> >>> >> another > >>> >> >> >>> >> datanode ? > >>> >> >> >>> >> > >>> >> >> >>> >> As per that video, we need to just fire alter query just > >>> >> >> >>> >> like : > >>> >> >> >>> >> alter table t1 add node (datanode3); > >>> >> >> >>> >> is that so ? > >>> >> >> >>> >> > >>> >> >> >>> >> and yeah as of now i am getting Failed to get pooled > >>> >> >> >>> >> connections > >>> >> >> >>> >> error. > >>> >> >> >>> >> > >>> >> >> >>> >> koichi=# execute direct on (datanode3) 'select * from t1'; > >>> >> >> >>> >> ERROR: Failed to get pooled connections > >>> >> >> >>> >> > >>> >> >> >>> >> Please advice. > >>> >> >> >>> >> > >>> >> >> >>> >> > >>> >> >> >>> >> > >>> >> >> >>> >> On Fri, Mar 14, 2014 at 11:03 AM, Juned Khan > >>> >> >> >>> >> <jkh...@gm...> > >>> >> >> >>> >> wrote: > >>> >> >> >>> >>> > >>> >> >> >>> >>> Hi Masataka > >>> >> >> >>> >>> > >>> >> >> >>> >>> Thanks you very much, commands are working now. > >>> >> >> >>> >>> I thought that element doesn't affect because at initial > >>> >> >> >>> >>> level > >>> >> >> >>> >>> it was not showing any error. > >>> >> >> >>> >>> > >>> >> >> >>> >>> But thanks a lot, just fixed another same kind of > problems. > >>> >> >> >>> >>> ;) > >>> >> >> >>> >>> > >>> >> >> >>> >>> > >>> >> >> >>> >>> > >>> >> >> >>> >>> On Fri, Mar 14, 2014 at 10:40 AM, Masataka Saito > >>> >> >> >>> >>> <pg...@gm...> > >>> >> >> >>> >>> wrote: > >>> >> >> >>> >>>> > >>> >> >> >>> >>>> coordMasterServers defines 2 nodes, but > >>> >> >> >>> >>>> coordSpecificExtraConfig > >>> >> >> >>> >>>> and > >>> >> >> >>> >>>> coordSpecificExtraPgHba have 4 elements. > >>> >> >> >>> >>>> > >>> >> >> >>> >>>> On 14 March 2014 13:51, Juned Khan <jkh...@gm... > > > >>> >> >> >>> >>>> wrote: > >>> >> >> >>> >>>> > Hi Masataka, > >>> >> >> >>> >>>> > > >>> >> >> >>> >>>> > Please find the attachment. i have attached my > >>> >> >> >>> >>>> > pgxc_ctl.conf > >>> >> >> >>> >>>> > > >>> >> >> >>> >>>> > see my pastebin link : http://pastebin.com/n35QkmpK > >>> >> >> >>> >>>> > > >>> >> >> >>> >>>> > > >>> >> >> >>> >>>> > On Fri, Mar 14, 2014 at 10:18 AM, Juned Khan > >>> >> >> >>> >>>> > <jkh...@gm...> > >>> >> >> >>> >>>> > wrote: > >>> >> >> >>> >>>> >> > >>> >> >> >>> >>>> >> Hi Masataka, > >>> >> >> >>> >>>> >> > >>> >> >> >>> >>>> >> Please find the attachment. i have attached my > >>> >> >> >>> >>>> >> pgxc_ctl.conf > >>> >> >> >>> >>>> >> > >>> >> >> >>> >>>> >> > >>> >> >> >>> >>>> >> On Thu, Mar 13, 2014 at 11:39 PM, Masataka Saito > >>> >> >> >>> >>>> >> <pg...@gm...> > >>> >> >> >>> >>>> >> wrote: > >>> >> >> >>> >>>> >>> > >>> >> >> >>> >>>> >>> Can you provide your pgxc_ctl.conf? > >>> >> >> >>> >>>> >>> > >>> >> >> >>> >>>> >>> On 14 March 2014 00:31, Juned Khan > >>> >> >> >>> >>>> >>> <jkh...@gm...> > >>> >> >> >>> >>>> >>> wrote: > >>> >> >> >>> >>>> >>> > Hi Masataka, > >>> >> >> >>> >>>> >>> > > >>> >> >> >>> >>>> >>> > Thanks for confirmation. > >>> >> >> >>> >>>> >>> > is there any alternative for me to get this > working? > >>> >> >> >>> >>>> >>> > > >>> >> >> >>> >>>> >>> > This can be very problematic with live servers. > >>> >> >> >>> >>>> >>> > > >>> >> >> >>> >>>> >>> > > >>> >> >> >>> >>>> >>> > On Thu, Mar 13, 2014 at 8:56 PM, Masataka Saito > >>> >> >> >>> >>>> >>> > <pg...@gm...> > >>> >> >> >>> >>>> >>> > wrote: > >>> >> >> >>> >>>> >>> >> > >>> >> >> >>> >>>> >>> >> I think there's no problem in your command line. > >>> >> >> >>> >>>> >>> >> > >>> >> >> >>> >>>> >>> >> > >>> >> >> >>> >>>> >>> >> On 13 March 2014 23:05, Juned Khan > >>> >> >> >>> >>>> >>> >> <jkh...@gm...> > >>> >> >> >>> >>>> >>> >> wrote: > >>> >> >> >>> >>>> >>> >> > Hi Masataka, > >>> >> >> >>> >>>> >>> >> > > >>> >> >> >>> >>>> >>> >> > Its fine but i think i have specified only one > >>> >> >> >>> >>>> >>> >> > element > >>> >> >> >>> >>>> >>> >> > for > >>> >> >> >>> >>>> >>> >> > each > >>> >> >> >>> >>>> >>> >> > parameter. > >>> >> >> >>> >>>> >>> >> > please check my command if it needs any > >>> >> >> >>> >>>> >>> >> > correction > >>> >> >> >>> >>>> >>> >> > > >>> >> >> >>> >>>> >>> >> > > >>> >> >> >>> >>>> >>> >> > pgxc_ctl add coordinator master coord3 node5 > >>> >> >> >>> >>>> >>> >> > 20004 > >>> >> >> >>> >>>> >>> >> > 20010 > >>> >> >> >>> >>>> >>> >> > /home/postgres/pgxc/nodes/coord > >>> >> >> >>> >>>> >>> >> > > >>> >> >> >>> >>>> >>> >> > > >>> >> >> >>> >>>> >>> >> > > >>> >> >> >>> >>>> >>> >> > On Thu, Mar 13, 2014 at 7:07 PM, Masataka Saito > >>> >> >> >>> >>>> >>> >> > <pg...@gm...> > >>> >> >> >>> >>>> >>> >> > wrote: > >>> >> >> >>> >>>> >>> >> >> > >>> >> >> >>> >>>> >>> >> >> Sorry. I lead your misunderstanding. > >>> >> >> >>> >>>> >>> >> >> I meant about array style parameters and > number > >>> >> >> >>> >>>> >>> >> >> of > >>> >> >> >>> >>>> >>> >> >> elements in > >>> >> >> >>> >>>> >>> >> >> each > >>> >> >> >>> >>>> >>> >> >> array. > >>> >> >> >>> >>>> >>> >> >> > >>> >> >> >>> >>>> >>> >> >> For example, you have one coordNames, almost > of > >>> >> >> >>> >>>> >>> >> >> array > >>> >> >> >>> >>>> >>> >> >> style > >>> >> >> >>> >>>> >>> >> >> parameters > >>> >> >> >>> >>>> >>> >> >> for coordinators except for coordPgHbaEntries > -- > >>> >> >> >>> >>>> >>> >> >> coordPorts, > >>> >> >> >>> >>>> >>> >> >> poolerPorts, coordMasterServers, > >>> >> >> >>> >>>> >>> >> >> coordMasterDirs, > >>> >> >> >>> >>>> >>> >> >> coordMaxWALSenders, > >>> >> >> >>> >>>> >>> >> >> coordSpecificExtraConfig, > >>> >> >> >>> >>>> >>> >> >> coordSpecificExtraPgHba -- > >>> >> >> >>> >>>> >>> >> >> must > >>> >> >> >>> >>>> >>> >> >> have > >>> >> >> >>> >>>> >>> >> >> only > >>> >> >> >>> >>>> >>> >> >> one element. > >>> >> >> >>> >>>> >>> >> >> > >>> >> >> >>> >>>> >>> >> >> That's all I can guess by your description. > >>> >> >> >>> >>>> >>> >> >> > >>> >> >> >>> >>>> >>> >> >> Regards. > >>> >> >> >>> >>>> >>> >> >> > >>> >> >> >>> >>>> >>> >> >> On 13 March 2014 18:07, Juned Khan > >>> >> >> >>> >>>> >>> >> >> <jkh...@gm...> > >>> >> >> >>> >>>> >>> >> >> wrote: > >>> >> >> >>> >>>> >>> >> >> > Hi Masataka, > >>> >> >> >>> >>>> >>> >> >> > > >>> >> >> >>> >>>> >>> >> >> > As per that documentation i have provided > all > >>> >> >> >>> >>>> >>> >> >> > those > >>> >> >> >>> >>>> >>> >> >> > parameters > >>> >> >> >>> >>>> >>> >> >> > what else i should add or remove to make > that > >>> >> >> >>> >>>> >>> >> >> > command > >>> >> >> >>> >>>> >>> >> >> > working ? > >>> >> >> >>> >>>> >>> >> >> > > >>> >> >> >>> >>>> >>> >> >> > I want to add datanode and coordinator with > >>> >> >> >>> >>>> >>> >> >> > below > >>> >> >> >>> >>>> >>> >> >> > configuration > >>> >> >> >>> >>>> >>> >> >> > and i think i specified all values as per > that > >>> >> >> >>> >>>> >>> >> >> > documentation. > >>> >> >> >>> >>>> >>> >> >> > > >>> >> >> >>> >>>> >>> >> >> > > >>> >> >> >>> >>>> >>> >> >> >> Coordinator Master: > >>> >> >> >>> >>>> >>> >> >> >> Nodename: 'coord3', port: 20004, pooler > >>> >> >> >>> >>>> >>> >> >> >> port: > >>> >> >> >>> >>>> >>> >> >> >> 20010 > >>> >> >> >>> >>>> >>> >> >> >> MaxWalSenders: (null), Dir: > >>> >> >> >>> >>>> >>> >> >> >> '/home/postgres/pgxc/nodes/coord' > >>> >> >> >>> >>>> >>> >> >> >> ExtraConfig: 'coordExtraConfig', > Specific > >>> >> >> >>> >>>> >>> >> >> >> Extra > >>> >> >> >>> >>>> >>> >> >> >> Config: > >>> >> >> >>> >>>> >>> >> >> >> 'none' > >>> >> >> >>> >>>> >>> >> >> >> pg_hba entries ( '192.168.1.71/32' > >>> >> >> >>> >>>> >>> >> >> >> '192.168.1.72/32' > >>> >> >> >>> >>>> >>> >> >> >> '192.168.1.73/32' > >>> >> >> >>> >>>> >>> >> >> >> '192.168.1.43/32' '192.168.1.75/32' ) > >>> >> >> >>> >>>> >>> >> >> >> Extra pg_hba: 'none', Specific Extra > >>> >> >> >>> >>>> >>> >> >> >> pg_hba: > >>> >> >> >>> >>>> >>> >> >> >> 'none' > >>> >> >> >>> >>>> >>> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> Datanode Master: > >>> >> >> >>> >>>> >>> >> >> >> Nodename: 'datanode3', port: 20008 > >>> >> >> >>> >>>> >>> >> >> >> MaxWALSenders: 3, Dir: > >>> >> >> >>> >>>> >>> >> >> >> '/home/postgres/pgxc/nodes/dn_master' > >>> >> >> >>> >>>> >>> >> >> >> ExtraConfig: 'none', Specific Extra > >>> >> >> >>> >>>> >>> >> >> >> Config: > >>> >> >> >>> >>>> >>> >> >> >> 'none' > >>> >> >> >>> >>>> >>> >> >> >> pg_hba entries ( '192.168.1.71/32' > >>> >> >> >>> >>>> >>> >> >> >> '192.168.1.72/32' > >>> >> >> >>> >>>> >>> >> >> >> '192.168.1.73/32' > >>> >> >> >>> >>>> >>> >> >> >> '192.168.1.43/32' '192.168.1.75/32' ) > >>> >> >> >>> >>>> >>> >> >> >> Extra pg_hba: 'none', Specific Extra > >>> >> >> >>> >>>> >>> >> >> >> pg_hba: > >>> >> >> >>> >>>> >>> >> >> >> 'none' > >>> >> >> >>> >>>> >>> >> >> > > >>> >> >> >>> >>>> >>> >> >> > > >>> >> >> >>> >>>> >>> >> >> > > >>> >> >> >>> >>>> >>> >> >> > Please suggest. > >>> >> >> >>> >>>> >>> >> >> > > >>> >> >> >>> >>>> >>> >> >> > Regards > >>> >> >> >>> >>>> >>> >> >> > Juned Khan > >>> >> >> >>> >>>> >>> >> >> > > >>> >> >> >>> >>>> >>> >> >> > > >>> >> >> >>> >>>> >>> >> >> > > >>> >> >> >>> >>>> >>> >> >> > On Thu, Mar 13, 2014 at 1:06 PM, Masataka > >>> >> >> >>> >>>> >>> >> >> > Saito > >>> >> >> >>> >>>> >>> >> >> > <pg...@gm...> > >>> >> >> >>> >>>> >>> >> >> > wrote: > >>> >> >> >>> >>>> >>> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> On 12 March 2014 22:43, Juned Khan > >>> >> >> >>> >>>> >>> >> >> >> <jkh...@gm...> > >>> >> >> >>> >>>> >>> >> >> >> wrote: > >>> >> >> >>> >>>> >>> >> >> >> > Hi Koichi,Masataka > >>> >> >> >>> >>>> >>> >> >> >> > > >>> >> >> >>> >>>> >>> >> >> >> > Successfully added gtm proxy but having > >>> >> >> >>> >>>> >>> >> >> >> > issue > >>> >> >> >>> >>>> >>> >> >> >> > with > >>> >> >> >>> >>>> >>> >> >> >> > coordinator > >>> >> >> >>> >>>> >>> >> >> >> > and > >>> >> >> >>> >>>> >>> >> >> >> > datanode. > >>> >> >> >>> >>>> >>> >> >> >> > > >>> >> >> >>> >>>> >>> >> >> >> > Coordinator : > >>> >> >> >>> >>>> >>> >> >> >> > add coordinator master name host port > >>> >> >> >>> >>>> >>> >> >> >> > pooler > >>> >> >> >>> >>>> >>> >> >> >> > dir > >>> >> >> >>> >>>> >>> >> >> >> > here what value i should use in place of > >>> >> >> >>> >>>> >>> >> >> >> > pooler > >>> >> >> >>> >>>> >>> >> >> >> > ? > >>> >> >> >>> >>>> >>> >> >> >> > pooler > >>> >> >> >>> >>>> >>> >> >> >> > port > >>> >> >> >>> >>>> >>> >> >> >> > ? > >>> >> >> >>> >>>> >>> >> >> >> > > >>> >> >> >>> >>>> >>> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> pooler port > >>> >> >> >>> >>>> >>> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> > pgxc_ctl add coordinator master coord3 > >>> >> >> >>> >>>> >>> >> >> >> > node5 > >>> >> >> >>> >>>> >>> >> >> >> > 20004 > >>> >> >> >>> >>>> >>> >> >> >> > 20010 > >>> >> >> >>> >>>> >>> >> >> >> > /home/postgres/pgxc/nodes/coord > >>> >> >> >>> >>>> >>> >> >> >> > ERROR: sorry found some inconflicts in > >>> >> >> >>> >>>> >>> >> >> >> > coordinator > >>> >> >> >>> >>>> >>> >> >> >> > master > >>> >> >> >>> >>>> >>> >> >> >> > configuration. > >>> >> >> >>> >>>> >>> >> >> >> > > >>> >> >> >>> >>>> >>> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> It is due to misconfigure. In detail, > numbers > >>> >> >> >>> >>>> >>> >> >> >> of > >>> >> >> >>> >>>> >>> >> >> >> element > >>> >> >> >>> >>>> >>> >> >> >> for > >>> >> >> >>> >>>> >>> >> >> >> same > >>> >> >> >>> >>>> >>> >> >> >> component are not same. > >>> >> >> >>> >>>> >>> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> > pgxc_ctl add coordinator master coord3 > >>> >> >> >>> >>>> >>> >> >> >> > node5 > >>> >> >> >>> >>>> >>> >> >> >> > 20004 > >>> >> >> >>> >>>> >>> >> >> >> > /home/postgres/pgxc/nodes/coord > >>> >> >> >>> >>>> >>> >> >> >> > ERROR: please specify the working > director > >>> >> >> >>> >>>> >>> >> >> >> > for > >>> >> >> >>> >>>> >>> >> >> >> > the > >>> >> >> >>> >>>> >>> >> >> >> > coordinator > >>> >> >> >>> >>>> >>> >> >> >> > master > >>> >> >> >>> >>>> >>> >> >> >> > > >>> >> >> >>> >>>> >>> >> >> >> > Datanode : > >>> >> >> >>> >>>> >>> >> >> >> > add datanode master name host port dir > >>> >> >> >>> >>>> >>> >> >> >> > pgxc_ctl add datanode master new node5 > >>> >> >> >>> >>>> >>> >> >> >> > 20008 > >>> >> >> >>> >>>> >>> >> >> >> > /home/postgres/pgxc/nodes/dn_master > >>> >> >> >>> >>>> >>> >> >> >> > ERROR: sorry found some inconflicts in > >>> >> >> >>> >>>> >>> >> >> >> > datanode > >>> >> >> >>> >>>> >>> >> >> >> > master > >>> >> >> >>> >>>> >>> >> >> >> > configuration. > >>> >> >> >>> >>>> >>> >> >> >> > > >>> >> >> >>> >>>> >>> >> >> >> > Does earlier manual installation could be > >>> >> >> >>> >>>> >>> >> >> >> > reason > >>> >> >> >>> >>>> >>> >> >> >> > for > >>> >> >> >>> >>>> >>> >> >> >> > this > >>> >> >> >>> >>>> >>> >> >> >> > issue ? > >>> >> >> >>> >>>> >>> >> >> >> > > >>> >> >> >>> >>>> >>> >> >> >> > P.S: > >>> >> >> >>> >>>> >>> >> >> >> > gtm_prxy : Nodename: 'gtm_pxy3', port: > >>> >> >> >>> >>>> >>> >> >> >> > 20001, > >>> >> >> >>> >>>> >>> >> >> >> > dir: > >>> >> >> >>> >>>> >>> >> >> >> > '/home/postgres/pgxc/nodes/gtm_pxy' > >>> >> >> >>> >>>> >>> >> >> >> > Coordinator Master: Nodename: 'coord3', > >>> >> >> >>> >>>> >>> >> >> >> > port: > >>> >> >> >>> >>>> >>> >> >> >> > 20004, > >>> >> >> >>> >>>> >>> >> >> >> > pooler > >>> >> >> >>> >>>> >>> >> >> >> > port: > >>> >> >> >>> >>>> >>> >> >> >> > 20010, > >>> >> >> >>> >>>> >>> >> >> >> > dir:' /home/postgres/pgxc/nodes/coord' > >>> >> >> >>> >>>> >>> >> >> >> > Datanode Master : Nodename: > 'datanode3', > >>> >> >> >>> >>>> >>> >> >> >> > port: > >>> >> >> >>> >>>> >>> >> >> >> > 20008, > >>> >> >> >>> >>>> >>> >> >> >> > dir:' > >>> >> >> >>> >>>> >>> >> >> >> > /home/postgres/pgxc/nodes/dn_master' > >>> >> >> >>> >>>> >>> >> >> >> > > >>> >> >> >>> >>>> >>> >> >> >> > please look at my commands if its > erroneous > >>> >> >> >>> >>>> >>> >> >> >> > > >>> >> >> >>> >>>> >>> >> >> >> > Please advice. > >>> >> >> >>> >>>> >>> >> >> >> > > >>> >> >> >>> >>>> >>> >> >> >> > Regards, > >>> >> >> >>> >>>> >>> >> >> >> > Juned Khan > >>> >> >> >>> >>>> >>> >> >> >> > > >>> >> >> >>> >>>> >>> >> >> >> > > >>> >> >> >>> >>>> >>> >> >> >> > > >>> >> >> >>> >>>> >>> >> >> >> > On Wed, Mar 12, 2014 at 11:45 AM, Juned > >>> >> >> >>> >>>> >>> >> >> >> > Khan > >>> >> >> >>> >>>> >>> >> >> >> > <jkh...@gm...> > >>> >> >> >>> >>>> >>> >> >> >> > wrote: > >>> >> >> >>> >>>> >>> >> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> >> I tried to add coordinator and datanode > >>> >> >> >>> >>>> >>> >> >> >> >> manually > >>> >> >> >>> >>>> >>> >> >> >> >> and now it seems everything is messed > up. > >>> >> >> >>> >>>> >>> >> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> >> Every component is just stopped working, > >>> >> >> >>> >>>> >>> >> >> >> >> if i > >>> >> >> >>> >>>> >>> >> >> >> >> kill > >>> >> >> >>> >>>> >>> >> >> >> >> all > >>> >> >> >>> >>>> >>> >> >> >> >> and > >>> >> >> >>> >>>> >>> >> >> >> >> start all again then again its shows > >>> >> >> >>> >>>> >>> >> >> >> >> everything > >>> >> >> >>> >>>> >>> >> >> >> >> is > >>> >> >> >>> >>>> >>> >> >> >> >> running > >>> >> >> >>> >>>> >>> >> >> >> >> but in that case it takes too long to > >>> >> >> >>> >>>> >>> >> >> >> >> connect > >>> >> >> >>> >>>> >>> >> >> >> >> dtabase(Psql > >>> >> >> >>> >>>> >>> >> >> >> >> -dkoichi) > >>> >> >> >>> >>>> >>> >> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> >> and at last it just fails to connect to > >>> >> >> >>> >>>> >>> >> >> >> >> the > >>> >> >> >>> >>>> >>> >> >> >> >> database > >>> >> >> >>> >>>> >>> >> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> >> PGXC Psql -dkoichi > >>> >> >> >>> >>>> >>> >> >> >> >> Selected coord1. > >>> >> >> >>> >>>> >>> >> >> >> >> psql: server closed the connection > >>> >> >> >>> >>>> >>> >> >> >> >> unexpectedly > >>> >> >> >>> >>>> >>> >> >> >> >> This probably means the server > >>> >> >> >>> >>>> >>> >> >> >> >> terminated > >>> >> >> >>> >>>> >>> >> >> >> >> abnormally > >>> >> >> >>> >>>> >>> >> >> >> >> before or while processing the > >>> >> >> >>> >>>> >>> >> >> >> >> request. > >>> >> >> >>> >>>> >>> >> >> >> >> PGXC > >>> >> >> >>> >>>> >>> >> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> >> Please advice. > >>> >> >> >>> >>>> >>> >> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> >> On Wed, Mar 12, 2014 at 4:34 AM, Michael > >>> >> >> >>> >>>> >>> >> >> >> >> Paquier > >>> >> >> >>> >>>> >>> >> >> >> >> <mic...@gm...> wrote: > >>> >> >> >>> >>>> >>> >> >> >> >>> > >>> >> >> >>> >>>> >>> >> >> >> >>> On Wed, Mar 12, 2014 at 4:10 AM, > Masataka > >>> >> >> >>> >>>> >>> >> >> >> >>> Saito > >>> >> >> >>> >>>> >>> >> >> >> >>> <pg...@gm...> > >>> >> >> >>> >>>> >>> >> >> >> >>> wrote: > >>> >> >> >>> >>>> >>> >> >> >> >>> > On 11 March 2014 16:42, Juned Khan > >>> >> >> >>> >>>> >>> >> >> >> >>> > <jkh...@gm...> > >>> >> >> >>> >>>> >>> >> >> >> >>> > wrote: > >>> >> >> >>> >>>> >>> >> >> >> >>> >> Hi Masataka, > >>> >> >> >>> >>>> >>> >> >> >> >>> >> > >>> >> >> >>> >>>> >>> >> >> >> >>> >> For testing i am tried to get this > >>> >> >> >>> >>>> >>> >> >> >> >>> >> work > >>> >> >> >>> >>>> >>> >> >> >> >>> >> added > >>> >> >> >>> >>>> >>> >> >> >> >>> >> manual > >>> >> >> >>> >>>> >>> >> >> >> >>> >> query > >>> >> >> >>> >>>> >>> >> >> >> >>> >> for > >>> >> >> >>> >>>> >>> >> >> >> >>> >> CREATE > >>> >> >> >>> >>>> >>> >> >> >> >>> >> NODE. > >>> >> >> >>> >>>> >>> >> >> >> >>> >> > >>> >> >> >>> >>>> >>> >> >> >> >>> >> Now its look like this: > >>> >> >> >>> >>>> >>> >> >> >> >>> >> > >>> >> >> >>> >>>> >>> >> >> >> >>> >> postgres=# \q > >>> >> >> >>> >>>> >>> >> >> >> >>> >> PGXC Psql -dpostgres -h node5 -p > 20004 > >>> >> >> >>> >>>> >>> >> >> >> >>> >> Selected coord3. > >>> >> >> >>> >>>> >>> >> >> >> >>> >> > >>> >> >> >>> >>>> >>> >> >> >> >>> >> postgres=# select * from pgxc_node; > >>> >> >> >>> >>>> >>> >> >> >> >>> >> node_name | node_type | node_port | > >>> >> >> >>> >>>> >>> >> >> >> >>> >> node_host | > >>> >> >> >>> >>>> >>> >> >> >> >>> >> nodeis_primary > >>> >> >> >>> >>>> >>> >> >> >> >>> >> | > >>> >> >> >>> >>>> >>> >> >> >> >>> >> nodeis_preferred | node_id > >>> >> >> >>> >>>> >>> >> >> >> >>> >> > >>> >> >> >>> >>>> >>> >> >> >> >>> >> > >>> >> >> >>> >>>> >>> >> >> >> >>> >> > >>> >> >> >>> >>>> >>> >> >> >> >>> >> > >>> >> >> >>> >>>> >>> >> >> >> >>> >> > >>> >> >> >>> >>>> >>> >> >> >> >>> >> > >>> >> >> >>> >>>> >>> >> >> >> >>> >> > >>> >> >> >>> >>>> >>> >> >> >> >>> >> > >>> >> >> >>> >>>> >>> >> >> >> >>> >> > >>> >> >> >>> >>>> >>> >> >> >> >>> >> > >>> >> >> >>> >>>> >>> >> >> >> >>> >> > -----------+-----------+-----------+-----------+----------------+------------------+------------- > >>> >> >> >>> >>>> >>> >> >> >> >>> >> coord3 | C | 5432 | > >>> >> >> >>> >>>> >>> >> >> >> >>> >> localhost | > >>> >> >> >>> >>>> >>> >> >> >> >>> >> f > >>> >> >> >>> >>>> >>> >> >> >> >>> >> | f > >>> >> >> >>> >>>> >>> >> >> >> >>> >> | 1638403545 > >>> >> >> >>> >>>> >>> >> >> >> >>> >> coord1 | C | 20004 | > >>> >> >> >>> >>>> >>> >> >> >> >>> >> node3 > >>> >> >> >>> >>>> >>> >> >> >> >>> >> | > >>> >> >> >>> >>>> >>> >> >> >> >>> >> f > >>> >> >> >>> >>>> >>> >> >> >> >>> >> | f > >>> >> >> >>> >>>> >>> >> >> >> >>> >> | 1885696643 > >>> >> >> >>> >>>> >>> >> >> >> >>> >> coord2 | C | 20005 | > >>> >> >> >>> >>>> >>> >> >> >> >>> >> node4 > >>> >> >> >>> >>>> >>> >> >> >> >>> >> | > >>> >> >> >>> >>>> >>> >> >> >> >>> >> f > >>> >> >> >>> >>>> >>> >> >> >> >>> >> | f > >>> >> >> >>> >>>> >>> >> >> >> >>> >> | -1197102633 > >>> >> >> >>> >>>> >>> >> >> >> >>> >> datanode1 | D | 20008 | > >>> >> >> >>> >>>> >>> >> >> >> >>> >> node3 > >>> >> >> >>> >>>> >>> >> >> >> >>> >> | > >>> >> >> >>> >>>> >>> >> >> >> >>> >> f > >>> >> >> >>> >>>> >>> >> >> >> >>> >> | f > >>> >> >> >>> >>>> >>> >> >> >> >>> >> | 888802358 > >>> >> >> >>> >>>> >>> >> >> >> >>> >> datanode2 | D | 20009 | > >>> >> >> >>> >>>> >>> >> >> >> >>> >> node4 > >>> >> >> >>> >>>> >>> >> >> >> >>> >> | > >>> >> >> >>> >>>> >>> >> >> >> >>> >> f > >>> >> >> >>> >>>> >>> >> >> >> >>> >> | f > >>> >> >> >>> >>>> >>> >> >> >> >>> >> | -905831925 > >>> >> >> >>> >>>> >>> >> >> >> >>> >> datanode3 | D | 20008 | > >>> >> >> >>> >>>> >>> >> >> >> >>> >> node5 > >>> >> >> >>> >>>> >>> >> >> >> >>> >> | > >>> >> >> >>> >>>> >>> >> >> >> >>> >> f > >>> >> >> >>> >>>> >>> >> >> >> >>> >> | f > >>> >> >> >>> >>>> >>> >> >> >> >>> >> | -1894792127 > >>> >> >> >>> >>>> >>> >> >> >> >>> >> (6 rows) > >>> >> >> >>> >>>> >>> >> >> >> >>> >> > >>> >> >> >>> >>>> >>> >> >> >> >>> >> Here coord3 runs on 5432 which > should > >>> >> >> >>> >>>> >>> >> >> >> >>> >> 20004., > >>> >> >> >>> >>>> >>> >> >> >> >>> >> it > >>> >> >> >>> >>>> >>> >> >> >> >>> >> creates > >>> >> >> >>> >>>> >>> >> >> >> >>> >> problem > >>> >> >> >>> >>>> >>> >> >> >> >>> >> i > >>> >> >> >>> >>>> >>> >> >> >> >>> >> think > >>> >> >> >>> >>>> >>> >> >> >> >>> >> isn't it ? > >>> >> >> >>> >>>> >>> >> >> >> >>> >> > >>> >> >> >>> >>>> >>> >> >> >> >>> > > >>> >> >> >>> >>>> >>> >> >> >> >>> > As far as I know, the local node > >>> >> >> >>> >>>> >>> >> >> >> >>> > information > >>> >> >> >>> >>>> >>> >> >> >> >>> > is > >>> >> >> >>> >>>> >>> >> >> >> >>> > not > >>> >> >> >>> >>>> >>> >> >> >> >>> > important > >>> >> >> >>> >>>> >>> >> >> >> >>> > and > >>> >> >> >>> >>>> >>> >> >> >> >>> > it > >>> >> >> >>> >>>> >>> >> >> >> >>> > is not necessary to update. > >>> >> >> >>> >>>> >>> >> >> >> >>> > "pgxc_ctl add" corrects it by "ALTER > >>> >> >> >>> >>>> >>> >> >> >> >>> > NODE". > >>> >> >> >>> >>>> >>> >> >> >> >>> CREATE NODE and DROP NODE only run > >>> >> >> >>> >>>> >>> >> >> >> >>> locally. > >>> >> >> >>> >>>> >>> >> >> >> >>> Why > >>> >> >> >>> >>>> >>> >> >> >> >>> not > >>> >> >> >>> >>>> >>> >> >> >> >>> ALTER > >>> >> >> >>> >>>> >>> >> >> >> >>> NODE > >>> >> >> >>> >>>> >>> >> >> >> >>> for > >>> >> >> >>> >>>> >>> >> >> >> >>> consistency? Am I missing smth? > >>> >> >> >>> >>>> >>> >> >> >> >>> -- > >>> >> >> >>> >>>> >>> >> >> >> >>> Michael > >>> >> >> >>> >>>> >>> >> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> >> -- > >>> >> >> >>> >>>> >>> >> >> >> >> Thanks, > >>> >> >> >>> >>>> >>> >> >> >> >> Juned Khan > >>> >> >> >>> >>>> >>> >> >> >> >> iNextrix Technologies Pvt Ltd. > >>> >> >> >>> >>>> >>> >> >> >> >> www.inextrix.com > >>> >> >> >>> >>>> >>> >> >> >> > > >>> >> >> >>> >>>> >>> >> >> >> > > >>> >> >> >>> >>>> >>> >> >> >> > > >>> >> >> >>> >>>> >>> >> >> >> > > >>> >> >> >>> >>>> >>> >> >> >> > -- > >>> >> >> >>> >>>> >>> >> >> >> > Thanks, > >>> >> >> >>> >>>> >>> >> >> >> > Juned Khan > >>> >> >> >>> >>>> >>> >> >> >> > iNextrix Technologies Pvt Ltd. > >>> >> >> >>> >>>> >>> >> >> >> > www.inextrix.com > >>> >> >> >>> >>>> >>> >> >> > > >>> >> >> >>> >>>> >>> >> >> > > >>> >> >> >>> >>>> >>> >> >> > > >>> >> >> >>> >>>> >>> >> >> > > >>> >> >> >>> >>>> >>> >> >> > -- > >>> >> >> >>> >>>> >>> >> >> > Thanks, > >>> >> >> >>> >>>> >>> >> >> > Juned Khan > >>> >> >> >>> >>>> >>> >> >> > iNextrix Technologies Pvt Ltd. > >>> >> >> >>> >>>> >>> >> >> > www.inextrix.com > >>> >> >> >>> >>>> >>> >> > > >>> >> >> >>> >>>> >>> >> > > >>> >> >> >>> >>>> >>> >> > > >>> >> >> >>> >>>> >>> >> > > >>> >> >> >>> >>>> >>> >> > -- > >>> >> >> >>> >>>> >>> >> > Thanks, > >>> >> >> >>> >>>> >>> >> > Juned Khan > >>> >> >> >>> >>>> >>> >> > iNextrix Technologies Pvt Ltd. > >>> >> >> >>> >>>> >>> >> > www.inextrix.com > >>> >> >> >>> >>>> >>> > > >>> >> >> >>> >>>> >>> > > >>> >> >> >>> >>>> >>> > > >>> >> >> >>> >>>> >>> > > >>> >> >> >>> >>>> >>> > -- > >>> >> >> >>> >>>> >>> > Thanks, > >>> >> >> >>> >>>> >>> > Juned Khan > >>> >> >> >>> >>>> >>> > iNextrix Technologies Pvt Ltd. > >>> >> >> >>> >>>> >>> > www.inextrix.com > >>> >> >> >>> >>>> >> > >>> >> >> >>> >>>> >> > >>> >> >> >>> >>>> >> > >>> >> >> >>> >>>> >> > >>> >> >> >>> >>>> >> -- > >>> >> >> >>> >>>> >> Thanks, > >>> >> >> >>> >>>> >> Juned Khan > >>> >> >> >>> >>>> >> iNextrix Technologies Pvt Ltd. > >>> >> >> >>> >>>> >> www.inextrix.com > >>> >> >> >>> >>>> > > >>> >> >> >>> >>>> > > >>> >> >> >>> >>>> > > >>> >> >> >>> >>>> > > >>> >> >> >>> >>>> > -- > >>> >> >> >>> >>>> > Thanks, > >>> >> >> >>> >>>> > Juned Khan > >>> >> >> >>> >>>> > iNextrix Technologies Pvt Ltd. > >>> >> >> >>> >>>> > www.inextrix.com > >>> >> >> >>> >>> > >>> >> >> >>> >>> > >>> >> >> >>> >>> > >>> >> >> >>> >>> > >>> >> >> >>> >>> -- > >>> >> >> >>> >>> Thanks, > >>> >> >> >>> >>> Juned Khan > >>> >> >> >>> >>> iNextrix Technologies Pvt Ltd. > >>> >> >> >>> >>> www.inextrix.com > >>> >> >> >>> >> > >>> >> >> >>> >> > >>> >> >> >>> >> > >>> >> >> >>> >> > >>> >> >> >>> >> -- > >>> >> >> >>> >> Thanks, > >>> >> >> >>> >> Juned Khan > >>> >> >> >>> >> iNextrix Technologies Pvt Ltd. > >>> >> >> >>> >> www.inextrix.com > >>> >> >> >>> > > >>> >> >> >>> > > >>> >> >> >>> > > >>> >> >> >>> > > >>> >> >> >>> > -- > >>> >> >> >>> > Thanks, > >>> >> >> >>> > Juned Khan > >>> >> >> >>> > iNextrix Technologies Pvt Ltd. > >>> >> >> >>> > www.inextrix.com > >>> >> >> >>> > > >>> >> >> >>> > > >>> >> >> >>> > > >>> >> >> >>> > > >>> >> >> >>> > > >>> >> >> >>> > > ------------------------------------------------------------------------------ > >>> >> >> >>> > Learn Graph Databases - Download FREE O'Reilly Book > >>> >> >> >>> > "Graph Databases" is the definitive new guide to graph > >>> >> >> >>> > databases > >>> >> >> >>> > and > >>> >> >> >>> > their > >>> >> >> >>> > applications. Written by three acclaimed leaders in the > >>> >> >> >>> > field, > >>> >> >> >>> > this first edition is now available. Download your free > book > >>> >> >> >>> > today! > >>> >> >> >>> > http://p.sf.net/sfu/13534_NeoTech > >>> >> >> >>> > _______________________________________________ > >>> >> >> >>> > Postgres-xc-general mailing list > >>> >> >> >>> > Pos...@li... > >>> >> >> >>> > > >>> >> >> >>> > > https://lists.sourceforge.net/lists/listinfo/postgres-xc-general > >>> >> >> >>> > > >>> >> >> >> > >>> >> >> >> > >>> >> >> >> > >>> >> >> >> > >>> >> >> >> -- > >>> >> >> >> Thanks, > >>> >> >> >> Juned Khan > >>> >> >> >> iNextrix Technologies Pvt Ltd. > >>> >> >> >> www.inextrix.com > >>> >> >> > > >>> >> >> > > >>> >> >> > > >>> >> >> > > >>> >> >> > -- > >>> >> >> > Thanks, > >>> >> >> > Juned Khan > >>> >> >> > iNextrix Technologies Pvt Ltd. > >>> >> >> > www.inextrix.com > >>> >> > > >>> >> > > >>> >> > > >>> >> > > >>> >> > -- > >>> >> > Thanks, > >>> >> > Juned Khan > >>> >> > iNextrix Technologies Pvt Ltd. > >>> >> > www.inextrix.com > >>> > > >>> > > >>> > > >>> > > >>> > -- > >>> > Thanks, > >>> > Juned Khan > >>> > iNextrix Technologies Pvt Ltd. > >>> > www.inextrix.com > >> > >> > >> > >> > >> -- > >> Thanks, > >> Juned Khan > >> iNextrix Technologies Pvt Ltd. > >> www.inextrix.com > >> > >> > ------------------------------------------------------------------------------ > >> Learn Graph Databases - Download FREE O'Reilly Book > >> "Graph Databases" is the definitive new guide to graph databases and > their > >> applications. Written by three acclaimed leaders in the field, > >> this first edition is now available. Download your free book today! > >> > >> > http://p.sf.net/sfu/13534_NeoTech_______________________________________________ > >> Postgres-xc-general mailing list > >> Pos...@li... > >> https://lists.sourceforge.net/lists/listinfo/postgres-xc-general > >> > >> > > > > > > > > -- > > Thanks, > > Juned Khan > > iNextrix Technologies Pvt Ltd. > > www.inextrix.com > -- Thanks, Juned Khan iNextrix Technologies Pvt Ltd. www.inextrix.com |
From: Koichi S. <koi...@gm...> - 2014-03-24 13:43:22
|
Thanks. I did another analysis in parallel and found the following: 1) pg_basebackup does not run with the coordinator, 2) alter node does not work correctly if it needs pgxc_pool_reload(). In this case, you should use DROP NODE and CREATE NODE instead. The log says the above. I've included all these fixes to the latest REL1_2_STABLE branch at both sourceforge and github repo. Please try. Fixes are made in pgxc_ctl. Also, please note that the master branch does not include this fix because we need to fix the above in the master anyway. To fix your problem, visit each coordinator and do the following: 1) Restore pgxc_node entries for the remote node by DROP NODE and CREATE NODE. 2) After all done, issue "select pgxc_pool_reload()" 3) Restore local node pgxc_node entry by ALTER NODE, 4) Issue "select pgxc_pool_reload()" I hope this may fix your problem without re-configuring the cluster. Otherwise, please try from the scratch with the latest pgxc_ctl. My apology for the inconvenience and appreciate for your patience and collaboration. Best; --- Koichi Suzuki 2014-03-24 16:25 GMT+09:00 Juned Khan <jkh...@gm...>: > Hi koichi, > > PFA > I have changed the log level as you said. > > > On Mon, Mar 24, 2014 at 10:43 AM, 鈴木 幸市 <ko...@in...> wrote: >> >> Hmmm.. it’s quite strange. Another way to collect info is to set the >> following in postgresql.conf for the coordinator in question. >> >> log_min_messages = debug5 >> log_error_verbosity = vervose >> >> It could be too novice but please do this at the coordinator your psql is >> connecting. Also, it will be safer to restart your coordinator to make >> these changes effective. >> >> Could share the result? >> >> Best; >> --- >> Koichi Suzuki >> >> 2014/03/20 18:57、Juned Khan <jkh...@gm...> のメール: >> >> Hi Koichi, >> >> it doesn't work with newly added datanode but with existing datanode it >> does >> >> koichi=# execute direct on (datanode3) 'select * from t1'; >> ERROR: Failed to get pooled connections >> >> >> >> >> >> On Thu, Mar 20, 2014 at 3:20 PM, Koichi Suzuki <koi...@gm...> >> wrote: >>> >>> Does "EXECUTE DIRECT" work? >>> --- >>> Koichi Suzuki >>> >>> >>> 2014-03-20 18:00 GMT+09:00 Juned Khan <jkh...@gm...>: >>> > Hi koichi, >>> > >>> > All components just stops and starts without any problem. >>> > >>> > But still i am not able to execute that query, same issue. >>> > >>> > >>> > On Thu, Mar 20, 2014 at 1:49 PM, Koichi Suzuki <koi...@gm...> >>> > wrote: >>> >> >>> >> What happens if you restart all the components? >>> >> --- >>> >> Koichi Suzuki >>> >> >>> >> >>> >> 2014-03-20 14:07 GMT+09:00 Juned Khan <jkh...@gm...>: >>> >> > Hi koichi, >>> >> > >>> >> > I have already tried to reload but still its giving me same error. >>> >> > >>> >> > postgres=# SELECT pgxc_pool_reload(); >>> >> > pgxc_pool_reload >>> >> > ------------------ >>> >> > t >>> >> > (1 row) >>> >> > >>> >> > >>> >> > koichi=# alter table t1 add node (datanode3); >>> >> > ERROR: Failed to get pooled connections >>> >> > >>> >> > >>> >> > Although i am able to connect directly on datanode3. >>> >> > >>> >> > Please suggest. >>> >> > >>> >> > >>> >> > >>> >> > On Thu, Mar 20, 2014 at 6:26 AM, Koichi Suzuki >>> >> > <koi...@gm...> >>> >> > wrote: >>> >> >> >>> >> >> Sorry, made a silly reply. >>> >> >> >>> >> >> Please try SELECT pgxc_pool_reload(). Documentation will be found >>> >> >> at >>> >> >> >>> >> >> >>> >> >> >>> >> >> http://postgres-xc.sourceforge.net/docs/1_1/functions-admin.html#FUNCTIONS-ADMIN-SET >>> >> >> >>> >> >> Good luck. >>> >> >> --- >>> >> >> Koichi Suzuki >>> >> >> >>> >> >> >>> >> >> 2014-03-19 20:56 GMT+09:00 Juned Khan <jkh...@gm...>: >>> >> >> > Hi koichi, >>> >> >> > >>> >> >> > Having little bit issue. >>> >> >> > New datanode is added successfully and even database structure is >>> >> >> > copied >>> >> >> > on new datanode(i have added datanode3). >>> >> >> > >>> >> >> > But as tables are empty, i am just trying to add new datanode >>> >> >> > using >>> >> >> > below >>> >> >> > command >>> >> >> > >>> >> >> > >>> >> >> > koichi=# alter table t1 add node (datanode3); >>> >> >> > ERROR: Failed to get pooled connections >>> >> >> > >>> >> >> > But as you suggested i tried to clean the connection. >>> >> >> > >>> >> >> > postgres=# CLEAN CONNECTION TO COORDINATOR (coord1,coord2) FOR >>> >> >> > koichi; >>> >> >> > CLEAN CONNECTION >>> >> >> > >>> >> >> > postgres=# CLEAN CONNECTION TO NODE >>> >> >> > (datanode1,datanode2,datanode3) >>> >> >> > for >>> >> >> > database koichi; >>> >> >> > CLEAN CONNECTION >>> >> >> > >>> >> >> > But still its giving me same error, is there any other solution >>> >> >> > for >>> >> >> > this >>> >> >> > problem? >>> >> >> > >>> >> >> > Regards, >>> >> >> > Juned khan >>> >> >> > >>> >> >> > >>> >> >> > >>> >> >> > On Sat, Mar 15, 2014 at 11:59 AM, Juned Khan >>> >> >> > <jkh...@gm...> >>> >> >> > wrote: >>> >> >> >> >>> >> >> >> Hi Koichi, >>> >> >> >> >>> >> >> >> Thanks for your information, >>> >> >> >> i just tried with stop and start components and it worked. >>> >> >> >> >>> >> >> >> This link will help me to fix future issues. And i ll keep in >>> >> >> >> mind >>> >> >> >> about that documentation bug. >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> On Sat, Mar 15, 2014 at 3:56 AM, Koichi Suzuki >>> >> >> >> <koi...@gm...> >>> >> >> >> wrote: >>> >> >> >>> >>> >> >> >>> pgxc_ctl command "add datanode master" should run all the >>> >> >> >>> necessary >>> >> >> >>> clean_connection calls. >>> >> >> >>> >>> >> >> >>> Try to run clean_connection SQL command (specific to XC) as >>> >> >> >>> seen in >>> >> >> >>> >>> >> >> >>> >>> >> >> >>> http://postgres-xc.sourceforge.net/docs/1_1/sql-cleanconnection.html >>> >> >> >>> >>> >> >> >>> I found a document bug in the example CLEAN CONNECTION TO >>> >> >> >>> COORDINATOR >>> >> >> >>> coord1,coord2 FOR DATABASEname; >>> >> >> >>> >>> >> >> >>> You should enclose set of node names with (). >>> >> >> >>> >>> >> >> >>> Regards; >>> >> >> >>> --- >>> >> >> >>> Koichi Suzuki >>> >> >> >>> >>> >> >> >>> >>> >> >> >>> 2014-03-14 5:59 GMT+00:00 Juned Khan <jkh...@gm...>: >>> >> >> >>> > Koichi=# alter table t1 add node (datanode3); >>> >> >> >>> > >>> >> >> >>> > ERROR: Failed to get pooled connections >>> >> >> >>> > CONTEXT: SQL statement "EXECUTE DIRECT ON (coord3) 'SELECT >>> >> >> >>> > pg_catalog.pg_try_advisory_xact_lock_shared(65535, 0)'" >>> >> >> >>> > >>> >> >> >>> > >>> >> >> >>> > >>> >> >> >>> > On Fri, Mar 14, 2014 at 11:20 AM, Juned Khan >>> >> >> >>> > <jkh...@gm...> >>> >> >> >>> > wrote: >>> >> >> >>> >> >>> >> >> >>> >> Hi Masataka, Koichi, >>> >> >> >>> >> >>> >> >> >>> >> New datanode is successfully added and all components are >>> >> >> >>> >> running.i >>> >> >> >>> >> have >>> >> >> >>> >> small doubt. >>> >> >> >>> >> >>> >> >> >>> >> As i just added new datanode so , will existing database >>> >> >> >>> >> automatically >>> >> >> >>> >> copied >>> >> >> >>> >> on this datanode or i have to create and import it manually >>> >> >> >>> >> from >>> >> >> >>> >> another >>> >> >> >>> >> datanode ? >>> >> >> >>> >> >>> >> >> >>> >> As per that video, we need to just fire alter query just >>> >> >> >>> >> like : >>> >> >> >>> >> alter table t1 add node (datanode3); >>> >> >> >>> >> is that so ? >>> >> >> >>> >> >>> >> >> >>> >> and yeah as of now i am getting Failed to get pooled >>> >> >> >>> >> connections >>> >> >> >>> >> error. >>> >> >> >>> >> >>> >> >> >>> >> koichi=# execute direct on (datanode3) 'select * from t1'; >>> >> >> >>> >> ERROR: Failed to get pooled connections >>> >> >> >>> >> >>> >> >> >>> >> Please advice. >>> >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> On Fri, Mar 14, 2014 at 11:03 AM, Juned Khan >>> >> >> >>> >> <jkh...@gm...> >>> >> >> >>> >> wrote: >>> >> >> >>> >>> >>> >> >> >>> >>> Hi Masataka >>> >> >> >>> >>> >>> >> >> >>> >>> Thanks you very much, commands are working now. >>> >> >> >>> >>> I thought that element doesn't affect because at initial >>> >> >> >>> >>> level >>> >> >> >>> >>> it was not showing any error. >>> >> >> >>> >>> >>> >> >> >>> >>> But thanks a lot, just fixed another same kind of problems. >>> >> >> >>> >>> ;) >>> >> >> >>> >>> >>> >> >> >>> >>> >>> >> >> >>> >>> >>> >> >> >>> >>> On Fri, Mar 14, 2014 at 10:40 AM, Masataka Saito >>> >> >> >>> >>> <pg...@gm...> >>> >> >> >>> >>> wrote: >>> >> >> >>> >>>> >>> >> >> >>> >>>> coordMasterServers defines 2 nodes, but >>> >> >> >>> >>>> coordSpecificExtraConfig >>> >> >> >>> >>>> and >>> >> >> >>> >>>> coordSpecificExtraPgHba have 4 elements. >>> >> >> >>> >>>> >>> >> >> >>> >>>> On 14 March 2014 13:51, Juned Khan <jkh...@gm...> >>> >> >> >>> >>>> wrote: >>> >> >> >>> >>>> > Hi Masataka, >>> >> >> >>> >>>> > >>> >> >> >>> >>>> > Please find the attachment. i have attached my >>> >> >> >>> >>>> > pgxc_ctl.conf >>> >> >> >>> >>>> > >>> >> >> >>> >>>> > see my pastebin link : http://pastebin.com/n35QkmpK >>> >> >> >>> >>>> > >>> >> >> >>> >>>> > >>> >> >> >>> >>>> > On Fri, Mar 14, 2014 at 10:18 AM, Juned Khan >>> >> >> >>> >>>> > <jkh...@gm...> >>> >> >> >>> >>>> > wrote: >>> >> >> >>> >>>> >> >>> >> >> >>> >>>> >> Hi Masataka, >>> >> >> >>> >>>> >> >>> >> >> >>> >>>> >> Please find the attachment. i have attached my >>> >> >> >>> >>>> >> pgxc_ctl.conf >>> >> >> >>> >>>> >> >>> >> >> >>> >>>> >> >>> >> >> >>> >>>> >> On Thu, Mar 13, 2014 at 11:39 PM, Masataka Saito >>> >> >> >>> >>>> >> <pg...@gm...> >>> >> >> >>> >>>> >> wrote: >>> >> >> >>> >>>> >>> >>> >> >> >>> >>>> >>> Can you provide your pgxc_ctl.conf? >>> >> >> >>> >>>> >>> >>> >> >> >>> >>>> >>> On 14 March 2014 00:31, Juned Khan >>> >> >> >>> >>>> >>> <jkh...@gm...> >>> >> >> >>> >>>> >>> wrote: >>> >> >> >>> >>>> >>> > Hi Masataka, >>> >> >> >>> >>>> >>> > >>> >> >> >>> >>>> >>> > Thanks for confirmation. >>> >> >> >>> >>>> >>> > is there any alternative for me to get this working? >>> >> >> >>> >>>> >>> > >>> >> >> >>> >>>> >>> > This can be very problematic with live servers. >>> >> >> >>> >>>> >>> > >>> >> >> >>> >>>> >>> > >>> >> >> >>> >>>> >>> > On Thu, Mar 13, 2014 at 8:56 PM, Masataka Saito >>> >> >> >>> >>>> >>> > <pg...@gm...> >>> >> >> >>> >>>> >>> > wrote: >>> >> >> >>> >>>> >>> >> >>> >> >> >>> >>>> >>> >> I think there's no problem in your command line. >>> >> >> >>> >>>> >>> >> >>> >> >> >>> >>>> >>> >> >>> >> >> >>> >>>> >>> >> On 13 March 2014 23:05, Juned Khan >>> >> >> >>> >>>> >>> >> <jkh...@gm...> >>> >> >> >>> >>>> >>> >> wrote: >>> >> >> >>> >>>> >>> >> > Hi Masataka, >>> >> >> >>> >>>> >>> >> > >>> >> >> >>> >>>> >>> >> > Its fine but i think i have specified only one >>> >> >> >>> >>>> >>> >> > element >>> >> >> >>> >>>> >>> >> > for >>> >> >> >>> >>>> >>> >> > each >>> >> >> >>> >>>> >>> >> > parameter. >>> >> >> >>> >>>> >>> >> > please check my command if it needs any >>> >> >> >>> >>>> >>> >> > correction >>> >> >> >>> >>>> >>> >> > >>> >> >> >>> >>>> >>> >> > >>> >> >> >>> >>>> >>> >> > pgxc_ctl add coordinator master coord3 node5 >>> >> >> >>> >>>> >>> >> > 20004 >>> >> >> >>> >>>> >>> >> > 20010 >>> >> >> >>> >>>> >>> >> > /home/postgres/pgxc/nodes/coord >>> >> >> >>> >>>> >>> >> > >>> >> >> >>> >>>> >>> >> > >>> >> >> >>> >>>> >>> >> > >>> >> >> >>> >>>> >>> >> > On Thu, Mar 13, 2014 at 7:07 PM, Masataka Saito >>> >> >> >>> >>>> >>> >> > <pg...@gm...> >>> >> >> >>> >>>> >>> >> > wrote: >>> >> >> >>> >>>> >>> >> >> >>> >> >> >>> >>>> >>> >> >> Sorry. I lead your misunderstanding. >>> >> >> >>> >>>> >>> >> >> I meant about array style parameters and number >>> >> >> >>> >>>> >>> >> >> of >>> >> >> >>> >>>> >>> >> >> elements in >>> >> >> >>> >>>> >>> >> >> each >>> >> >> >>> >>>> >>> >> >> array. >>> >> >> >>> >>>> >>> >> >> >>> >> >> >>> >>>> >>> >> >> For example, you have one coordNames, almost of >>> >> >> >>> >>>> >>> >> >> array >>> >> >> >>> >>>> >>> >> >> style >>> >> >> >>> >>>> >>> >> >> parameters >>> >> >> >>> >>>> >>> >> >> for coordinators except for coordPgHbaEntries -- >>> >> >> >>> >>>> >>> >> >> coordPorts, >>> >> >> >>> >>>> >>> >> >> poolerPorts, coordMasterServers, >>> >> >> >>> >>>> >>> >> >> coordMasterDirs, >>> >> >> >>> >>>> >>> >> >> coordMaxWALSenders, >>> >> >> >>> >>>> >>> >> >> coordSpecificExtraConfig, >>> >> >> >>> >>>> >>> >> >> coordSpecificExtraPgHba -- >>> >> >> >>> >>>> >>> >> >> must >>> >> >> >>> >>>> >>> >> >> have >>> >> >> >>> >>>> >>> >> >> only >>> >> >> >>> >>>> >>> >> >> one element. >>> >> >> >>> >>>> >>> >> >> >>> >> >> >>> >>>> >>> >> >> That's all I can guess by your description. >>> >> >> >>> >>>> >>> >> >> >>> >> >> >>> >>>> >>> >> >> Regards. >>> >> >> >>> >>>> >>> >> >> >>> >> >> >>> >>>> >>> >> >> On 13 March 2014 18:07, Juned Khan >>> >> >> >>> >>>> >>> >> >> <jkh...@gm...> >>> >> >> >>> >>>> >>> >> >> wrote: >>> >> >> >>> >>>> >>> >> >> > Hi Masataka, >>> >> >> >>> >>>> >>> >> >> > >>> >> >> >>> >>>> >>> >> >> > As per that documentation i have provided all >>> >> >> >>> >>>> >>> >> >> > those >>> >> >> >>> >>>> >>> >> >> > parameters >>> >> >> >>> >>>> >>> >> >> > what else i should add or remove to make that >>> >> >> >>> >>>> >>> >> >> > command >>> >> >> >>> >>>> >>> >> >> > working ? >>> >> >> >>> >>>> >>> >> >> > >>> >> >> >>> >>>> >>> >> >> > I want to add datanode and coordinator with >>> >> >> >>> >>>> >>> >> >> > below >>> >> >> >>> >>>> >>> >> >> > configuration >>> >> >> >>> >>>> >>> >> >> > and i think i specified all values as per that >>> >> >> >>> >>>> >>> >> >> > documentation. >>> >> >> >>> >>>> >>> >> >> > >>> >> >> >>> >>>> >>> >> >> > >>> >> >> >>> >>>> >>> >> >> >> Coordinator Master: >>> >> >> >>> >>>> >>> >> >> >> Nodename: 'coord3', port: 20004, pooler >>> >> >> >>> >>>> >>> >> >> >> port: >>> >> >> >>> >>>> >>> >> >> >> 20010 >>> >> >> >>> >>>> >>> >> >> >> MaxWalSenders: (null), Dir: >>> >> >> >>> >>>> >>> >> >> >> '/home/postgres/pgxc/nodes/coord' >>> >> >> >>> >>>> >>> >> >> >> ExtraConfig: 'coordExtraConfig', Specific >>> >> >> >>> >>>> >>> >> >> >> Extra >>> >> >> >>> >>>> >>> >> >> >> Config: >>> >> >> >>> >>>> >>> >> >> >> 'none' >>> >> >> >>> >>>> >>> >> >> >> pg_hba entries ( '192.168.1.71/32' >>> >> >> >>> >>>> >>> >> >> >> '192.168.1.72/32' >>> >> >> >>> >>>> >>> >> >> >> '192.168.1.73/32' >>> >> >> >>> >>>> >>> >> >> >> '192.168.1.43/32' '192.168.1.75/32' ) >>> >> >> >>> >>>> >>> >> >> >> Extra pg_hba: 'none', Specific Extra >>> >> >> >>> >>>> >>> >> >> >> pg_hba: >>> >> >> >>> >>>> >>> >> >> >> 'none' >>> >> >> >>> >>>> >>> >> >> >> >>> >> >> >>> >>>> >>> >> >> >> Datanode Master: >>> >> >> >>> >>>> >>> >> >> >> Nodename: 'datanode3', port: 20008 >>> >> >> >>> >>>> >>> >> >> >> MaxWALSenders: 3, Dir: >>> >> >> >>> >>>> >>> >> >> >> '/home/postgres/pgxc/nodes/dn_master' >>> >> >> >>> >>>> >>> >> >> >> ExtraConfig: 'none', Specific Extra >>> >> >> >>> >>>> >>> >> >> >> Config: >>> >> >> >>> >>>> >>> >> >> >> 'none' >>> >> >> >>> >>>> >>> >> >> >> pg_hba entries ( '192.168.1.71/32' >>> >> >> >>> >>>> >>> >> >> >> '192.168.1.72/32' >>> >> >> >>> >>>> >>> >> >> >> '192.168.1.73/32' >>> >> >> >>> >>>> >>> >> >> >> '192.168.1.43/32' '192.168.1.75/32' ) >>> >> >> >>> >>>> >>> >> >> >> Extra pg_hba: 'none', Specific Extra >>> >> >> >>> >>>> >>> >> >> >> pg_hba: >>> >> >> >>> >>>> >>> >> >> >> 'none' >>> >> >> >>> >>>> >>> >> >> > >>> >> >> >>> >>>> >>> >> >> > >>> >> >> >>> >>>> >>> >> >> > >>> >> >> >>> >>>> >>> >> >> > Please suggest. >>> >> >> >>> >>>> >>> >> >> > >>> >> >> >>> >>>> >>> >> >> > Regards >>> >> >> >>> >>>> >>> >> >> > Juned Khan >>> >> >> >>> >>>> >>> >> >> > >>> >> >> >>> >>>> >>> >> >> > >>> >> >> >>> >>>> >>> >> >> > >>> >> >> >>> >>>> >>> >> >> > On Thu, Mar 13, 2014 at 1:06 PM, Masataka >>> >> >> >>> >>>> >>> >> >> > Saito >>> >> >> >>> >>>> >>> >> >> > <pg...@gm...> >>> >> >> >>> >>>> >>> >> >> > wrote: >>> >> >> >>> >>>> >>> >> >> >> >>> >> >> >>> >>>> >>> >> >> >> On 12 March 2014 22:43, Juned Khan >>> >> >> >>> >>>> >>> >> >> >> <jkh...@gm...> >>> >> >> >>> >>>> >>> >> >> >> wrote: >>> >> >> >>> >>>> >>> >> >> >> > Hi Koichi,Masataka >>> >> >> >>> >>>> >>> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> > Successfully added gtm proxy but having >>> >> >> >>> >>>> >>> >> >> >> > issue >>> >> >> >>> >>>> >>> >> >> >> > with >>> >> >> >>> >>>> >>> >> >> >> > coordinator >>> >> >> >>> >>>> >>> >> >> >> > and >>> >> >> >>> >>>> >>> >> >> >> > datanode. >>> >> >> >>> >>>> >>> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> > Coordinator : >>> >> >> >>> >>>> >>> >> >> >> > add coordinator master name host port >>> >> >> >>> >>>> >>> >> >> >> > pooler >>> >> >> >>> >>>> >>> >> >> >> > dir >>> >> >> >>> >>>> >>> >> >> >> > here what value i should use in place of >>> >> >> >>> >>>> >>> >> >> >> > pooler >>> >> >> >>> >>>> >>> >> >> >> > ? >>> >> >> >>> >>>> >>> >> >> >> > pooler >>> >> >> >>> >>>> >>> >> >> >> > port >>> >> >> >>> >>>> >>> >> >> >> > ? >>> >> >> >>> >>>> >>> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> >>> >> >> >>> >>>> >>> >> >> >> pooler port >>> >> >> >>> >>>> >>> >> >> >> >>> >> >> >>> >>>> >>> >> >> >> > pgxc_ctl add coordinator master coord3 >>> >> >> >>> >>>> >>> >> >> >> > node5 >>> >> >> >>> >>>> >>> >> >> >> > 20004 >>> >> >> >>> >>>> >>> >> >> >> > 20010 >>> >> >> >>> >>>> >>> >> >> >> > /home/postgres/pgxc/nodes/coord >>> >> >> >>> >>>> >>> >> >> >> > ERROR: sorry found some inconflicts in >>> >> >> >>> >>>> >>> >> >> >> > coordinator >>> >> >> >>> >>>> >>> >> >> >> > master >>> >> >> >>> >>>> >>> >> >> >> > configuration. >>> >> >> >>> >>>> >>> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> >>> >> >> >>> >>>> >>> >> >> >> It is due to misconfigure. In detail, numbers >>> >> >> >>> >>>> >>> >> >> >> of >>> >> >> >>> >>>> >>> >> >> >> element >>> >> >> >>> >>>> >>> >> >> >> for >>> >> >> >>> >>>> >>> >> >> >> same >>> >> >> >>> >>>> >>> >> >> >> component are not same. >>> >> >> >>> >>>> >>> >> >> >> >>> >> >> >>> >>>> >>> >> >> >> > pgxc_ctl add coordinator master coord3 >>> >> >> >>> >>>> >>> >> >> >> > node5 >>> >> >> >>> >>>> >>> >> >> >> > 20004 >>> >> >> >>> >>>> >>> >> >> >> > /home/postgres/pgxc/nodes/coord >>> >> >> >>> >>>> >>> >> >> >> > ERROR: please specify the working director >>> >> >> >>> >>>> >>> >> >> >> > for >>> >> >> >>> >>>> >>> >> >> >> > the >>> >> >> >>> >>>> >>> >> >> >> > coordinator >>> >> >> >>> >>>> >>> >> >> >> > master >>> >> >> >>> >>>> >>> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> > Datanode : >>> >> >> >>> >>>> >>> >> >> >> > add datanode master name host port dir >>> >> >> >>> >>>> >>> >> >> >> > pgxc_ctl add datanode master new node5 >>> >> >> >>> >>>> >>> >> >> >> > 20008 >>> >> >> >>> >>>> >>> >> >> >> > /home/postgres/pgxc/nodes/dn_master >>> >> >> >>> >>>> >>> >> >> >> > ERROR: sorry found some inconflicts in >>> >> >> >>> >>>> >>> >> >> >> > datanode >>> >> >> >>> >>>> >>> >> >> >> > master >>> >> >> >>> >>>> >>> >> >> >> > configuration. >>> >> >> >>> >>>> >>> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> > Does earlier manual installation could be >>> >> >> >>> >>>> >>> >> >> >> > reason >>> >> >> >>> >>>> >>> >> >> >> > for >>> >> >> >>> >>>> >>> >> >> >> > this >>> >> >> >>> >>>> >>> >> >> >> > issue ? >>> >> >> >>> >>>> >>> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> > P.S: >>> >> >> >>> >>>> >>> >> >> >> > gtm_prxy : Nodename: 'gtm_pxy3', port: >>> >> >> >>> >>>> >>> >> >> >> > 20001, >>> >> >> >>> >>>> >>> >> >> >> > dir: >>> >> >> >>> >>>> >>> >> >> >> > '/home/postgres/pgxc/nodes/gtm_pxy' >>> >> >> >>> >>>> >>> >> >> >> > Coordinator Master: Nodename: 'coord3', >>> >> >> >>> >>>> >>> >> >> >> > port: >>> >> >> >>> >>>> >>> >> >> >> > 20004, >>> >> >> >>> >>>> >>> >> >> >> > pooler >>> >> >> >>> >>>> >>> >> >> >> > port: >>> >> >> >>> >>>> >>> >> >> >> > 20010, >>> >> >> >>> >>>> >>> >> >> >> > dir:' /home/postgres/pgxc/nodes/coord' >>> >> >> >>> >>>> >>> >> >> >> > Datanode Master : Nodename: 'datanode3', >>> >> >> >>> >>>> >>> >> >> >> > port: >>> >> >> >>> >>>> >>> >> >> >> > 20008, >>> >> >> >>> >>>> >>> >> >> >> > dir:' >>> >> >> >>> >>>> >>> >> >> >> > /home/postgres/pgxc/nodes/dn_master' >>> >> >> >>> >>>> >>> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> > please look at my commands if its erroneous >>> >> >> >>> >>>> >>> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> > Please advice. >>> >> >> >>> >>>> >>> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> > Regards, >>> >> >> >>> >>>> >>> >> >> >> > Juned Khan >>> >> >> >>> >>>> >>> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> > On Wed, Mar 12, 2014 at 11:45 AM, Juned >>> >> >> >>> >>>> >>> >> >> >> > Khan >>> >> >> >>> >>>> >>> >> >> >> > <jkh...@gm...> >>> >> >> >>> >>>> >>> >> >> >> > wrote: >>> >> >> >>> >>>> >>> >> >> >> >> >>> >> >> >>> >>>> >>> >> >> >> >> I tried to add coordinator and datanode >>> >> >> >>> >>>> >>> >> >> >> >> manually >>> >> >> >>> >>>> >>> >> >> >> >> and now it seems everything is messed up. >>> >> >> >>> >>>> >>> >> >> >> >> >>> >> >> >>> >>>> >>> >> >> >> >> Every component is just stopped working, >>> >> >> >>> >>>> >>> >> >> >> >> if i >>> >> >> >>> >>>> >>> >> >> >> >> kill >>> >> >> >>> >>>> >>> >> >> >> >> all >>> >> >> >>> >>>> >>> >> >> >> >> and >>> >> >> >>> >>>> >>> >> >> >> >> start all again then again its shows >>> >> >> >>> >>>> >>> >> >> >> >> everything >>> >> >> >>> >>>> >>> >> >> >> >> is >>> >> >> >>> >>>> >>> >> >> >> >> running >>> >> >> >>> >>>> >>> >> >> >> >> but in that case it takes too long to >>> >> >> >>> >>>> >>> >> >> >> >> connect >>> >> >> >>> >>>> >>> >> >> >> >> dtabase(Psql >>> >> >> >>> >>>> >>> >> >> >> >> -dkoichi) >>> >> >> >>> >>>> >>> >> >> >> >> >>> >> >> >>> >>>> >>> >> >> >> >> and at last it just fails to connect to >>> >> >> >>> >>>> >>> >> >> >> >> the >>> >> >> >>> >>>> >>> >> >> >> >> database >>> >> >> >>> >>>> >>> >> >> >> >> >>> >> >> >>> >>>> >>> >> >> >> >> PGXC Psql -dkoichi >>> >> >> >>> >>>> >>> >> >> >> >> Selected coord1. >>> >> >> >>> >>>> >>> >> >> >> >> psql: server closed the connection >>> >> >> >>> >>>> >>> >> >> >> >> unexpectedly >>> >> >> >>> >>>> >>> >> >> >> >> This probably means the server >>> >> >> >>> >>>> >>> >> >> >> >> terminated >>> >> >> >>> >>>> >>> >> >> >> >> abnormally >>> >> >> >>> >>>> >>> >> >> >> >> before or while processing the >>> >> >> >>> >>>> >>> >> >> >> >> request. >>> >> >> >>> >>>> >>> >> >> >> >> PGXC >>> >> >> >>> >>>> >>> >> >> >> >> >>> >> >> >>> >>>> >>> >> >> >> >> Please advice. >>> >> >> >>> >>>> >>> >> >> >> >> >>> >> >> >>> >>>> >>> >> >> >> >> >>> >> >> >>> >>>> >>> >> >> >> >> >>> >> >> >>> >>>> >>> >> >> >> >> On Wed, Mar 12, 2014 at 4:34 AM, Michael >>> >> >> >>> >>>> >>> >> >> >> >> Paquier >>> >> >> >>> >>>> >>> >> >> >> >> <mic...@gm...> wrote: >>> >> >> >>> >>>> >>> >> >> >> >>> >>> >> >> >>> >>>> >>> >> >> >> >>> On Wed, Mar 12, 2014 at 4:10 AM, Masataka >>> >> >> >>> >>>> >>> >> >> >> >>> Saito >>> >> >> >>> >>>> >>> >> >> >> >>> <pg...@gm...> >>> >> >> >>> >>>> >>> >> >> >> >>> wrote: >>> >> >> >>> >>>> >>> >> >> >> >>> > On 11 March 2014 16:42, Juned Khan >>> >> >> >>> >>>> >>> >> >> >> >>> > <jkh...@gm...> >>> >> >> >>> >>>> >>> >> >> >> >>> > wrote: >>> >> >> >>> >>>> >>> >> >> >> >>> >> Hi Masataka, >>> >> >> >>> >>>> >>> >> >> >> >>> >> >>> >> >> >>> >>>> >>> >> >> >> >>> >> For testing i am tried to get this >>> >> >> >>> >>>> >>> >> >> >> >>> >> work >>> >> >> >>> >>>> >>> >> >> >> >>> >> added >>> >> >> >>> >>>> >>> >> >> >> >>> >> manual >>> >> >> >>> >>>> >>> >> >> >> >>> >> query >>> >> >> >>> >>>> >>> >> >> >> >>> >> for >>> >> >> >>> >>>> >>> >> >> >> >>> >> CREATE >>> >> >> >>> >>>> >>> >> >> >> >>> >> NODE. >>> >> >> >>> >>>> >>> >> >> >> >>> >> >>> >> >> >>> >>>> >>> >> >> >> >>> >> Now its look like this: >>> >> >> >>> >>>> >>> >> >> >> >>> >> >>> >> >> >>> >>>> >>> >> >> >> >>> >> postgres=# \q >>> >> >> >>> >>>> >>> >> >> >> >>> >> PGXC Psql -dpostgres -h node5 -p 20004 >>> >> >> >>> >>>> >>> >> >> >> >>> >> Selected coord3. >>> >> >> >>> >>>> >>> >> >> >> >>> >> >>> >> >> >>> >>>> >>> >> >> >> >>> >> postgres=# select * from pgxc_node; >>> >> >> >>> >>>> >>> >> >> >> >>> >> node_name | node_type | node_port | >>> >> >> >>> >>>> >>> >> >> >> >>> >> node_host | >>> >> >> >>> >>>> >>> >> >> >> >>> >> nodeis_primary >>> >> >> >>> >>>> >>> >> >> >> >>> >> | >>> >> >> >>> >>>> >>> >> >> >> >>> >> nodeis_preferred | node_id >>> >> >> >>> >>>> >>> >> >> >> >>> >> >>> >> >> >>> >>>> >>> >> >> >> >>> >> >>> >> >> >>> >>>> >>> >> >> >> >>> >> >>> >> >> >>> >>>> >>> >> >> >> >>> >> >>> >> >> >>> >>>> >>> >> >> >> >>> >> >>> >> >> >>> >>>> >>> >> >> >> >>> >> >>> >> >> >>> >>>> >>> >> >> >> >>> >> >>> >> >> >>> >>>> >>> >> >> >> >>> >> >>> >> >> >>> >>>> >>> >> >> >> >>> >> >>> >> >> >>> >>>> >>> >> >> >> >>> >> >>> >> >> >>> >>>> >>> >> >> >> >>> >> -----------+-----------+-----------+-----------+----------------+------------------+------------- >>> >> >> >>> >>>> >>> >> >> >> >>> >> coord3 | C | 5432 | >>> >> >> >>> >>>> >>> >> >> >> >>> >> localhost | >>> >> >> >>> >>>> >>> >> >> >> >>> >> f >>> >> >> >>> >>>> >>> >> >> >> >>> >> | f >>> >> >> >>> >>>> >>> >> >> >> >>> >> | 1638403545 >>> >> >> >>> >>>> >>> >> >> >> >>> >> coord1 | C | 20004 | >>> >> >> >>> >>>> >>> >> >> >> >>> >> node3 >>> >> >> >>> >>>> >>> >> >> >> >>> >> | >>> >> >> >>> >>>> >>> >> >> >> >>> >> f >>> >> >> >>> >>>> >>> >> >> >> >>> >> | f >>> >> >> >>> >>>> >>> >> >> >> >>> >> | 1885696643 >>> >> >> >>> >>>> >>> >> >> >> >>> >> coord2 | C | 20005 | >>> >> >> >>> >>>> >>> >> >> >> >>> >> node4 >>> >> >> >>> >>>> >>> >> >> >> >>> >> | >>> >> >> >>> >>>> >>> >> >> >> >>> >> f >>> >> >> >>> >>>> >>> >> >> >> >>> >> | f >>> >> >> >>> >>>> >>> >> >> >> >>> >> | -1197102633 >>> >> >> >>> >>>> >>> >> >> >> >>> >> datanode1 | D | 20008 | >>> >> >> >>> >>>> >>> >> >> >> >>> >> node3 >>> >> >> >>> >>>> >>> >> >> >> >>> >> | >>> >> >> >>> >>>> >>> >> >> >> >>> >> f >>> >> >> >>> >>>> >>> >> >> >> >>> >> | f >>> >> >> >>> >>>> >>> >> >> >> >>> >> | 888802358 >>> >> >> >>> >>>> >>> >> >> >> >>> >> datanode2 | D | 20009 | >>> >> >> >>> >>>> >>> >> >> >> >>> >> node4 >>> >> >> >>> >>>> >>> >> >> >> >>> >> | >>> >> >> >>> >>>> >>> >> >> >> >>> >> f >>> >> >> >>> >>>> >>> >> >> >> >>> >> | f >>> >> >> >>> >>>> >>> >> >> >> >>> >> | -905831925 >>> >> >> >>> >>>> >>> >> >> >> >>> >> datanode3 | D | 20008 | >>> >> >> >>> >>>> >>> >> >> >> >>> >> node5 >>> >> >> >>> >>>> >>> >> >> >> >>> >> | >>> >> >> >>> >>>> >>> >> >> >> >>> >> f >>> >> >> >>> >>>> >>> >> >> >> >>> >> | f >>> >> >> >>> >>>> >>> >> >> >> >>> >> | -1894792127 >>> >> >> >>> >>>> >>> >> >> >> >>> >> (6 rows) >>> >> >> >>> >>>> >>> >> >> >> >>> >> >>> >> >> >>> >>>> >>> >> >> >> >>> >> Here coord3 runs on 5432 which should >>> >> >> >>> >>>> >>> >> >> >> >>> >> 20004., >>> >> >> >>> >>>> >>> >> >> >> >>> >> it >>> >> >> >>> >>>> >>> >> >> >> >>> >> creates >>> >> >> >>> >>>> >>> >> >> >> >>> >> problem >>> >> >> >>> >>>> >>> >> >> >> >>> >> i >>> >> >> >>> >>>> >>> >> >> >> >>> >> think >>> >> >> >>> >>>> >>> >> >> >> >>> >> isn't it ? >>> >> >> >>> >>>> >>> >> >> >> >>> >> >>> >> >> >>> >>>> >>> >> >> >> >>> > >>> >> >> >>> >>>> >>> >> >> >> >>> > As far as I know, the local node >>> >> >> >>> >>>> >>> >> >> >> >>> > information >>> >> >> >>> >>>> >>> >> >> >> >>> > is >>> >> >> >>> >>>> >>> >> >> >> >>> > not >>> >> >> >>> >>>> >>> >> >> >> >>> > important >>> >> >> >>> >>>> >>> >> >> >> >>> > and >>> >> >> >>> >>>> >>> >> >> >> >>> > it >>> >> >> >>> >>>> >>> >> >> >> >>> > is not necessary to update. >>> >> >> >>> >>>> >>> >> >> >> >>> > "pgxc_ctl add" corrects it by "ALTER >>> >> >> >>> >>>> >>> >> >> >> >>> > NODE". >>> >> >> >>> >>>> >>> >> >> >> >>> CREATE NODE and DROP NODE only run >>> >> >> >>> >>>> >>> >> >> >> >>> locally. >>> >> >> >>> >>>> >>> >> >> >> >>> Why >>> >> >> >>> >>>> >>> >> >> >> >>> not >>> >> >> >>> >>>> >>> >> >> >> >>> ALTER >>> >> >> >>> >>>> >>> >> >> >> >>> NODE >>> >> >> >>> >>>> >>> >> >> >> >>> for >>> >> >> >>> >>>> >>> >> >> >> >>> consistency? Am I missing smth? >>> >> >> >>> >>>> >>> >> >> >> >>> -- >>> >> >> >>> >>>> >>> >> >> >> >>> Michael >>> >> >> >>> >>>> >>> >> >> >> >> >>> >> >> >>> >>>> >>> >> >> >> >> >>> >> >> >>> >>>> >>> >> >> >> >> >>> >> >> >>> >>>> >>> >> >> >> >> >>> >> >> >>> >>>> >>> >> >> >> >> -- >>> >> >> >>> >>>> >>> >> >> >> >> Thanks, >>> >> >> >>> >>>> >>> >> >> >> >> Juned Khan >>> >> >> >>> >>>> >>> >> >> >> >> iNextrix Technologies Pvt Ltd. >>> >> >> >>> >>>> >>> >> >> >> >> www.inextrix.com >>> >> >> >>> >>>> >>> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> > >>> >> >> >>> >>>> >>> >> >> >> > -- >>> >> >> >>> >>>> >>> >> >> >> > Thanks, >>> >> >> >>> >>>> >>> >> >> >> > Juned Khan >>> >> >> >>> >>>> >>> >> >> >> > iNextrix Technologies Pvt Ltd. >>> >> >> >>> >>>> >>> >> >> >> > www.inextrix.com >>> >> >> >>> >>>> >>> >> >> > >>> >> >> >>> >>>> >>> >> >> > >>> >> >> >>> >>>> >>> >> >> > >>> >> >> >>> >>>> >>> >> >> > >>> >> >> >>> >>>> >>> >> >> > -- >>> >> >> >>> >>>> >>> >> >> > Thanks, >>> >> >> >>> >>>> >>> >> >> > Juned Khan >>> >> >> >>> >>>> >>> >> >> > iNextrix Technologies Pvt Ltd. >>> >> >> >>> >>>> >>> >> >> > www.inextrix.com >>> >> >> >>> >>>> >>> >> > >>> >> >> >>> >>>> >>> >> > >>> >> >> >>> >>>> >>> >> > >>> >> >> >>> >>>> >>> >> > >>> >> >> >>> >>>> >>> >> > -- >>> >> >> >>> >>>> >>> >> > Thanks, >>> >> >> >>> >>>> >>> >> > Juned Khan >>> >> >> >>> >>>> >>> >> > iNextrix Technologies Pvt Ltd. >>> >> >> >>> >>>> >>> >> > www.inextrix.com >>> >> >> >>> >>>> >>> > >>> >> >> >>> >>>> >>> > >>> >> >> >>> >>>> >>> > >>> >> >> >>> >>>> >>> > >>> >> >> >>> >>>> >>> > -- >>> >> >> >>> >>>> >>> > Thanks, >>> >> >> >>> >>>> >>> > Juned Khan >>> >> >> >>> >>>> >>> > iNextrix Technologies Pvt Ltd. >>> >> >> >>> >>>> >>> > www.inextrix.com >>> >> >> >>> >>>> >> >>> >> >> >>> >>>> >> >>> >> >> >>> >>>> >> >>> >> >> >>> >>>> >> >>> >> >> >>> >>>> >> -- >>> >> >> >>> >>>> >> Thanks, >>> >> >> >>> >>>> >> Juned Khan >>> >> >> >>> >>>> >> iNextrix Technologies Pvt Ltd. >>> >> >> >>> >>>> >> www.inextrix.com >>> >> >> >>> >>>> > >>> >> >> >>> >>>> > >>> >> >> >>> >>>> > >>> >> >> >>> >>>> > >>> >> >> >>> >>>> > -- >>> >> >> >>> >>>> > Thanks, >>> >> >> >>> >>>> > Juned Khan >>> >> >> >>> >>>> > iNextrix Technologies Pvt Ltd. >>> >> >> >>> >>>> > www.inextrix.com >>> >> >> >>> >>> >>> >> >> >>> >>> >>> >> >> >>> >>> >>> >> >> >>> >>> >>> >> >> >>> >>> -- >>> >> >> >>> >>> Thanks, >>> >> >> >>> >>> Juned Khan >>> >> >> >>> >>> iNextrix Technologies Pvt Ltd. >>> >> >> >>> >>> www.inextrix.com >>> >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> >>> >> >> >>> >> -- >>> >> >> >>> >> Thanks, >>> >> >> >>> >> Juned Khan >>> >> >> >>> >> iNextrix Technologies Pvt Ltd. >>> >> >> >>> >> www.inextrix.com >>> >> >> >>> > >>> >> >> >>> > >>> >> >> >>> > >>> >> >> >>> > >>> >> >> >>> > -- >>> >> >> >>> > Thanks, >>> >> >> >>> > Juned Khan >>> >> >> >>> > iNextrix Technologies Pvt Ltd. >>> >> >> >>> > www.inextrix.com >>> >> >> >>> > >>> >> >> >>> > >>> >> >> >>> > >>> >> >> >>> > >>> >> >> >>> > >>> >> >> >>> > ------------------------------------------------------------------------------ >>> >> >> >>> > Learn Graph Databases - Download FREE O'Reilly Book >>> >> >> >>> > "Graph Databases" is the definitive new guide to graph >>> >> >> >>> > databases >>> >> >> >>> > and >>> >> >> >>> > their >>> >> >> >>> > applications. Written by three acclaimed leaders in the >>> >> >> >>> > field, >>> >> >> >>> > this first edition is now available. Download your free book >>> >> >> >>> > today! >>> >> >> >>> > http://p.sf.net/sfu/13534_NeoTech >>> >> >> >>> > _______________________________________________ >>> >> >> >>> > Postgres-xc-general mailing list >>> >> >> >>> > Pos...@li... >>> >> >> >>> > >>> >> >> >>> > https://lists.sourceforge.net/lists/listinfo/postgres-xc-general >>> >> >> >>> > >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> -- >>> >> >> >> Thanks, >>> >> >> >> Juned Khan >>> >> >> >> iNextrix Technologies Pvt Ltd. >>> >> >> >> www.inextrix.com >>> >> >> > >>> >> >> > >>> >> >> > >>> >> >> > >>> >> >> > -- >>> >> >> > Thanks, >>> >> >> > Juned Khan >>> >> >> > iNextrix Technologies Pvt Ltd. >>> >> >> > www.inextrix.com >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > -- >>> >> > Thanks, >>> >> > Juned Khan >>> >> > iNextrix Technologies Pvt Ltd. >>> >> > www.inextrix.com >>> > >>> > >>> > >>> > >>> > -- >>> > Thanks, >>> > Juned Khan >>> > iNextrix Technologies Pvt Ltd. >>> > www.inextrix.com >> >> >> >> >> -- >> Thanks, >> Juned Khan >> iNextrix Technologies Pvt Ltd. >> www.inextrix.com >> >> ------------------------------------------------------------------------------ >> Learn Graph Databases - Download FREE O'Reilly Book >> "Graph Databases" is the definitive new guide to graph databases and their >> applications. Written by three acclaimed leaders in the field, >> this first edition is now available. Download your free book today! >> >> http://p.sf.net/sfu/13534_NeoTech_______________________________________________ >> Postgres-xc-general mailing list >> Pos...@li... >> https://lists.sourceforge.net/lists/listinfo/postgres-xc-general >> >> > > > > -- > Thanks, > Juned Khan > iNextrix Technologies Pvt Ltd. > www.inextrix.com |
From: Mason S. <ms...@tr...> - 2014-03-24 12:57:56
|
On Mon, Mar 24, 2014 at 1:59 AM, Juned Khan <jkh...@gm...> wrote: > Hi Michel, > > Thank you very much for valuable response. > > As a solution of this problem can i use VPN or setup all components > on same network ? > > Please suggest. > > > What should the behavior be when the network is down? Is it ok for there to be an outage? I believe I also previously said XC may not be the best fit for what you are doing. You could perhaps make it work by modifying the code, but it depends on exactly what you are trying to do. You mention a billion rows, but how many transactions per second? How much of the data needs to be replicated to all nodes and how much can be distributed? How frequently do (reporting) queries need to look at all billion rows or a large portion thereof? Are writes typically done at each location for a particular set of data (regional customers)? Or is that all sites need to write to all of the data equally, that there is not a good way of splitting it up? -- Mason Sharp TransLattice - http://www.translattice.com Distributed and Clustered Database Solutions |
From: Juned K. <jkh...@gm...> - 2014-03-24 07:25:52
|
Hi koichi, PFA I have changed the log level as you said. On Mon, Mar 24, 2014 at 10:43 AM, 鈴木 幸市 <ko...@in...> wrote: > Hmmm.. it’s quite strange. Another way to collect info is to set the > following in postgresql.conf for the coordinator in question. > > log_min_messages = debug5 > log_error_verbosity = vervose > > It could be too novice but please do this at the coordinator your psql > is connecting. Also, it will be safer to restart your coordinator to make > these changes effective. > > Could share the result? > > Best; > --- > Koichi Suzuki > > 2014/03/20 18:57、Juned Khan <jkh...@gm...> のメール: > > Hi Koichi, > > it doesn't work with newly added datanode but with existing datanode it > does > > koichi=# execute direct on (datanode3) 'select * from t1'; > ERROR: Failed to get pooled connections > > > > > > On Thu, Mar 20, 2014 at 3:20 PM, Koichi Suzuki <koi...@gm...>wrote: > >> Does "EXECUTE DIRECT" work? >> --- >> Koichi Suzuki >> >> >> 2014-03-20 18:00 GMT+09:00 Juned Khan <jkh...@gm...>: >> > Hi koichi, >> > >> > All components just stops and starts without any problem. >> > >> > But still i am not able to execute that query, same issue. >> > >> > >> > On Thu, Mar 20, 2014 at 1:49 PM, Koichi Suzuki <koi...@gm...> >> > wrote: >> >> >> >> What happens if you restart all the components? >> >> --- >> >> Koichi Suzuki >> >> >> >> >> >> 2014-03-20 14:07 GMT+09:00 Juned Khan <jkh...@gm...>: >> >> > Hi koichi, >> >> > >> >> > I have already tried to reload but still its giving me same error. >> >> > >> >> > postgres=# SELECT pgxc_pool_reload(); >> >> > pgxc_pool_reload >> >> > ------------------ >> >> > t >> >> > (1 row) >> >> > >> >> > >> >> > koichi=# alter table t1 add node (datanode3); >> >> > ERROR: Failed to get pooled connections >> >> > >> >> > >> >> > Although i am able to connect directly on datanode3. >> >> > >> >> > Please suggest. >> >> > >> >> > >> >> > >> >> > On Thu, Mar 20, 2014 at 6:26 AM, Koichi Suzuki < >> koi...@gm...> >> >> > wrote: >> >> >> >> >> >> Sorry, made a silly reply. >> >> >> >> >> >> Please try SELECT pgxc_pool_reload(). Documentation will be found >> at >> >> >> >> >> >> >> >> >> >> http://postgres-xc.sourceforge.net/docs/1_1/functions-admin.html#FUNCTIONS-ADMIN-SET >> >> >> >> >> >> Good luck. >> >> >> --- >> >> >> Koichi Suzuki >> >> >> >> >> >> >> >> >> 2014-03-19 20:56 GMT+09:00 Juned Khan <jkh...@gm...>: >> >> >> > Hi koichi, >> >> >> > >> >> >> > Having little bit issue. >> >> >> > New datanode is added successfully and even database structure is >> >> >> > copied >> >> >> > on new datanode(i have added datanode3). >> >> >> > >> >> >> > But as tables are empty, i am just trying to add new datanode >> using >> >> >> > below >> >> >> > command >> >> >> > >> >> >> > >> >> >> > koichi=# alter table t1 add node (datanode3); >> >> >> > ERROR: Failed to get pooled connections >> >> >> > >> >> >> > But as you suggested i tried to clean the connection. >> >> >> > >> >> >> > postgres=# CLEAN CONNECTION TO COORDINATOR (coord1,coord2) FOR >> >> >> > koichi; >> >> >> > CLEAN CONNECTION >> >> >> > >> >> >> > postgres=# CLEAN CONNECTION TO NODE >> (datanode1,datanode2,datanode3) >> >> >> > for >> >> >> > database koichi; >> >> >> > CLEAN CONNECTION >> >> >> > >> >> >> > But still its giving me same error, is there any other solution >> for >> >> >> > this >> >> >> > problem? >> >> >> > >> >> >> > Regards, >> >> >> > Juned khan >> >> >> > >> >> >> > >> >> >> > >> >> >> > On Sat, Mar 15, 2014 at 11:59 AM, Juned Khan <jkh...@gm... >> > >> >> >> > wrote: >> >> >> >> >> >> >> >> Hi Koichi, >> >> >> >> >> >> >> >> Thanks for your information, >> >> >> >> i just tried with stop and start components and it worked. >> >> >> >> >> >> >> >> This link will help me to fix future issues. And i ll keep in >> mind >> >> >> >> about that documentation bug. >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> On Sat, Mar 15, 2014 at 3:56 AM, Koichi Suzuki >> >> >> >> <koi...@gm...> >> >> >> >> wrote: >> >> >> >>> >> >> >> >>> pgxc_ctl command "add datanode master" should run all the >> necessary >> >> >> >>> clean_connection calls. >> >> >> >>> >> >> >> >>> Try to run clean_connection SQL command (specific to XC) as >> seen in >> >> >> >>> >> >> >> >>> >> http://postgres-xc.sourceforge.net/docs/1_1/sql-cleanconnection.html >> >> >> >>> >> >> >> >>> I found a document bug in the example CLEAN CONNECTION TO >> >> >> >>> COORDINATOR >> >> >> >>> coord1,coord2 FOR DATABASEname; >> >> >> >>> >> >> >> >>> You should enclose set of node names with (). >> >> >> >>> >> >> >> >>> Regards; >> >> >> >>> --- >> >> >> >>> Koichi Suzuki >> >> >> >>> >> >> >> >>> >> >> >> >>> 2014-03-14 5:59 GMT+00:00 Juned Khan <jkh...@gm...>: >> >> >> >>> > Koichi=# alter table t1 add node (datanode3); >> >> >> >>> > >> >> >> >>> > ERROR: Failed to get pooled connections >> >> >> >>> > CONTEXT: SQL statement "EXECUTE DIRECT ON (coord3) 'SELECT >> >> >> >>> > pg_catalog.pg_try_advisory_xact_lock_shared(65535, 0)'" >> >> >> >>> > >> >> >> >>> > >> >> >> >>> > >> >> >> >>> > On Fri, Mar 14, 2014 at 11:20 AM, Juned Khan >> >> >> >>> > <jkh...@gm...> >> >> >> >>> > wrote: >> >> >> >>> >> >> >> >> >>> >> Hi Masataka, Koichi, >> >> >> >>> >> >> >> >> >>> >> New datanode is successfully added and all components are >> >> >> >>> >> running.i >> >> >> >>> >> have >> >> >> >>> >> small doubt. >> >> >> >>> >> >> >> >> >>> >> As i just added new datanode so , will existing database >> >> >> >>> >> automatically >> >> >> >>> >> copied >> >> >> >>> >> on this datanode or i have to create and import it manually >> from >> >> >> >>> >> another >> >> >> >>> >> datanode ? >> >> >> >>> >> >> >> >> >>> >> As per that video, we need to just fire alter query just >> like : >> >> >> >>> >> alter table t1 add node (datanode3); >> >> >> >>> >> is that so ? >> >> >> >>> >> >> >> >> >>> >> and yeah as of now i am getting Failed to get pooled >> connections >> >> >> >>> >> error. >> >> >> >>> >> >> >> >> >>> >> koichi=# execute direct on (datanode3) 'select * from t1'; >> >> >> >>> >> ERROR: Failed to get pooled connections >> >> >> >>> >> >> >> >> >>> >> Please advice. >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> On Fri, Mar 14, 2014 at 11:03 AM, Juned Khan >> >> >> >>> >> <jkh...@gm...> >> >> >> >>> >> wrote: >> >> >> >>> >>> >> >> >> >>> >>> Hi Masataka >> >> >> >>> >>> >> >> >> >>> >>> Thanks you very much, commands are working now. >> >> >> >>> >>> I thought that element doesn't affect because at initial >> level >> >> >> >>> >>> it was not showing any error. >> >> >> >>> >>> >> >> >> >>> >>> But thanks a lot, just fixed another same kind of problems. >> ;) >> >> >> >>> >>> >> >> >> >>> >>> >> >> >> >>> >>> >> >> >> >>> >>> On Fri, Mar 14, 2014 at 10:40 AM, Masataka Saito >> >> >> >>> >>> <pg...@gm...> >> >> >> >>> >>> wrote: >> >> >> >>> >>>> >> >> >> >>> >>>> coordMasterServers defines 2 nodes, but >> >> >> >>> >>>> coordSpecificExtraConfig >> >> >> >>> >>>> and >> >> >> >>> >>>> coordSpecificExtraPgHba have 4 elements. >> >> >> >>> >>>> >> >> >> >>> >>>> On 14 March 2014 13:51, Juned Khan <jkh...@gm...> >> >> >> >>> >>>> wrote: >> >> >> >>> >>>> > Hi Masataka, >> >> >> >>> >>>> > >> >> >> >>> >>>> > Please find the attachment. i have attached my >> pgxc_ctl.conf >> >> >> >>> >>>> > >> >> >> >>> >>>> > see my pastebin link : http://pastebin.com/n35QkmpK >> >> >> >>> >>>> > >> >> >> >>> >>>> > >> >> >> >>> >>>> > On Fri, Mar 14, 2014 at 10:18 AM, Juned Khan >> >> >> >>> >>>> > <jkh...@gm...> >> >> >> >>> >>>> > wrote: >> >> >> >>> >>>> >> >> >> >> >>> >>>> >> Hi Masataka, >> >> >> >>> >>>> >> >> >> >> >>> >>>> >> Please find the attachment. i have attached my >> >> >> >>> >>>> >> pgxc_ctl.conf >> >> >> >>> >>>> >> >> >> >> >>> >>>> >> >> >> >> >>> >>>> >> On Thu, Mar 13, 2014 at 11:39 PM, Masataka Saito >> >> >> >>> >>>> >> <pg...@gm...> >> >> >> >>> >>>> >> wrote: >> >> >> >>> >>>> >>> >> >> >> >>> >>>> >>> Can you provide your pgxc_ctl.conf? >> >> >> >>> >>>> >>> >> >> >> >>> >>>> >>> On 14 March 2014 00:31, Juned Khan < >> jkh...@gm...> >> >> >> >>> >>>> >>> wrote: >> >> >> >>> >>>> >>> > Hi Masataka, >> >> >> >>> >>>> >>> > >> >> >> >>> >>>> >>> > Thanks for confirmation. >> >> >> >>> >>>> >>> > is there any alternative for me to get this working? >> >> >> >>> >>>> >>> > >> >> >> >>> >>>> >>> > This can be very problematic with live servers. >> >> >> >>> >>>> >>> > >> >> >> >>> >>>> >>> > >> >> >> >>> >>>> >>> > On Thu, Mar 13, 2014 at 8:56 PM, Masataka Saito >> >> >> >>> >>>> >>> > <pg...@gm...> >> >> >> >>> >>>> >>> > wrote: >> >> >> >>> >>>> >>> >> >> >> >> >>> >>>> >>> >> I think there's no problem in your command line. >> >> >> >>> >>>> >>> >> >> >> >> >>> >>>> >>> >> >> >> >> >>> >>>> >>> >> On 13 March 2014 23:05, Juned Khan >> >> >> >>> >>>> >>> >> <jkh...@gm...> >> >> >> >>> >>>> >>> >> wrote: >> >> >> >>> >>>> >>> >> > Hi Masataka, >> >> >> >>> >>>> >>> >> > >> >> >> >>> >>>> >>> >> > Its fine but i think i have specified only one >> >> >> >>> >>>> >>> >> > element >> >> >> >>> >>>> >>> >> > for >> >> >> >>> >>>> >>> >> > each >> >> >> >>> >>>> >>> >> > parameter. >> >> >> >>> >>>> >>> >> > please check my command if it needs any correction >> >> >> >>> >>>> >>> >> > >> >> >> >>> >>>> >>> >> > >> >> >> >>> >>>> >>> >> > pgxc_ctl add coordinator master coord3 node5 20004 >> >> >> >>> >>>> >>> >> > 20010 >> >> >> >>> >>>> >>> >> > /home/postgres/pgxc/nodes/coord >> >> >> >>> >>>> >>> >> > >> >> >> >>> >>>> >>> >> > >> >> >> >>> >>>> >>> >> > >> >> >> >>> >>>> >>> >> > On Thu, Mar 13, 2014 at 7:07 PM, Masataka Saito >> >> >> >>> >>>> >>> >> > <pg...@gm...> >> >> >> >>> >>>> >>> >> > wrote: >> >> >> >>> >>>> >>> >> >> >> >> >> >>> >>>> >>> >> >> Sorry. I lead your misunderstanding. >> >> >> >>> >>>> >>> >> >> I meant about array style parameters and number >> of >> >> >> >>> >>>> >>> >> >> elements in >> >> >> >>> >>>> >>> >> >> each >> >> >> >>> >>>> >>> >> >> array. >> >> >> >>> >>>> >>> >> >> >> >> >> >>> >>>> >>> >> >> For example, you have one coordNames, almost of >> >> >> >>> >>>> >>> >> >> array >> >> >> >>> >>>> >>> >> >> style >> >> >> >>> >>>> >>> >> >> parameters >> >> >> >>> >>>> >>> >> >> for coordinators except for coordPgHbaEntries -- >> >> >> >>> >>>> >>> >> >> coordPorts, >> >> >> >>> >>>> >>> >> >> poolerPorts, coordMasterServers, coordMasterDirs, >> >> >> >>> >>>> >>> >> >> coordMaxWALSenders, >> >> >> >>> >>>> >>> >> >> coordSpecificExtraConfig, >> coordSpecificExtraPgHba -- >> >> >> >>> >>>> >>> >> >> must >> >> >> >>> >>>> >>> >> >> have >> >> >> >>> >>>> >>> >> >> only >> >> >> >>> >>>> >>> >> >> one element. >> >> >> >>> >>>> >>> >> >> >> >> >> >>> >>>> >>> >> >> That's all I can guess by your description. >> >> >> >>> >>>> >>> >> >> >> >> >> >>> >>>> >>> >> >> Regards. >> >> >> >>> >>>> >>> >> >> >> >> >> >>> >>>> >>> >> >> On 13 March 2014 18:07, Juned Khan >> >> >> >>> >>>> >>> >> >> <jkh...@gm...> >> >> >> >>> >>>> >>> >> >> wrote: >> >> >> >>> >>>> >>> >> >> > Hi Masataka, >> >> >> >>> >>>> >>> >> >> > >> >> >> >>> >>>> >>> >> >> > As per that documentation i have provided all >> >> >> >>> >>>> >>> >> >> > those >> >> >> >>> >>>> >>> >> >> > parameters >> >> >> >>> >>>> >>> >> >> > what else i should add or remove to make that >> >> >> >>> >>>> >>> >> >> > command >> >> >> >>> >>>> >>> >> >> > working ? >> >> >> >>> >>>> >>> >> >> > >> >> >> >>> >>>> >>> >> >> > I want to add datanode and coordinator with >> below >> >> >> >>> >>>> >>> >> >> > configuration >> >> >> >>> >>>> >>> >> >> > and i think i specified all values as per that >> >> >> >>> >>>> >>> >> >> > documentation. >> >> >> >>> >>>> >>> >> >> > >> >> >> >>> >>>> >>> >> >> > >> >> >> >>> >>>> >>> >> >> >> Coordinator Master: >> >> >> >>> >>>> >>> >> >> >> Nodename: 'coord3', port: 20004, pooler >> port: >> >> >> >>> >>>> >>> >> >> >> 20010 >> >> >> >>> >>>> >>> >> >> >> MaxWalSenders: (null), Dir: >> >> >> >>> >>>> >>> >> >> >> '/home/postgres/pgxc/nodes/coord' >> >> >> >>> >>>> >>> >> >> >> ExtraConfig: 'coordExtraConfig', Specific >> >> >> >>> >>>> >>> >> >> >> Extra >> >> >> >>> >>>> >>> >> >> >> Config: >> >> >> >>> >>>> >>> >> >> >> 'none' >> >> >> >>> >>>> >>> >> >> >> pg_hba entries ( '192.168.1.71/32' >> >> >> >>> >>>> >>> >> >> >> '192.168.1.72/32' >> >> >> >>> >>>> >>> >> >> >> '192.168.1.73/32' >> >> >> >>> >>>> >>> >> >> >> '192.168.1.43/32' '192.168.1.75/32' ) >> >> >> >>> >>>> >>> >> >> >> Extra pg_hba: 'none', Specific Extra >> pg_hba: >> >> >> >>> >>>> >>> >> >> >> 'none' >> >> >> >>> >>>> >>> >> >> >> >> >> >> >>> >>>> >>> >> >> >> Datanode Master: >> >> >> >>> >>>> >>> >> >> >> Nodename: 'datanode3', port: 20008 >> >> >> >>> >>>> >>> >> >> >> MaxWALSenders: 3, Dir: >> >> >> >>> >>>> >>> >> >> >> '/home/postgres/pgxc/nodes/dn_master' >> >> >> >>> >>>> >>> >> >> >> ExtraConfig: 'none', Specific Extra >> Config: >> >> >> >>> >>>> >>> >> >> >> 'none' >> >> >> >>> >>>> >>> >> >> >> pg_hba entries ( '192.168.1.71/32' >> >> >> >>> >>>> >>> >> >> >> '192.168.1.72/32' >> >> >> >>> >>>> >>> >> >> >> '192.168.1.73/32' >> >> >> >>> >>>> >>> >> >> >> '192.168.1.43/32' '192.168.1.75/32' ) >> >> >> >>> >>>> >>> >> >> >> Extra pg_hba: 'none', Specific Extra >> pg_hba: >> >> >> >>> >>>> >>> >> >> >> 'none' >> >> >> >>> >>>> >>> >> >> > >> >> >> >>> >>>> >>> >> >> > >> >> >> >>> >>>> >>> >> >> > >> >> >> >>> >>>> >>> >> >> > Please suggest. >> >> >> >>> >>>> >>> >> >> > >> >> >> >>> >>>> >>> >> >> > Regards >> >> >> >>> >>>> >>> >> >> > Juned Khan >> >> >> >>> >>>> >>> >> >> > >> >> >> >>> >>>> >>> >> >> > >> >> >> >>> >>>> >>> >> >> > >> >> >> >>> >>>> >>> >> >> > On Thu, Mar 13, 2014 at 1:06 PM, Masataka Saito >> >> >> >>> >>>> >>> >> >> > <pg...@gm...> >> >> >> >>> >>>> >>> >> >> > wrote: >> >> >> >>> >>>> >>> >> >> >> >> >> >> >>> >>>> >>> >> >> >> On 12 March 2014 22:43, Juned Khan >> >> >> >>> >>>> >>> >> >> >> <jkh...@gm...> >> >> >> >>> >>>> >>> >> >> >> wrote: >> >> >> >>> >>>> >>> >> >> >> > Hi Koichi,Masataka >> >> >> >>> >>>> >>> >> >> >> > >> >> >> >>> >>>> >>> >> >> >> > Successfully added gtm proxy but having >> issue >> >> >> >>> >>>> >>> >> >> >> > with >> >> >> >>> >>>> >>> >> >> >> > coordinator >> >> >> >>> >>>> >>> >> >> >> > and >> >> >> >>> >>>> >>> >> >> >> > datanode. >> >> >> >>> >>>> >>> >> >> >> > >> >> >> >>> >>>> >>> >> >> >> > Coordinator : >> >> >> >>> >>>> >>> >> >> >> > add coordinator master name host port pooler >> >> >> >>> >>>> >>> >> >> >> > dir >> >> >> >>> >>>> >>> >> >> >> > here what value i should use in place of >> pooler >> >> >> >>> >>>> >>> >> >> >> > ? >> >> >> >>> >>>> >>> >> >> >> > pooler >> >> >> >>> >>>> >>> >> >> >> > port >> >> >> >>> >>>> >>> >> >> >> > ? >> >> >> >>> >>>> >>> >> >> >> > >> >> >> >>> >>>> >>> >> >> >> >> >> >> >>> >>>> >>> >> >> >> pooler port >> >> >> >>> >>>> >>> >> >> >> >> >> >> >>> >>>> >>> >> >> >> > pgxc_ctl add coordinator master coord3 node5 >> >> >> >>> >>>> >>> >> >> >> > 20004 >> >> >> >>> >>>> >>> >> >> >> > 20010 >> >> >> >>> >>>> >>> >> >> >> > /home/postgres/pgxc/nodes/coord >> >> >> >>> >>>> >>> >> >> >> > ERROR: sorry found some inconflicts in >> >> >> >>> >>>> >>> >> >> >> > coordinator >> >> >> >>> >>>> >>> >> >> >> > master >> >> >> >>> >>>> >>> >> >> >> > configuration. >> >> >> >>> >>>> >>> >> >> >> > >> >> >> >>> >>>> >>> >> >> >> >> >> >> >>> >>>> >>> >> >> >> It is due to misconfigure. In detail, numbers >> of >> >> >> >>> >>>> >>> >> >> >> element >> >> >> >>> >>>> >>> >> >> >> for >> >> >> >>> >>>> >>> >> >> >> same >> >> >> >>> >>>> >>> >> >> >> component are not same. >> >> >> >>> >>>> >>> >> >> >> >> >> >> >>> >>>> >>> >> >> >> > pgxc_ctl add coordinator master coord3 node5 >> >> >> >>> >>>> >>> >> >> >> > 20004 >> >> >> >>> >>>> >>> >> >> >> > /home/postgres/pgxc/nodes/coord >> >> >> >>> >>>> >>> >> >> >> > ERROR: please specify the working director >> for >> >> >> >>> >>>> >>> >> >> >> > the >> >> >> >>> >>>> >>> >> >> >> > coordinator >> >> >> >>> >>>> >>> >> >> >> > master >> >> >> >>> >>>> >>> >> >> >> > >> >> >> >>> >>>> >>> >> >> >> > Datanode : >> >> >> >>> >>>> >>> >> >> >> > add datanode master name host port dir >> >> >> >>> >>>> >>> >> >> >> > pgxc_ctl add datanode master new node5 20008 >> >> >> >>> >>>> >>> >> >> >> > /home/postgres/pgxc/nodes/dn_master >> >> >> >>> >>>> >>> >> >> >> > ERROR: sorry found some inconflicts in >> datanode >> >> >> >>> >>>> >>> >> >> >> > master >> >> >> >>> >>>> >>> >> >> >> > configuration. >> >> >> >>> >>>> >>> >> >> >> > >> >> >> >>> >>>> >>> >> >> >> > Does earlier manual installation could be >> >> >> >>> >>>> >>> >> >> >> > reason >> >> >> >>> >>>> >>> >> >> >> > for >> >> >> >>> >>>> >>> >> >> >> > this >> >> >> >>> >>>> >>> >> >> >> > issue ? >> >> >> >>> >>>> >>> >> >> >> > >> >> >> >>> >>>> >>> >> >> >> > P.S: >> >> >> >>> >>>> >>> >> >> >> > gtm_prxy : Nodename: 'gtm_pxy3', port: >> 20001, >> >> >> >>> >>>> >>> >> >> >> > dir: >> >> >> >>> >>>> >>> >> >> >> > '/home/postgres/pgxc/nodes/gtm_pxy' >> >> >> >>> >>>> >>> >> >> >> > Coordinator Master: Nodename: 'coord3', >> port: >> >> >> >>> >>>> >>> >> >> >> > 20004, >> >> >> >>> >>>> >>> >> >> >> > pooler >> >> >> >>> >>>> >>> >> >> >> > port: >> >> >> >>> >>>> >>> >> >> >> > 20010, >> >> >> >>> >>>> >>> >> >> >> > dir:' /home/postgres/pgxc/nodes/coord' >> >> >> >>> >>>> >>> >> >> >> > Datanode Master : Nodename: 'datanode3', >> >> >> >>> >>>> >>> >> >> >> > port: >> >> >> >>> >>>> >>> >> >> >> > 20008, >> >> >> >>> >>>> >>> >> >> >> > dir:' >> >> >> >>> >>>> >>> >> >> >> > /home/postgres/pgxc/nodes/dn_master' >> >> >> >>> >>>> >>> >> >> >> > >> >> >> >>> >>>> >>> >> >> >> > please look at my commands if its erroneous >> >> >> >>> >>>> >>> >> >> >> > >> >> >> >>> >>>> >>> >> >> >> > Please advice. >> >> >> >>> >>>> >>> >> >> >> > >> >> >> >>> >>>> >>> >> >> >> > Regards, >> >> >> >>> >>>> >>> >> >> >> > Juned Khan >> >> >> >>> >>>> >>> >> >> >> > >> >> >> >>> >>>> >>> >> >> >> > >> >> >> >>> >>>> >>> >> >> >> > >> >> >> >>> >>>> >>> >> >> >> > On Wed, Mar 12, 2014 at 11:45 AM, Juned Khan >> >> >> >>> >>>> >>> >> >> >> > <jkh...@gm...> >> >> >> >>> >>>> >>> >> >> >> > wrote: >> >> >> >>> >>>> >>> >> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> I tried to add coordinator and datanode >> >> >> >>> >>>> >>> >> >> >> >> manually >> >> >> >>> >>>> >>> >> >> >> >> and now it seems everything is messed up. >> >> >> >>> >>>> >>> >> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> Every component is just stopped working, >> if i >> >> >> >>> >>>> >>> >> >> >> >> kill >> >> >> >>> >>>> >>> >> >> >> >> all >> >> >> >>> >>>> >>> >> >> >> >> and >> >> >> >>> >>>> >>> >> >> >> >> start all again then again its shows >> >> >> >>> >>>> >>> >> >> >> >> everything >> >> >> >>> >>>> >>> >> >> >> >> is >> >> >> >>> >>>> >>> >> >> >> >> running >> >> >> >>> >>>> >>> >> >> >> >> but in that case it takes too long to >> connect >> >> >> >>> >>>> >>> >> >> >> >> dtabase(Psql >> >> >> >>> >>>> >>> >> >> >> >> -dkoichi) >> >> >> >>> >>>> >>> >> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> and at last it just fails to connect to the >> >> >> >>> >>>> >>> >> >> >> >> database >> >> >> >>> >>>> >>> >> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> PGXC Psql -dkoichi >> >> >> >>> >>>> >>> >> >> >> >> Selected coord1. >> >> >> >>> >>>> >>> >> >> >> >> psql: server closed the connection >> >> >> >>> >>>> >>> >> >> >> >> unexpectedly >> >> >> >>> >>>> >>> >> >> >> >> This probably means the server >> >> >> >>> >>>> >>> >> >> >> >> terminated >> >> >> >>> >>>> >>> >> >> >> >> abnormally >> >> >> >>> >>>> >>> >> >> >> >> before or while processing the >> >> >> >>> >>>> >>> >> >> >> >> request. >> >> >> >>> >>>> >>> >> >> >> >> PGXC >> >> >> >>> >>>> >>> >> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> Please advice. >> >> >> >>> >>>> >>> >> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> On Wed, Mar 12, 2014 at 4:34 AM, Michael >> >> >> >>> >>>> >>> >> >> >> >> Paquier >> >> >> >>> >>>> >>> >> >> >> >> <mic...@gm...> wrote: >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> On Wed, Mar 12, 2014 at 4:10 AM, Masataka >> >> >> >>> >>>> >>> >> >> >> >>> Saito >> >> >> >>> >>>> >>> >> >> >> >>> <pg...@gm...> >> >> >> >>> >>>> >>> >> >> >> >>> wrote: >> >> >> >>> >>>> >>> >> >> >> >>> > On 11 March 2014 16:42, Juned Khan >> >> >> >>> >>>> >>> >> >> >> >>> > <jkh...@gm...> >> >> >> >>> >>>> >>> >> >> >> >>> > wrote: >> >> >> >>> >>>> >>> >> >> >> >>> >> Hi Masataka, >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >> >>> >>>> >>> >> >> >> >>> >> For testing i am tried to get this work >> >> >> >>> >>>> >>> >> >> >> >>> >> added >> >> >> >>> >>>> >>> >> >> >> >>> >> manual >> >> >> >>> >>>> >>> >> >> >> >>> >> query >> >> >> >>> >>>> >>> >> >> >> >>> >> for >> >> >> >>> >>>> >>> >> >> >> >>> >> CREATE >> >> >> >>> >>>> >>> >> >> >> >>> >> NODE. >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >> >>> >>>> >>> >> >> >> >>> >> Now its look like this: >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >> >>> >>>> >>> >> >> >> >>> >> postgres=# \q >> >> >> >>> >>>> >>> >> >> >> >>> >> PGXC Psql -dpostgres -h node5 -p 20004 >> >> >> >>> >>>> >>> >> >> >> >>> >> Selected coord3. >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >> >>> >>>> >>> >> >> >> >>> >> postgres=# select * from pgxc_node; >> >> >> >>> >>>> >>> >> >> >> >>> >> node_name | node_type | node_port | >> >> >> >>> >>>> >>> >> >> >> >>> >> node_host | >> >> >> >>> >>>> >>> >> >> >> >>> >> nodeis_primary >> >> >> >>> >>>> >>> >> >> >> >>> >> | >> >> >> >>> >>>> >>> >> >> >> >>> >> nodeis_preferred | node_id >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >> >>> >>>> >>> >> >> >> >>> >> >> -----------+-----------+-----------+-----------+----------------+------------------+------------- >> >> >> >>> >>>> >>> >> >> >> >>> >> coord3 | C | 5432 | >> >> >> >>> >>>> >>> >> >> >> >>> >> localhost | >> >> >> >>> >>>> >>> >> >> >> >>> >> f >> >> >> >>> >>>> >>> >> >> >> >>> >> | f >> >> >> >>> >>>> >>> >> >> >> >>> >> | 1638403545 >> >> >> >>> >>>> >>> >> >> >> >>> >> coord1 | C | 20004 | >> node3 >> >> >> >>> >>>> >>> >> >> >> >>> >> | >> >> >> >>> >>>> >>> >> >> >> >>> >> f >> >> >> >>> >>>> >>> >> >> >> >>> >> | f >> >> >> >>> >>>> >>> >> >> >> >>> >> | 1885696643 >> >> >> >>> >>>> >>> >> >> >> >>> >> coord2 | C | 20005 | >> node4 >> >> >> >>> >>>> >>> >> >> >> >>> >> | >> >> >> >>> >>>> >>> >> >> >> >>> >> f >> >> >> >>> >>>> >>> >> >> >> >>> >> | f >> >> >> >>> >>>> >>> >> >> >> >>> >> | -1197102633 >> >> >> >>> >>>> >>> >> >> >> >>> >> datanode1 | D | 20008 | >> node3 >> >> >> >>> >>>> >>> >> >> >> >>> >> | >> >> >> >>> >>>> >>> >> >> >> >>> >> f >> >> >> >>> >>>> >>> >> >> >> >>> >> | f >> >> >> >>> >>>> >>> >> >> >> >>> >> | 888802358 >> >> >> >>> >>>> >>> >> >> >> >>> >> datanode2 | D | 20009 | >> node4 >> >> >> >>> >>>> >>> >> >> >> >>> >> | >> >> >> >>> >>>> >>> >> >> >> >>> >> f >> >> >> >>> >>>> >>> >> >> >> >>> >> | f >> >> >> >>> >>>> >>> >> >> >> >>> >> | -905831925 >> >> >> >>> >>>> >>> >> >> >> >>> >> datanode3 | D | 20008 | >> node5 >> >> >> >>> >>>> >>> >> >> >> >>> >> | >> >> >> >>> >>>> >>> >> >> >> >>> >> f >> >> >> >>> >>>> >>> >> >> >> >>> >> | f >> >> >> >>> >>>> >>> >> >> >> >>> >> | -1894792127 >> >> >> >>> >>>> >>> >> >> >> >>> >> (6 rows) >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >> >>> >>>> >>> >> >> >> >>> >> Here coord3 runs on 5432 which should >> >> >> >>> >>>> >>> >> >> >> >>> >> 20004., >> >> >> >>> >>>> >>> >> >> >> >>> >> it >> >> >> >>> >>>> >>> >> >> >> >>> >> creates >> >> >> >>> >>>> >>> >> >> >> >>> >> problem >> >> >> >>> >>>> >>> >> >> >> >>> >> i >> >> >> >>> >>>> >>> >> >> >> >>> >> think >> >> >> >>> >>>> >>> >> >> >> >>> >> isn't it ? >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >> >>> >>>> >>> >> >> >> >>> > >> >> >> >>> >>>> >>> >> >> >> >>> > As far as I know, the local node >> >> >> >>> >>>> >>> >> >> >> >>> > information >> >> >> >>> >>>> >>> >> >> >> >>> > is >> >> >> >>> >>>> >>> >> >> >> >>> > not >> >> >> >>> >>>> >>> >> >> >> >>> > important >> >> >> >>> >>>> >>> >> >> >> >>> > and >> >> >> >>> >>>> >>> >> >> >> >>> > it >> >> >> >>> >>>> >>> >> >> >> >>> > is not necessary to update. >> >> >> >>> >>>> >>> >> >> >> >>> > "pgxc_ctl add" corrects it by "ALTER >> NODE". >> >> >> >>> >>>> >>> >> >> >> >>> CREATE NODE and DROP NODE only run >> locally. >> >> >> >>> >>>> >>> >> >> >> >>> Why >> >> >> >>> >>>> >>> >> >> >> >>> not >> >> >> >>> >>>> >>> >> >> >> >>> ALTER >> >> >> >>> >>>> >>> >> >> >> >>> NODE >> >> >> >>> >>>> >>> >> >> >> >>> for >> >> >> >>> >>>> >>> >> >> >> >>> consistency? Am I missing smth? >> >> >> >>> >>>> >>> >> >> >> >>> -- >> >> >> >>> >>>> >>> >> >> >> >>> Michael >> >> >> >>> >>>> >>> >> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> -- >> >> >> >>> >>>> >>> >> >> >> >> Thanks, >> >> >> >>> >>>> >>> >> >> >> >> Juned Khan >> >> >> >>> >>>> >>> >> >> >> >> iNextrix Technologies Pvt Ltd. >> >> >> >>> >>>> >>> >> >> >> >> www.inextrix.com >> >> >> >>> >>>> >>> >> >> >> > >> >> >> >>> >>>> >>> >> >> >> > >> >> >> >>> >>>> >>> >> >> >> > >> >> >> >>> >>>> >>> >> >> >> > >> >> >> >>> >>>> >>> >> >> >> > -- >> >> >> >>> >>>> >>> >> >> >> > Thanks, >> >> >> >>> >>>> >>> >> >> >> > Juned Khan >> >> >> >>> >>>> >>> >> >> >> > iNextrix Technologies Pvt Ltd. >> >> >> >>> >>>> >>> >> >> >> > www.inextrix.com >> >> >> >>> >>>> >>> >> >> > >> >> >> >>> >>>> >>> >> >> > >> >> >> >>> >>>> >>> >> >> > >> >> >> >>> >>>> >>> >> >> > >> >> >> >>> >>>> >>> >> >> > -- >> >> >> >>> >>>> >>> >> >> > Thanks, >> >> >> >>> >>>> >>> >> >> > Juned Khan >> >> >> >>> >>>> >>> >> >> > iNextrix Technologies Pvt Ltd. >> >> >> >>> >>>> >>> >> >> > www.inextrix.com >> >> >> >>> >>>> >>> >> > >> >> >> >>> >>>> >>> >> > >> >> >> >>> >>>> >>> >> > >> >> >> >>> >>>> >>> >> > >> >> >> >>> >>>> >>> >> > -- >> >> >> >>> >>>> >>> >> > Thanks, >> >> >> >>> >>>> >>> >> > Juned Khan >> >> >> >>> >>>> >>> >> > iNextrix Technologies Pvt Ltd. >> >> >> >>> >>>> >>> >> > www.inextrix.com >> >> >> >>> >>>> >>> > >> >> >> >>> >>>> >>> > >> >> >> >>> >>>> >>> > >> >> >> >>> >>>> >>> > >> >> >> >>> >>>> >>> > -- >> >> >> >>> >>>> >>> > Thanks, >> >> >> >>> >>>> >>> > Juned Khan >> >> >> >>> >>>> >>> > iNextrix Technologies Pvt Ltd. >> >> >> >>> >>>> >>> > www.inextrix.com >> >> >> >>> >>>> >> >> >> >> >>> >>>> >> >> >> >> >>> >>>> >> >> >> >> >>> >>>> >> >> >> >> >>> >>>> >> -- >> >> >> >>> >>>> >> Thanks, >> >> >> >>> >>>> >> Juned Khan >> >> >> >>> >>>> >> iNextrix Technologies Pvt Ltd. >> >> >> >>> >>>> >> www.inextrix.com >> >> >> >>> >>>> > >> >> >> >>> >>>> > >> >> >> >>> >>>> > >> >> >> >>> >>>> > >> >> >> >>> >>>> > -- >> >> >> >>> >>>> > Thanks, >> >> >> >>> >>>> > Juned Khan >> >> >> >>> >>>> > iNextrix Technologies Pvt Ltd. >> >> >> >>> >>>> > www.inextrix.com >> >> >> >>> >>> >> >> >> >>> >>> >> >> >> >>> >>> >> >> >> >>> >>> >> >> >> >>> >>> -- >> >> >> >>> >>> Thanks, >> >> >> >>> >>> Juned Khan >> >> >> >>> >>> iNextrix Technologies Pvt Ltd. >> >> >> >>> >>> www.inextrix.com >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> >> >> >> >>> >> -- >> >> >> >>> >> Thanks, >> >> >> >>> >> Juned Khan >> >> >> >>> >> iNextrix Technologies Pvt Ltd. >> >> >> >>> >> www.inextrix.com >> >> >> >>> > >> >> >> >>> > >> >> >> >>> > >> >> >> >>> > >> >> >> >>> > -- >> >> >> >>> > Thanks, >> >> >> >>> > Juned Khan >> >> >> >>> > iNextrix Technologies Pvt Ltd. >> >> >> >>> > www.inextrix.com >> >> >> >>> > >> >> >> >>> > >> >> >> >>> > >> >> >> >>> > >> >> >> >>> > >> ------------------------------------------------------------------------------ >> >> >> >>> > Learn Graph Databases - Download FREE O'Reilly Book >> >> >> >>> > "Graph Databases" is the definitive new guide to graph >> databases >> >> >> >>> > and >> >> >> >>> > their >> >> >> >>> > applications. Written by three acclaimed leaders in the field, >> >> >> >>> > this first edition is now available. Download your free book >> >> >> >>> > today! >> >> >> >>> > http://p.sf.net/sfu/13534_NeoTech >> >> >> >>> > _______________________________________________ >> >> >> >>> > Postgres-xc-general mailing list >> >> >> >>> > Pos...@li... >> >> >> >>> > >> https://lists.sourceforge.net/lists/listinfo/postgres-xc-general >> >> >> >>> > >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> >> >> Thanks, >> >> >> >> Juned Khan >> >> >> >> iNextrix Technologies Pvt Ltd. >> >> >> >> www.inextrix.com >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > -- >> >> >> > Thanks, >> >> >> > Juned Khan >> >> >> > iNextrix Technologies Pvt Ltd. >> >> >> > www.inextrix.com >> >> > >> >> > >> >> > >> >> > >> >> > -- >> >> > Thanks, >> >> > Juned Khan >> >> > iNextrix Technologies Pvt Ltd. >> >> > www.inextrix.com >> > >> > >> > >> > >> > -- >> > Thanks, >> > Juned Khan >> > iNextrix Technologies Pvt Ltd. >> > www.inextrix.com >> > > > > -- > Thanks, > Juned Khan > iNextrix Technologies Pvt Ltd. > www.inextrix.com > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > > http://p.sf.net/sfu/13534_NeoTech_______________________________________________ > Postgres-xc-general mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-general > > > -- Thanks, Juned Khan iNextrix Technologies Pvt Ltd. www.inextrix.com |
From: Juned K. <jkh...@gm...> - 2014-03-24 05:59:29
|
Hi Michel, Thank you very much for valuable response. As a solution of this problem can i use VPN or setup all components on same network ? Please suggest. Regards Juned Khan On Mon, Mar 24, 2014 at 8:14 AM, Michael Paquier <mic...@gm...>wrote: > On Fri, Mar 21, 2014 at 10:13 PM, Juned Khan <jkh...@gm...> wrote: > > Hi Michael, > > > > > > 2) pgxc will be able to handle 500 concurrent calls on server ? > > Well yes, but a single Postgres server is able to handle that nicely > > as well if coupled with a connection pooler. I don't see much why > > multi-master is a requirement for such a low-number though as you seem > > to mean in your question. > > > >> I want to use multi-master because, I have my server in different states > >> as of now i have two servers but in future it will increase to four. And > >> one of > >> my table will have records more than one Billion, so i will make that > >> table > >> distributed so local query can executed on local servers. > >> I have attached the diagram of my requirement. > > > > > > Please suggest. > Don't do that. > > Postgres-XC is designed to work with nodes located close to each > other, and OLTP applications. With a cluster having nodes distributed > geographically, your application performance would sink down because > of GTM (XID/snapshot obtention, sequence value obtention) and network > latency. This is the price to manage concurrency accurately. > -- > Michael > -- Thanks, Juned Khan iNextrix Technologies Pvt Ltd. www.inextrix.com |
From: 鈴木 幸市 <ko...@in...> - 2014-03-24 05:13:29
|
Hmmm.. it’s quite strange. Another way to collect info is to set the following in postgresql.conf for the coordinator in question. log_min_messages = debug5 log_error_verbosity = vervose It could be too novice but please do this at the coordinator your psql is connecting. Also, it will be safer to restart your coordinator to make these changes effective. Could share the result? Best; --- Koichi Suzuki 2014/03/20 18:57、Juned Khan <jkh...@gm...<mailto:jkh...@gm...>> のメール: Hi Koichi, it doesn't work with newly added datanode but with existing datanode it does koichi=# execute direct on (datanode3) 'select * from t1'; ERROR: Failed to get pooled connections On Thu, Mar 20, 2014 at 3:20 PM, Koichi Suzuki <koi...@gm...<mailto:koi...@gm...>> wrote: Does "EXECUTE DIRECT" work? --- Koichi Suzuki 2014-03-20 18:00 GMT+09:00 Juned Khan <jkh...@gm...<mailto:jkh...@gm...>>: > Hi koichi, > > All components just stops and starts without any problem. > > But still i am not able to execute that query, same issue. > > > On Thu, Mar 20, 2014 at 1:49 PM, Koichi Suzuki <koi...@gm...<mailto:koi...@gm...>> > wrote: >> >> What happens if you restart all the components? >> --- >> Koichi Suzuki >> >> >> 2014-03-20 14:07 GMT+09:00 Juned Khan <jkh...@gm...<mailto:jkh...@gm...>>: >> > Hi koichi, >> > >> > I have already tried to reload but still its giving me same error. >> > >> > postgres=# SELECT pgxc_pool_reload(); >> > pgxc_pool_reload >> > ------------------ >> > t >> > (1 row) >> > >> > >> > koichi=# alter table t1 add node (datanode3); >> > ERROR: Failed to get pooled connections >> > >> > >> > Although i am able to connect directly on datanode3. >> > >> > Please suggest. >> > >> > >> > >> > On Thu, Mar 20, 2014 at 6:26 AM, Koichi Suzuki <koi...@gm...<mailto:koi...@gm...>> >> > wrote: >> >> >> >> Sorry, made a silly reply. >> >> >> >> Please try SELECT pgxc_pool_reload(). Documentation will be found at >> >> >> >> >> >> http://postgres-xc.sourceforge.net/docs/1_1/functions-admin.html#FUNCTIONS-ADMIN-SET >> >> >> >> Good luck. >> >> --- >> >> Koichi Suzuki >> >> >> >> >> >> 2014-03-19 20:56 GMT+09:00 Juned Khan <jkh...@gm...<mailto:jkh...@gm...>>: >> >> > Hi koichi, >> >> > >> >> > Having little bit issue. >> >> > New datanode is added successfully and even database structure is >> >> > copied >> >> > on new datanode(i have added datanode3). >> >> > >> >> > But as tables are empty, i am just trying to add new datanode using >> >> > below >> >> > command >> >> > >> >> > >> >> > koichi=# alter table t1 add node (datanode3); >> >> > ERROR: Failed to get pooled connections >> >> > >> >> > But as you suggested i tried to clean the connection. >> >> > >> >> > postgres=# CLEAN CONNECTION TO COORDINATOR (coord1,coord2) FOR >> >> > koichi; >> >> > CLEAN CONNECTION >> >> > >> >> > postgres=# CLEAN CONNECTION TO NODE (datanode1,datanode2,datanode3) >> >> > for >> >> > database koichi; >> >> > CLEAN CONNECTION >> >> > >> >> > But still its giving me same error, is there any other solution for >> >> > this >> >> > problem? >> >> > >> >> > Regards, >> >> > Juned khan >> >> > >> >> > >> >> > >> >> > On Sat, Mar 15, 2014 at 11:59 AM, Juned Khan <jkh...@gm...<mailto:jkh...@gm...>> >> >> > wrote: >> >> >> >> >> >> Hi Koichi, >> >> >> >> >> >> Thanks for your information, >> >> >> i just tried with stop and start components and it worked. >> >> >> >> >> >> This link will help me to fix future issues. And i ll keep in mind >> >> >> about that documentation bug. >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> On Sat, Mar 15, 2014 at 3:56 AM, Koichi Suzuki >> >> >> <koi...@gm...<mailto:koi...@gm...>> >> >> >> wrote: >> >> >>> >> >> >>> pgxc_ctl command "add datanode master" should run all the necessary >> >> >>> clean_connection calls. >> >> >>> >> >> >>> Try to run clean_connection SQL command (specific to XC) as seen in >> >> >>> >> >> >>> http://postgres-xc.sourceforge.net/docs/1_1/sql-cleanconnection.html >> >> >>> >> >> >>> I found a document bug in the example CLEAN CONNECTION TO >> >> >>> COORDINATOR >> >> >>> coord1,coord2 FOR DATABASEname; >> >> >>> >> >> >>> You should enclose set of node names with (). >> >> >>> >> >> >>> Regards; >> >> >>> --- >> >> >>> Koichi Suzuki >> >> >>> >> >> >>> >> >> >>> 2014-03-14 5:59 GMT+00:00 Juned Khan <jkh...@gm...<mailto:jkh...@gm...>>: >> >> >>> > Koichi=# alter table t1 add node (datanode3); >> >> >>> > >> >> >>> > ERROR: Failed to get pooled connections >> >> >>> > CONTEXT: SQL statement "EXECUTE DIRECT ON (coord3) 'SELECT >> >> >>> > pg_catalog.pg_try_advisory_xact_lock_shared(65535, 0)'" >> >> >>> > >> >> >>> > >> >> >>> > >> >> >>> > On Fri, Mar 14, 2014 at 11:20 AM, Juned Khan >> >> >>> > <jkh...@gm...<mailto:jkh...@gm...>> >> >> >>> > wrote: >> >> >>> >> >> >> >>> >> Hi Masataka, Koichi, >> >> >>> >> >> >> >>> >> New datanode is successfully added and all components are >> >> >>> >> running.i >> >> >>> >> have >> >> >>> >> small doubt. >> >> >>> >> >> >> >>> >> As i just added new datanode so , will existing database >> >> >>> >> automatically >> >> >>> >> copied >> >> >>> >> on this datanode or i have to create and import it manually from >> >> >>> >> another >> >> >>> >> datanode ? >> >> >>> >> >> >> >>> >> As per that video, we need to just fire alter query just like : >> >> >>> >> alter table t1 add node (datanode3); >> >> >>> >> is that so ? >> >> >>> >> >> >> >>> >> and yeah as of now i am getting Failed to get pooled connections >> >> >>> >> error. >> >> >>> >> >> >> >>> >> koichi=# execute direct on (datanode3) 'select * from t1'; >> >> >>> >> ERROR: Failed to get pooled connections >> >> >>> >> >> >> >>> >> Please advice. >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> On Fri, Mar 14, 2014 at 11:03 AM, Juned Khan >> >> >>> >> <jkh...@gm...<mailto:jkh...@gm...>> >> >> >>> >> wrote: >> >> >>> >>> >> >> >>> >>> Hi Masataka >> >> >>> >>> >> >> >>> >>> Thanks you very much, commands are working now. >> >> >>> >>> I thought that element doesn't affect because at initial level >> >> >>> >>> it was not showing any error. >> >> >>> >>> >> >> >>> >>> But thanks a lot, just fixed another same kind of problems. ;) >> >> >>> >>> >> >> >>> >>> >> >> >>> >>> >> >> >>> >>> On Fri, Mar 14, 2014 at 10:40 AM, Masataka Saito >> >> >>> >>> <pg...@gm...<mailto:pg...@gm...>> >> >> >>> >>> wrote: >> >> >>> >>>> >> >> >>> >>>> coordMasterServers defines 2 nodes, but >> >> >>> >>>> coordSpecificExtraConfig >> >> >>> >>>> and >> >> >>> >>>> coordSpecificExtraPgHba have 4 elements. >> >> >>> >>>> >> >> >>> >>>> On 14 March 2014 13:51, Juned Khan <jkh...@gm...<mailto:jkh...@gm...>> >> >> >>> >>>> wrote: >> >> >>> >>>> > Hi Masataka, >> >> >>> >>>> > >> >> >>> >>>> > Please find the attachment. i have attached my pgxc_ctl.conf >> >> >>> >>>> > >> >> >>> >>>> > see my pastebin link : http://pastebin.com/n35QkmpK >> >> >>> >>>> > >> >> >>> >>>> > >> >> >>> >>>> > On Fri, Mar 14, 2014 at 10:18 AM, Juned Khan >> >> >>> >>>> > <jkh...@gm...<mailto:jkh...@gm...>> >> >> >>> >>>> > wrote: >> >> >>> >>>> >> >> >> >>> >>>> >> Hi Masataka, >> >> >>> >>>> >> >> >> >>> >>>> >> Please find the attachment. i have attached my >> >> >>> >>>> >> pgxc_ctl.conf >> >> >>> >>>> >> >> >> >>> >>>> >> >> >> >>> >>>> >> On Thu, Mar 13, 2014 at 11:39 PM, Masataka Saito >> >> >>> >>>> >> <pg...@gm...<mailto:pg...@gm...>> >> >> >>> >>>> >> wrote: >> >> >>> >>>> >>> >> >> >>> >>>> >>> Can you provide your pgxc_ctl.conf? >> >> >>> >>>> >>> >> >> >>> >>>> >>> On 14 March 2014 00:31, Juned Khan <jkh...@gm...<mailto:jkh...@gm...>> >> >> >>> >>>> >>> wrote: >> >> >>> >>>> >>> > Hi Masataka, >> >> >>> >>>> >>> > >> >> >>> >>>> >>> > Thanks for confirmation. >> >> >>> >>>> >>> > is there any alternative for me to get this working? >> >> >>> >>>> >>> > >> >> >>> >>>> >>> > This can be very problematic with live servers. >> >> >>> >>>> >>> > >> >> >>> >>>> >>> > >> >> >>> >>>> >>> > On Thu, Mar 13, 2014 at 8:56 PM, Masataka Saito >> >> >>> >>>> >>> > <pg...@gm...<mailto:pg...@gm...>> >> >> >>> >>>> >>> > wrote: >> >> >>> >>>> >>> >> >> >> >>> >>>> >>> >> I think there's no problem in your command line. >> >> >>> >>>> >>> >> >> >> >>> >>>> >>> >> >> >> >>> >>>> >>> >> On 13 March 2014 23:05, Juned Khan >> >> >>> >>>> >>> >> <jkh...@gm...<mailto:jkh...@gm...>> >> >> >>> >>>> >>> >> wrote: >> >> >>> >>>> >>> >> > Hi Masataka, >> >> >>> >>>> >>> >> > >> >> >>> >>>> >>> >> > Its fine but i think i have specified only one >> >> >>> >>>> >>> >> > element >> >> >>> >>>> >>> >> > for >> >> >>> >>>> >>> >> > each >> >> >>> >>>> >>> >> > parameter. >> >> >>> >>>> >>> >> > please check my command if it needs any correction >> >> >>> >>>> >>> >> > >> >> >>> >>>> >>> >> > >> >> >>> >>>> >>> >> > pgxc_ctl add coordinator master coord3 node5 20004 >> >> >>> >>>> >>> >> > 20010 >> >> >>> >>>> >>> >> > /home/postgres/pgxc/nodes/coord >> >> >>> >>>> >>> >> > >> >> >>> >>>> >>> >> > >> >> >>> >>>> >>> >> > >> >> >>> >>>> >>> >> > On Thu, Mar 13, 2014 at 7:07 PM, Masataka Saito >> >> >>> >>>> >>> >> > <pg...@gm...<mailto:pg...@gm...>> >> >> >>> >>>> >>> >> > wrote: >> >> >>> >>>> >>> >> >> >> >> >>> >>>> >>> >> >> Sorry. I lead your misunderstanding. >> >> >>> >>>> >>> >> >> I meant about array style parameters and number of >> >> >>> >>>> >>> >> >> elements in >> >> >>> >>>> >>> >> >> each >> >> >>> >>>> >>> >> >> array. >> >> >>> >>>> >>> >> >> >> >> >>> >>>> >>> >> >> For example, you have one coordNames, almost of >> >> >>> >>>> >>> >> >> array >> >> >>> >>>> >>> >> >> style >> >> >>> >>>> >>> >> >> parameters >> >> >>> >>>> >>> >> >> for coordinators except for coordPgHbaEntries -- >> >> >>> >>>> >>> >> >> coordPorts, >> >> >>> >>>> >>> >> >> poolerPorts, coordMasterServers, coordMasterDirs, >> >> >>> >>>> >>> >> >> coordMaxWALSenders, >> >> >>> >>>> >>> >> >> coordSpecificExtraConfig, coordSpecificExtraPgHba -- >> >> >>> >>>> >>> >> >> must >> >> >>> >>>> >>> >> >> have >> >> >>> >>>> >>> >> >> only >> >> >>> >>>> >>> >> >> one element. >> >> >>> >>>> >>> >> >> >> >> >>> >>>> >>> >> >> That's all I can guess by your description. >> >> >>> >>>> >>> >> >> >> >> >>> >>>> >>> >> >> Regards. >> >> >>> >>>> >>> >> >> >> >> >>> >>>> >>> >> >> On 13 March 2014 18:07, Juned Khan >> >> >>> >>>> >>> >> >> <jkh...@gm...<mailto:jkh...@gm...>> >> >> >>> >>>> >>> >> >> wrote: >> >> >>> >>>> >>> >> >> > Hi Masataka, >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> > As per that documentation i have provided all >> >> >>> >>>> >>> >> >> > those >> >> >>> >>>> >>> >> >> > parameters >> >> >>> >>>> >>> >> >> > what else i should add or remove to make that >> >> >>> >>>> >>> >> >> > command >> >> >>> >>>> >>> >> >> > working ? >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> > I want to add datanode and coordinator with below >> >> >>> >>>> >>> >> >> > configuration >> >> >>> >>>> >>> >> >> > and i think i specified all values as per that >> >> >>> >>>> >>> >> >> > documentation. >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> >> Coordinator Master: >> >> >>> >>>> >>> >> >> >> Nodename: 'coord3', port: 20004, pooler port: >> >> >>> >>>> >>> >> >> >> 20010 >> >> >>> >>>> >>> >> >> >> MaxWalSenders: (null), Dir: >> >> >>> >>>> >>> >> >> >> '/home/postgres/pgxc/nodes/coord' >> >> >>> >>>> >>> >> >> >> ExtraConfig: 'coordExtraConfig', Specific >> >> >>> >>>> >>> >> >> >> Extra >> >> >>> >>>> >>> >> >> >> Config: >> >> >>> >>>> >>> >> >> >> 'none' >> >> >>> >>>> >>> >> >> >> pg_hba entries ( '192.168.1.71/32<http://192.168.1.71/32>' >> >> >>> >>>> >>> >> >> >> '192.168.1.72/32<http://192.168.1.72/32>' >> >> >>> >>>> >>> >> >> >> '192.168.1.73/32<http://192.168.1.73/32>' >> >> >>> >>>> >>> >> >> >> '192.168.1.43/32<http://192.168.1.43/32>' '192.168.1.75/32<http://192.168.1.75/32>' ) >> >> >>> >>>> >>> >> >> >> Extra pg_hba: 'none', Specific Extra pg_hba: >> >> >>> >>>> >>> >> >> >> 'none' >> >> >>> >>>> >>> >> >> >> >> >> >>> >>>> >>> >> >> >> Datanode Master: >> >> >>> >>>> >>> >> >> >> Nodename: 'datanode3', port: 20008 >> >> >>> >>>> >>> >> >> >> MaxWALSenders: 3, Dir: >> >> >>> >>>> >>> >> >> >> '/home/postgres/pgxc/nodes/dn_master' >> >> >>> >>>> >>> >> >> >> ExtraConfig: 'none', Specific Extra Config: >> >> >>> >>>> >>> >> >> >> 'none' >> >> >>> >>>> >>> >> >> >> pg_hba entries ( '192.168.1.71/32<http://192.168.1.71/32>' >> >> >>> >>>> >>> >> >> >> '192.168.1.72/32<http://192.168.1.72/32>' >> >> >>> >>>> >>> >> >> >> '192.168.1.73/32<http://192.168.1.73/32>' >> >> >>> >>>> >>> >> >> >> '192.168.1.43/32<http://192.168.1.43/32>' '192.168.1.75/32<http://192.168.1.75/32>' ) >> >> >>> >>>> >>> >> >> >> Extra pg_hba: 'none', Specific Extra pg_hba: >> >> >>> >>>> >>> >> >> >> 'none' >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> > Please suggest. >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> > Regards >> >> >>> >>>> >>> >> >> > Juned Khan >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> > On Thu, Mar 13, 2014 at 1:06 PM, Masataka Saito >> >> >>> >>>> >>> >> >> > <pg...@gm...<mailto:pg...@gm...>> >> >> >>> >>>> >>> >> >> > wrote: >> >> >>> >>>> >>> >> >> >> >> >> >>> >>>> >>> >> >> >> On 12 March 2014 22:43, Juned Khan >> >> >>> >>>> >>> >> >> >> <jkh...@gm...<mailto:jkh...@gm...>> >> >> >>> >>>> >>> >> >> >> wrote: >> >> >>> >>>> >>> >> >> >> > Hi Koichi,Masataka >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > Successfully added gtm proxy but having issue >> >> >>> >>>> >>> >> >> >> > with >> >> >>> >>>> >>> >> >> >> > coordinator >> >> >>> >>>> >>> >> >> >> > and >> >> >>> >>>> >>> >> >> >> > datanode. >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > Coordinator : >> >> >>> >>>> >>> >> >> >> > add coordinator master name host port pooler >> >> >>> >>>> >>> >> >> >> > dir >> >> >>> >>>> >>> >> >> >> > here what value i should use in place of pooler >> >> >>> >>>> >>> >> >> >> > ? >> >> >>> >>>> >>> >> >> >> > pooler >> >> >>> >>>> >>> >> >> >> > port >> >> >>> >>>> >>> >> >> >> > ? >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> >> >> >>> >>>> >>> >> >> >> pooler port >> >> >>> >>>> >>> >> >> >> >> >> >>> >>>> >>> >> >> >> > pgxc_ctl add coordinator master coord3 node5 >> >> >>> >>>> >>> >> >> >> > 20004 >> >> >>> >>>> >>> >> >> >> > 20010 >> >> >>> >>>> >>> >> >> >> > /home/postgres/pgxc/nodes/coord >> >> >>> >>>> >>> >> >> >> > ERROR: sorry found some inconflicts in >> >> >>> >>>> >>> >> >> >> > coordinator >> >> >>> >>>> >>> >> >> >> > master >> >> >>> >>>> >>> >> >> >> > configuration. >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> >> >> >>> >>>> >>> >> >> >> It is due to misconfigure. In detail, numbers of >> >> >>> >>>> >>> >> >> >> element >> >> >>> >>>> >>> >> >> >> for >> >> >>> >>>> >>> >> >> >> same >> >> >>> >>>> >>> >> >> >> component are not same. >> >> >>> >>>> >>> >> >> >> >> >> >>> >>>> >>> >> >> >> > pgxc_ctl add coordinator master coord3 node5 >> >> >>> >>>> >>> >> >> >> > 20004 >> >> >>> >>>> >>> >> >> >> > /home/postgres/pgxc/nodes/coord >> >> >>> >>>> >>> >> >> >> > ERROR: please specify the working director for >> >> >>> >>>> >>> >> >> >> > the >> >> >>> >>>> >>> >> >> >> > coordinator >> >> >>> >>>> >>> >> >> >> > master >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > Datanode : >> >> >>> >>>> >>> >> >> >> > add datanode master name host port dir >> >> >>> >>>> >>> >> >> >> > pgxc_ctl add datanode master new node5 20008 >> >> >>> >>>> >>> >> >> >> > /home/postgres/pgxc/nodes/dn_master >> >> >>> >>>> >>> >> >> >> > ERROR: sorry found some inconflicts in datanode >> >> >>> >>>> >>> >> >> >> > master >> >> >>> >>>> >>> >> >> >> > configuration. >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > Does earlier manual installation could be >> >> >>> >>>> >>> >> >> >> > reason >> >> >>> >>>> >>> >> >> >> > for >> >> >>> >>>> >>> >> >> >> > this >> >> >>> >>>> >>> >> >> >> > issue ? >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > P.S: >> >> >>> >>>> >>> >> >> >> > gtm_prxy : Nodename: 'gtm_pxy3', port: 20001, >> >> >>> >>>> >>> >> >> >> > dir: >> >> >>> >>>> >>> >> >> >> > '/home/postgres/pgxc/nodes/gtm_pxy' >> >> >>> >>>> >>> >> >> >> > Coordinator Master: Nodename: 'coord3', port: >> >> >>> >>>> >>> >> >> >> > 20004, >> >> >>> >>>> >>> >> >> >> > pooler >> >> >>> >>>> >>> >> >> >> > port: >> >> >>> >>>> >>> >> >> >> > 20010, >> >> >>> >>>> >>> >> >> >> > dir:' /home/postgres/pgxc/nodes/coord' >> >> >>> >>>> >>> >> >> >> > Datanode Master : Nodename: 'datanode3', >> >> >>> >>>> >>> >> >> >> > port: >> >> >>> >>>> >>> >> >> >> > 20008, >> >> >>> >>>> >>> >> >> >> > dir:' >> >> >>> >>>> >>> >> >> >> > /home/postgres/pgxc/nodes/dn_master' >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > please look at my commands if its erroneous >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > Please advice. >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > Regards, >> >> >>> >>>> >>> >> >> >> > Juned Khan >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > On Wed, Mar 12, 2014 at 11:45 AM, Juned Khan >> >> >>> >>>> >>> >> >> >> > <jkh...@gm...<mailto:jkh...@gm...>> >> >> >>> >>>> >>> >> >> >> > wrote: >> >> >>> >>>> >>> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> I tried to add coordinator and datanode >> >> >>> >>>> >>> >> >> >> >> manually >> >> >>> >>>> >>> >> >> >> >> and now it seems everything is messed up. >> >> >>> >>>> >>> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> Every component is just stopped working, if i >> >> >>> >>>> >>> >> >> >> >> kill >> >> >>> >>>> >>> >> >> >> >> all >> >> >>> >>>> >>> >> >> >> >> and >> >> >>> >>>> >>> >> >> >> >> start all again then again its shows >> >> >>> >>>> >>> >> >> >> >> everything >> >> >>> >>>> >>> >> >> >> >> is >> >> >>> >>>> >>> >> >> >> >> running >> >> >>> >>>> >>> >> >> >> >> but in that case it takes too long to connect >> >> >>> >>>> >>> >> >> >> >> dtabase(Psql >> >> >>> >>>> >>> >> >> >> >> -dkoichi) >> >> >>> >>>> >>> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> and at last it just fails to connect to the >> >> >>> >>>> >>> >> >> >> >> database >> >> >>> >>>> >>> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> PGXC Psql -dkoichi >> >> >>> >>>> >>> >> >> >> >> Selected coord1. >> >> >>> >>>> >>> >> >> >> >> psql: server closed the connection >> >> >>> >>>> >>> >> >> >> >> unexpectedly >> >> >>> >>>> >>> >> >> >> >> This probably means the server >> >> >>> >>>> >>> >> >> >> >> terminated >> >> >>> >>>> >>> >> >> >> >> abnormally >> >> >>> >>>> >>> >> >> >> >> before or while processing the >> >> >>> >>>> >>> >> >> >> >> request. >> >> >>> >>>> >>> >> >> >> >> PGXC >> >> >>> >>>> >>> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> Please advice. >> >> >>> >>>> >>> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> On Wed, Mar 12, 2014 at 4:34 AM, Michael >> >> >>> >>>> >>> >> >> >> >> Paquier >> >> >>> >>>> >>> >> >> >> >> <mic...@gm...<mailto:mic...@gm...>> wrote: >> >> >>> >>>> >>> >> >> >> >>> >> >> >>> >>>> >>> >> >> >> >>> On Wed, Mar 12, 2014 at 4:10 AM, Masataka >> >> >>> >>>> >>> >> >> >> >>> Saito >> >> >>> >>>> >>> >> >> >> >>> <pg...@gm...<mailto:pg...@gm...>> >> >> >>> >>>> >>> >> >> >> >>> wrote: >> >> >>> >>>> >>> >> >> >> >>> > On 11 March 2014 16:42, Juned Khan >> >> >>> >>>> >>> >> >> >> >>> > <jkh...@gm...<mailto:jkh...@gm...>> >> >> >>> >>>> >>> >> >> >> >>> > wrote: >> >> >>> >>>> >>> >> >> >> >>> >> Hi Masataka, >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> >> For testing i am tried to get this work >> >> >>> >>>> >>> >> >> >> >>> >> added >> >> >>> >>>> >>> >> >> >> >>> >> manual >> >> >>> >>>> >>> >> >> >> >>> >> query >> >> >>> >>>> >>> >> >> >> >>> >> for >> >> >>> >>>> >>> >> >> >> >>> >> CREATE >> >> >>> >>>> >>> >> >> >> >>> >> NODE. >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> >> Now its look like this: >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> >> postgres=# \q >> >> >>> >>>> >>> >> >> >> >>> >> PGXC Psql -dpostgres -h node5 -p 20004 >> >> >>> >>>> >>> >> >> >> >>> >> Selected coord3. >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> >> postgres=# select * from pgxc_node; >> >> >>> >>>> >>> >> >> >> >>> >> node_name | node_type | node_port | >> >> >>> >>>> >>> >> >> >> >>> >> node_host | >> >> >>> >>>> >>> >> >> >> >>> >> nodeis_primary >> >> >>> >>>> >>> >> >> >> >>> >> | >> >> >>> >>>> >>> >> >> >> >>> >> nodeis_preferred | node_id >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> >> -----------+-----------+-----------+-----------+----------------+------------------+------------- >> >> >>> >>>> >>> >> >> >> >>> >> coord3 | C | 5432 | >> >> >>> >>>> >>> >> >> >> >>> >> localhost | >> >> >>> >>>> >>> >> >> >> >>> >> f >> >> >>> >>>> >>> >> >> >> >>> >> | f >> >> >>> >>>> >>> >> >> >> >>> >> | 1638403545 >> >> >>> >>>> >>> >> >> >> >>> >> coord1 | C | 20004 | node3 >> >> >>> >>>> >>> >> >> >> >>> >> | >> >> >>> >>>> >>> >> >> >> >>> >> f >> >> >>> >>>> >>> >> >> >> >>> >> | f >> >> >>> >>>> >>> >> >> >> >>> >> | 1885696643 >> >> >>> >>>> >>> >> >> >> >>> >> coord2 | C | 20005 | node4 >> >> >>> >>>> >>> >> >> >> >>> >> | >> >> >>> >>>> >>> >> >> >> >>> >> f >> >> >>> >>>> >>> >> >> >> >>> >> | f >> >> >>> >>>> >>> >> >> >> >>> >> | -1197102633 >> >> >>> >>>> >>> >> >> >> >>> >> datanode1 | D | 20008 | node3 >> >> >>> >>>> >>> >> >> >> >>> >> | >> >> >>> >>>> >>> >> >> >> >>> >> f >> >> >>> >>>> >>> >> >> >> >>> >> | f >> >> >>> >>>> >>> >> >> >> >>> >> | 888802358 >> >> >>> >>>> >>> >> >> >> >>> >> datanode2 | D | 20009 | node4 >> >> >>> >>>> >>> >> >> >> >>> >> | >> >> >>> >>>> >>> >> >> >> >>> >> f >> >> >>> >>>> >>> >> >> >> >>> >> | f >> >> >>> >>>> >>> >> >> >> >>> >> | -905831925 >> >> >>> >>>> >>> >> >> >> >>> >> datanode3 | D | 20008 | node5 >> >> >>> >>>> >>> >> >> >> >>> >> | >> >> >>> >>>> >>> >> >> >> >>> >> f >> >> >>> >>>> >>> >> >> >> >>> >> | f >> >> >>> >>>> >>> >> >> >> >>> >> | -1894792127 >> >> >>> >>>> >>> >> >> >> >>> >> (6 rows) >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> >> Here coord3 runs on 5432 which should >> >> >>> >>>> >>> >> >> >> >>> >> 20004., >> >> >>> >>>> >>> >> >> >> >>> >> it >> >> >>> >>>> >>> >> >> >> >>> >> creates >> >> >>> >>>> >>> >> >> >> >>> >> problem >> >> >>> >>>> >>> >> >> >> >>> >> i >> >> >>> >>>> >>> >> >> >> >>> >> think >> >> >>> >>>> >>> >> >> >> >>> >> isn't it ? >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> > >> >> >>> >>>> >>> >> >> >> >>> > As far as I know, the local node >> >> >>> >>>> >>> >> >> >> >>> > information >> >> >>> >>>> >>> >> >> >> >>> > is >> >> >>> >>>> >>> >> >> >> >>> > not >> >> >>> >>>> >>> >> >> >> >>> > important >> >> >>> >>>> >>> >> >> >> >>> > and >> >> >>> >>>> >>> >> >> >> >>> > it >> >> >>> >>>> >>> >> >> >> >>> > is not necessary to update. >> >> >>> >>>> >>> >> >> >> >>> > "pgxc_ctl add" corrects it by "ALTER NODE". >> >> >>> >>>> >>> >> >> >> >>> CREATE NODE and DROP NODE only run locally. >> >> >>> >>>> >>> >> >> >> >>> Why >> >> >>> >>>> >>> >> >> >> >>> not >> >> >>> >>>> >>> >> >> >> >>> ALTER >> >> >>> >>>> >>> >> >> >> >>> NODE >> >> >>> >>>> >>> >> >> >> >>> for >> >> >>> >>>> >>> >> >> >> >>> consistency? Am I missing smth? >> >> >>> >>>> >>> >> >> >> >>> -- >> >> >>> >>>> >>> >> >> >> >>> Michael >> >> >>> >>>> >>> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> -- >> >> >>> >>>> >>> >> >> >> >> Thanks, >> >> >>> >>>> >>> >> >> >> >> Juned Khan >> >> >>> >>>> >>> >> >> >> >> iNextrix Technologies Pvt Ltd. >> >> >>> >>>> >>> >> >> >> >> www.inextrix.com<http://www.inextrix.com/> >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > -- >> >> >>> >>>> >>> >> >> >> > Thanks, >> >> >>> >>>> >>> >> >> >> > Juned Khan >> >> >>> >>>> >>> >> >> >> > iNextrix Technologies Pvt Ltd. >> >> >>> >>>> >>> >> >> >> > www.inextrix.com<http://www.inextrix.com/> >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> > -- >> >> >>> >>>> >>> >> >> > Thanks, >> >> >>> >>>> >>> >> >> > Juned Khan >> >> >>> >>>> >>> >> >> > iNextrix Technologies Pvt Ltd. >> >> >>> >>>> >>> >> >> > www.inextrix.com<http://www.inextrix.com/> >> >> >>> >>>> >>> >> > >> >> >>> >>>> >>> >> > >> >> >>> >>>> >>> >> > >> >> >>> >>>> >>> >> > >> >> >>> >>>> >>> >> > -- >> >> >>> >>>> >>> >> > Thanks, >> >> >>> >>>> >>> >> > Juned Khan >> >> >>> >>>> >>> >> > iNextrix Technologies Pvt Ltd. >> >> >>> >>>> >>> >> > www.inextrix.com<http://www.inextrix.com/> >> >> >>> >>>> >>> > >> >> >>> >>>> >>> > >> >> >>> >>>> >>> > >> >> >>> >>>> >>> > >> >> >>> >>>> >>> > -- >> >> >>> >>>> >>> > Thanks, >> >> >>> >>>> >>> > Juned Khan >> >> >>> >>>> >>> > iNextrix Technologies Pvt Ltd. >> >> >>> >>>> >>> > www.inextrix.com<http://www.inextrix.com/> >> >> >>> >>>> >> >> >> >>> >>>> >> >> >> >>> >>>> >> >> >> >>> >>>> >> >> >> >>> >>>> >> -- >> >> >>> >>>> >> Thanks, >> >> >>> >>>> >> Juned Khan >> >> >>> >>>> >> iNextrix Technologies Pvt Ltd. >> >> >>> >>>> >> www.inextrix.com<http://www.inextrix.com/> >> >> >>> >>>> > >> >> >>> >>>> > >> >> >>> >>>> > >> >> >>> >>>> > >> >> >>> >>>> > -- >> >> >>> >>>> > Thanks, >> >> >>> >>>> > Juned Khan >> >> >>> >>>> > iNextrix Technologies Pvt Ltd. >> >> >>> >>>> > www.inextrix.com<http://www.inextrix.com/> >> >> >>> >>> >> >> >>> >>> >> >> >>> >>> >> >> >>> >>> >> >> >>> >>> -- >> >> >>> >>> Thanks, >> >> >>> >>> Juned Khan >> >> >>> >>> iNextrix Technologies Pvt Ltd. >> >> >>> >>> www.inextrix.com<http://www.inextrix.com/> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> -- >> >> >>> >> Thanks, >> >> >>> >> Juned Khan >> >> >>> >> iNextrix Technologies Pvt Ltd. >> >> >>> >> www.inextrix.com<http://www.inextrix.com/> >> >> >>> > >> >> >>> > >> >> >>> > >> >> >>> > >> >> >>> > -- >> >> >>> > Thanks, >> >> >>> > Juned Khan >> >> >>> > iNextrix Technologies Pvt Ltd. >> >> >>> > www.inextrix.com<http://www.inextrix.com/> >> >> >>> > >> >> >>> > >> >> >>> > >> >> >>> > >> >> >>> > ------------------------------------------------------------------------------ >> >> >>> > Learn Graph Databases - Download FREE O'Reilly Book >> >> >>> > "Graph Databases" is the definitive new guide to graph databases >> >> >>> > and >> >> >>> > their >> >> >>> > applications. Written by three acclaimed leaders in the field, >> >> >>> > this first edition is now available. Download your free book >> >> >>> > today! >> >> >>> > http://p.sf.net/sfu/13534_NeoTech >> >> >>> > _______________________________________________ >> >> >>> > Postgres-xc-general mailing list >> >> >>> > Pos...@li...<mailto:Pos...@li...> >> >> >>> > https://lists.sourceforge.net/lists/listinfo/postgres-xc-general >> >> >>> > >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> >> Thanks, >> >> >> Juned Khan >> >> >> iNextrix Technologies Pvt Ltd. >> >> >> www.inextrix.com<http://www.inextrix.com/> >> >> > >> >> > >> >> > >> >> > >> >> > -- >> >> > Thanks, >> >> > Juned Khan >> >> > iNextrix Technologies Pvt Ltd. >> >> > www.inextrix.com<http://www.inextrix.com/> >> > >> > >> > >> > >> > -- >> > Thanks, >> > Juned Khan >> > iNextrix Technologies Pvt Ltd. >> > www.inextrix.com<http://www.inextrix.com/> > > > > > -- > Thanks, > Juned Khan > iNextrix Technologies Pvt Ltd. > www.inextrix.com<http://www.inextrix.com/> -- Thanks, Juned Khan iNextrix Technologies Pvt Ltd. www.inextrix.com<http://www.inextrix.com/> ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech_______________________________________________ Postgres-xc-general mailing list Pos...@li... https://lists.sourceforge.net/lists/listinfo/postgres-xc-general |
From: Michael P. <mic...@gm...> - 2014-03-24 02:44:59
|
On Fri, Mar 21, 2014 at 10:13 PM, Juned Khan <jkh...@gm...> wrote: > Hi Michael, > > > 2) pgxc will be able to handle 500 concurrent calls on server ? > Well yes, but a single Postgres server is able to handle that nicely > as well if coupled with a connection pooler. I don't see much why > multi-master is a requirement for such a low-number though as you seem > to mean in your question. > >> I want to use multi-master because, I have my server in different states >> as of now i have two servers but in future it will increase to four. And >> one of >> my table will have records more than one Billion, so i will make that >> table >> distributed so local query can executed on local servers. >> I have attached the diagram of my requirement. > > > Please suggest. Don't do that. Postgres-XC is designed to work with nodes located close to each other, and OLTP applications. With a cluster having nodes distributed geographically, your application performance would sink down because of GTM (XID/snapshot obtention, sequence value obtention) and network latency. This is the price to manage concurrency accurately. -- Michael |
From: Michael P. <mic...@gm...> - 2014-03-21 11:52:33
|
On Fri, Mar 21, 2014 at 2:08 PM, Juned Khan <jkh...@gm...> wrote: > Hi All, > > I have very large application, as of now i am using MySQL but i want to > convert it into postgre-xc. postgres-xc. By the way, is there any reason why you are *not* considering PostgreSQL as well? > 1) What is the minimum server requirement for this application ? There is no real *minimum* requirement AFAIK. However, coupling 1 Datanode and 1 Coordinator per server/VM could be useful to minimize network latency on queries. > 2) pgxc will be able to handle 500 concurrent calls on server ? Well yes, but a single Postgres server is able to handle that nicely as well if coupled with a connection pooler. I don't see much why multi-master is a requirement for such a low-number though as you seem to mean in your question. > 3) is there any parameter where i can define maximum connection ? max_connections on each Coordinator/Datanode * number of nodes. You could as well define different values of max_connections per node. > 4) If server crashes then i how to get data back. how to have back up > existing data ? This is a vast question, and without providing any details about what you are looking for in terms of backup and recovery strategy it is hard to guess anything but... This problem is similar to Postgres itself, except that in this case you need to manage N nodes and not 1. Just seeing your email and if you have a requirement with 500 concurrent connections, you might live happily with PostgreSQL + pgbouncer. Regards, -- Michael |
From: Juned K. <jkh...@gm...> - 2014-03-21 05:08:51
|
Hi All, I have very large application, as of now i am using MySQL but i want to convert it into postgre-xc. Queries: 1) What is the minimum server requirement for this application ? 2) pgxc will be able to handle 500 concurrent calls on server ? 3) is there any parameter where i can define maximum connection ? 4) If server crashes then i how to get data back. how to have back up existing data ? -- Thanks, Juned Khan iNextrix Technologies Pvt Ltd. www.inextrix.com |
From: Juned K. <jkh...@gm...> - 2014-03-20 09:57:49
|
Hi Koichi, it doesn't work with newly added datanode but with existing datanode it does koichi=# execute direct on (datanode3) 'select * from t1'; ERROR: Failed to get pooled connections On Thu, Mar 20, 2014 at 3:20 PM, Koichi Suzuki <koi...@gm...>wrote: > Does "EXECUTE DIRECT" work? > --- > Koichi Suzuki > > > 2014-03-20 18:00 GMT+09:00 Juned Khan <jkh...@gm...>: > > Hi koichi, > > > > All components just stops and starts without any problem. > > > > But still i am not able to execute that query, same issue. > > > > > > On Thu, Mar 20, 2014 at 1:49 PM, Koichi Suzuki <koi...@gm...> > > wrote: > >> > >> What happens if you restart all the components? > >> --- > >> Koichi Suzuki > >> > >> > >> 2014-03-20 14:07 GMT+09:00 Juned Khan <jkh...@gm...>: > >> > Hi koichi, > >> > > >> > I have already tried to reload but still its giving me same error. > >> > > >> > postgres=# SELECT pgxc_pool_reload(); > >> > pgxc_pool_reload > >> > ------------------ > >> > t > >> > (1 row) > >> > > >> > > >> > koichi=# alter table t1 add node (datanode3); > >> > ERROR: Failed to get pooled connections > >> > > >> > > >> > Although i am able to connect directly on datanode3. > >> > > >> > Please suggest. > >> > > >> > > >> > > >> > On Thu, Mar 20, 2014 at 6:26 AM, Koichi Suzuki <koi...@gm... > > > >> > wrote: > >> >> > >> >> Sorry, made a silly reply. > >> >> > >> >> Please try SELECT pgxc_pool_reload(). Documentation will be found > at > >> >> > >> >> > >> >> > http://postgres-xc.sourceforge.net/docs/1_1/functions-admin.html#FUNCTIONS-ADMIN-SET > >> >> > >> >> Good luck. > >> >> --- > >> >> Koichi Suzuki > >> >> > >> >> > >> >> 2014-03-19 20:56 GMT+09:00 Juned Khan <jkh...@gm...>: > >> >> > Hi koichi, > >> >> > > >> >> > Having little bit issue. > >> >> > New datanode is added successfully and even database structure is > >> >> > copied > >> >> > on new datanode(i have added datanode3). > >> >> > > >> >> > But as tables are empty, i am just trying to add new datanode using > >> >> > below > >> >> > command > >> >> > > >> >> > > >> >> > koichi=# alter table t1 add node (datanode3); > >> >> > ERROR: Failed to get pooled connections > >> >> > > >> >> > But as you suggested i tried to clean the connection. > >> >> > > >> >> > postgres=# CLEAN CONNECTION TO COORDINATOR (coord1,coord2) FOR > >> >> > koichi; > >> >> > CLEAN CONNECTION > >> >> > > >> >> > postgres=# CLEAN CONNECTION TO NODE (datanode1,datanode2,datanode3) > >> >> > for > >> >> > database koichi; > >> >> > CLEAN CONNECTION > >> >> > > >> >> > But still its giving me same error, is there any other solution for > >> >> > this > >> >> > problem? > >> >> > > >> >> > Regards, > >> >> > Juned khan > >> >> > > >> >> > > >> >> > > >> >> > On Sat, Mar 15, 2014 at 11:59 AM, Juned Khan <jkh...@gm...> > >> >> > wrote: > >> >> >> > >> >> >> Hi Koichi, > >> >> >> > >> >> >> Thanks for your information, > >> >> >> i just tried with stop and start components and it worked. > >> >> >> > >> >> >> This link will help me to fix future issues. And i ll keep in mind > >> >> >> about that documentation bug. > >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> On Sat, Mar 15, 2014 at 3:56 AM, Koichi Suzuki > >> >> >> <koi...@gm...> > >> >> >> wrote: > >> >> >>> > >> >> >>> pgxc_ctl command "add datanode master" should run all the > necessary > >> >> >>> clean_connection calls. > >> >> >>> > >> >> >>> Try to run clean_connection SQL command (specific to XC) as seen > in > >> >> >>> > >> >> >>> > http://postgres-xc.sourceforge.net/docs/1_1/sql-cleanconnection.html > >> >> >>> > >> >> >>> I found a document bug in the example CLEAN CONNECTION TO > >> >> >>> COORDINATOR > >> >> >>> coord1,coord2 FOR DATABASEname; > >> >> >>> > >> >> >>> You should enclose set of node names with (). > >> >> >>> > >> >> >>> Regards; > >> >> >>> --- > >> >> >>> Koichi Suzuki > >> >> >>> > >> >> >>> > >> >> >>> 2014-03-14 5:59 GMT+00:00 Juned Khan <jkh...@gm...>: > >> >> >>> > Koichi=# alter table t1 add node (datanode3); > >> >> >>> > > >> >> >>> > ERROR: Failed to get pooled connections > >> >> >>> > CONTEXT: SQL statement "EXECUTE DIRECT ON (coord3) 'SELECT > >> >> >>> > pg_catalog.pg_try_advisory_xact_lock_shared(65535, 0)'" > >> >> >>> > > >> >> >>> > > >> >> >>> > > >> >> >>> > On Fri, Mar 14, 2014 at 11:20 AM, Juned Khan > >> >> >>> > <jkh...@gm...> > >> >> >>> > wrote: > >> >> >>> >> > >> >> >>> >> Hi Masataka, Koichi, > >> >> >>> >> > >> >> >>> >> New datanode is successfully added and all components are > >> >> >>> >> running.i > >> >> >>> >> have > >> >> >>> >> small doubt. > >> >> >>> >> > >> >> >>> >> As i just added new datanode so , will existing database > >> >> >>> >> automatically > >> >> >>> >> copied > >> >> >>> >> on this datanode or i have to create and import it manually > from > >> >> >>> >> another > >> >> >>> >> datanode ? > >> >> >>> >> > >> >> >>> >> As per that video, we need to just fire alter query just like > : > >> >> >>> >> alter table t1 add node (datanode3); > >> >> >>> >> is that so ? > >> >> >>> >> > >> >> >>> >> and yeah as of now i am getting Failed to get pooled > connections > >> >> >>> >> error. > >> >> >>> >> > >> >> >>> >> koichi=# execute direct on (datanode3) 'select * from t1'; > >> >> >>> >> ERROR: Failed to get pooled connections > >> >> >>> >> > >> >> >>> >> Please advice. > >> >> >>> >> > >> >> >>> >> > >> >> >>> >> > >> >> >>> >> On Fri, Mar 14, 2014 at 11:03 AM, Juned Khan > >> >> >>> >> <jkh...@gm...> > >> >> >>> >> wrote: > >> >> >>> >>> > >> >> >>> >>> Hi Masataka > >> >> >>> >>> > >> >> >>> >>> Thanks you very much, commands are working now. > >> >> >>> >>> I thought that element doesn't affect because at initial > level > >> >> >>> >>> it was not showing any error. > >> >> >>> >>> > >> >> >>> >>> But thanks a lot, just fixed another same kind of problems. > ;) > >> >> >>> >>> > >> >> >>> >>> > >> >> >>> >>> > >> >> >>> >>> On Fri, Mar 14, 2014 at 10:40 AM, Masataka Saito > >> >> >>> >>> <pg...@gm...> > >> >> >>> >>> wrote: > >> >> >>> >>>> > >> >> >>> >>>> coordMasterServers defines 2 nodes, but > >> >> >>> >>>> coordSpecificExtraConfig > >> >> >>> >>>> and > >> >> >>> >>>> coordSpecificExtraPgHba have 4 elements. > >> >> >>> >>>> > >> >> >>> >>>> On 14 March 2014 13:51, Juned Khan <jkh...@gm...> > >> >> >>> >>>> wrote: > >> >> >>> >>>> > Hi Masataka, > >> >> >>> >>>> > > >> >> >>> >>>> > Please find the attachment. i have attached my > pgxc_ctl.conf > >> >> >>> >>>> > > >> >> >>> >>>> > see my pastebin link : http://pastebin.com/n35QkmpK > >> >> >>> >>>> > > >> >> >>> >>>> > > >> >> >>> >>>> > On Fri, Mar 14, 2014 at 10:18 AM, Juned Khan > >> >> >>> >>>> > <jkh...@gm...> > >> >> >>> >>>> > wrote: > >> >> >>> >>>> >> > >> >> >>> >>>> >> Hi Masataka, > >> >> >>> >>>> >> > >> >> >>> >>>> >> Please find the attachment. i have attached my > >> >> >>> >>>> >> pgxc_ctl.conf > >> >> >>> >>>> >> > >> >> >>> >>>> >> > >> >> >>> >>>> >> On Thu, Mar 13, 2014 at 11:39 PM, Masataka Saito > >> >> >>> >>>> >> <pg...@gm...> > >> >> >>> >>>> >> wrote: > >> >> >>> >>>> >>> > >> >> >>> >>>> >>> Can you provide your pgxc_ctl.conf? > >> >> >>> >>>> >>> > >> >> >>> >>>> >>> On 14 March 2014 00:31, Juned Khan <jkh...@gm... > > > >> >> >>> >>>> >>> wrote: > >> >> >>> >>>> >>> > Hi Masataka, > >> >> >>> >>>> >>> > > >> >> >>> >>>> >>> > Thanks for confirmation. > >> >> >>> >>>> >>> > is there any alternative for me to get this working? > >> >> >>> >>>> >>> > > >> >> >>> >>>> >>> > This can be very problematic with live servers. > >> >> >>> >>>> >>> > > >> >> >>> >>>> >>> > > >> >> >>> >>>> >>> > On Thu, Mar 13, 2014 at 8:56 PM, Masataka Saito > >> >> >>> >>>> >>> > <pg...@gm...> > >> >> >>> >>>> >>> > wrote: > >> >> >>> >>>> >>> >> > >> >> >>> >>>> >>> >> I think there's no problem in your command line. > >> >> >>> >>>> >>> >> > >> >> >>> >>>> >>> >> > >> >> >>> >>>> >>> >> On 13 March 2014 23:05, Juned Khan > >> >> >>> >>>> >>> >> <jkh...@gm...> > >> >> >>> >>>> >>> >> wrote: > >> >> >>> >>>> >>> >> > Hi Masataka, > >> >> >>> >>>> >>> >> > > >> >> >>> >>>> >>> >> > Its fine but i think i have specified only one > >> >> >>> >>>> >>> >> > element > >> >> >>> >>>> >>> >> > for > >> >> >>> >>>> >>> >> > each > >> >> >>> >>>> >>> >> > parameter. > >> >> >>> >>>> >>> >> > please check my command if it needs any correction > >> >> >>> >>>> >>> >> > > >> >> >>> >>>> >>> >> > > >> >> >>> >>>> >>> >> > pgxc_ctl add coordinator master coord3 node5 20004 > >> >> >>> >>>> >>> >> > 20010 > >> >> >>> >>>> >>> >> > /home/postgres/pgxc/nodes/coord > >> >> >>> >>>> >>> >> > > >> >> >>> >>>> >>> >> > > >> >> >>> >>>> >>> >> > > >> >> >>> >>>> >>> >> > On Thu, Mar 13, 2014 at 7:07 PM, Masataka Saito > >> >> >>> >>>> >>> >> > <pg...@gm...> > >> >> >>> >>>> >>> >> > wrote: > >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> Sorry. I lead your misunderstanding. > >> >> >>> >>>> >>> >> >> I meant about array style parameters and number of > >> >> >>> >>>> >>> >> >> elements in > >> >> >>> >>>> >>> >> >> each > >> >> >>> >>>> >>> >> >> array. > >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> For example, you have one coordNames, almost of > >> >> >>> >>>> >>> >> >> array > >> >> >>> >>>> >>> >> >> style > >> >> >>> >>>> >>> >> >> parameters > >> >> >>> >>>> >>> >> >> for coordinators except for coordPgHbaEntries -- > >> >> >>> >>>> >>> >> >> coordPorts, > >> >> >>> >>>> >>> >> >> poolerPorts, coordMasterServers, coordMasterDirs, > >> >> >>> >>>> >>> >> >> coordMaxWALSenders, > >> >> >>> >>>> >>> >> >> coordSpecificExtraConfig, coordSpecificExtraPgHba > -- > >> >> >>> >>>> >>> >> >> must > >> >> >>> >>>> >>> >> >> have > >> >> >>> >>>> >>> >> >> only > >> >> >>> >>>> >>> >> >> one element. > >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> That's all I can guess by your description. > >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> Regards. > >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> On 13 March 2014 18:07, Juned Khan > >> >> >>> >>>> >>> >> >> <jkh...@gm...> > >> >> >>> >>>> >>> >> >> wrote: > >> >> >>> >>>> >>> >> >> > Hi Masataka, > >> >> >>> >>>> >>> >> >> > > >> >> >>> >>>> >>> >> >> > As per that documentation i have provided all > >> >> >>> >>>> >>> >> >> > those > >> >> >>> >>>> >>> >> >> > parameters > >> >> >>> >>>> >>> >> >> > what else i should add or remove to make that > >> >> >>> >>>> >>> >> >> > command > >> >> >>> >>>> >>> >> >> > working ? > >> >> >>> >>>> >>> >> >> > > >> >> >>> >>>> >>> >> >> > I want to add datanode and coordinator with > below > >> >> >>> >>>> >>> >> >> > configuration > >> >> >>> >>>> >>> >> >> > and i think i specified all values as per that > >> >> >>> >>>> >>> >> >> > documentation. > >> >> >>> >>>> >>> >> >> > > >> >> >>> >>>> >>> >> >> > > >> >> >>> >>>> >>> >> >> >> Coordinator Master: > >> >> >>> >>>> >>> >> >> >> Nodename: 'coord3', port: 20004, pooler > port: > >> >> >>> >>>> >>> >> >> >> 20010 > >> >> >>> >>>> >>> >> >> >> MaxWalSenders: (null), Dir: > >> >> >>> >>>> >>> >> >> >> '/home/postgres/pgxc/nodes/coord' > >> >> >>> >>>> >>> >> >> >> ExtraConfig: 'coordExtraConfig', Specific > >> >> >>> >>>> >>> >> >> >> Extra > >> >> >>> >>>> >>> >> >> >> Config: > >> >> >>> >>>> >>> >> >> >> 'none' > >> >> >>> >>>> >>> >> >> >> pg_hba entries ( '192.168.1.71/32' > >> >> >>> >>>> >>> >> >> >> '192.168.1.72/32' > >> >> >>> >>>> >>> >> >> >> '192.168.1.73/32' > >> >> >>> >>>> >>> >> >> >> '192.168.1.43/32' '192.168.1.75/32' ) > >> >> >>> >>>> >>> >> >> >> Extra pg_hba: 'none', Specific Extra > pg_hba: > >> >> >>> >>>> >>> >> >> >> 'none' > >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> Datanode Master: > >> >> >>> >>>> >>> >> >> >> Nodename: 'datanode3', port: 20008 > >> >> >>> >>>> >>> >> >> >> MaxWALSenders: 3, Dir: > >> >> >>> >>>> >>> >> >> >> '/home/postgres/pgxc/nodes/dn_master' > >> >> >>> >>>> >>> >> >> >> ExtraConfig: 'none', Specific Extra Config: > >> >> >>> >>>> >>> >> >> >> 'none' > >> >> >>> >>>> >>> >> >> >> pg_hba entries ( '192.168.1.71/32' > >> >> >>> >>>> >>> >> >> >> '192.168.1.72/32' > >> >> >>> >>>> >>> >> >> >> '192.168.1.73/32' > >> >> >>> >>>> >>> >> >> >> '192.168.1.43/32' '192.168.1.75/32' ) > >> >> >>> >>>> >>> >> >> >> Extra pg_hba: 'none', Specific Extra > pg_hba: > >> >> >>> >>>> >>> >> >> >> 'none' > >> >> >>> >>>> >>> >> >> > > >> >> >>> >>>> >>> >> >> > > >> >> >>> >>>> >>> >> >> > > >> >> >>> >>>> >>> >> >> > Please suggest. > >> >> >>> >>>> >>> >> >> > > >> >> >>> >>>> >>> >> >> > Regards > >> >> >>> >>>> >>> >> >> > Juned Khan > >> >> >>> >>>> >>> >> >> > > >> >> >>> >>>> >>> >> >> > > >> >> >>> >>>> >>> >> >> > > >> >> >>> >>>> >>> >> >> > On Thu, Mar 13, 2014 at 1:06 PM, Masataka Saito > >> >> >>> >>>> >>> >> >> > <pg...@gm...> > >> >> >>> >>>> >>> >> >> > wrote: > >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> On 12 March 2014 22:43, Juned Khan > >> >> >>> >>>> >>> >> >> >> <jkh...@gm...> > >> >> >>> >>>> >>> >> >> >> wrote: > >> >> >>> >>>> >>> >> >> >> > Hi Koichi,Masataka > >> >> >>> >>>> >>> >> >> >> > > >> >> >>> >>>> >>> >> >> >> > Successfully added gtm proxy but having issue > >> >> >>> >>>> >>> >> >> >> > with > >> >> >>> >>>> >>> >> >> >> > coordinator > >> >> >>> >>>> >>> >> >> >> > and > >> >> >>> >>>> >>> >> >> >> > datanode. > >> >> >>> >>>> >>> >> >> >> > > >> >> >>> >>>> >>> >> >> >> > Coordinator : > >> >> >>> >>>> >>> >> >> >> > add coordinator master name host port pooler > >> >> >>> >>>> >>> >> >> >> > dir > >> >> >>> >>>> >>> >> >> >> > here what value i should use in place of > pooler > >> >> >>> >>>> >>> >> >> >> > ? > >> >> >>> >>>> >>> >> >> >> > pooler > >> >> >>> >>>> >>> >> >> >> > port > >> >> >>> >>>> >>> >> >> >> > ? > >> >> >>> >>>> >>> >> >> >> > > >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> pooler port > >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > pgxc_ctl add coordinator master coord3 node5 > >> >> >>> >>>> >>> >> >> >> > 20004 > >> >> >>> >>>> >>> >> >> >> > 20010 > >> >> >>> >>>> >>> >> >> >> > /home/postgres/pgxc/nodes/coord > >> >> >>> >>>> >>> >> >> >> > ERROR: sorry found some inconflicts in > >> >> >>> >>>> >>> >> >> >> > coordinator > >> >> >>> >>>> >>> >> >> >> > master > >> >> >>> >>>> >>> >> >> >> > configuration. > >> >> >>> >>>> >>> >> >> >> > > >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> It is due to misconfigure. In detail, numbers > of > >> >> >>> >>>> >>> >> >> >> element > >> >> >>> >>>> >>> >> >> >> for > >> >> >>> >>>> >>> >> >> >> same > >> >> >>> >>>> >>> >> >> >> component are not same. > >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > pgxc_ctl add coordinator master coord3 node5 > >> >> >>> >>>> >>> >> >> >> > 20004 > >> >> >>> >>>> >>> >> >> >> > /home/postgres/pgxc/nodes/coord > >> >> >>> >>>> >>> >> >> >> > ERROR: please specify the working director > for > >> >> >>> >>>> >>> >> >> >> > the > >> >> >>> >>>> >>> >> >> >> > coordinator > >> >> >>> >>>> >>> >> >> >> > master > >> >> >>> >>>> >>> >> >> >> > > >> >> >>> >>>> >>> >> >> >> > Datanode : > >> >> >>> >>>> >>> >> >> >> > add datanode master name host port dir > >> >> >>> >>>> >>> >> >> >> > pgxc_ctl add datanode master new node5 20008 > >> >> >>> >>>> >>> >> >> >> > /home/postgres/pgxc/nodes/dn_master > >> >> >>> >>>> >>> >> >> >> > ERROR: sorry found some inconflicts in > datanode > >> >> >>> >>>> >>> >> >> >> > master > >> >> >>> >>>> >>> >> >> >> > configuration. > >> >> >>> >>>> >>> >> >> >> > > >> >> >>> >>>> >>> >> >> >> > Does earlier manual installation could be > >> >> >>> >>>> >>> >> >> >> > reason > >> >> >>> >>>> >>> >> >> >> > for > >> >> >>> >>>> >>> >> >> >> > this > >> >> >>> >>>> >>> >> >> >> > issue ? > >> >> >>> >>>> >>> >> >> >> > > >> >> >>> >>>> >>> >> >> >> > P.S: > >> >> >>> >>>> >>> >> >> >> > gtm_prxy : Nodename: 'gtm_pxy3', port: 20001, > >> >> >>> >>>> >>> >> >> >> > dir: > >> >> >>> >>>> >>> >> >> >> > '/home/postgres/pgxc/nodes/gtm_pxy' > >> >> >>> >>>> >>> >> >> >> > Coordinator Master: Nodename: 'coord3', port: > >> >> >>> >>>> >>> >> >> >> > 20004, > >> >> >>> >>>> >>> >> >> >> > pooler > >> >> >>> >>>> >>> >> >> >> > port: > >> >> >>> >>>> >>> >> >> >> > 20010, > >> >> >>> >>>> >>> >> >> >> > dir:' /home/postgres/pgxc/nodes/coord' > >> >> >>> >>>> >>> >> >> >> > Datanode Master : Nodename: 'datanode3', > >> >> >>> >>>> >>> >> >> >> > port: > >> >> >>> >>>> >>> >> >> >> > 20008, > >> >> >>> >>>> >>> >> >> >> > dir:' > >> >> >>> >>>> >>> >> >> >> > /home/postgres/pgxc/nodes/dn_master' > >> >> >>> >>>> >>> >> >> >> > > >> >> >>> >>>> >>> >> >> >> > please look at my commands if its erroneous > >> >> >>> >>>> >>> >> >> >> > > >> >> >>> >>>> >>> >> >> >> > Please advice. > >> >> >>> >>>> >>> >> >> >> > > >> >> >>> >>>> >>> >> >> >> > Regards, > >> >> >>> >>>> >>> >> >> >> > Juned Khan > >> >> >>> >>>> >>> >> >> >> > > >> >> >>> >>>> >>> >> >> >> > > >> >> >>> >>>> >>> >> >> >> > > >> >> >>> >>>> >>> >> >> >> > On Wed, Mar 12, 2014 at 11:45 AM, Juned Khan > >> >> >>> >>>> >>> >> >> >> > <jkh...@gm...> > >> >> >>> >>>> >>> >> >> >> > wrote: > >> >> >>> >>>> >>> >> >> >> >> > >> >> >>> >>>> >>> >> >> >> >> I tried to add coordinator and datanode > >> >> >>> >>>> >>> >> >> >> >> manually > >> >> >>> >>>> >>> >> >> >> >> and now it seems everything is messed up. > >> >> >>> >>>> >>> >> >> >> >> > >> >> >>> >>>> >>> >> >> >> >> Every component is just stopped working, if > i > >> >> >>> >>>> >>> >> >> >> >> kill > >> >> >>> >>>> >>> >> >> >> >> all > >> >> >>> >>>> >>> >> >> >> >> and > >> >> >>> >>>> >>> >> >> >> >> start all again then again its shows > >> >> >>> >>>> >>> >> >> >> >> everything > >> >> >>> >>>> >>> >> >> >> >> is > >> >> >>> >>>> >>> >> >> >> >> running > >> >> >>> >>>> >>> >> >> >> >> but in that case it takes too long to > connect > >> >> >>> >>>> >>> >> >> >> >> dtabase(Psql > >> >> >>> >>>> >>> >> >> >> >> -dkoichi) > >> >> >>> >>>> >>> >> >> >> >> > >> >> >>> >>>> >>> >> >> >> >> and at last it just fails to connect to the > >> >> >>> >>>> >>> >> >> >> >> database > >> >> >>> >>>> >>> >> >> >> >> > >> >> >>> >>>> >>> >> >> >> >> PGXC Psql -dkoichi > >> >> >>> >>>> >>> >> >> >> >> Selected coord1. > >> >> >>> >>>> >>> >> >> >> >> psql: server closed the connection > >> >> >>> >>>> >>> >> >> >> >> unexpectedly > >> >> >>> >>>> >>> >> >> >> >> This probably means the server > >> >> >>> >>>> >>> >> >> >> >> terminated > >> >> >>> >>>> >>> >> >> >> >> abnormally > >> >> >>> >>>> >>> >> >> >> >> before or while processing the > >> >> >>> >>>> >>> >> >> >> >> request. > >> >> >>> >>>> >>> >> >> >> >> PGXC > >> >> >>> >>>> >>> >> >> >> >> > >> >> >>> >>>> >>> >> >> >> >> Please advice. > >> >> >>> >>>> >>> >> >> >> >> > >> >> >>> >>>> >>> >> >> >> >> > >> >> >>> >>>> >>> >> >> >> >> > >> >> >>> >>>> >>> >> >> >> >> On Wed, Mar 12, 2014 at 4:34 AM, Michael > >> >> >>> >>>> >>> >> >> >> >> Paquier > >> >> >>> >>>> >>> >> >> >> >> <mic...@gm...> wrote: > >> >> >>> >>>> >>> >> >> >> >>> > >> >> >>> >>>> >>> >> >> >> >>> On Wed, Mar 12, 2014 at 4:10 AM, Masataka > >> >> >>> >>>> >>> >> >> >> >>> Saito > >> >> >>> >>>> >>> >> >> >> >>> <pg...@gm...> > >> >> >>> >>>> >>> >> >> >> >>> wrote: > >> >> >>> >>>> >>> >> >> >> >>> > On 11 March 2014 16:42, Juned Khan > >> >> >>> >>>> >>> >> >> >> >>> > <jkh...@gm...> > >> >> >>> >>>> >>> >> >> >> >>> > wrote: > >> >> >>> >>>> >>> >> >> >> >>> >> Hi Masataka, > >> >> >>> >>>> >>> >> >> >> >>> >> > >> >> >>> >>>> >>> >> >> >> >>> >> For testing i am tried to get this work > >> >> >>> >>>> >>> >> >> >> >>> >> added > >> >> >>> >>>> >>> >> >> >> >>> >> manual > >> >> >>> >>>> >>> >> >> >> >>> >> query > >> >> >>> >>>> >>> >> >> >> >>> >> for > >> >> >>> >>>> >>> >> >> >> >>> >> CREATE > >> >> >>> >>>> >>> >> >> >> >>> >> NODE. > >> >> >>> >>>> >>> >> >> >> >>> >> > >> >> >>> >>>> >>> >> >> >> >>> >> Now its look like this: > >> >> >>> >>>> >>> >> >> >> >>> >> > >> >> >>> >>>> >>> >> >> >> >>> >> postgres=# \q > >> >> >>> >>>> >>> >> >> >> >>> >> PGXC Psql -dpostgres -h node5 -p 20004 > >> >> >>> >>>> >>> >> >> >> >>> >> Selected coord3. > >> >> >>> >>>> >>> >> >> >> >>> >> > >> >> >>> >>>> >>> >> >> >> >>> >> postgres=# select * from pgxc_node; > >> >> >>> >>>> >>> >> >> >> >>> >> node_name | node_type | node_port | > >> >> >>> >>>> >>> >> >> >> >>> >> node_host | > >> >> >>> >>>> >>> >> >> >> >>> >> nodeis_primary > >> >> >>> >>>> >>> >> >> >> >>> >> | > >> >> >>> >>>> >>> >> >> >> >>> >> nodeis_preferred | node_id > >> >> >>> >>>> >>> >> >> >> >>> >> > >> >> >>> >>>> >>> >> >> >> >>> >> > >> >> >>> >>>> >>> >> >> >> >>> >> > >> >> >>> >>>> >>> >> >> >> >>> >> > >> >> >>> >>>> >>> >> >> >> >>> >> > >> >> >>> >>>> >>> >> >> >> >>> >> > >> >> >>> >>>> >>> >> >> >> >>> >> > >> >> >>> >>>> >>> >> >> >> >>> >> > >> >> >>> >>>> >>> >> >> >> >>> >> > >> >> >>> >>>> >>> >> >> >> >>> >> > -----------+-----------+-----------+-----------+----------------+------------------+------------- > >> >> >>> >>>> >>> >> >> >> >>> >> coord3 | C | 5432 | > >> >> >>> >>>> >>> >> >> >> >>> >> localhost | > >> >> >>> >>>> >>> >> >> >> >>> >> f > >> >> >>> >>>> >>> >> >> >> >>> >> | f > >> >> >>> >>>> >>> >> >> >> >>> >> | 1638403545 > >> >> >>> >>>> >>> >> >> >> >>> >> coord1 | C | 20004 | > node3 > >> >> >>> >>>> >>> >> >> >> >>> >> | > >> >> >>> >>>> >>> >> >> >> >>> >> f > >> >> >>> >>>> >>> >> >> >> >>> >> | f > >> >> >>> >>>> >>> >> >> >> >>> >> | 1885696643 > >> >> >>> >>>> >>> >> >> >> >>> >> coord2 | C | 20005 | > node4 > >> >> >>> >>>> >>> >> >> >> >>> >> | > >> >> >>> >>>> >>> >> >> >> >>> >> f > >> >> >>> >>>> >>> >> >> >> >>> >> | f > >> >> >>> >>>> >>> >> >> >> >>> >> | -1197102633 > >> >> >>> >>>> >>> >> >> >> >>> >> datanode1 | D | 20008 | > node3 > >> >> >>> >>>> >>> >> >> >> >>> >> | > >> >> >>> >>>> >>> >> >> >> >>> >> f > >> >> >>> >>>> >>> >> >> >> >>> >> | f > >> >> >>> >>>> >>> >> >> >> >>> >> | 888802358 > >> >> >>> >>>> >>> >> >> >> >>> >> datanode2 | D | 20009 | > node4 > >> >> >>> >>>> >>> >> >> >> >>> >> | > >> >> >>> >>>> >>> >> >> >> >>> >> f > >> >> >>> >>>> >>> >> >> >> >>> >> | f > >> >> >>> >>>> >>> >> >> >> >>> >> | -905831925 > >> >> >>> >>>> >>> >> >> >> >>> >> datanode3 | D | 20008 | > node5 > >> >> >>> >>>> >>> >> >> >> >>> >> | > >> >> >>> >>>> >>> >> >> >> >>> >> f > >> >> >>> >>>> >>> >> >> >> >>> >> | f > >> >> >>> >>>> >>> >> >> >> >>> >> | -1894792127 > >> >> >>> >>>> >>> >> >> >> >>> >> (6 rows) > >> >> >>> >>>> >>> >> >> >> >>> >> > >> >> >>> >>>> >>> >> >> >> >>> >> Here coord3 runs on 5432 which should > >> >> >>> >>>> >>> >> >> >> >>> >> 20004., > >> >> >>> >>>> >>> >> >> >> >>> >> it > >> >> >>> >>>> >>> >> >> >> >>> >> creates > >> >> >>> >>>> >>> >> >> >> >>> >> problem > >> >> >>> >>>> >>> >> >> >> >>> >> i > >> >> >>> >>>> >>> >> >> >> >>> >> think > >> >> >>> >>>> >>> >> >> >> >>> >> isn't it ? > >> >> >>> >>>> >>> >> >> >> >>> >> > >> >> >>> >>>> >>> >> >> >> >>> > > >> >> >>> >>>> >>> >> >> >> >>> > As far as I know, the local node > >> >> >>> >>>> >>> >> >> >> >>> > information > >> >> >>> >>>> >>> >> >> >> >>> > is > >> >> >>> >>>> >>> >> >> >> >>> > not > >> >> >>> >>>> >>> >> >> >> >>> > important > >> >> >>> >>>> >>> >> >> >> >>> > and > >> >> >>> >>>> >>> >> >> >> >>> > it > >> >> >>> >>>> >>> >> >> >> >>> > is not necessary to update. > >> >> >>> >>>> >>> >> >> >> >>> > "pgxc_ctl add" corrects it by "ALTER > NODE". > >> >> >>> >>>> >>> >> >> >> >>> CREATE NODE and DROP NODE only run locally. > >> >> >>> >>>> >>> >> >> >> >>> Why > >> >> >>> >>>> >>> >> >> >> >>> not > >> >> >>> >>>> >>> >> >> >> >>> ALTER > >> >> >>> >>>> >>> >> >> >> >>> NODE > >> >> >>> >>>> >>> >> >> >> >>> for > >> >> >>> >>>> >>> >> >> >> >>> consistency? Am I missing smth? > >> >> >>> >>>> >>> >> >> >> >>> -- > >> >> >>> >>>> >>> >> >> >> >>> Michael > >> >> >>> >>>> >>> >> >> >> >> > >> >> >>> >>>> >>> >> >> >> >> > >> >> >>> >>>> >>> >> >> >> >> > >> >> >>> >>>> >>> >> >> >> >> > >> >> >>> >>>> >>> >> >> >> >> -- > >> >> >>> >>>> >>> >> >> >> >> Thanks, > >> >> >>> >>>> >>> >> >> >> >> Juned Khan > >> >> >>> >>>> >>> >> >> >> >> iNextrix Technologies Pvt Ltd. > >> >> >>> >>>> >>> >> >> >> >> www.inextrix.com > >> >> >>> >>>> >>> >> >> >> > > >> >> >>> >>>> >>> >> >> >> > > >> >> >>> >>>> >>> >> >> >> > > >> >> >>> >>>> >>> >> >> >> > > >> >> >>> >>>> >>> >> >> >> > -- > >> >> >>> >>>> >>> >> >> >> > Thanks, > >> >> >>> >>>> >>> >> >> >> > Juned Khan > >> >> >>> >>>> >>> >> >> >> > iNextrix Technologies Pvt Ltd. > >> >> >>> >>>> >>> >> >> >> > www.inextrix.com > >> >> >>> >>>> >>> >> >> > > >> >> >>> >>>> >>> >> >> > > >> >> >>> >>>> >>> >> >> > > >> >> >>> >>>> >>> >> >> > > >> >> >>> >>>> >>> >> >> > -- > >> >> >>> >>>> >>> >> >> > Thanks, > >> >> >>> >>>> >>> >> >> > Juned Khan > >> >> >>> >>>> >>> >> >> > iNextrix Technologies Pvt Ltd. > >> >> >>> >>>> >>> >> >> > www.inextrix.com > >> >> >>> >>>> >>> >> > > >> >> >>> >>>> >>> >> > > >> >> >>> >>>> >>> >> > > >> >> >>> >>>> >>> >> > > >> >> >>> >>>> >>> >> > -- > >> >> >>> >>>> >>> >> > Thanks, > >> >> >>> >>>> >>> >> > Juned Khan > >> >> >>> >>>> >>> >> > iNextrix Technologies Pvt Ltd. > >> >> >>> >>>> >>> >> > www.inextrix.com > >> >> >>> >>>> >>> > > >> >> >>> >>>> >>> > > >> >> >>> >>>> >>> > > >> >> >>> >>>> >>> > > >> >> >>> >>>> >>> > -- > >> >> >>> >>>> >>> > Thanks, > >> >> >>> >>>> >>> > Juned Khan > >> >> >>> >>>> >>> > iNextrix Technologies Pvt Ltd. > >> >> >>> >>>> >>> > www.inextrix.com > >> >> >>> >>>> >> > >> >> >>> >>>> >> > >> >> >>> >>>> >> > >> >> >>> >>>> >> > >> >> >>> >>>> >> -- > >> >> >>> >>>> >> Thanks, > >> >> >>> >>>> >> Juned Khan > >> >> >>> >>>> >> iNextrix Technologies Pvt Ltd. > >> >> >>> >>>> >> www.inextrix.com > >> >> >>> >>>> > > >> >> >>> >>>> > > >> >> >>> >>>> > > >> >> >>> >>>> > > >> >> >>> >>>> > -- > >> >> >>> >>>> > Thanks, > >> >> >>> >>>> > Juned Khan > >> >> >>> >>>> > iNextrix Technologies Pvt Ltd. > >> >> >>> >>>> > www.inextrix.com > >> >> >>> >>> > >> >> >>> >>> > >> >> >>> >>> > >> >> >>> >>> > >> >> >>> >>> -- > >> >> >>> >>> Thanks, > >> >> >>> >>> Juned Khan > >> >> >>> >>> iNextrix Technologies Pvt Ltd. > >> >> >>> >>> www.inextrix.com > >> >> >>> >> > >> >> >>> >> > >> >> >>> >> > >> >> >>> >> > >> >> >>> >> -- > >> >> >>> >> Thanks, > >> >> >>> >> Juned Khan > >> >> >>> >> iNextrix Technologies Pvt Ltd. > >> >> >>> >> www.inextrix.com > >> >> >>> > > >> >> >>> > > >> >> >>> > > >> >> >>> > > >> >> >>> > -- > >> >> >>> > Thanks, > >> >> >>> > Juned Khan > >> >> >>> > iNextrix Technologies Pvt Ltd. > >> >> >>> > www.inextrix.com > >> >> >>> > > >> >> >>> > > >> >> >>> > > >> >> >>> > > >> >> >>> > > ------------------------------------------------------------------------------ > >> >> >>> > Learn Graph Databases - Download FREE O'Reilly Book > >> >> >>> > "Graph Databases" is the definitive new guide to graph > databases > >> >> >>> > and > >> >> >>> > their > >> >> >>> > applications. Written by three acclaimed leaders in the field, > >> >> >>> > this first edition is now available. Download your free book > >> >> >>> > today! > >> >> >>> > http://p.sf.net/sfu/13534_NeoTech > >> >> >>> > _______________________________________________ > >> >> >>> > Postgres-xc-general mailing list > >> >> >>> > Pos...@li... > >> >> >>> > > https://lists.sourceforge.net/lists/listinfo/postgres-xc-general > >> >> >>> > > >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> -- > >> >> >> Thanks, > >> >> >> Juned Khan > >> >> >> iNextrix Technologies Pvt Ltd. > >> >> >> www.inextrix.com > >> >> > > >> >> > > >> >> > > >> >> > > >> >> > -- > >> >> > Thanks, > >> >> > Juned Khan > >> >> > iNextrix Technologies Pvt Ltd. > >> >> > www.inextrix.com > >> > > >> > > >> > > >> > > >> > -- > >> > Thanks, > >> > Juned Khan > >> > iNextrix Technologies Pvt Ltd. > >> > www.inextrix.com > > > > > > > > > > -- > > Thanks, > > Juned Khan > > iNextrix Technologies Pvt Ltd. > > www.inextrix.com > -- Thanks, Juned Khan iNextrix Technologies Pvt Ltd. www.inextrix.com |
From: Koichi S. <koi...@gm...> - 2014-03-20 09:50:15
|
Does "EXECUTE DIRECT" work? --- Koichi Suzuki 2014-03-20 18:00 GMT+09:00 Juned Khan <jkh...@gm...>: > Hi koichi, > > All components just stops and starts without any problem. > > But still i am not able to execute that query, same issue. > > > On Thu, Mar 20, 2014 at 1:49 PM, Koichi Suzuki <koi...@gm...> > wrote: >> >> What happens if you restart all the components? >> --- >> Koichi Suzuki >> >> >> 2014-03-20 14:07 GMT+09:00 Juned Khan <jkh...@gm...>: >> > Hi koichi, >> > >> > I have already tried to reload but still its giving me same error. >> > >> > postgres=# SELECT pgxc_pool_reload(); >> > pgxc_pool_reload >> > ------------------ >> > t >> > (1 row) >> > >> > >> > koichi=# alter table t1 add node (datanode3); >> > ERROR: Failed to get pooled connections >> > >> > >> > Although i am able to connect directly on datanode3. >> > >> > Please suggest. >> > >> > >> > >> > On Thu, Mar 20, 2014 at 6:26 AM, Koichi Suzuki <koi...@gm...> >> > wrote: >> >> >> >> Sorry, made a silly reply. >> >> >> >> Please try SELECT pgxc_pool_reload(). Documentation will be found at >> >> >> >> >> >> http://postgres-xc.sourceforge.net/docs/1_1/functions-admin.html#FUNCTIONS-ADMIN-SET >> >> >> >> Good luck. >> >> --- >> >> Koichi Suzuki >> >> >> >> >> >> 2014-03-19 20:56 GMT+09:00 Juned Khan <jkh...@gm...>: >> >> > Hi koichi, >> >> > >> >> > Having little bit issue. >> >> > New datanode is added successfully and even database structure is >> >> > copied >> >> > on new datanode(i have added datanode3). >> >> > >> >> > But as tables are empty, i am just trying to add new datanode using >> >> > below >> >> > command >> >> > >> >> > >> >> > koichi=# alter table t1 add node (datanode3); >> >> > ERROR: Failed to get pooled connections >> >> > >> >> > But as you suggested i tried to clean the connection. >> >> > >> >> > postgres=# CLEAN CONNECTION TO COORDINATOR (coord1,coord2) FOR >> >> > koichi; >> >> > CLEAN CONNECTION >> >> > >> >> > postgres=# CLEAN CONNECTION TO NODE (datanode1,datanode2,datanode3) >> >> > for >> >> > database koichi; >> >> > CLEAN CONNECTION >> >> > >> >> > But still its giving me same error, is there any other solution for >> >> > this >> >> > problem? >> >> > >> >> > Regards, >> >> > Juned khan >> >> > >> >> > >> >> > >> >> > On Sat, Mar 15, 2014 at 11:59 AM, Juned Khan <jkh...@gm...> >> >> > wrote: >> >> >> >> >> >> Hi Koichi, >> >> >> >> >> >> Thanks for your information, >> >> >> i just tried with stop and start components and it worked. >> >> >> >> >> >> This link will help me to fix future issues. And i ll keep in mind >> >> >> about that documentation bug. >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> On Sat, Mar 15, 2014 at 3:56 AM, Koichi Suzuki >> >> >> <koi...@gm...> >> >> >> wrote: >> >> >>> >> >> >>> pgxc_ctl command "add datanode master" should run all the necessary >> >> >>> clean_connection calls. >> >> >>> >> >> >>> Try to run clean_connection SQL command (specific to XC) as seen in >> >> >>> >> >> >>> http://postgres-xc.sourceforge.net/docs/1_1/sql-cleanconnection.html >> >> >>> >> >> >>> I found a document bug in the example CLEAN CONNECTION TO >> >> >>> COORDINATOR >> >> >>> coord1,coord2 FOR DATABASEname; >> >> >>> >> >> >>> You should enclose set of node names with (). >> >> >>> >> >> >>> Regards; >> >> >>> --- >> >> >>> Koichi Suzuki >> >> >>> >> >> >>> >> >> >>> 2014-03-14 5:59 GMT+00:00 Juned Khan <jkh...@gm...>: >> >> >>> > Koichi=# alter table t1 add node (datanode3); >> >> >>> > >> >> >>> > ERROR: Failed to get pooled connections >> >> >>> > CONTEXT: SQL statement "EXECUTE DIRECT ON (coord3) 'SELECT >> >> >>> > pg_catalog.pg_try_advisory_xact_lock_shared(65535, 0)'" >> >> >>> > >> >> >>> > >> >> >>> > >> >> >>> > On Fri, Mar 14, 2014 at 11:20 AM, Juned Khan >> >> >>> > <jkh...@gm...> >> >> >>> > wrote: >> >> >>> >> >> >> >>> >> Hi Masataka, Koichi, >> >> >>> >> >> >> >>> >> New datanode is successfully added and all components are >> >> >>> >> running.i >> >> >>> >> have >> >> >>> >> small doubt. >> >> >>> >> >> >> >>> >> As i just added new datanode so , will existing database >> >> >>> >> automatically >> >> >>> >> copied >> >> >>> >> on this datanode or i have to create and import it manually from >> >> >>> >> another >> >> >>> >> datanode ? >> >> >>> >> >> >> >>> >> As per that video, we need to just fire alter query just like : >> >> >>> >> alter table t1 add node (datanode3); >> >> >>> >> is that so ? >> >> >>> >> >> >> >>> >> and yeah as of now i am getting Failed to get pooled connections >> >> >>> >> error. >> >> >>> >> >> >> >>> >> koichi=# execute direct on (datanode3) 'select * from t1'; >> >> >>> >> ERROR: Failed to get pooled connections >> >> >>> >> >> >> >>> >> Please advice. >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> On Fri, Mar 14, 2014 at 11:03 AM, Juned Khan >> >> >>> >> <jkh...@gm...> >> >> >>> >> wrote: >> >> >>> >>> >> >> >>> >>> Hi Masataka >> >> >>> >>> >> >> >>> >>> Thanks you very much, commands are working now. >> >> >>> >>> I thought that element doesn't affect because at initial level >> >> >>> >>> it was not showing any error. >> >> >>> >>> >> >> >>> >>> But thanks a lot, just fixed another same kind of problems. ;) >> >> >>> >>> >> >> >>> >>> >> >> >>> >>> >> >> >>> >>> On Fri, Mar 14, 2014 at 10:40 AM, Masataka Saito >> >> >>> >>> <pg...@gm...> >> >> >>> >>> wrote: >> >> >>> >>>> >> >> >>> >>>> coordMasterServers defines 2 nodes, but >> >> >>> >>>> coordSpecificExtraConfig >> >> >>> >>>> and >> >> >>> >>>> coordSpecificExtraPgHba have 4 elements. >> >> >>> >>>> >> >> >>> >>>> On 14 March 2014 13:51, Juned Khan <jkh...@gm...> >> >> >>> >>>> wrote: >> >> >>> >>>> > Hi Masataka, >> >> >>> >>>> > >> >> >>> >>>> > Please find the attachment. i have attached my pgxc_ctl.conf >> >> >>> >>>> > >> >> >>> >>>> > see my pastebin link : http://pastebin.com/n35QkmpK >> >> >>> >>>> > >> >> >>> >>>> > >> >> >>> >>>> > On Fri, Mar 14, 2014 at 10:18 AM, Juned Khan >> >> >>> >>>> > <jkh...@gm...> >> >> >>> >>>> > wrote: >> >> >>> >>>> >> >> >> >>> >>>> >> Hi Masataka, >> >> >>> >>>> >> >> >> >>> >>>> >> Please find the attachment. i have attached my >> >> >>> >>>> >> pgxc_ctl.conf >> >> >>> >>>> >> >> >> >>> >>>> >> >> >> >>> >>>> >> On Thu, Mar 13, 2014 at 11:39 PM, Masataka Saito >> >> >>> >>>> >> <pg...@gm...> >> >> >>> >>>> >> wrote: >> >> >>> >>>> >>> >> >> >>> >>>> >>> Can you provide your pgxc_ctl.conf? >> >> >>> >>>> >>> >> >> >>> >>>> >>> On 14 March 2014 00:31, Juned Khan <jkh...@gm...> >> >> >>> >>>> >>> wrote: >> >> >>> >>>> >>> > Hi Masataka, >> >> >>> >>>> >>> > >> >> >>> >>>> >>> > Thanks for confirmation. >> >> >>> >>>> >>> > is there any alternative for me to get this working? >> >> >>> >>>> >>> > >> >> >>> >>>> >>> > This can be very problematic with live servers. >> >> >>> >>>> >>> > >> >> >>> >>>> >>> > >> >> >>> >>>> >>> > On Thu, Mar 13, 2014 at 8:56 PM, Masataka Saito >> >> >>> >>>> >>> > <pg...@gm...> >> >> >>> >>>> >>> > wrote: >> >> >>> >>>> >>> >> >> >> >>> >>>> >>> >> I think there's no problem in your command line. >> >> >>> >>>> >>> >> >> >> >>> >>>> >>> >> >> >> >>> >>>> >>> >> On 13 March 2014 23:05, Juned Khan >> >> >>> >>>> >>> >> <jkh...@gm...> >> >> >>> >>>> >>> >> wrote: >> >> >>> >>>> >>> >> > Hi Masataka, >> >> >>> >>>> >>> >> > >> >> >>> >>>> >>> >> > Its fine but i think i have specified only one >> >> >>> >>>> >>> >> > element >> >> >>> >>>> >>> >> > for >> >> >>> >>>> >>> >> > each >> >> >>> >>>> >>> >> > parameter. >> >> >>> >>>> >>> >> > please check my command if it needs any correction >> >> >>> >>>> >>> >> > >> >> >>> >>>> >>> >> > >> >> >>> >>>> >>> >> > pgxc_ctl add coordinator master coord3 node5 20004 >> >> >>> >>>> >>> >> > 20010 >> >> >>> >>>> >>> >> > /home/postgres/pgxc/nodes/coord >> >> >>> >>>> >>> >> > >> >> >>> >>>> >>> >> > >> >> >>> >>>> >>> >> > >> >> >>> >>>> >>> >> > On Thu, Mar 13, 2014 at 7:07 PM, Masataka Saito >> >> >>> >>>> >>> >> > <pg...@gm...> >> >> >>> >>>> >>> >> > wrote: >> >> >>> >>>> >>> >> >> >> >> >>> >>>> >>> >> >> Sorry. I lead your misunderstanding. >> >> >>> >>>> >>> >> >> I meant about array style parameters and number of >> >> >>> >>>> >>> >> >> elements in >> >> >>> >>>> >>> >> >> each >> >> >>> >>>> >>> >> >> array. >> >> >>> >>>> >>> >> >> >> >> >>> >>>> >>> >> >> For example, you have one coordNames, almost of >> >> >>> >>>> >>> >> >> array >> >> >>> >>>> >>> >> >> style >> >> >>> >>>> >>> >> >> parameters >> >> >>> >>>> >>> >> >> for coordinators except for coordPgHbaEntries -- >> >> >>> >>>> >>> >> >> coordPorts, >> >> >>> >>>> >>> >> >> poolerPorts, coordMasterServers, coordMasterDirs, >> >> >>> >>>> >>> >> >> coordMaxWALSenders, >> >> >>> >>>> >>> >> >> coordSpecificExtraConfig, coordSpecificExtraPgHba -- >> >> >>> >>>> >>> >> >> must >> >> >>> >>>> >>> >> >> have >> >> >>> >>>> >>> >> >> only >> >> >>> >>>> >>> >> >> one element. >> >> >>> >>>> >>> >> >> >> >> >>> >>>> >>> >> >> That's all I can guess by your description. >> >> >>> >>>> >>> >> >> >> >> >>> >>>> >>> >> >> Regards. >> >> >>> >>>> >>> >> >> >> >> >>> >>>> >>> >> >> On 13 March 2014 18:07, Juned Khan >> >> >>> >>>> >>> >> >> <jkh...@gm...> >> >> >>> >>>> >>> >> >> wrote: >> >> >>> >>>> >>> >> >> > Hi Masataka, >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> > As per that documentation i have provided all >> >> >>> >>>> >>> >> >> > those >> >> >>> >>>> >>> >> >> > parameters >> >> >>> >>>> >>> >> >> > what else i should add or remove to make that >> >> >>> >>>> >>> >> >> > command >> >> >>> >>>> >>> >> >> > working ? >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> > I want to add datanode and coordinator with below >> >> >>> >>>> >>> >> >> > configuration >> >> >>> >>>> >>> >> >> > and i think i specified all values as per that >> >> >>> >>>> >>> >> >> > documentation. >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> >> Coordinator Master: >> >> >>> >>>> >>> >> >> >> Nodename: 'coord3', port: 20004, pooler port: >> >> >>> >>>> >>> >> >> >> 20010 >> >> >>> >>>> >>> >> >> >> MaxWalSenders: (null), Dir: >> >> >>> >>>> >>> >> >> >> '/home/postgres/pgxc/nodes/coord' >> >> >>> >>>> >>> >> >> >> ExtraConfig: 'coordExtraConfig', Specific >> >> >>> >>>> >>> >> >> >> Extra >> >> >>> >>>> >>> >> >> >> Config: >> >> >>> >>>> >>> >> >> >> 'none' >> >> >>> >>>> >>> >> >> >> pg_hba entries ( '192.168.1.71/32' >> >> >>> >>>> >>> >> >> >> '192.168.1.72/32' >> >> >>> >>>> >>> >> >> >> '192.168.1.73/32' >> >> >>> >>>> >>> >> >> >> '192.168.1.43/32' '192.168.1.75/32' ) >> >> >>> >>>> >>> >> >> >> Extra pg_hba: 'none', Specific Extra pg_hba: >> >> >>> >>>> >>> >> >> >> 'none' >> >> >>> >>>> >>> >> >> >> >> >> >>> >>>> >>> >> >> >> Datanode Master: >> >> >>> >>>> >>> >> >> >> Nodename: 'datanode3', port: 20008 >> >> >>> >>>> >>> >> >> >> MaxWALSenders: 3, Dir: >> >> >>> >>>> >>> >> >> >> '/home/postgres/pgxc/nodes/dn_master' >> >> >>> >>>> >>> >> >> >> ExtraConfig: 'none', Specific Extra Config: >> >> >>> >>>> >>> >> >> >> 'none' >> >> >>> >>>> >>> >> >> >> pg_hba entries ( '192.168.1.71/32' >> >> >>> >>>> >>> >> >> >> '192.168.1.72/32' >> >> >>> >>>> >>> >> >> >> '192.168.1.73/32' >> >> >>> >>>> >>> >> >> >> '192.168.1.43/32' '192.168.1.75/32' ) >> >> >>> >>>> >>> >> >> >> Extra pg_hba: 'none', Specific Extra pg_hba: >> >> >>> >>>> >>> >> >> >> 'none' >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> > Please suggest. >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> > Regards >> >> >>> >>>> >>> >> >> > Juned Khan >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> > On Thu, Mar 13, 2014 at 1:06 PM, Masataka Saito >> >> >>> >>>> >>> >> >> > <pg...@gm...> >> >> >>> >>>> >>> >> >> > wrote: >> >> >>> >>>> >>> >> >> >> >> >> >>> >>>> >>> >> >> >> On 12 March 2014 22:43, Juned Khan >> >> >>> >>>> >>> >> >> >> <jkh...@gm...> >> >> >>> >>>> >>> >> >> >> wrote: >> >> >>> >>>> >>> >> >> >> > Hi Koichi,Masataka >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > Successfully added gtm proxy but having issue >> >> >>> >>>> >>> >> >> >> > with >> >> >>> >>>> >>> >> >> >> > coordinator >> >> >>> >>>> >>> >> >> >> > and >> >> >>> >>>> >>> >> >> >> > datanode. >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > Coordinator : >> >> >>> >>>> >>> >> >> >> > add coordinator master name host port pooler >> >> >>> >>>> >>> >> >> >> > dir >> >> >>> >>>> >>> >> >> >> > here what value i should use in place of pooler >> >> >>> >>>> >>> >> >> >> > ? >> >> >>> >>>> >>> >> >> >> > pooler >> >> >>> >>>> >>> >> >> >> > port >> >> >>> >>>> >>> >> >> >> > ? >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> >> >> >>> >>>> >>> >> >> >> pooler port >> >> >>> >>>> >>> >> >> >> >> >> >>> >>>> >>> >> >> >> > pgxc_ctl add coordinator master coord3 node5 >> >> >>> >>>> >>> >> >> >> > 20004 >> >> >>> >>>> >>> >> >> >> > 20010 >> >> >>> >>>> >>> >> >> >> > /home/postgres/pgxc/nodes/coord >> >> >>> >>>> >>> >> >> >> > ERROR: sorry found some inconflicts in >> >> >>> >>>> >>> >> >> >> > coordinator >> >> >>> >>>> >>> >> >> >> > master >> >> >>> >>>> >>> >> >> >> > configuration. >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> >> >> >>> >>>> >>> >> >> >> It is due to misconfigure. In detail, numbers of >> >> >>> >>>> >>> >> >> >> element >> >> >>> >>>> >>> >> >> >> for >> >> >>> >>>> >>> >> >> >> same >> >> >>> >>>> >>> >> >> >> component are not same. >> >> >>> >>>> >>> >> >> >> >> >> >>> >>>> >>> >> >> >> > pgxc_ctl add coordinator master coord3 node5 >> >> >>> >>>> >>> >> >> >> > 20004 >> >> >>> >>>> >>> >> >> >> > /home/postgres/pgxc/nodes/coord >> >> >>> >>>> >>> >> >> >> > ERROR: please specify the working director for >> >> >>> >>>> >>> >> >> >> > the >> >> >>> >>>> >>> >> >> >> > coordinator >> >> >>> >>>> >>> >> >> >> > master >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > Datanode : >> >> >>> >>>> >>> >> >> >> > add datanode master name host port dir >> >> >>> >>>> >>> >> >> >> > pgxc_ctl add datanode master new node5 20008 >> >> >>> >>>> >>> >> >> >> > /home/postgres/pgxc/nodes/dn_master >> >> >>> >>>> >>> >> >> >> > ERROR: sorry found some inconflicts in datanode >> >> >>> >>>> >>> >> >> >> > master >> >> >>> >>>> >>> >> >> >> > configuration. >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > Does earlier manual installation could be >> >> >>> >>>> >>> >> >> >> > reason >> >> >>> >>>> >>> >> >> >> > for >> >> >>> >>>> >>> >> >> >> > this >> >> >>> >>>> >>> >> >> >> > issue ? >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > P.S: >> >> >>> >>>> >>> >> >> >> > gtm_prxy : Nodename: 'gtm_pxy3', port: 20001, >> >> >>> >>>> >>> >> >> >> > dir: >> >> >>> >>>> >>> >> >> >> > '/home/postgres/pgxc/nodes/gtm_pxy' >> >> >>> >>>> >>> >> >> >> > Coordinator Master: Nodename: 'coord3', port: >> >> >>> >>>> >>> >> >> >> > 20004, >> >> >>> >>>> >>> >> >> >> > pooler >> >> >>> >>>> >>> >> >> >> > port: >> >> >>> >>>> >>> >> >> >> > 20010, >> >> >>> >>>> >>> >> >> >> > dir:' /home/postgres/pgxc/nodes/coord' >> >> >>> >>>> >>> >> >> >> > Datanode Master : Nodename: 'datanode3', >> >> >>> >>>> >>> >> >> >> > port: >> >> >>> >>>> >>> >> >> >> > 20008, >> >> >>> >>>> >>> >> >> >> > dir:' >> >> >>> >>>> >>> >> >> >> > /home/postgres/pgxc/nodes/dn_master' >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > please look at my commands if its erroneous >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > Please advice. >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > Regards, >> >> >>> >>>> >>> >> >> >> > Juned Khan >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > On Wed, Mar 12, 2014 at 11:45 AM, Juned Khan >> >> >>> >>>> >>> >> >> >> > <jkh...@gm...> >> >> >>> >>>> >>> >> >> >> > wrote: >> >> >>> >>>> >>> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> I tried to add coordinator and datanode >> >> >>> >>>> >>> >> >> >> >> manually >> >> >>> >>>> >>> >> >> >> >> and now it seems everything is messed up. >> >> >>> >>>> >>> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> Every component is just stopped working, if i >> >> >>> >>>> >>> >> >> >> >> kill >> >> >>> >>>> >>> >> >> >> >> all >> >> >>> >>>> >>> >> >> >> >> and >> >> >>> >>>> >>> >> >> >> >> start all again then again its shows >> >> >>> >>>> >>> >> >> >> >> everything >> >> >>> >>>> >>> >> >> >> >> is >> >> >>> >>>> >>> >> >> >> >> running >> >> >>> >>>> >>> >> >> >> >> but in that case it takes too long to connect >> >> >>> >>>> >>> >> >> >> >> dtabase(Psql >> >> >>> >>>> >>> >> >> >> >> -dkoichi) >> >> >>> >>>> >>> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> and at last it just fails to connect to the >> >> >>> >>>> >>> >> >> >> >> database >> >> >>> >>>> >>> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> PGXC Psql -dkoichi >> >> >>> >>>> >>> >> >> >> >> Selected coord1. >> >> >>> >>>> >>> >> >> >> >> psql: server closed the connection >> >> >>> >>>> >>> >> >> >> >> unexpectedly >> >> >>> >>>> >>> >> >> >> >> This probably means the server >> >> >>> >>>> >>> >> >> >> >> terminated >> >> >>> >>>> >>> >> >> >> >> abnormally >> >> >>> >>>> >>> >> >> >> >> before or while processing the >> >> >>> >>>> >>> >> >> >> >> request. >> >> >>> >>>> >>> >> >> >> >> PGXC >> >> >>> >>>> >>> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> Please advice. >> >> >>> >>>> >>> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> On Wed, Mar 12, 2014 at 4:34 AM, Michael >> >> >>> >>>> >>> >> >> >> >> Paquier >> >> >>> >>>> >>> >> >> >> >> <mic...@gm...> wrote: >> >> >>> >>>> >>> >> >> >> >>> >> >> >>> >>>> >>> >> >> >> >>> On Wed, Mar 12, 2014 at 4:10 AM, Masataka >> >> >>> >>>> >>> >> >> >> >>> Saito >> >> >>> >>>> >>> >> >> >> >>> <pg...@gm...> >> >> >>> >>>> >>> >> >> >> >>> wrote: >> >> >>> >>>> >>> >> >> >> >>> > On 11 March 2014 16:42, Juned Khan >> >> >>> >>>> >>> >> >> >> >>> > <jkh...@gm...> >> >> >>> >>>> >>> >> >> >> >>> > wrote: >> >> >>> >>>> >>> >> >> >> >>> >> Hi Masataka, >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> >> For testing i am tried to get this work >> >> >>> >>>> >>> >> >> >> >>> >> added >> >> >>> >>>> >>> >> >> >> >>> >> manual >> >> >>> >>>> >>> >> >> >> >>> >> query >> >> >>> >>>> >>> >> >> >> >>> >> for >> >> >>> >>>> >>> >> >> >> >>> >> CREATE >> >> >>> >>>> >>> >> >> >> >>> >> NODE. >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> >> Now its look like this: >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> >> postgres=# \q >> >> >>> >>>> >>> >> >> >> >>> >> PGXC Psql -dpostgres -h node5 -p 20004 >> >> >>> >>>> >>> >> >> >> >>> >> Selected coord3. >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> >> postgres=# select * from pgxc_node; >> >> >>> >>>> >>> >> >> >> >>> >> node_name | node_type | node_port | >> >> >>> >>>> >>> >> >> >> >>> >> node_host | >> >> >>> >>>> >>> >> >> >> >>> >> nodeis_primary >> >> >>> >>>> >>> >> >> >> >>> >> | >> >> >>> >>>> >>> >> >> >> >>> >> nodeis_preferred | node_id >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> >> -----------+-----------+-----------+-----------+----------------+------------------+------------- >> >> >>> >>>> >>> >> >> >> >>> >> coord3 | C | 5432 | >> >> >>> >>>> >>> >> >> >> >>> >> localhost | >> >> >>> >>>> >>> >> >> >> >>> >> f >> >> >>> >>>> >>> >> >> >> >>> >> | f >> >> >>> >>>> >>> >> >> >> >>> >> | 1638403545 >> >> >>> >>>> >>> >> >> >> >>> >> coord1 | C | 20004 | node3 >> >> >>> >>>> >>> >> >> >> >>> >> | >> >> >>> >>>> >>> >> >> >> >>> >> f >> >> >>> >>>> >>> >> >> >> >>> >> | f >> >> >>> >>>> >>> >> >> >> >>> >> | 1885696643 >> >> >>> >>>> >>> >> >> >> >>> >> coord2 | C | 20005 | node4 >> >> >>> >>>> >>> >> >> >> >>> >> | >> >> >>> >>>> >>> >> >> >> >>> >> f >> >> >>> >>>> >>> >> >> >> >>> >> | f >> >> >>> >>>> >>> >> >> >> >>> >> | -1197102633 >> >> >>> >>>> >>> >> >> >> >>> >> datanode1 | D | 20008 | node3 >> >> >>> >>>> >>> >> >> >> >>> >> | >> >> >>> >>>> >>> >> >> >> >>> >> f >> >> >>> >>>> >>> >> >> >> >>> >> | f >> >> >>> >>>> >>> >> >> >> >>> >> | 888802358 >> >> >>> >>>> >>> >> >> >> >>> >> datanode2 | D | 20009 | node4 >> >> >>> >>>> >>> >> >> >> >>> >> | >> >> >>> >>>> >>> >> >> >> >>> >> f >> >> >>> >>>> >>> >> >> >> >>> >> | f >> >> >>> >>>> >>> >> >> >> >>> >> | -905831925 >> >> >>> >>>> >>> >> >> >> >>> >> datanode3 | D | 20008 | node5 >> >> >>> >>>> >>> >> >> >> >>> >> | >> >> >>> >>>> >>> >> >> >> >>> >> f >> >> >>> >>>> >>> >> >> >> >>> >> | f >> >> >>> >>>> >>> >> >> >> >>> >> | -1894792127 >> >> >>> >>>> >>> >> >> >> >>> >> (6 rows) >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> >> Here coord3 runs on 5432 which should >> >> >>> >>>> >>> >> >> >> >>> >> 20004., >> >> >>> >>>> >>> >> >> >> >>> >> it >> >> >>> >>>> >>> >> >> >> >>> >> creates >> >> >>> >>>> >>> >> >> >> >>> >> problem >> >> >>> >>>> >>> >> >> >> >>> >> i >> >> >>> >>>> >>> >> >> >> >>> >> think >> >> >>> >>>> >>> >> >> >> >>> >> isn't it ? >> >> >>> >>>> >>> >> >> >> >>> >> >> >> >>> >>>> >>> >> >> >> >>> > >> >> >>> >>>> >>> >> >> >> >>> > As far as I know, the local node >> >> >>> >>>> >>> >> >> >> >>> > information >> >> >>> >>>> >>> >> >> >> >>> > is >> >> >>> >>>> >>> >> >> >> >>> > not >> >> >>> >>>> >>> >> >> >> >>> > important >> >> >>> >>>> >>> >> >> >> >>> > and >> >> >>> >>>> >>> >> >> >> >>> > it >> >> >>> >>>> >>> >> >> >> >>> > is not necessary to update. >> >> >>> >>>> >>> >> >> >> >>> > "pgxc_ctl add" corrects it by "ALTER NODE". >> >> >>> >>>> >>> >> >> >> >>> CREATE NODE and DROP NODE only run locally. >> >> >>> >>>> >>> >> >> >> >>> Why >> >> >>> >>>> >>> >> >> >> >>> not >> >> >>> >>>> >>> >> >> >> >>> ALTER >> >> >>> >>>> >>> >> >> >> >>> NODE >> >> >>> >>>> >>> >> >> >> >>> for >> >> >>> >>>> >>> >> >> >> >>> consistency? Am I missing smth? >> >> >>> >>>> >>> >> >> >> >>> -- >> >> >>> >>>> >>> >> >> >> >>> Michael >> >> >>> >>>> >>> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> >> >> >>> >>>> >>> >> >> >> >> -- >> >> >>> >>>> >>> >> >> >> >> Thanks, >> >> >>> >>>> >>> >> >> >> >> Juned Khan >> >> >>> >>>> >>> >> >> >> >> iNextrix Technologies Pvt Ltd. >> >> >>> >>>> >>> >> >> >> >> www.inextrix.com >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > >> >> >>> >>>> >>> >> >> >> > -- >> >> >>> >>>> >>> >> >> >> > Thanks, >> >> >>> >>>> >>> >> >> >> > Juned Khan >> >> >>> >>>> >>> >> >> >> > iNextrix Technologies Pvt Ltd. >> >> >>> >>>> >>> >> >> >> > www.inextrix.com >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> > >> >> >>> >>>> >>> >> >> > -- >> >> >>> >>>> >>> >> >> > Thanks, >> >> >>> >>>> >>> >> >> > Juned Khan >> >> >>> >>>> >>> >> >> > iNextrix Technologies Pvt Ltd. >> >> >>> >>>> >>> >> >> > www.inextrix.com >> >> >>> >>>> >>> >> > >> >> >>> >>>> >>> >> > >> >> >>> >>>> >>> >> > >> >> >>> >>>> >>> >> > >> >> >>> >>>> >>> >> > -- >> >> >>> >>>> >>> >> > Thanks, >> >> >>> >>>> >>> >> > Juned Khan >> >> >>> >>>> >>> >> > iNextrix Technologies Pvt Ltd. >> >> >>> >>>> >>> >> > www.inextrix.com >> >> >>> >>>> >>> > >> >> >>> >>>> >>> > >> >> >>> >>>> >>> > >> >> >>> >>>> >>> > >> >> >>> >>>> >>> > -- >> >> >>> >>>> >>> > Thanks, >> >> >>> >>>> >>> > Juned Khan >> >> >>> >>>> >>> > iNextrix Technologies Pvt Ltd. >> >> >>> >>>> >>> > www.inextrix.com >> >> >>> >>>> >> >> >> >>> >>>> >> >> >> >>> >>>> >> >> >> >>> >>>> >> >> >> >>> >>>> >> -- >> >> >>> >>>> >> Thanks, >> >> >>> >>>> >> Juned Khan >> >> >>> >>>> >> iNextrix Technologies Pvt Ltd. >> >> >>> >>>> >> www.inextrix.com >> >> >>> >>>> > >> >> >>> >>>> > >> >> >>> >>>> > >> >> >>> >>>> > >> >> >>> >>>> > -- >> >> >>> >>>> > Thanks, >> >> >>> >>>> > Juned Khan >> >> >>> >>>> > iNextrix Technologies Pvt Ltd. >> >> >>> >>>> > www.inextrix.com >> >> >>> >>> >> >> >>> >>> >> >> >>> >>> >> >> >>> >>> >> >> >>> >>> -- >> >> >>> >>> Thanks, >> >> >>> >>> Juned Khan >> >> >>> >>> iNextrix Technologies Pvt Ltd. >> >> >>> >>> www.inextrix.com >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> >> >> >>> >> -- >> >> >>> >> Thanks, >> >> >>> >> Juned Khan >> >> >>> >> iNextrix Technologies Pvt Ltd. >> >> >>> >> www.inextrix.com >> >> >>> > >> >> >>> > >> >> >>> > >> >> >>> > >> >> >>> > -- >> >> >>> > Thanks, >> >> >>> > Juned Khan >> >> >>> > iNextrix Technologies Pvt Ltd. >> >> >>> > www.inextrix.com >> >> >>> > >> >> >>> > >> >> >>> > >> >> >>> > >> >> >>> > ------------------------------------------------------------------------------ >> >> >>> > Learn Graph Databases - Download FREE O'Reilly Book >> >> >>> > "Graph Databases" is the definitive new guide to graph databases >> >> >>> > and >> >> >>> > their >> >> >>> > applications. Written by three acclaimed leaders in the field, >> >> >>> > this first edition is now available. Download your free book >> >> >>> > today! >> >> >>> > http://p.sf.net/sfu/13534_NeoTech >> >> >>> > _______________________________________________ >> >> >>> > Postgres-xc-general mailing list >> >> >>> > Pos...@li... >> >> >>> > https://lists.sourceforge.net/lists/listinfo/postgres-xc-general >> >> >>> > >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> >> Thanks, >> >> >> Juned Khan >> >> >> iNextrix Technologies Pvt Ltd. >> >> >> www.inextrix.com >> >> > >> >> > >> >> > >> >> > >> >> > -- >> >> > Thanks, >> >> > Juned Khan >> >> > iNextrix Technologies Pvt Ltd. >> >> > www.inextrix.com >> > >> > >> > >> > >> > -- >> > Thanks, >> > Juned Khan >> > iNextrix Technologies Pvt Ltd. >> > www.inextrix.com > > > > > -- > Thanks, > Juned Khan > iNextrix Technologies Pvt Ltd. > www.inextrix.com |
From: Juned K. <jkh...@gm...> - 2014-03-20 09:00:42
|
Hi koichi, All components just stops and starts without any problem. But still i am not able to execute that query, same issue. On Thu, Mar 20, 2014 at 1:49 PM, Koichi Suzuki <koi...@gm...>wrote: > What happens if you restart all the components? > --- > Koichi Suzuki > > > 2014-03-20 14:07 GMT+09:00 Juned Khan <jkh...@gm...>: > > Hi koichi, > > > > I have already tried to reload but still its giving me same error. > > > > postgres=# SELECT pgxc_pool_reload(); > > pgxc_pool_reload > > ------------------ > > t > > (1 row) > > > > > > koichi=# alter table t1 add node (datanode3); > > ERROR: Failed to get pooled connections > > > > > > Although i am able to connect directly on datanode3. > > > > Please suggest. > > > > > > > > On Thu, Mar 20, 2014 at 6:26 AM, Koichi Suzuki <koi...@gm...> > > wrote: > >> > >> Sorry, made a silly reply. > >> > >> Please try SELECT pgxc_pool_reload(). Documentation will be found at > >> > >> > http://postgres-xc.sourceforge.net/docs/1_1/functions-admin.html#FUNCTIONS-ADMIN-SET > >> > >> Good luck. > >> --- > >> Koichi Suzuki > >> > >> > >> 2014-03-19 20:56 GMT+09:00 Juned Khan <jkh...@gm...>: > >> > Hi koichi, > >> > > >> > Having little bit issue. > >> > New datanode is added successfully and even database structure is > copied > >> > on new datanode(i have added datanode3). > >> > > >> > But as tables are empty, i am just trying to add new datanode using > >> > below > >> > command > >> > > >> > > >> > koichi=# alter table t1 add node (datanode3); > >> > ERROR: Failed to get pooled connections > >> > > >> > But as you suggested i tried to clean the connection. > >> > > >> > postgres=# CLEAN CONNECTION TO COORDINATOR (coord1,coord2) FOR koichi; > >> > CLEAN CONNECTION > >> > > >> > postgres=# CLEAN CONNECTION TO NODE (datanode1,datanode2,datanode3) > for > >> > database koichi; > >> > CLEAN CONNECTION > >> > > >> > But still its giving me same error, is there any other solution for > this > >> > problem? > >> > > >> > Regards, > >> > Juned khan > >> > > >> > > >> > > >> > On Sat, Mar 15, 2014 at 11:59 AM, Juned Khan <jkh...@gm...> > >> > wrote: > >> >> > >> >> Hi Koichi, > >> >> > >> >> Thanks for your information, > >> >> i just tried with stop and start components and it worked. > >> >> > >> >> This link will help me to fix future issues. And i ll keep in mind > >> >> about that documentation bug. > >> >> > >> >> > >> >> > >> >> > >> >> On Sat, Mar 15, 2014 at 3:56 AM, Koichi Suzuki < > koi...@gm...> > >> >> wrote: > >> >>> > >> >>> pgxc_ctl command "add datanode master" should run all the necessary > >> >>> clean_connection calls. > >> >>> > >> >>> Try to run clean_connection SQL command (specific to XC) as seen in > >> >>> > http://postgres-xc.sourceforge.net/docs/1_1/sql-cleanconnection.html > >> >>> > >> >>> I found a document bug in the example CLEAN CONNECTION TO > COORDINATOR > >> >>> coord1,coord2 FOR DATABASEname; > >> >>> > >> >>> You should enclose set of node names with (). > >> >>> > >> >>> Regards; > >> >>> --- > >> >>> Koichi Suzuki > >> >>> > >> >>> > >> >>> 2014-03-14 5:59 GMT+00:00 Juned Khan <jkh...@gm...>: > >> >>> > Koichi=# alter table t1 add node (datanode3); > >> >>> > > >> >>> > ERROR: Failed to get pooled connections > >> >>> > CONTEXT: SQL statement "EXECUTE DIRECT ON (coord3) 'SELECT > >> >>> > pg_catalog.pg_try_advisory_xact_lock_shared(65535, 0)'" > >> >>> > > >> >>> > > >> >>> > > >> >>> > On Fri, Mar 14, 2014 at 11:20 AM, Juned Khan <jkh...@gm... > > > >> >>> > wrote: > >> >>> >> > >> >>> >> Hi Masataka, Koichi, > >> >>> >> > >> >>> >> New datanode is successfully added and all components are > running.i > >> >>> >> have > >> >>> >> small doubt. > >> >>> >> > >> >>> >> As i just added new datanode so , will existing database > >> >>> >> automatically > >> >>> >> copied > >> >>> >> on this datanode or i have to create and import it manually from > >> >>> >> another > >> >>> >> datanode ? > >> >>> >> > >> >>> >> As per that video, we need to just fire alter query just like : > >> >>> >> alter table t1 add node (datanode3); > >> >>> >> is that so ? > >> >>> >> > >> >>> >> and yeah as of now i am getting Failed to get pooled connections > >> >>> >> error. > >> >>> >> > >> >>> >> koichi=# execute direct on (datanode3) 'select * from t1'; > >> >>> >> ERROR: Failed to get pooled connections > >> >>> >> > >> >>> >> Please advice. > >> >>> >> > >> >>> >> > >> >>> >> > >> >>> >> On Fri, Mar 14, 2014 at 11:03 AM, Juned Khan < > jkh...@gm...> > >> >>> >> wrote: > >> >>> >>> > >> >>> >>> Hi Masataka > >> >>> >>> > >> >>> >>> Thanks you very much, commands are working now. > >> >>> >>> I thought that element doesn't affect because at initial level > >> >>> >>> it was not showing any error. > >> >>> >>> > >> >>> >>> But thanks a lot, just fixed another same kind of problems. ;) > >> >>> >>> > >> >>> >>> > >> >>> >>> > >> >>> >>> On Fri, Mar 14, 2014 at 10:40 AM, Masataka Saito > >> >>> >>> <pg...@gm...> > >> >>> >>> wrote: > >> >>> >>>> > >> >>> >>>> coordMasterServers defines 2 nodes, but > coordSpecificExtraConfig > >> >>> >>>> and > >> >>> >>>> coordSpecificExtraPgHba have 4 elements. > >> >>> >>>> > >> >>> >>>> On 14 March 2014 13:51, Juned Khan <jkh...@gm...> > wrote: > >> >>> >>>> > Hi Masataka, > >> >>> >>>> > > >> >>> >>>> > Please find the attachment. i have attached my pgxc_ctl.conf > >> >>> >>>> > > >> >>> >>>> > see my pastebin link : http://pastebin.com/n35QkmpK > >> >>> >>>> > > >> >>> >>>> > > >> >>> >>>> > On Fri, Mar 14, 2014 at 10:18 AM, Juned Khan > >> >>> >>>> > <jkh...@gm...> > >> >>> >>>> > wrote: > >> >>> >>>> >> > >> >>> >>>> >> Hi Masataka, > >> >>> >>>> >> > >> >>> >>>> >> Please find the attachment. i have attached my pgxc_ctl.conf > >> >>> >>>> >> > >> >>> >>>> >> > >> >>> >>>> >> On Thu, Mar 13, 2014 at 11:39 PM, Masataka Saito > >> >>> >>>> >> <pg...@gm...> > >> >>> >>>> >> wrote: > >> >>> >>>> >>> > >> >>> >>>> >>> Can you provide your pgxc_ctl.conf? > >> >>> >>>> >>> > >> >>> >>>> >>> On 14 March 2014 00:31, Juned Khan <jkh...@gm...> > >> >>> >>>> >>> wrote: > >> >>> >>>> >>> > Hi Masataka, > >> >>> >>>> >>> > > >> >>> >>>> >>> > Thanks for confirmation. > >> >>> >>>> >>> > is there any alternative for me to get this working? > >> >>> >>>> >>> > > >> >>> >>>> >>> > This can be very problematic with live servers. > >> >>> >>>> >>> > > >> >>> >>>> >>> > > >> >>> >>>> >>> > On Thu, Mar 13, 2014 at 8:56 PM, Masataka Saito > >> >>> >>>> >>> > <pg...@gm...> > >> >>> >>>> >>> > wrote: > >> >>> >>>> >>> >> > >> >>> >>>> >>> >> I think there's no problem in your command line. > >> >>> >>>> >>> >> > >> >>> >>>> >>> >> > >> >>> >>>> >>> >> On 13 March 2014 23:05, Juned Khan <jkh...@gm... > > > >> >>> >>>> >>> >> wrote: > >> >>> >>>> >>> >> > Hi Masataka, > >> >>> >>>> >>> >> > > >> >>> >>>> >>> >> > Its fine but i think i have specified only one element > >> >>> >>>> >>> >> > for > >> >>> >>>> >>> >> > each > >> >>> >>>> >>> >> > parameter. > >> >>> >>>> >>> >> > please check my command if it needs any correction > >> >>> >>>> >>> >> > > >> >>> >>>> >>> >> > > >> >>> >>>> >>> >> > pgxc_ctl add coordinator master coord3 node5 20004 > 20010 > >> >>> >>>> >>> >> > /home/postgres/pgxc/nodes/coord > >> >>> >>>> >>> >> > > >> >>> >>>> >>> >> > > >> >>> >>>> >>> >> > > >> >>> >>>> >>> >> > On Thu, Mar 13, 2014 at 7:07 PM, Masataka Saito > >> >>> >>>> >>> >> > <pg...@gm...> > >> >>> >>>> >>> >> > wrote: > >> >>> >>>> >>> >> >> > >> >>> >>>> >>> >> >> Sorry. I lead your misunderstanding. > >> >>> >>>> >>> >> >> I meant about array style parameters and number of > >> >>> >>>> >>> >> >> elements in > >> >>> >>>> >>> >> >> each > >> >>> >>>> >>> >> >> array. > >> >>> >>>> >>> >> >> > >> >>> >>>> >>> >> >> For example, you have one coordNames, almost of array > >> >>> >>>> >>> >> >> style > >> >>> >>>> >>> >> >> parameters > >> >>> >>>> >>> >> >> for coordinators except for coordPgHbaEntries -- > >> >>> >>>> >>> >> >> coordPorts, > >> >>> >>>> >>> >> >> poolerPorts, coordMasterServers, coordMasterDirs, > >> >>> >>>> >>> >> >> coordMaxWALSenders, > >> >>> >>>> >>> >> >> coordSpecificExtraConfig, coordSpecificExtraPgHba -- > >> >>> >>>> >>> >> >> must > >> >>> >>>> >>> >> >> have > >> >>> >>>> >>> >> >> only > >> >>> >>>> >>> >> >> one element. > >> >>> >>>> >>> >> >> > >> >>> >>>> >>> >> >> That's all I can guess by your description. > >> >>> >>>> >>> >> >> > >> >>> >>>> >>> >> >> Regards. > >> >>> >>>> >>> >> >> > >> >>> >>>> >>> >> >> On 13 March 2014 18:07, Juned Khan > >> >>> >>>> >>> >> >> <jkh...@gm...> > >> >>> >>>> >>> >> >> wrote: > >> >>> >>>> >>> >> >> > Hi Masataka, > >> >>> >>>> >>> >> >> > > >> >>> >>>> >>> >> >> > As per that documentation i have provided all those > >> >>> >>>> >>> >> >> > parameters > >> >>> >>>> >>> >> >> > what else i should add or remove to make that > command > >> >>> >>>> >>> >> >> > working ? > >> >>> >>>> >>> >> >> > > >> >>> >>>> >>> >> >> > I want to add datanode and coordinator with below > >> >>> >>>> >>> >> >> > configuration > >> >>> >>>> >>> >> >> > and i think i specified all values as per that > >> >>> >>>> >>> >> >> > documentation. > >> >>> >>>> >>> >> >> > > >> >>> >>>> >>> >> >> > > >> >>> >>>> >>> >> >> >> Coordinator Master: > >> >>> >>>> >>> >> >> >> Nodename: 'coord3', port: 20004, pooler port: > >> >>> >>>> >>> >> >> >> 20010 > >> >>> >>>> >>> >> >> >> MaxWalSenders: (null), Dir: > >> >>> >>>> >>> >> >> >> '/home/postgres/pgxc/nodes/coord' > >> >>> >>>> >>> >> >> >> ExtraConfig: 'coordExtraConfig', Specific > Extra > >> >>> >>>> >>> >> >> >> Config: > >> >>> >>>> >>> >> >> >> 'none' > >> >>> >>>> >>> >> >> >> pg_hba entries ( '192.168.1.71/32' > >> >>> >>>> >>> >> >> >> '192.168.1.72/32' > >> >>> >>>> >>> >> >> >> '192.168.1.73/32' > >> >>> >>>> >>> >> >> >> '192.168.1.43/32' '192.168.1.75/32' ) > >> >>> >>>> >>> >> >> >> Extra pg_hba: 'none', Specific Extra pg_hba: > >> >>> >>>> >>> >> >> >> 'none' > >> >>> >>>> >>> >> >> >> > >> >>> >>>> >>> >> >> >> Datanode Master: > >> >>> >>>> >>> >> >> >> Nodename: 'datanode3', port: 20008 > >> >>> >>>> >>> >> >> >> MaxWALSenders: 3, Dir: > >> >>> >>>> >>> >> >> >> '/home/postgres/pgxc/nodes/dn_master' > >> >>> >>>> >>> >> >> >> ExtraConfig: 'none', Specific Extra Config: > >> >>> >>>> >>> >> >> >> 'none' > >> >>> >>>> >>> >> >> >> pg_hba entries ( '192.168.1.71/32' > >> >>> >>>> >>> >> >> >> '192.168.1.72/32' > >> >>> >>>> >>> >> >> >> '192.168.1.73/32' > >> >>> >>>> >>> >> >> >> '192.168.1.43/32' '192.168.1.75/32' ) > >> >>> >>>> >>> >> >> >> Extra pg_hba: 'none', Specific Extra pg_hba: > >> >>> >>>> >>> >> >> >> 'none' > >> >>> >>>> >>> >> >> > > >> >>> >>>> >>> >> >> > > >> >>> >>>> >>> >> >> > > >> >>> >>>> >>> >> >> > Please suggest. > >> >>> >>>> >>> >> >> > > >> >>> >>>> >>> >> >> > Regards > >> >>> >>>> >>> >> >> > Juned Khan > >> >>> >>>> >>> >> >> > > >> >>> >>>> >>> >> >> > > >> >>> >>>> >>> >> >> > > >> >>> >>>> >>> >> >> > On Thu, Mar 13, 2014 at 1:06 PM, Masataka Saito > >> >>> >>>> >>> >> >> > <pg...@gm...> > >> >>> >>>> >>> >> >> > wrote: > >> >>> >>>> >>> >> >> >> > >> >>> >>>> >>> >> >> >> On 12 March 2014 22:43, Juned Khan > >> >>> >>>> >>> >> >> >> <jkh...@gm...> > >> >>> >>>> >>> >> >> >> wrote: > >> >>> >>>> >>> >> >> >> > Hi Koichi,Masataka > >> >>> >>>> >>> >> >> >> > > >> >>> >>>> >>> >> >> >> > Successfully added gtm proxy but having issue > with > >> >>> >>>> >>> >> >> >> > coordinator > >> >>> >>>> >>> >> >> >> > and > >> >>> >>>> >>> >> >> >> > datanode. > >> >>> >>>> >>> >> >> >> > > >> >>> >>>> >>> >> >> >> > Coordinator : > >> >>> >>>> >>> >> >> >> > add coordinator master name host port pooler dir > >> >>> >>>> >>> >> >> >> > here what value i should use in place of pooler > ? > >> >>> >>>> >>> >> >> >> > pooler > >> >>> >>>> >>> >> >> >> > port > >> >>> >>>> >>> >> >> >> > ? > >> >>> >>>> >>> >> >> >> > > >> >>> >>>> >>> >> >> >> > >> >>> >>>> >>> >> >> >> pooler port > >> >>> >>>> >>> >> >> >> > >> >>> >>>> >>> >> >> >> > pgxc_ctl add coordinator master coord3 node5 > 20004 > >> >>> >>>> >>> >> >> >> > 20010 > >> >>> >>>> >>> >> >> >> > /home/postgres/pgxc/nodes/coord > >> >>> >>>> >>> >> >> >> > ERROR: sorry found some inconflicts in > coordinator > >> >>> >>>> >>> >> >> >> > master > >> >>> >>>> >>> >> >> >> > configuration. > >> >>> >>>> >>> >> >> >> > > >> >>> >>>> >>> >> >> >> > >> >>> >>>> >>> >> >> >> It is due to misconfigure. In detail, numbers of > >> >>> >>>> >>> >> >> >> element > >> >>> >>>> >>> >> >> >> for > >> >>> >>>> >>> >> >> >> same > >> >>> >>>> >>> >> >> >> component are not same. > >> >>> >>>> >>> >> >> >> > >> >>> >>>> >>> >> >> >> > pgxc_ctl add coordinator master coord3 node5 > 20004 > >> >>> >>>> >>> >> >> >> > /home/postgres/pgxc/nodes/coord > >> >>> >>>> >>> >> >> >> > ERROR: please specify the working director for > the > >> >>> >>>> >>> >> >> >> > coordinator > >> >>> >>>> >>> >> >> >> > master > >> >>> >>>> >>> >> >> >> > > >> >>> >>>> >>> >> >> >> > Datanode : > >> >>> >>>> >>> >> >> >> > add datanode master name host port dir > >> >>> >>>> >>> >> >> >> > pgxc_ctl add datanode master new node5 20008 > >> >>> >>>> >>> >> >> >> > /home/postgres/pgxc/nodes/dn_master > >> >>> >>>> >>> >> >> >> > ERROR: sorry found some inconflicts in datanode > >> >>> >>>> >>> >> >> >> > master > >> >>> >>>> >>> >> >> >> > configuration. > >> >>> >>>> >>> >> >> >> > > >> >>> >>>> >>> >> >> >> > Does earlier manual installation could be reason > >> >>> >>>> >>> >> >> >> > for > >> >>> >>>> >>> >> >> >> > this > >> >>> >>>> >>> >> >> >> > issue ? > >> >>> >>>> >>> >> >> >> > > >> >>> >>>> >>> >> >> >> > P.S: > >> >>> >>>> >>> >> >> >> > gtm_prxy : Nodename: 'gtm_pxy3', port: 20001, > dir: > >> >>> >>>> >>> >> >> >> > '/home/postgres/pgxc/nodes/gtm_pxy' > >> >>> >>>> >>> >> >> >> > Coordinator Master: Nodename: 'coord3', port: > >> >>> >>>> >>> >> >> >> > 20004, > >> >>> >>>> >>> >> >> >> > pooler > >> >>> >>>> >>> >> >> >> > port: > >> >>> >>>> >>> >> >> >> > 20010, > >> >>> >>>> >>> >> >> >> > dir:' /home/postgres/pgxc/nodes/coord' > >> >>> >>>> >>> >> >> >> > Datanode Master : Nodename: 'datanode3', port: > >> >>> >>>> >>> >> >> >> > 20008, > >> >>> >>>> >>> >> >> >> > dir:' > >> >>> >>>> >>> >> >> >> > /home/postgres/pgxc/nodes/dn_master' > >> >>> >>>> >>> >> >> >> > > >> >>> >>>> >>> >> >> >> > please look at my commands if its erroneous > >> >>> >>>> >>> >> >> >> > > >> >>> >>>> >>> >> >> >> > Please advice. > >> >>> >>>> >>> >> >> >> > > >> >>> >>>> >>> >> >> >> > Regards, > >> >>> >>>> >>> >> >> >> > Juned Khan > >> >>> >>>> >>> >> >> >> > > >> >>> >>>> >>> >> >> >> > > >> >>> >>>> >>> >> >> >> > > >> >>> >>>> >>> >> >> >> > On Wed, Mar 12, 2014 at 11:45 AM, Juned Khan > >> >>> >>>> >>> >> >> >> > <jkh...@gm...> > >> >>> >>>> >>> >> >> >> > wrote: > >> >>> >>>> >>> >> >> >> >> > >> >>> >>>> >>> >> >> >> >> I tried to add coordinator and datanode > manually > >> >>> >>>> >>> >> >> >> >> and now it seems everything is messed up. > >> >>> >>>> >>> >> >> >> >> > >> >>> >>>> >>> >> >> >> >> Every component is just stopped working, if i > >> >>> >>>> >>> >> >> >> >> kill > >> >>> >>>> >>> >> >> >> >> all > >> >>> >>>> >>> >> >> >> >> and > >> >>> >>>> >>> >> >> >> >> start all again then again its shows everything > >> >>> >>>> >>> >> >> >> >> is > >> >>> >>>> >>> >> >> >> >> running > >> >>> >>>> >>> >> >> >> >> but in that case it takes too long to connect > >> >>> >>>> >>> >> >> >> >> dtabase(Psql > >> >>> >>>> >>> >> >> >> >> -dkoichi) > >> >>> >>>> >>> >> >> >> >> > >> >>> >>>> >>> >> >> >> >> and at last it just fails to connect to the > >> >>> >>>> >>> >> >> >> >> database > >> >>> >>>> >>> >> >> >> >> > >> >>> >>>> >>> >> >> >> >> PGXC Psql -dkoichi > >> >>> >>>> >>> >> >> >> >> Selected coord1. > >> >>> >>>> >>> >> >> >> >> psql: server closed the connection unexpectedly > >> >>> >>>> >>> >> >> >> >> This probably means the server > terminated > >> >>> >>>> >>> >> >> >> >> abnormally > >> >>> >>>> >>> >> >> >> >> before or while processing the request. > >> >>> >>>> >>> >> >> >> >> PGXC > >> >>> >>>> >>> >> >> >> >> > >> >>> >>>> >>> >> >> >> >> Please advice. > >> >>> >>>> >>> >> >> >> >> > >> >>> >>>> >>> >> >> >> >> > >> >>> >>>> >>> >> >> >> >> > >> >>> >>>> >>> >> >> >> >> On Wed, Mar 12, 2014 at 4:34 AM, Michael > Paquier > >> >>> >>>> >>> >> >> >> >> <mic...@gm...> wrote: > >> >>> >>>> >>> >> >> >> >>> > >> >>> >>>> >>> >> >> >> >>> On Wed, Mar 12, 2014 at 4:10 AM, Masataka > Saito > >> >>> >>>> >>> >> >> >> >>> <pg...@gm...> > >> >>> >>>> >>> >> >> >> >>> wrote: > >> >>> >>>> >>> >> >> >> >>> > On 11 March 2014 16:42, Juned Khan > >> >>> >>>> >>> >> >> >> >>> > <jkh...@gm...> > >> >>> >>>> >>> >> >> >> >>> > wrote: > >> >>> >>>> >>> >> >> >> >>> >> Hi Masataka, > >> >>> >>>> >>> >> >> >> >>> >> > >> >>> >>>> >>> >> >> >> >>> >> For testing i am tried to get this work > added > >> >>> >>>> >>> >> >> >> >>> >> manual > >> >>> >>>> >>> >> >> >> >>> >> query > >> >>> >>>> >>> >> >> >> >>> >> for > >> >>> >>>> >>> >> >> >> >>> >> CREATE > >> >>> >>>> >>> >> >> >> >>> >> NODE. > >> >>> >>>> >>> >> >> >> >>> >> > >> >>> >>>> >>> >> >> >> >>> >> Now its look like this: > >> >>> >>>> >>> >> >> >> >>> >> > >> >>> >>>> >>> >> >> >> >>> >> postgres=# \q > >> >>> >>>> >>> >> >> >> >>> >> PGXC Psql -dpostgres -h node5 -p 20004 > >> >>> >>>> >>> >> >> >> >>> >> Selected coord3. > >> >>> >>>> >>> >> >> >> >>> >> > >> >>> >>>> >>> >> >> >> >>> >> postgres=# select * from pgxc_node; > >> >>> >>>> >>> >> >> >> >>> >> node_name | node_type | node_port | > >> >>> >>>> >>> >> >> >> >>> >> node_host | > >> >>> >>>> >>> >> >> >> >>> >> nodeis_primary > >> >>> >>>> >>> >> >> >> >>> >> | > >> >>> >>>> >>> >> >> >> >>> >> nodeis_preferred | node_id > >> >>> >>>> >>> >> >> >> >>> >> > >> >>> >>>> >>> >> >> >> >>> >> > >> >>> >>>> >>> >> >> >> >>> >> > >> >>> >>>> >>> >> >> >> >>> >> > >> >>> >>>> >>> >> >> >> >>> >> > >> >>> >>>> >>> >> >> >> >>> >> > >> >>> >>>> >>> >> >> >> >>> >> > >> >>> >>>> >>> >> >> >> >>> >> > >> >>> >>>> >>> >> >> >> >>> >> > -----------+-----------+-----------+-----------+----------------+------------------+------------- > >> >>> >>>> >>> >> >> >> >>> >> coord3 | C | 5432 | > >> >>> >>>> >>> >> >> >> >>> >> localhost | > >> >>> >>>> >>> >> >> >> >>> >> f > >> >>> >>>> >>> >> >> >> >>> >> | f > >> >>> >>>> >>> >> >> >> >>> >> | 1638403545 > >> >>> >>>> >>> >> >> >> >>> >> coord1 | C | 20004 | node3 > >> >>> >>>> >>> >> >> >> >>> >> | > >> >>> >>>> >>> >> >> >> >>> >> f > >> >>> >>>> >>> >> >> >> >>> >> | f > >> >>> >>>> >>> >> >> >> >>> >> | 1885696643 > >> >>> >>>> >>> >> >> >> >>> >> coord2 | C | 20005 | node4 > >> >>> >>>> >>> >> >> >> >>> >> | > >> >>> >>>> >>> >> >> >> >>> >> f > >> >>> >>>> >>> >> >> >> >>> >> | f > >> >>> >>>> >>> >> >> >> >>> >> | -1197102633 > >> >>> >>>> >>> >> >> >> >>> >> datanode1 | D | 20008 | node3 > >> >>> >>>> >>> >> >> >> >>> >> | > >> >>> >>>> >>> >> >> >> >>> >> f > >> >>> >>>> >>> >> >> >> >>> >> | f > >> >>> >>>> >>> >> >> >> >>> >> | 888802358 > >> >>> >>>> >>> >> >> >> >>> >> datanode2 | D | 20009 | node4 > >> >>> >>>> >>> >> >> >> >>> >> | > >> >>> >>>> >>> >> >> >> >>> >> f > >> >>> >>>> >>> >> >> >> >>> >> | f > >> >>> >>>> >>> >> >> >> >>> >> | -905831925 > >> >>> >>>> >>> >> >> >> >>> >> datanode3 | D | 20008 | node5 > >> >>> >>>> >>> >> >> >> >>> >> | > >> >>> >>>> >>> >> >> >> >>> >> f > >> >>> >>>> >>> >> >> >> >>> >> | f > >> >>> >>>> >>> >> >> >> >>> >> | -1894792127 > >> >>> >>>> >>> >> >> >> >>> >> (6 rows) > >> >>> >>>> >>> >> >> >> >>> >> > >> >>> >>>> >>> >> >> >> >>> >> Here coord3 runs on 5432 which should > 20004., > >> >>> >>>> >>> >> >> >> >>> >> it > >> >>> >>>> >>> >> >> >> >>> >> creates > >> >>> >>>> >>> >> >> >> >>> >> problem > >> >>> >>>> >>> >> >> >> >>> >> i > >> >>> >>>> >>> >> >> >> >>> >> think > >> >>> >>>> >>> >> >> >> >>> >> isn't it ? > >> >>> >>>> >>> >> >> >> >>> >> > >> >>> >>>> >>> >> >> >> >>> > > >> >>> >>>> >>> >> >> >> >>> > As far as I know, the local node information > >> >>> >>>> >>> >> >> >> >>> > is > >> >>> >>>> >>> >> >> >> >>> > not > >> >>> >>>> >>> >> >> >> >>> > important > >> >>> >>>> >>> >> >> >> >>> > and > >> >>> >>>> >>> >> >> >> >>> > it > >> >>> >>>> >>> >> >> >> >>> > is not necessary to update. > >> >>> >>>> >>> >> >> >> >>> > "pgxc_ctl add" corrects it by "ALTER NODE". > >> >>> >>>> >>> >> >> >> >>> CREATE NODE and DROP NODE only run locally. > Why > >> >>> >>>> >>> >> >> >> >>> not > >> >>> >>>> >>> >> >> >> >>> ALTER > >> >>> >>>> >>> >> >> >> >>> NODE > >> >>> >>>> >>> >> >> >> >>> for > >> >>> >>>> >>> >> >> >> >>> consistency? Am I missing smth? > >> >>> >>>> >>> >> >> >> >>> -- > >> >>> >>>> >>> >> >> >> >>> Michael > >> >>> >>>> >>> >> >> >> >> > >> >>> >>>> >>> >> >> >> >> > >> >>> >>>> >>> >> >> >> >> > >> >>> >>>> >>> >> >> >> >> > >> >>> >>>> >>> >> >> >> >> -- > >> >>> >>>> >>> >> >> >> >> Thanks, > >> >>> >>>> >>> >> >> >> >> Juned Khan > >> >>> >>>> >>> >> >> >> >> iNextrix Technologies Pvt Ltd. > >> >>> >>>> >>> >> >> >> >> www.inextrix.com > >> >>> >>>> >>> >> >> >> > > >> >>> >>>> >>> >> >> >> > > >> >>> >>>> >>> >> >> >> > > >> >>> >>>> >>> >> >> >> > > >> >>> >>>> >>> >> >> >> > -- > >> >>> >>>> >>> >> >> >> > Thanks, > >> >>> >>>> >>> >> >> >> > Juned Khan > >> >>> >>>> >>> >> >> >> > iNextrix Technologies Pvt Ltd. > >> >>> >>>> >>> >> >> >> > www.inextrix.com > >> >>> >>>> >>> >> >> > > >> >>> >>>> >>> >> >> > > >> >>> >>>> >>> >> >> > > >> >>> >>>> >>> >> >> > > >> >>> >>>> >>> >> >> > -- > >> >>> >>>> >>> >> >> > Thanks, > >> >>> >>>> >>> >> >> > Juned Khan > >> >>> >>>> >>> >> >> > iNextrix Technologies Pvt Ltd. > >> >>> >>>> >>> >> >> > www.inextrix.com > >> >>> >>>> >>> >> > > >> >>> >>>> >>> >> > > >> >>> >>>> >>> >> > > >> >>> >>>> >>> >> > > >> >>> >>>> >>> >> > -- > >> >>> >>>> >>> >> > Thanks, > >> >>> >>>> >>> >> > Juned Khan > >> >>> >>>> >>> >> > iNextrix Technologies Pvt Ltd. > >> >>> >>>> >>> >> > www.inextrix.com > >> >>> >>>> >>> > > >> >>> >>>> >>> > > >> >>> >>>> >>> > > >> >>> >>>> >>> > > >> >>> >>>> >>> > -- > >> >>> >>>> >>> > Thanks, > >> >>> >>>> >>> > Juned Khan > >> >>> >>>> >>> > iNextrix Technologies Pvt Ltd. > >> >>> >>>> >>> > www.inextrix.com > >> >>> >>>> >> > >> >>> >>>> >> > >> >>> >>>> >> > >> >>> >>>> >> > >> >>> >>>> >> -- > >> >>> >>>> >> Thanks, > >> >>> >>>> >> Juned Khan > >> >>> >>>> >> iNextrix Technologies Pvt Ltd. > >> >>> >>>> >> www.inextrix.com > >> >>> >>>> > > >> >>> >>>> > > >> >>> >>>> > > >> >>> >>>> > > >> >>> >>>> > -- > >> >>> >>>> > Thanks, > >> >>> >>>> > Juned Khan > >> >>> >>>> > iNextrix Technologies Pvt Ltd. > >> >>> >>>> > www.inextrix.com > >> >>> >>> > >> >>> >>> > >> >>> >>> > >> >>> >>> > >> >>> >>> -- > >> >>> >>> Thanks, > >> >>> >>> Juned Khan > >> >>> >>> iNextrix Technologies Pvt Ltd. > >> >>> >>> www.inextrix.com > >> >>> >> > >> >>> >> > >> >>> >> > >> >>> >> > >> >>> >> -- > >> >>> >> Thanks, > >> >>> >> Juned Khan > >> >>> >> iNextrix Technologies Pvt Ltd. > >> >>> >> www.inextrix.com > >> >>> > > >> >>> > > >> >>> > > >> >>> > > >> >>> > -- > >> >>> > Thanks, > >> >>> > Juned Khan > >> >>> > iNextrix Technologies Pvt Ltd. > >> >>> > www.inextrix.com > >> >>> > > >> >>> > > >> >>> > > >> >>> > > ------------------------------------------------------------------------------ > >> >>> > Learn Graph Databases - Download FREE O'Reilly Book > >> >>> > "Graph Databases" is the definitive new guide to graph databases > and > >> >>> > their > >> >>> > applications. Written by three acclaimed leaders in the field, > >> >>> > this first edition is now available. Download your free book > today! > >> >>> > http://p.sf.net/sfu/13534_NeoTech > >> >>> > _______________________________________________ > >> >>> > Postgres-xc-general mailing list > >> >>> > Pos...@li... > >> >>> > https://lists.sourceforge.net/lists/listinfo/postgres-xc-general > >> >>> > > >> >> > >> >> > >> >> > >> >> > >> >> -- > >> >> Thanks, > >> >> Juned Khan > >> >> iNextrix Technologies Pvt Ltd. > >> >> www.inextrix.com > >> > > >> > > >> > > >> > > >> > -- > >> > Thanks, > >> > Juned Khan > >> > iNextrix Technologies Pvt Ltd. > >> > www.inextrix.com > > > > > > > > > > -- > > Thanks, > > Juned Khan > > iNextrix Technologies Pvt Ltd. > > www.inextrix.com > -- Thanks, Juned Khan iNextrix Technologies Pvt Ltd. www.inextrix.com |