You can subscribe to this list here.
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
(6) |
Sep
|
Oct
(19) |
Nov
(1) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2011 |
Jan
(12) |
Feb
(1) |
Mar
(4) |
Apr
(4) |
May
(32) |
Jun
(12) |
Jul
(11) |
Aug
(1) |
Sep
(6) |
Oct
(3) |
Nov
|
Dec
(10) |
2012 |
Jan
(11) |
Feb
(1) |
Mar
(3) |
Apr
(25) |
May
(53) |
Jun
(38) |
Jul
(103) |
Aug
(54) |
Sep
(31) |
Oct
(66) |
Nov
(77) |
Dec
(20) |
2013 |
Jan
(91) |
Feb
(86) |
Mar
(103) |
Apr
(107) |
May
(25) |
Jun
(37) |
Jul
(17) |
Aug
(59) |
Sep
(38) |
Oct
(78) |
Nov
(29) |
Dec
(15) |
2014 |
Jan
(23) |
Feb
(82) |
Mar
(118) |
Apr
(101) |
May
(103) |
Jun
(45) |
Jul
(6) |
Aug
(10) |
Sep
|
Oct
(32) |
Nov
|
Dec
(9) |
2015 |
Jan
(3) |
Feb
(5) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
(9) |
Aug
(4) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
2016 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(4) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
|
|
1
(6) |
2
(3) |
3
(5) |
4
(4) |
5
|
6
(2) |
7
|
8
|
9
|
10
|
11
(1) |
12
|
13
|
14
(10) |
15
(3) |
16
(4) |
17
(4) |
18
(9) |
19
(18) |
20
(1) |
21
(6) |
22
(10) |
23
|
24
|
25
(1) |
26
(5) |
27
(5) |
28
(3) |
29
(1) |
30
(2) |
31
|
|
|
|
|
|
|
From: Theodotos A. <th...@ub...> - 2013-03-03 16:13:49
|
After I build the system it was showing this: postgres-xc@pgxc-ctl:~$ ls pgxc bin include lib nodes pgxcConf pgxc_ctl_log share After deployment the above directories were apparently deleted: postgres-xc@pgxc-ctl:~$ ls pgxc nodes pgxcConf pgxc_ctl_log postgres-xc was compiled with "--prefix=/var/lib/postgres-xc/pgxc" and "make install" finished successfully. Do you by any chance have the answer to my original question? :) : Why when I use gtm from Ubuntu repos (gtm_ctl -Z gtm -D /var/lib/postgres-xc/GTM start ) I get this in the logs: 1:139871852988224:2013-03-01 19:28:36.528 EET -LOG: Any GTM standby node not found in registered node(s). LOCATION: gtm_standby_connect_to_standby_int, /build/buildd/postgres-xc-1.0.2/build/../src/gtm/main/gtm_standby.c:378 1:139871844607744:2013-03-01 19:28:36.528 EET -FATAL: Expecting a startup message, but received � LOCATION: GTM_ThreadMain, /build/buildd/postgres-xc-1.0.2/build/../src/gtm/main/main.c:985 1:139871844607744:2013-03-01 19:28:36.529 EET -LOG: Cleaning up thread state LOCATION: GTM_ThreadCleanup, /build/buildd/postgres-xc-1.0.2/build/../src/gtm/main/gtm_thread.c:265 If I can solve this I can proceed the installation step by step as per this guide: http://wiki.postgresql.org/images/4/44/Pgxc_HA_20121024.pdf Does the above error means that I will have to set all services in the cluster? Are there any other dependencies on the GTM? On 03/03/2013 05:21 PM, Nikhil Sontakke wrote: > Hi Theodotos, > > What does > > "ls /var/lib/postgres-xc/pgxc" show on your system? > > Ensure that compile the pgxc sources with > --prefix=/var/lib/postgres-xc/pgxc and don't forget to "make install" > > Regards, > Nikhils > > On Sun, Mar 3, 2013 at 7:18 PM, Theodotos Andreou <th...@ub...> wrote: >> Hi Koichi, me again, >> >> I have build postgres-xc under $HOME/pgxc (In fact /var/lib/postgres-xc/pgxc >> >> This is how the directory looks before running deploy: >> >> postgres-xc@pgxc-ctl:~$ ls pgxc >> bin include lib nodes pgxcConf pgxc_ctl_log share >> >> When I run deploy I get: >> >> http://pastebin.com/nhgMrV8u >> >> tar fails to find bin, include etc again. >> >> Checking the contents of the directory I get: >> >> postgres-xc@pgxc-ctl:~$ ls pgxc >> nodes pgxcConf pgxc_ctl_log >> >> Is this a bug in the script or is it me not following the correct >> procedure? Please advice >> >> On 03/03/2013 03:14 PM, Theodotos Andreou wrote: >>> OK I think I got it. This is not dowloading/building the binaries. You >>> have to do that yourself! And then deploy will send it to the nodes. Right? >>> >>> On 03/03/2013 08:34 AM, Theodotos Andreou wrote: >>>> Hi Koichi, >>>> >>>> So I have setup 4 coord/datanodes (node06 - 09) and two gtm nodes (node >>>> 12 - 13) as the default configuration of pgxc_ctl. I also setup a >>>> separate machine to run pgxc_ctl on. The only thing I change was the >>>> postgres user from koichi to postgres-xc. The postgres-xc user exists on >>>> all nodes and the control machine and there is passwordless >>>> configuration on all the nodes from the control machine. >>>> >>>> This is my config as shown on "xcshow config" >>>> >>>> http://pastebin.com/Hiz5bEzw >>>> >>>> >>>> When I run deploy all this is what I get: >>>> >>>> postgres-xc@pgxc-ctl:~$ pgxc_ctl deploy all >>>> tar: bin: Cannot stat: No such file or directory >>>> tar: include: Cannot stat: No such file or directory >>>> tar: lib: Cannot stat: No such file or directory >>>> tar: share: Cannot stat: No such file or directory >>>> tar: Exiting with failure status due to previous errors >>>> wk.tgz 100% 45 0.0KB/s 00:00 >>>> wk.tgz 100% 45 0.0KB/s 00:00 >>>> wk.tgz 100% 45 0.0KB/s 00:00 >>>> wk.tgz 100% 45 0.0KB/s 00:00 >>>> wk.tgz 100% 45 0.0KB/s 00:00 >>>> wk.tgz 100% 45 0.0KB/s 00:00 >>>> >>>> Am I supposed to run "deploy all" as the postgres-xc user or as root? I >>>> tried as root but I get different errors >>>> >>>> The ~/bin directory does in fact exist with the pgxc_ctl binary in exe >>>> right and it is owned by the postgres-xc user and group. >>>> >>>> Any ideas? >>>> >>>> On 03/02/2013 07:03 PM, Theodotos Andreou wrote: >>>>> Thanks for the tip. I' ll try that and be back with more feedback >>>>> >>>>> On 03/02/2013 03:56 AM, Koichi Suzuki wrote: >>>>>> Hello, >>>>>> >>>>>> THanks a lot for the mail. A log as I see, there*s no proble in >>>>>> gtm.conf file. I looked into my gtm.log and did see any FATAL or >>>>>> ERROR messages in it. >>>>>> >>>>>> Could you try pgxc_ctl to configure your cluster? It will be found >>>>>> in https://github.com/koichi-szk/PGXC-Tools/tree/master/pgxc_ctl >>>>>> >>>>>> This is bash script so you can find what to do for XC cluster >>>>>> operation. Attached is my gtm.conf generated by pgxc_ctl. >>>>>> >>>>>> I hope this helps. >>>>>> >>>>>> Regards; >>>>>> ---------- >>>>>> Koichi Suzuki >>>>>> >>>>>> >>>>>> 2013/3/2 Theodotos Andreou <th...@ub...>: >>>>>>> Hello to all >>>>>>> >>>>>>> I am trying to setup a HA postgres-xc cluster according to this guide: >>>>>>> >>>>>>> http://wiki.postgresql.org/images/4/44/Pgxc_HA_20121024.pdf >>>>>>> >>>>>>> I am at the first step, configuring the GTM master (page 39). I have >>>>>>> this configuration: >>>>>>> >>>>>>> nodename = 'mygtmnode01' >>>>>>> listen_addresses = '*' >>>>>>> port = 6666 >>>>>>> startup = ACT >>>>>>> >>>>>>> I run this command as postgres-xc: >>>>>>> $ gtm_ctl -Z gtm -D /var/lib/postgres-xc/GTM start >>>>>>> >>>>>>> The server start apparently at port 6666: >>>>>>> >>>>>>> # netstat -lnptu | grep gtm >>>>>>> tcp 0 0 0.0.0.0:6666 0.0.0.0:* LISTEN 2408/gtm >>>>>>> tcp6 0 0 :::6666 :::* LISTEN 2408/gtm >>>>>>> >>>>>>> But checking the logs I get repeatedly the following messages: >>>>>>> >>>>>>> 1:139871852988224:2013-03-01 19:28:36.528 EET -LOG: Any GTM standby >>>>>>> node not found in registered node(s). >>>>>>> LOCATION: gtm_standby_connect_to_standby_int, >>>>>>> /build/buildd/postgres-xc-1.0.2/build/../src/gtm/main/gtm_standby.c:378 >>>>>>> 1:139871844607744:2013-03-01 19:28:36.528 EET -FATAL: Expecting a >>>>>>> startup message, but received � >>>>>>> LOCATION: GTM_ThreadMain, >>>>>>> /build/buildd/postgres-xc-1.0.2/build/../src/gtm/main/main.c:985 >>>>>>> 1:139871844607744:2013-03-01 19:28:36.529 EET -LOG: Cleaning up thread >>>>>>> state >>>>>>> LOCATION: GTM_ThreadCleanup, >>>>>>> /build/buildd/postgres-xc-1.0.2/build/../src/gtm/main/gtm_thread.c:265 >>>>>>> >>>>>>> That FATAL error above is scaring me. Am I doing something wrong? >>>>>>> >>>>>>> I am running a 64 bit ubuntu (13.04) and I have install postegres-xc >>>>>>> from the repositories. >>>>>>> >>>>>>> I haven't set up the GTM standy yet. >>>>>>> >>>>>>> Secondary question 1: >>>>>>> >>>>>>> In the guide it says: >>>>>>> nodename = 'gtmName' >>>>>>> for both master and standby. Does this imply that they should have the >>>>>>> same node name? Does it have to be the same as the hostname? >>>>>>> >>>>>>> Secondary question 2: >>>>>>> >>>>>>> In the GTM proxy procedure when the master fails it suggests to >>>>>>> reconfigure the proxy to the new master (ex standby). Can we just switch >>>>>>> the IP from master to slave using heartbeat or keepalived and avoid this >>>>>>> step? >>>>>>> >>>>>>> You would probably have figure it out already that my postgres-xc status >>>>>>> is "newbie" :) >>>>>>> >>>>>>> Thanks >>>>>>> >>>>>>> Theo >>>>>>> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> Everyone hates slow websites. So do we. >>>>>>> Make your web apps faster with AppDynamics >>>>>>> Download AppDynamics Lite for free today: >>>>>>> http://p.sf.net/sfu/appdyn_d2d_feb >>>>>>> _______________________________________________ >>>>>>> Postgres-xc-general mailing list >>>>>>> Pos...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/postgres-xc-general >>>>> ------------------------------------------------------------------------------ >>>>> Everyone hates slow websites. So do we. >>>>> Make your web apps faster with AppDynamics >>>>> Download AppDynamics Lite for free today: >>>>> http://p.sf.net/sfu/appdyn_d2d_feb >>>>> _______________________________________________ >>>>> Postgres-xc-general mailing list >>>>> Pos...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/postgres-xc-general >>>> ------------------------------------------------------------------------------ >>>> Everyone hates slow websites. So do we. >>>> Make your web apps faster with AppDynamics >>>> Download AppDynamics Lite for free today: >>>> http://p.sf.net/sfu/appdyn_d2d_feb >>>> _______________________________________________ >>>> Postgres-xc-general mailing list >>>> Pos...@li... >>>> https://lists.sourceforge.net/lists/listinfo/postgres-xc-general >>> ------------------------------------------------------------------------------ >>> Everyone hates slow websites. So do we. >>> Make your web apps faster with AppDynamics >>> Download AppDynamics Lite for free today: >>> http://p.sf.net/sfu/appdyn_d2d_feb >>> _______________________________________________ >>> Postgres-xc-general mailing list >>> Pos...@li... >>> https://lists.sourceforge.net/lists/listinfo/postgres-xc-general >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_d2d_feb >> _______________________________________________ >> Postgres-xc-general mailing list >> Pos...@li... >> https://lists.sourceforge.net/lists/listinfo/postgres-xc-general > > |
From: Nikhil S. <ni...@st...> - 2013-03-03 15:22:27
|
Hi Theodotos, What does "ls /var/lib/postgres-xc/pgxc" show on your system? Ensure that compile the pgxc sources with --prefix=/var/lib/postgres-xc/pgxc and don't forget to "make install" Regards, Nikhils On Sun, Mar 3, 2013 at 7:18 PM, Theodotos Andreou <th...@ub...> wrote: > Hi Koichi, me again, > > I have build postgres-xc under $HOME/pgxc (In fact /var/lib/postgres-xc/pgxc > > This is how the directory looks before running deploy: > > postgres-xc@pgxc-ctl:~$ ls pgxc > bin include lib nodes pgxcConf pgxc_ctl_log share > > When I run deploy I get: > > http://pastebin.com/nhgMrV8u > > tar fails to find bin, include etc again. > > Checking the contents of the directory I get: > > postgres-xc@pgxc-ctl:~$ ls pgxc > nodes pgxcConf pgxc_ctl_log > > Is this a bug in the script or is it me not following the correct > procedure? Please advice > > On 03/03/2013 03:14 PM, Theodotos Andreou wrote: >> OK I think I got it. This is not dowloading/building the binaries. You >> have to do that yourself! And then deploy will send it to the nodes. Right? >> >> On 03/03/2013 08:34 AM, Theodotos Andreou wrote: >>> Hi Koichi, >>> >>> So I have setup 4 coord/datanodes (node06 - 09) and two gtm nodes (node >>> 12 - 13) as the default configuration of pgxc_ctl. I also setup a >>> separate machine to run pgxc_ctl on. The only thing I change was the >>> postgres user from koichi to postgres-xc. The postgres-xc user exists on >>> all nodes and the control machine and there is passwordless >>> configuration on all the nodes from the control machine. >>> >>> This is my config as shown on "xcshow config" >>> >>> http://pastebin.com/Hiz5bEzw >>> >>> >>> When I run deploy all this is what I get: >>> >>> postgres-xc@pgxc-ctl:~$ pgxc_ctl deploy all >>> tar: bin: Cannot stat: No such file or directory >>> tar: include: Cannot stat: No such file or directory >>> tar: lib: Cannot stat: No such file or directory >>> tar: share: Cannot stat: No such file or directory >>> tar: Exiting with failure status due to previous errors >>> wk.tgz 100% 45 0.0KB/s 00:00 >>> wk.tgz 100% 45 0.0KB/s 00:00 >>> wk.tgz 100% 45 0.0KB/s 00:00 >>> wk.tgz 100% 45 0.0KB/s 00:00 >>> wk.tgz 100% 45 0.0KB/s 00:00 >>> wk.tgz 100% 45 0.0KB/s 00:00 >>> >>> Am I supposed to run "deploy all" as the postgres-xc user or as root? I >>> tried as root but I get different errors >>> >>> The ~/bin directory does in fact exist with the pgxc_ctl binary in exe >>> right and it is owned by the postgres-xc user and group. >>> >>> Any ideas? >>> >>> On 03/02/2013 07:03 PM, Theodotos Andreou wrote: >>>> Thanks for the tip. I' ll try that and be back with more feedback >>>> >>>> On 03/02/2013 03:56 AM, Koichi Suzuki wrote: >>>>> Hello, >>>>> >>>>> THanks a lot for the mail. A log as I see, there*s no proble in >>>>> gtm.conf file. I looked into my gtm.log and did see any FATAL or >>>>> ERROR messages in it. >>>>> >>>>> Could you try pgxc_ctl to configure your cluster? It will be found >>>>> in https://github.com/koichi-szk/PGXC-Tools/tree/master/pgxc_ctl >>>>> >>>>> This is bash script so you can find what to do for XC cluster >>>>> operation. Attached is my gtm.conf generated by pgxc_ctl. >>>>> >>>>> I hope this helps. >>>>> >>>>> Regards; >>>>> ---------- >>>>> Koichi Suzuki >>>>> >>>>> >>>>> 2013/3/2 Theodotos Andreou <th...@ub...>: >>>>>> Hello to all >>>>>> >>>>>> I am trying to setup a HA postgres-xc cluster according to this guide: >>>>>> >>>>>> http://wiki.postgresql.org/images/4/44/Pgxc_HA_20121024.pdf >>>>>> >>>>>> I am at the first step, configuring the GTM master (page 39). I have >>>>>> this configuration: >>>>>> >>>>>> nodename = 'mygtmnode01' >>>>>> listen_addresses = '*' >>>>>> port = 6666 >>>>>> startup = ACT >>>>>> >>>>>> I run this command as postgres-xc: >>>>>> $ gtm_ctl -Z gtm -D /var/lib/postgres-xc/GTM start >>>>>> >>>>>> The server start apparently at port 6666: >>>>>> >>>>>> # netstat -lnptu | grep gtm >>>>>> tcp 0 0 0.0.0.0:6666 0.0.0.0:* LISTEN 2408/gtm >>>>>> tcp6 0 0 :::6666 :::* LISTEN 2408/gtm >>>>>> >>>>>> But checking the logs I get repeatedly the following messages: >>>>>> >>>>>> 1:139871852988224:2013-03-01 19:28:36.528 EET -LOG: Any GTM standby >>>>>> node not found in registered node(s). >>>>>> LOCATION: gtm_standby_connect_to_standby_int, >>>>>> /build/buildd/postgres-xc-1.0.2/build/../src/gtm/main/gtm_standby.c:378 >>>>>> 1:139871844607744:2013-03-01 19:28:36.528 EET -FATAL: Expecting a >>>>>> startup message, but received � >>>>>> LOCATION: GTM_ThreadMain, >>>>>> /build/buildd/postgres-xc-1.0.2/build/../src/gtm/main/main.c:985 >>>>>> 1:139871844607744:2013-03-01 19:28:36.529 EET -LOG: Cleaning up thread >>>>>> state >>>>>> LOCATION: GTM_ThreadCleanup, >>>>>> /build/buildd/postgres-xc-1.0.2/build/../src/gtm/main/gtm_thread.c:265 >>>>>> >>>>>> That FATAL error above is scaring me. Am I doing something wrong? >>>>>> >>>>>> I am running a 64 bit ubuntu (13.04) and I have install postegres-xc >>>>>> from the repositories. >>>>>> >>>>>> I haven't set up the GTM standy yet. >>>>>> >>>>>> Secondary question 1: >>>>>> >>>>>> In the guide it says: >>>>>> nodename = 'gtmName' >>>>>> for both master and standby. Does this imply that they should have the >>>>>> same node name? Does it have to be the same as the hostname? >>>>>> >>>>>> Secondary question 2: >>>>>> >>>>>> In the GTM proxy procedure when the master fails it suggests to >>>>>> reconfigure the proxy to the new master (ex standby). Can we just switch >>>>>> the IP from master to slave using heartbeat or keepalived and avoid this >>>>>> step? >>>>>> >>>>>> You would probably have figure it out already that my postgres-xc status >>>>>> is "newbie" :) >>>>>> >>>>>> Thanks >>>>>> >>>>>> Theo >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> Everyone hates slow websites. So do we. >>>>>> Make your web apps faster with AppDynamics >>>>>> Download AppDynamics Lite for free today: >>>>>> http://p.sf.net/sfu/appdyn_d2d_feb >>>>>> _______________________________________________ >>>>>> Postgres-xc-general mailing list >>>>>> Pos...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/postgres-xc-general >>>> ------------------------------------------------------------------------------ >>>> Everyone hates slow websites. So do we. >>>> Make your web apps faster with AppDynamics >>>> Download AppDynamics Lite for free today: >>>> http://p.sf.net/sfu/appdyn_d2d_feb >>>> _______________________________________________ >>>> Postgres-xc-general mailing list >>>> Pos...@li... >>>> https://lists.sourceforge.net/lists/listinfo/postgres-xc-general >>> ------------------------------------------------------------------------------ >>> Everyone hates slow websites. So do we. >>> Make your web apps faster with AppDynamics >>> Download AppDynamics Lite for free today: >>> http://p.sf.net/sfu/appdyn_d2d_feb >>> _______________________________________________ >>> Postgres-xc-general mailing list >>> Pos...@li... >>> https://lists.sourceforge.net/lists/listinfo/postgres-xc-general >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_d2d_feb >> _______________________________________________ >> Postgres-xc-general mailing list >> Pos...@li... >> https://lists.sourceforge.net/lists/listinfo/postgres-xc-general > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > Postgres-xc-general mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-general -- StormDB - http://www.stormdb.com The Database Cloud Postgres-XC Support and Service |
From: Theodotos A. <th...@ub...> - 2013-03-03 13:48:49
|
Hi Koichi, me again, I have build postgres-xc under $HOME/pgxc (In fact /var/lib/postgres-xc/pgxc This is how the directory looks before running deploy: postgres-xc@pgxc-ctl:~$ ls pgxc bin include lib nodes pgxcConf pgxc_ctl_log share When I run deploy I get: http://pastebin.com/nhgMrV8u tar fails to find bin, include etc again. Checking the contents of the directory I get: postgres-xc@pgxc-ctl:~$ ls pgxc nodes pgxcConf pgxc_ctl_log Is this a bug in the script or is it me not following the correct procedure? Please advice On 03/03/2013 03:14 PM, Theodotos Andreou wrote: > OK I think I got it. This is not dowloading/building the binaries. You > have to do that yourself! And then deploy will send it to the nodes. Right? > > On 03/03/2013 08:34 AM, Theodotos Andreou wrote: >> Hi Koichi, >> >> So I have setup 4 coord/datanodes (node06 - 09) and two gtm nodes (node >> 12 - 13) as the default configuration of pgxc_ctl. I also setup a >> separate machine to run pgxc_ctl on. The only thing I change was the >> postgres user from koichi to postgres-xc. The postgres-xc user exists on >> all nodes and the control machine and there is passwordless >> configuration on all the nodes from the control machine. >> >> This is my config as shown on "xcshow config" >> >> http://pastebin.com/Hiz5bEzw >> >> >> When I run deploy all this is what I get: >> >> postgres-xc@pgxc-ctl:~$ pgxc_ctl deploy all >> tar: bin: Cannot stat: No such file or directory >> tar: include: Cannot stat: No such file or directory >> tar: lib: Cannot stat: No such file or directory >> tar: share: Cannot stat: No such file or directory >> tar: Exiting with failure status due to previous errors >> wk.tgz 100% 45 0.0KB/s 00:00 >> wk.tgz 100% 45 0.0KB/s 00:00 >> wk.tgz 100% 45 0.0KB/s 00:00 >> wk.tgz 100% 45 0.0KB/s 00:00 >> wk.tgz 100% 45 0.0KB/s 00:00 >> wk.tgz 100% 45 0.0KB/s 00:00 >> >> Am I supposed to run "deploy all" as the postgres-xc user or as root? I >> tried as root but I get different errors >> >> The ~/bin directory does in fact exist with the pgxc_ctl binary in exe >> right and it is owned by the postgres-xc user and group. >> >> Any ideas? >> >> On 03/02/2013 07:03 PM, Theodotos Andreou wrote: >>> Thanks for the tip. I' ll try that and be back with more feedback >>> >>> On 03/02/2013 03:56 AM, Koichi Suzuki wrote: >>>> Hello, >>>> >>>> THanks a lot for the mail. A log as I see, there*s no proble in >>>> gtm.conf file. I looked into my gtm.log and did see any FATAL or >>>> ERROR messages in it. >>>> >>>> Could you try pgxc_ctl to configure your cluster? It will be found >>>> in https://github.com/koichi-szk/PGXC-Tools/tree/master/pgxc_ctl >>>> >>>> This is bash script so you can find what to do for XC cluster >>>> operation. Attached is my gtm.conf generated by pgxc_ctl. >>>> >>>> I hope this helps. >>>> >>>> Regards; >>>> ---------- >>>> Koichi Suzuki >>>> >>>> >>>> 2013/3/2 Theodotos Andreou <th...@ub...>: >>>>> Hello to all >>>>> >>>>> I am trying to setup a HA postgres-xc cluster according to this guide: >>>>> >>>>> http://wiki.postgresql.org/images/4/44/Pgxc_HA_20121024.pdf >>>>> >>>>> I am at the first step, configuring the GTM master (page 39). I have >>>>> this configuration: >>>>> >>>>> nodename = 'mygtmnode01' >>>>> listen_addresses = '*' >>>>> port = 6666 >>>>> startup = ACT >>>>> >>>>> I run this command as postgres-xc: >>>>> $ gtm_ctl -Z gtm -D /var/lib/postgres-xc/GTM start >>>>> >>>>> The server start apparently at port 6666: >>>>> >>>>> # netstat -lnptu | grep gtm >>>>> tcp 0 0 0.0.0.0:6666 0.0.0.0:* LISTEN 2408/gtm >>>>> tcp6 0 0 :::6666 :::* LISTEN 2408/gtm >>>>> >>>>> But checking the logs I get repeatedly the following messages: >>>>> >>>>> 1:139871852988224:2013-03-01 19:28:36.528 EET -LOG: Any GTM standby >>>>> node not found in registered node(s). >>>>> LOCATION: gtm_standby_connect_to_standby_int, >>>>> /build/buildd/postgres-xc-1.0.2/build/../src/gtm/main/gtm_standby.c:378 >>>>> 1:139871844607744:2013-03-01 19:28:36.528 EET -FATAL: Expecting a >>>>> startup message, but received � >>>>> LOCATION: GTM_ThreadMain, >>>>> /build/buildd/postgres-xc-1.0.2/build/../src/gtm/main/main.c:985 >>>>> 1:139871844607744:2013-03-01 19:28:36.529 EET -LOG: Cleaning up thread >>>>> state >>>>> LOCATION: GTM_ThreadCleanup, >>>>> /build/buildd/postgres-xc-1.0.2/build/../src/gtm/main/gtm_thread.c:265 >>>>> >>>>> That FATAL error above is scaring me. Am I doing something wrong? >>>>> >>>>> I am running a 64 bit ubuntu (13.04) and I have install postegres-xc >>>>> from the repositories. >>>>> >>>>> I haven't set up the GTM standy yet. >>>>> >>>>> Secondary question 1: >>>>> >>>>> In the guide it says: >>>>> nodename = 'gtmName' >>>>> for both master and standby. Does this imply that they should have the >>>>> same node name? Does it have to be the same as the hostname? >>>>> >>>>> Secondary question 2: >>>>> >>>>> In the GTM proxy procedure when the master fails it suggests to >>>>> reconfigure the proxy to the new master (ex standby). Can we just switch >>>>> the IP from master to slave using heartbeat or keepalived and avoid this >>>>> step? >>>>> >>>>> You would probably have figure it out already that my postgres-xc status >>>>> is "newbie" :) >>>>> >>>>> Thanks >>>>> >>>>> Theo >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Everyone hates slow websites. So do we. >>>>> Make your web apps faster with AppDynamics >>>>> Download AppDynamics Lite for free today: >>>>> http://p.sf.net/sfu/appdyn_d2d_feb >>>>> _______________________________________________ >>>>> Postgres-xc-general mailing list >>>>> Pos...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/postgres-xc-general >>> ------------------------------------------------------------------------------ >>> Everyone hates slow websites. So do we. >>> Make your web apps faster with AppDynamics >>> Download AppDynamics Lite for free today: >>> http://p.sf.net/sfu/appdyn_d2d_feb >>> _______________________________________________ >>> Postgres-xc-general mailing list >>> Pos...@li... >>> https://lists.sourceforge.net/lists/listinfo/postgres-xc-general >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_d2d_feb >> _______________________________________________ >> Postgres-xc-general mailing list >> Pos...@li... >> https://lists.sourceforge.net/lists/listinfo/postgres-xc-general > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > Postgres-xc-general mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-general |
From: Theodotos A. <th...@ub...> - 2013-03-03 13:15:12
|
OK I think I got it. This is not dowloading/building the binaries. You have to do that yourself! And then deploy will send it to the nodes. Right? On 03/03/2013 08:34 AM, Theodotos Andreou wrote: > Hi Koichi, > > So I have setup 4 coord/datanodes (node06 - 09) and two gtm nodes (node > 12 - 13) as the default configuration of pgxc_ctl. I also setup a > separate machine to run pgxc_ctl on. The only thing I change was the > postgres user from koichi to postgres-xc. The postgres-xc user exists on > all nodes and the control machine and there is passwordless > configuration on all the nodes from the control machine. > > This is my config as shown on "xcshow config" > > http://pastebin.com/Hiz5bEzw > > > When I run deploy all this is what I get: > > postgres-xc@pgxc-ctl:~$ pgxc_ctl deploy all > tar: bin: Cannot stat: No such file or directory > tar: include: Cannot stat: No such file or directory > tar: lib: Cannot stat: No such file or directory > tar: share: Cannot stat: No such file or directory > tar: Exiting with failure status due to previous errors > wk.tgz 100% 45 0.0KB/s 00:00 > wk.tgz 100% 45 0.0KB/s 00:00 > wk.tgz 100% 45 0.0KB/s 00:00 > wk.tgz 100% 45 0.0KB/s 00:00 > wk.tgz 100% 45 0.0KB/s 00:00 > wk.tgz 100% 45 0.0KB/s 00:00 > > Am I supposed to run "deploy all" as the postgres-xc user or as root? I > tried as root but I get different errors > > The ~/bin directory does in fact exist with the pgxc_ctl binary in exe > right and it is owned by the postgres-xc user and group. > > Any ideas? > > On 03/02/2013 07:03 PM, Theodotos Andreou wrote: >> Thanks for the tip. I' ll try that and be back with more feedback >> >> On 03/02/2013 03:56 AM, Koichi Suzuki wrote: >>> Hello, >>> >>> THanks a lot for the mail. A log as I see, there*s no proble in >>> gtm.conf file. I looked into my gtm.log and did see any FATAL or >>> ERROR messages in it. >>> >>> Could you try pgxc_ctl to configure your cluster? It will be found >>> in https://github.com/koichi-szk/PGXC-Tools/tree/master/pgxc_ctl >>> >>> This is bash script so you can find what to do for XC cluster >>> operation. Attached is my gtm.conf generated by pgxc_ctl. >>> >>> I hope this helps. >>> >>> Regards; >>> ---------- >>> Koichi Suzuki >>> >>> >>> 2013/3/2 Theodotos Andreou <th...@ub...>: >>>> Hello to all >>>> >>>> I am trying to setup a HA postgres-xc cluster according to this guide: >>>> >>>> http://wiki.postgresql.org/images/4/44/Pgxc_HA_20121024.pdf >>>> >>>> I am at the first step, configuring the GTM master (page 39). I have >>>> this configuration: >>>> >>>> nodename = 'mygtmnode01' >>>> listen_addresses = '*' >>>> port = 6666 >>>> startup = ACT >>>> >>>> I run this command as postgres-xc: >>>> $ gtm_ctl -Z gtm -D /var/lib/postgres-xc/GTM start >>>> >>>> The server start apparently at port 6666: >>>> >>>> # netstat -lnptu | grep gtm >>>> tcp 0 0 0.0.0.0:6666 0.0.0.0:* LISTEN 2408/gtm >>>> tcp6 0 0 :::6666 :::* LISTEN 2408/gtm >>>> >>>> But checking the logs I get repeatedly the following messages: >>>> >>>> 1:139871852988224:2013-03-01 19:28:36.528 EET -LOG: Any GTM standby >>>> node not found in registered node(s). >>>> LOCATION: gtm_standby_connect_to_standby_int, >>>> /build/buildd/postgres-xc-1.0.2/build/../src/gtm/main/gtm_standby.c:378 >>>> 1:139871844607744:2013-03-01 19:28:36.528 EET -FATAL: Expecting a >>>> startup message, but received � >>>> LOCATION: GTM_ThreadMain, >>>> /build/buildd/postgres-xc-1.0.2/build/../src/gtm/main/main.c:985 >>>> 1:139871844607744:2013-03-01 19:28:36.529 EET -LOG: Cleaning up thread >>>> state >>>> LOCATION: GTM_ThreadCleanup, >>>> /build/buildd/postgres-xc-1.0.2/build/../src/gtm/main/gtm_thread.c:265 >>>> >>>> That FATAL error above is scaring me. Am I doing something wrong? >>>> >>>> I am running a 64 bit ubuntu (13.04) and I have install postegres-xc >>>> from the repositories. >>>> >>>> I haven't set up the GTM standy yet. >>>> >>>> Secondary question 1: >>>> >>>> In the guide it says: >>>> nodename = 'gtmName' >>>> for both master and standby. Does this imply that they should have the >>>> same node name? Does it have to be the same as the hostname? >>>> >>>> Secondary question 2: >>>> >>>> In the GTM proxy procedure when the master fails it suggests to >>>> reconfigure the proxy to the new master (ex standby). Can we just switch >>>> the IP from master to slave using heartbeat or keepalived and avoid this >>>> step? >>>> >>>> You would probably have figure it out already that my postgres-xc status >>>> is "newbie" :) >>>> >>>> Thanks >>>> >>>> Theo >>>> >>>> ------------------------------------------------------------------------------ >>>> Everyone hates slow websites. So do we. >>>> Make your web apps faster with AppDynamics >>>> Download AppDynamics Lite for free today: >>>> http://p.sf.net/sfu/appdyn_d2d_feb >>>> _______________________________________________ >>>> Postgres-xc-general mailing list >>>> Pos...@li... >>>> https://lists.sourceforge.net/lists/listinfo/postgres-xc-general >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_d2d_feb >> _______________________________________________ >> Postgres-xc-general mailing list >> Pos...@li... >> https://lists.sourceforge.net/lists/listinfo/postgres-xc-general > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > Postgres-xc-general mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-general |
From: Theodotos A. <th...@ub...> - 2013-03-03 06:34:21
|
Hi Koichi, So I have setup 4 coord/datanodes (node06 - 09) and two gtm nodes (node 12 - 13) as the default configuration of pgxc_ctl. I also setup a separate machine to run pgxc_ctl on. The only thing I change was the postgres user from koichi to postgres-xc. The postgres-xc user exists on all nodes and the control machine and there is passwordless configuration on all the nodes from the control machine. This is my config as shown on "xcshow config" http://pastebin.com/Hiz5bEzw When I run deploy all this is what I get: postgres-xc@pgxc-ctl:~$ pgxc_ctl deploy all tar: bin: Cannot stat: No such file or directory tar: include: Cannot stat: No such file or directory tar: lib: Cannot stat: No such file or directory tar: share: Cannot stat: No such file or directory tar: Exiting with failure status due to previous errors wk.tgz 100% 45 0.0KB/s 00:00 wk.tgz 100% 45 0.0KB/s 00:00 wk.tgz 100% 45 0.0KB/s 00:00 wk.tgz 100% 45 0.0KB/s 00:00 wk.tgz 100% 45 0.0KB/s 00:00 wk.tgz 100% 45 0.0KB/s 00:00 Am I supposed to run "deploy all" as the postgres-xc user or as root? I tried as root but I get different errors The ~/bin directory does in fact exist with the pgxc_ctl binary in exe right and it is owned by the postgres-xc user and group. Any ideas? On 03/02/2013 07:03 PM, Theodotos Andreou wrote: > Thanks for the tip. I' ll try that and be back with more feedback > > On 03/02/2013 03:56 AM, Koichi Suzuki wrote: >> Hello, >> >> THanks a lot for the mail. A log as I see, there*s no proble in >> gtm.conf file. I looked into my gtm.log and did see any FATAL or >> ERROR messages in it. >> >> Could you try pgxc_ctl to configure your cluster? It will be found >> in https://github.com/koichi-szk/PGXC-Tools/tree/master/pgxc_ctl >> >> This is bash script so you can find what to do for XC cluster >> operation. Attached is my gtm.conf generated by pgxc_ctl. >> >> I hope this helps. >> >> Regards; >> ---------- >> Koichi Suzuki >> >> >> 2013/3/2 Theodotos Andreou <th...@ub...>: >>> Hello to all >>> >>> I am trying to setup a HA postgres-xc cluster according to this guide: >>> >>> http://wiki.postgresql.org/images/4/44/Pgxc_HA_20121024.pdf >>> >>> I am at the first step, configuring the GTM master (page 39). I have >>> this configuration: >>> >>> nodename = 'mygtmnode01' >>> listen_addresses = '*' >>> port = 6666 >>> startup = ACT >>> >>> I run this command as postgres-xc: >>> $ gtm_ctl -Z gtm -D /var/lib/postgres-xc/GTM start >>> >>> The server start apparently at port 6666: >>> >>> # netstat -lnptu | grep gtm >>> tcp 0 0 0.0.0.0:6666 0.0.0.0:* LISTEN 2408/gtm >>> tcp6 0 0 :::6666 :::* LISTEN 2408/gtm >>> >>> But checking the logs I get repeatedly the following messages: >>> >>> 1:139871852988224:2013-03-01 19:28:36.528 EET -LOG: Any GTM standby >>> node not found in registered node(s). >>> LOCATION: gtm_standby_connect_to_standby_int, >>> /build/buildd/postgres-xc-1.0.2/build/../src/gtm/main/gtm_standby.c:378 >>> 1:139871844607744:2013-03-01 19:28:36.528 EET -FATAL: Expecting a >>> startup message, but received � >>> LOCATION: GTM_ThreadMain, >>> /build/buildd/postgres-xc-1.0.2/build/../src/gtm/main/main.c:985 >>> 1:139871844607744:2013-03-01 19:28:36.529 EET -LOG: Cleaning up thread >>> state >>> LOCATION: GTM_ThreadCleanup, >>> /build/buildd/postgres-xc-1.0.2/build/../src/gtm/main/gtm_thread.c:265 >>> >>> That FATAL error above is scaring me. Am I doing something wrong? >>> >>> I am running a 64 bit ubuntu (13.04) and I have install postegres-xc >>> from the repositories. >>> >>> I haven't set up the GTM standy yet. >>> >>> Secondary question 1: >>> >>> In the guide it says: >>> nodename = 'gtmName' >>> for both master and standby. Does this imply that they should have the >>> same node name? Does it have to be the same as the hostname? >>> >>> Secondary question 2: >>> >>> In the GTM proxy procedure when the master fails it suggests to >>> reconfigure the proxy to the new master (ex standby). Can we just switch >>> the IP from master to slave using heartbeat or keepalived and avoid this >>> step? >>> >>> You would probably have figure it out already that my postgres-xc status >>> is "newbie" :) >>> >>> Thanks >>> >>> Theo >>> >>> ------------------------------------------------------------------------------ >>> Everyone hates slow websites. So do we. >>> Make your web apps faster with AppDynamics >>> Download AppDynamics Lite for free today: >>> http://p.sf.net/sfu/appdyn_d2d_feb >>> _______________________________________________ >>> Postgres-xc-general mailing list >>> Pos...@li... >>> https://lists.sourceforge.net/lists/listinfo/postgres-xc-general > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > Postgres-xc-general mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-general |