From: Ashutosh B. <ash...@en...> - 2013-03-07 11:48:43
|
A quick comment, we can have it at src/bin/pgxc_ctl like src/bin/pg_ctl. On Thu, Mar 7, 2013 at 5:15 PM, Koichi Suzuki <koi...@gm...>wrote: > Hello, > > I'm pleased to publish C version of pgxc_ctl in progress in > https://github.com/postgres-xc/postgres-xc/tree/pgxc_ctl/contrib/pgxc_ctl > > This needs much more improvement but it just works fine for basic > configuration, without slave, so far. Good features to this version > are: > > 1. Maintains configuration file in bash. > 2. More flexible environment, including log. > 3. If possible, shell scripts including scp and ssh will be done in > parallel. C version is quite faster than bash version mainly for > this reason. > 4. Log is improved much. Now more than one pgxc_ctl session can > write to the same log and the log will be controlled by advisory lock > so that log lines will not be messed up by another pgxc_ctl session. > 5. Utilities to clean up gtm (unregister failed node) is now > integrated into pgxc_ctl. pgxc_monitor was also integrate so that > pgxc_ctl can run without any other modules in contrib. > > Because original bash version was more than 5k lines, C version is > even bigger. I think I should maintain bash version as well for > people to learn what to do in various XC cluster operation. Further, > now Abbas is implementing node addition/removal which should > be supported by pgxc_ctl as well. > > Sorry, no document is available so far. It is very similar to bash > version but be a bit different. > > After I do necessary work, I'd like to add this to contrib. > > Regards; > ---------- > Koichi Suzuki > > > ------------------------------------------------------------------------------ > Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester > Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the > endpoint security space. For insight on selecting the right partner to > tackle endpoint security challenges, access the full report. > http://p.sf.net/sfu/symantec-dev2dev > _______________________________________________ > Postgres-xc-developers mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers > -- Best Wishes, Ashutosh Bapat EntepriseDB Corporation The Enterprise Postgres Company |