From: Juned K. <jkh...@gm...> - 2014-03-12 06:15:57
|
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 -dkoichiSelected 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 |