<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Configure_Server_Datanodes</title><link>https://sourceforge.net/p/postgres-xc/xc-wiki/Configure_Server_Datanodes/</link><description>Recent changes to Configure_Server_Datanodes</description><atom:link href="https://sourceforge.net/p/postgres-xc/xc-wiki/Configure_Server_Datanodes/feed" rel="self"/><language>en</language><lastBuildDate>Fri, 27 Jun 2014 02:32:39 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/postgres-xc/xc-wiki/Configure_Server_Datanodes/feed" rel="self" type="application/rss+xml"/><item><title>Configure_Server_Datanodes modified by Koichi Suzuki</title><link>https://sourceforge.net/p/postgres-xc/xc-wiki/Configure_Server_Datanodes/</link><description>&lt;div class="markdown_content"&gt;&lt;h2 id="what-weve-determined"&gt;What we've determined&lt;/h2&gt;
&lt;p&gt;As in &lt;a class="alink" href="/p/postgres-xc/xc-wiki/Real_Server_Configuration/"&gt;[Real_Server_Configuration]&lt;/a&gt;, we've assigned the following: &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;User: postgresxc &lt;/li&gt;
&lt;li&gt;Configure at: node01 and node02 &lt;/li&gt;
&lt;li&gt;Work directory: /home/postgresxc/pgxc/datanode &lt;/li&gt;
&lt;li&gt;Node name: datanode1 and datanode2 &lt;/li&gt;
&lt;li&gt;Port number: 20006 &lt;/li&gt;
&lt;li&gt;gtm host: node01 and node02 (we use GTM Proxy) &lt;/li&gt;
&lt;li&gt;gtm port: 20001 &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;First, we create template of coord1 at node01 as follows: &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;main&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt; &lt;span class="n"&gt;ssh&lt;/span&gt; &lt;span class="n"&gt;node01&lt;/span&gt;
&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;node01&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt; &lt;span class="n"&gt;initdb&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;nodename&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;datanode1&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;D&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;home&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;postgresxc&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;pgxc&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;datanode&lt;/span&gt;
&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;node01&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;initdb creates template of coordinator and datanode and creates initial database called postgres. &lt;/p&gt;
&lt;p&gt;Now you should add several lines of configuration parameters to postgresql.conf file. &lt;/p&gt;
&lt;p&gt;It is very simple. Do as follows: &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;node01&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt; &lt;span class="n"&gt;cat&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="n"&gt;gt&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="n"&gt;gt&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;home&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;postgresxc&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;pgxc&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;datanode&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;postgresql&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;conf&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Koichi Suzuki</dc:creator><pubDate>Fri, 27 Jun 2014 02:32:39 -0000</pubDate><guid>https://sourceforge.net5b06138eae08ab75813e289beada92148f78ca5b</guid></item></channel></rss>