<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: 也谈PostgreSQL的同步配置(Slony)</title>
	<atom:link href="http://www.laruence.com/2009/06/09/912.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.laruence.com/2009/06/09/912.html</link>
	<description>PHP语言, PHP扩展, Zend引擎相关的研究,技术,新闻分享 - 左手代码 右手诗</description>
	<lastBuildDate>Thu, 09 Feb 2012 12:31:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: smallfish</title>
		<link>http://www.laruence.com/2009/06/09/912.html/comment-page-1#comment-3710</link>
		<dc:creator>smallfish</dc:creator>
		<pubDate>Sun, 13 Feb 2011 06:44:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=912#comment-3710</guid>
		<description>原来是将$SLONIK写成#SLONIK了，现在脚本可以执行，但是提示：
:7: PGRES_FATAL_ERROR select &quot;_Laruence&quot;.determineIdxnameUnique(&#039;public.repl&#039;, NULL);  - ERROR:  Slony-I: table &quot;public&quot;.&quot;repl&quot; not found</description>
		<content:encoded><![CDATA[<p>原来是将$SLONIK写成#SLONIK了，现在脚本可以执行，但是提示：<br />
:7: PGRES_FATAL_ERROR select &#8220;_Laruence&#8221;.determineIdxnameUnique(&#8216;public.repl&#8217;, NULL);  &#8211; ERROR:  Slony-I: table &#8220;public&#8221;.&#8221;repl&#8221; not found</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: smallfish</title>
		<link>http://www.laruence.com/2009/06/09/912.html/comment-page-1#comment-3703</link>
		<dc:creator>smallfish</dc:creator>
		<pubDate>Sat, 12 Feb 2011 14:03:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=912#comment-3703</guid>
		<description>路径是对的：
# whereis slonik
slonik: /usr/bin/slonik
我的脚本是：
#!/bin/sh
SLONIK=/usr/bin/slonik
CLUSTER=slony_test
MASTER_ID=1
MASTER_HOST=10.155.50.51
MASTER_DBNAME=hhm
MASTER_USER=repl
MASTER_PASSWORD=repl
SLAVER_ID=2
SLAVER_HOST=10.155.50.52
SLAVER_DBNAME=hhm
SLAVER_USER=repl
SLAVER_PASSWORD=repl
#SLONIK&lt;&lt;_EOF_
cluster name = $CLUSTER
node $MASTER_ID admin conninfo = &#039;dbname=$MASTER_DBNAME host=$MASTER_HOST user=$MA
STER_USER password=$MASTER_PASSWORD&#039;;
node $SLAVER_ID admin conninfo = &#039;dbname=$SLAVER_DBNAME host=$SLAVER_HOST user=$
SLAVER_USER password=$SLAVER_PASSWORD&#039;;
init cluster (id = 1, comment = &#039;Primary Cluster&#039;);
create set (id = 1, origin = $MASTER_ID, comment = &#039;Data Provider&#039;);
set add table ( set id = 1,origin = $MASTER_ID, id = 1, fully qualified name = &#039;pu
blic.repl&#039;, comment=&#039;Repl Table&#039;);
store node ( id = $SLAVER_ID, comment = &#039;Slave Node&#039;, event node=$MASTER_ID);
store path ( server=1, client=2, conninfo = &#039;dbname=$MASTER_DBNAME host=$MASTER_HO
ST USER=$MASTER_USER password=$MASTER_PASSWORD&#039;);
store listen ( origin = $MASTER_ID, provider = $MASTER_ID, receiver = $SLAVER_ID);
_EOF_</description>
		<content:encoded><![CDATA[<p>路径是对的：<br />
# whereis slonik<br />
slonik: /usr/bin/slonik<br />
我的脚本是：<br />
#!/bin/sh<br />
SLONIK=/usr/bin/slonik<br />
CLUSTER=slony_test<br />
MASTER_ID=1<br />
MASTER_HOST=10.155.50.51<br />
MASTER_DBNAME=hhm<br />
MASTER_USER=repl<br />
MASTER_PASSWORD=repl<br />
SLAVER_ID=2<br />
SLAVER_HOST=10.155.50.52<br />
SLAVER_DBNAME=hhm<br />
SLAVER_USER=repl<br />
SLAVER_PASSWORD=repl<br />
#SLONIK&lt;&lt;_EOF_<br />
cluster name = $CLUSTER<br />
node $MASTER_ID admin conninfo = &#039;dbname=$MASTER_DBNAME host=$MASTER_HOST user=$MA<br />
STER_USER password=$MASTER_PASSWORD&#039;;<br />
node $SLAVER_ID admin conninfo = &#039;dbname=$SLAVER_DBNAME host=$SLAVER_HOST user=$<br />
SLAVER_USER password=$SLAVER_PASSWORD&#039;;<br />
init cluster (id = 1, comment = &#039;Primary Cluster&#039;);<br />
create set (id = 1, origin = $MASTER_ID, comment = &#039;Data Provider&#039;);<br />
set add table ( set id = 1,origin = $MASTER_ID, id = 1, fully qualified name = &#039;pu<br />
blic.repl&#039;, comment=&#039;Repl Table&#039;);<br />
store node ( id = $SLAVER_ID, comment = &#039;Slave Node&#039;, event node=$MASTER_ID);<br />
store path ( server=1, client=2, conninfo = &#039;dbname=$MASTER_DBNAME host=$MASTER_HO<br />
ST USER=$MASTER_USER password=$MASTER_PASSWORD&#039;);<br />
store listen ( origin = $MASTER_ID, provider = $MASTER_ID, receiver = $SLAVER_ID);<br />
_EOF_</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: laruence</title>
		<link>http://www.laruence.com/2009/06/09/912.html/comment-page-1#comment-3702</link>
		<dc:creator>laruence</dc:creator>
		<pubDate>Sat, 12 Feb 2011 07:30:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=912#comment-3702</guid>
		<description>@smallfish /home/work/local/slony/bin/slonik 路径对么?</description>
		<content:encoded><![CDATA[<p>@smallfish /home/work/local/slony/bin/slonik 路径对么?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: smallfish</title>
		<link>http://www.laruence.com/2009/06/09/912.html/comment-page-1#comment-3701</link>
		<dc:creator>smallfish</dc:creator>
		<pubDate>Sat, 12 Feb 2011 06:05:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=912#comment-3701</guid>
		<description>首先感谢博主写的这篇文章，请教一下，您这篇文章是完整的吗？我怎么在执行第一个脚本configMaster的时候就出错：

./master.sh: line 15: cluster: command not found
./master.sh: line 16: node: command not found
./master.sh: line 17: node: command not found
./master.sh: line 19: syntax error near unexpected token `(&#039;
./master.sh: line 19: `init cluster (id = 1, comment = &#039;Primary Cluster&#039;);&#039;

是不是别的地方还要设置？</description>
		<content:encoded><![CDATA[<p>首先感谢博主写的这篇文章，请教一下，您这篇文章是完整的吗？我怎么在执行第一个脚本configMaster的时候就出错：</p>
<p>./master.sh: line 15: cluster: command not found<br />
./master.sh: line 16: node: command not found<br />
./master.sh: line 17: node: command not found<br />
./master.sh: line 19: syntax error near unexpected token `(&#8216;<br />
./master.sh: line 19: `init cluster (id = 1, comment = &#8216;Primary Cluster&#8217;);&#8217;</p>
<p>是不是别的地方还要设置？</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DonaldsonMuriel26</title>
		<link>http://www.laruence.com/2009/06/09/912.html/comment-page-1#comment-2756</link>
		<dc:creator>DonaldsonMuriel26</dc:creator>
		<pubDate>Tue, 15 Jun 2010 05:58:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=912#comment-2756</guid>
		<description>I propose not to wait until you get enough cash to buy all you need! You can just get the &lt;a href=&quot;http://lowest-rate-loans.com/topics/credit-loans&quot; rel=&quot;nofollow&quot;&gt;credit loans&lt;/a&gt; or short term loan and feel comfortable</description>
		<content:encoded><![CDATA[<p>I propose not to wait until you get enough cash to buy all you need! You can just get the <a href="http://lowest-rate-loans.com/topics/credit-loans" rel="nofollow">credit loans</a> or short term loan and feel comfortable</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 雪候鸟</title>
		<link>http://www.laruence.com/2009/06/09/912.html/comment-page-1#comment-1947</link>
		<dc:creator>雪候鸟</dc:creator>
		<pubDate>Thu, 23 Jul 2009 08:41:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=912#comment-1947</guid>
		<description>@cc0cc 把你当成SPAM了...^_^</description>
		<content:encoded><![CDATA[<p>@cc0cc 把你当成SPAM了&#8230;^_^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cc0cc</title>
		<link>http://www.laruence.com/2009/06/09/912.html/comment-page-1#comment-1938</link>
		<dc:creator>cc0cc</dc:creator>
		<pubDate>Wed, 22 Jul 2009 07:22:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=912#comment-1938</guid>
		<description>哈哈 兄弟也开始搞pgsql啦，来看看我的小原创两篇 使用postgreSQL+bamboo搭建比lucene方便N倍的全文搜索 分两部分 http://www.54chen.com/c/601
http://www.54chen.com/c/634
欢迎指点哈</description>
		<content:encoded><![CDATA[<p>哈哈 兄弟也开始搞pgsql啦，来看看我的小原创两篇 使用postgreSQL+bamboo搭建比lucene方便N倍的全文搜索 分两部分 <a href="http://www.54chen.com/c/601" rel="nofollow">http://www.54chen.com/c/601</a><br />
<a href="http://www.54chen.com/c/634" rel="nofollow">http://www.54chen.com/c/634</a><br />
欢迎指点哈</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 雪候鸟</title>
		<link>http://www.laruence.com/2009/06/09/912.html/comment-page-1#comment-1859</link>
		<dc:creator>雪候鸟</dc:creator>
		<pubDate>Tue, 14 Jul 2009 11:38:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=912#comment-1859</guid>
		<description>如果这样,需要重新做一遍整个工作. 貌似也没什么更好的办法.</description>
		<content:encoded><![CDATA[<p>如果这样,需要重新做一遍整个工作. 貌似也没什么更好的办法.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sky</title>
		<link>http://www.laruence.com/2009/06/09/912.html/comment-page-1#comment-1858</link>
		<dc:creator>sky</dc:creator>
		<pubDate>Tue, 14 Jul 2009 10:38:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=912#comment-1858</guid>
		<description>同步周期或某一DB网络中断怎么处理的？</description>
		<content:encoded><![CDATA[<p>同步周期或某一DB网络中断怎么处理的？</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to Make Thousands of Dollars Posting Links on Google</title>
		<link>http://www.laruence.com/2009/06/09/912.html/comment-page-1#comment-1831</link>
		<dc:creator>How to Make Thousands of Dollars Posting Links on Google</dc:creator>
		<pubDate>Wed, 10 Jun 2009 19:59:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=912#comment-1831</guid>
		<description>Thanks for posting, I&#039;ll definitely be subscribing to your blog.</description>
		<content:encoded><![CDATA[<p>Thanks for posting, I&#8217;ll definitely be subscribing to your blog.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

