From: Ashutosh B. <ash...@en...> - 2012-08-21 11:09:04
|
Hi Suzuki-san, I looked at the script. It's very well written. A script inside a contrib module has to be flaxible enough to allow all kinds of installations of XC. A user may need various combinations of physical machines, virtual machines and XC components such as coordinator, datanode and gtm-proxy, standbys for each of these. There can be other complications like firewalls, VPNs, various network configurations etc. Every user has his/her own preferences for scripting language. Many consider bash to be insecure and use c-shell. For those this script won't be of any use. A script which resides in contrib module has to be flexible enough to take into consideration all of those combinations and install components likewise. Writing such a script is a humongous task. So, I don't think we should add it to contrib module. But, we should add it in our documentation or provide it on PGXC page. Same might be the reason, why installers are not part of the code repository. On Tue, Aug 21, 2012 at 9:57 AM, Koichi Suzuki <koi...@gm...>wrote: > Hi, > > Enclosed is first version of "pgxc" bash script, where you can > configure, initialize, start and stop simple Postgres-XC cluster. > This script does not provide any HA configuration and is intended for > learning what XC is and how it works. > > You can configure XC with any number of servers. GTM should be > configured in one of such servers (of course, you can configure GTM in > separate server). GTM proxy, coordinator and datanode are configured > in each server. For configuration, you can edit configuration > section of the script. > > The script contains documentation as well. > > I'd like to have feedback to this kind of tools which encourages users > to try XC. I'm thinking to add this to contrib module and its > documentation to Postgres-XC Wiki. I'll write similar script where we > can configure XC locally. > > Regards; > ---------- > Koichi Suzuki > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 |