<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>天道酬勤</title>
	<atom:link href="http://www.ochef.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ochef.net</link>
	<description>RDBMS and My Life</description>
	<lastBuildDate>Tue, 09 Mar 2010 03:07:32 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>中国Oracle用户组</title>
		<link>http://www.ochef.net/2010/03/all-china-oracle-user-group/</link>
		<comments>http://www.ochef.net/2010/03/all-china-oracle-user-group/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 10:31:13 +0000</pubDate>
		<dc:creator>ochef</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[ACOUG]]></category>

		<guid isPermaLink="false">http://www.ochef.net/?p=789</guid>
		<description><![CDATA[最近一老失眠，今儿一大清早就爬起来上网，从google的订阅服务得知：由EYGLE与KAMUS二位大师发起并成立了中国Oracle用户组ACOUG（All China Oracle User Group）。届时，越来越多的数据库爱好者、Oracle爱好者将会出没这里。well，so&#8230;&#8230;一线民工以此博文当贺电来表达喜悦心情，各位工友欲知更多详情请参考官网，谢谢!
-The End-
]]></description>
			<content:encoded><![CDATA[<p>最近一老失眠，今儿一大清早就爬起来上网，从google的订阅服务得知：由<a href="http://www.eygle.com" target="_blank">EYGLE</a>与<a href="http://www.dbform.com" target="_blank">KAMUS</a>二位大师发起并成立了<strong>中国Oracle用户组</strong><a href="http://www.acoug.org" target="_blank">ACOUG</a>（All China Oracle User Group）。届时，越来越多的数据库爱好者、Oracle爱好者将会出没这里。well，so&#8230;&#8230;一线民工以此博文当贺电来表达喜悦心情，各位工友欲知更多详情请参考官网，谢谢!</p>
<p>-The End-</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ochef.net/2010/03/all-china-oracle-user-group/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Surprise!第一本《Oracle DBA手记》</title>
		<link>http://www.ochef.net/2010/01/first-book-oracle-dba-notes/</link>
		<comments>http://www.ochef.net/2010/01/first-book-oracle-dba-notes/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 15:20:26 +0000</pubDate>
		<dc:creator>ochef</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[book]]></category>

		<guid isPermaLink="false">http://www.ochef.net/?p=784</guid>
		<description><![CDATA[Wow，昨天在Eygle大师的Blog上看到《Oracle DBA手记》已经上架了，先恭喜一下这几位大牛（Eygle、Yangtingkun、老熊、zergduan、banping）出了新作。继续往下看，没想到第一本书是寄给我的，这里谢谢Eygle，谢谢几位大牛们，感谢Julia，因为我想大师业务缠身应该没有时间寄书：）。农历新年快到了，这本书对我来说是新年最好的礼物，同时也是莫大的鼓舞，告诫自己努力。图片作证：

-The End-
]]></description>
			<content:encoded><![CDATA[<p>Wow，昨天在Eygle大师的Blog上看到《<a href="http://www.eygle.com/archives/2010/01/dbanotes_taobao.html" target="_blank">Oracle DBA手记</a>》已经上架了，先恭喜一下这几位大牛（<a href="http://www.eygle.com" target="_blank">Eygle</a>、<a href="http://yangtingkun.itpub.net/index.php" target="_blank">Yangtingkun</a>、<a href="http://www.laoxiong.net" target="_blank">老熊</a>、zergduan、<a href="http://www.banping.com" target="_blank">banping</a>）出了新作。继续往下看，没想到第一本书是寄给我的，这里谢谢Eygle，谢谢几位大牛们，感谢<a href="http://tequilabombom.spaces.live.com/" target="_blank">Julia</a>，因为我想大师业务缠身应该没有时间寄书：）。农历新年快到了，这本书对我来说是新年最好的礼物，同时也是莫大的鼓舞，告诫自己努力。图片作证：<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="300" height="246" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://f.yupoo.com/v.swf?id=ochef-ff8080812626f15a0126568801e17959-c" /><param name="quality" value="high" /><embed type="application/x-shockwave-flash" width="300" height="246" src="http://f.yupoo.com/v.swf?id=ochef-ff8080812626f15a0126568801e17959-c" quality="high"></embed></object><br />
-The End-</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ochef.net/2010/01/first-book-oracle-dba-notes/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Blog Renewal</title>
		<link>http://www.ochef.net/2010/01/blog-renewal/</link>
		<comments>http://www.ochef.net/2010/01/blog-renewal/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 03:35:09 +0000</pubDate>
		<dc:creator>ochef</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://www.ochef.net/?p=774</guid>
		<description><![CDATA[话说08年的时候，我大部分的时间消耗在互联网上，看到一些牛人们纷纷都有自己的博客，自己虽然不是牛人但也想弄一个来玩玩，终于在09年2月份的时候向Dreamhost购买了空间和注册了域名，其实之前买过国内的静态空间，结果什么都没干空了一年，因为静态空间易用性太差了，修改起来不是一般的麻烦。
一年了，文章数目虽然不多，质量也不咋地，但“看”和“看了再写”出自己的想法是完全不一样的感受，太多的东西可能自己很清楚很明白，但要写出来让别人一看就懂就难了，写博对我来说就起一个记录我学习和生活的过程，没想过PV，没想过订阅数，没有想过人气，只是经过一段时间之后再回过头来看这些，我会想，为什么当初我是那样考虑的，为什么当初我会那样做，这对我非常重要，这里就像一面镜子，我需要时刻参照、反省、改善，我认为这也应当算作财富吧。Blog空间明天就到期了，为了继续储蓄这笔财富，所以今天全额续费了，i hope just beginning！
-The End-
]]></description>
			<content:encoded><![CDATA[<p>话说08年的时候，我大部分的时间消耗在互联网上，看到一些牛人们纷纷都有自己的博客，自己虽然不是牛人但也想弄一个来玩玩，终于在09年2月份的时候向Dreamhost购买了空间和注册了域名，其实之前买过国内的静态空间，结果什么都没干空了一年，因为静态空间易用性太差了，修改起来不是一般的麻烦。</p>
<p>一年了，文章数目虽然不多，质量也不咋地，但“看”和“看了再写”出自己的想法是完全不一样的感受，太多的东西可能自己很清楚很明白，但要写出来让别人一看就懂就难了，写博对我来说就起一个记录我学习和生活的过程，没想过PV，没想过订阅数，没有想过人气，只是经过一段时间之后再回过头来看这些，我会想，为什么当初我是那样考虑的，为什么当初我会那样做，这对我非常重要，这里就像一面镜子，我需要时刻参照、反省、改善，我认为这也应当算作财富吧。Blog空间明天就到期了，为了继续储蓄这笔财富，所以今天全额续费了，i hope just beginning！</p>
<p>-The End-</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ochef.net/2010/01/blog-renewal/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>游记：遵义会议纪念馆</title>
		<link>http://www.ochef.net/2010/01/travels-zunyi-conference-hall/</link>
		<comments>http://www.ochef.net/2010/01/travels-zunyi-conference-hall/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 07:56:06 +0000</pubDate>
		<dc:creator>ochef</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://www.ochef.net/?p=770</guid>
		<description><![CDATA[客户8:30上班，领导告诉我客户单位离我住的酒店只有不到十分钟的路程，加上Google Map了一把，打算步行过去，就当锻炼一下身体。由于不熟悉路况还是提前一个小时起床，简单收拾一下出发。出师不利，走了半个小时也没有找着地儿，不停的问路人，最终在一小巷子找着 了，一问门卫大叔，不好，这地儿是他们区级单位，市级单位在另一地方。再把昨晚我自己画的地图拿出来一看，shit！这回真搞错了，回头想想可能昨晚google的时候没看清。没办法，回到酒店朝先前出门的反方向走，差不多6－8分钟，还真被我给找到了，看了下时间9:08，还早，呵呵。接下来就是跟客户交流了一下搬迁事宜，与客户商量好晚上去做备份，明天上午再拆机。从客户出来12点了，还没吃早餐呢，没看到一家吃饭的地方，好不容易看到了KFC大叔，虽然我很讨厌吃那些东西，出门在外，饿极了将就下吧。肚子饱了就开始游馆了，不料碰巧纪念馆75周年，为了安全关闭了主馆和会议大楼，只能免费参观其它馆区，既然免费那就游吧：


更多图片请稳步这里。
-The End-
]]></description>
			<content:encoded><![CDATA[<p>客户8:30上班，领导告诉我客户单位离我住的酒店只有不到十分钟的路程，加上Google Map了一把，打算步行过去，就当锻炼一下身体。由于不熟悉路况还是提前一个小时起床，简单收拾一下出发。出师不利，走了半个小时也没有找着地儿，不停的问路人，最终在一小巷子找着 了，一问门卫大叔，不好，这地儿是他们区级单位，市级单位在另一地方。再把昨晚我自己画的地图拿出来一看，shit！这回真搞错了，回头想想可能昨晚google的时候没看清。没办法，回到酒店朝先前出门的反方向走，差不多6－8分钟，还真被我给找到了，看了下时间9:08，还早，呵呵。接下来就是跟客户交流了一下搬迁事宜，与客户商量好晚上去做备份，明天上午再拆机。从客户出来12点了，还没吃早餐呢，没看到一家吃饭的地方，好不容易看到了KFC大叔，虽然我很讨厌吃那些东西，出门在外，饿极了将就下吧。肚子饱了就开始游馆了，不料碰巧纪念馆75周年，为了安全关闭了主馆和会议大楼，只能免费参观其它馆区，既然免费那就游吧：<br />
<a title="来YUPOO看我的照片" href="http://www.yupoo.com/photos/view?id=ff808081262cbf09012630e6ba7a3e22"><img src="http://pic.yupoo.com/ochef/209658b39044/small.jpg" border="0" alt="DSCF2371" width="240" height="180" /></a><a title="来YUPOO看我的照片" href="http://www.yupoo.com/photos/view?id=ff8080812626f3d7012630e72af33180"><img src="http://pic.yupoo.com/ochef/855078b39068/small.jpg" border="0" alt="DSCF2373" width="240" height="180" /></a><br />
<a title="来YUPOO看我的照片" href="http://www.yupoo.com/photos/view?id=ff8080812626f15a012630e7b9c12e37"><img src="http://pic.yupoo.com/ochef/346238b3908d/small.jpg" border="0" alt="DSCF2387" width="240" height="180" /></a><a title="来YUPOO看我的照片" href="http://www.yupoo.com/photos/view?id=ff8080812626f3d7012630e607143135"><img src="http://pic.yupoo.com/ochef/950538b3901e/small.jpg" border="0" alt="DSCF2459" width="240" height="180" /></a></p>
<p>更多图片请稳步<a href="http://www.yupoo.com/albums/view?id=ff808081262cc173012630e55cf94027" target="_blank">这里</a>。<br />
-The End-</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ochef.net/2010/01/travels-zunyi-conference-hall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>贵州遵义</title>
		<link>http://www.ochef.net/2010/01/zunyi-guizhou/</link>
		<comments>http://www.ochef.net/2010/01/zunyi-guizhou/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 14:18:46 +0000</pubDate>
		<dc:creator>ochef</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[feeling]]></category>

		<guid isPermaLink="false">http://www.ochef.net/?p=767</guid>
		<description><![CDATA[为了确保客户机房搬迁一切顺利，今天中午的飞机到遵义。遵义，革命胜地，看看来自互联网的介绍：
遵义市位于贵州省北部，属云贵高原向四川盆地湖南丘陵地带过渡的东斜坡北段，处于省会贵阳市和重庆市之间，西北部与四川接旅游地图——点击可以放大壤，以北背靠重庆市，以南面对贵阳。是贵州的第二大城市，也是贵州北线旅游的中心，是国务院首批公布的全国24个历史文化名城之一。
遵义历史悠久，文化源远流长，到了近代，更以著名的遵义会议，奠定了它在中国革命历史上的重要地位。
遵义山川秀丽，风光独特，尤以山、水、林、洞为主要特色。这里有一个国家级风景名胜区和四个省级风景名胜区，近千处文物点。如被称为“西南古代雕刻艺术宝库”的杨粲墓、被誉为“生物活化石”的国家级桫椤自然保护区、“神州又一奇观”赤水十丈洞瀑布等，真可谓处处有佳境，步步有名胜。
此时，很想念家的温馨，想念LP和二个月的宝宝，希望一切顺利能早点回家。今晚又是一个不眠夜。
-The End-
]]></description>
			<content:encoded><![CDATA[<p>为了确保客户机房搬迁一切顺利，今天中午的飞机到遵义。遵义，革命胜地，看看来自互联网的介绍：</p>
<blockquote><p>遵义市位于贵州省北部，属云贵高原向四川盆地湖南丘陵地带过渡的东斜坡北段，处于省会贵阳市和重庆市之间，西北部与四川接旅游地图——点击可以放大壤，以北背靠重庆市，以南面对贵阳。是贵州的第二大城市，也是贵州北线旅游的中心，是国务院首批公布的全国24个历史文化名城之一。</p>
<p>遵义历史悠久，文化源远流长，到了近代，更以著名的遵义会议，奠定了它在中国革命历史上的重要地位。</p>
<p>遵义山川秀丽，风光独特，尤以山、水、林、洞为主要特色。这里有一个国家级风景名胜区和四个省级风景名胜区，近千处文物点。如被称为“西南古代雕刻艺术宝库”的杨粲墓、被誉为“生物活化石”的国家级桫椤自然保护区、“神州又一奇观”赤水十丈洞瀑布等，真可谓处处有佳境，步步有名胜。</p></blockquote>
<p>此时，很想念家的温馨，想念LP和二个月的宝宝，希望一切顺利能早点回家。今晚又是一个不眠夜。</p>
<p>-The End-</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ochef.net/2010/01/zunyi-guizhou/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VIP Failover Take Long Time After Network Cable Pulled</title>
		<link>http://www.ochef.net/2010/01/vip-failover-take-long-time-after-network-cable-pulled/</link>
		<comments>http://www.ochef.net/2010/01/vip-failover-take-long-time-after-network-cable-pulled/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 02:13:25 +0000</pubDate>
		<dc:creator>ochef</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[TNS-12535]]></category>
		<category><![CDATA[TNS-12560]]></category>
		<category><![CDATA[TNS-505]]></category>

		<guid isPermaLink="false">http://www.ochef.net/?p=751</guid>
		<description><![CDATA[在一个10g RAC环境中测试拔掉网线，vip的切换花了很长时间，在oracle support上搜索如下：
[ID 403743.1]
Applies to:
Oracle Server &#8211; Enterprise Edition &#8211; Version: 10.2.0.1 to 11.1.0.7
This problem can occur on any platform.
Symptoms
This example is based on SUN Solaris platform, with IPMP configured for the public network. In this case, VIP failover takes almost 4 minutes to complete when both network cables of the public network are pulled [...]]]></description>
			<content:encoded><![CDATA[<p>在一个10g RAC环境中测试拔掉网线，vip的切换花了很长时间，在<a href="http://support.oracle.com" target="_blank">oracle support</a>上搜索如下：</p>
<p><span style="font-family: helvetica;"><strong>[ID 403743.1]</strong></span></p>
<p>Applies to:</p>
<p>Oracle Server &#8211; Enterprise Edition &#8211; Version: 10.2.0.1 to 11.1.0.7</p>
<p>This problem can occur on any platform.</p>
<p>Symptoms</p>
<p>This example is based on SUN Solaris platform, with IPMP configured for the public network. In this case, VIP failover takes almost 4 minutes to complete when both network cables of the public network are pulled from one node.</p>
<p>crsd.log shows:</p>
<p>2006-12-07 13:14:05.401: [ CRSAPP][4588] CheckResource error for ora.node1.vip error code = 1</p>
<p>2006-12-07 13:14:05.408: [ CRSRES][4588] In stateChanged, ora.node1.vip target is ONLINE</p>
<p>2006-12-07 13:14:05.409: [ CRSRES][4588] ora.node1.vip on node1 went OFFLINE unexpectedly</p>
<p>&lt;&lt;&lt; detect network cable failure and VIP OFFLINE immediately</p>
<p>2006-12-07 13:14:05.410: [ CRSRES][4588] StopResource: setting CLI values</p>
<p>2006-12-07 13:14:05.420: [ CRSRES][4588] Attempting to stop `ora.node1.vip` on member `node1`</p>
<p>2006-12-07 13:14:06.651: [ CRSRES][4588] Stop of `ora.node1.vip` on member `node1` succeeded.</p>
<p>2006-12-07 13:14:06.652: [ CRSRES][4588] ora.node1.vip RESTART_COUNT=0 RESTART_ATTEMPTS=0</p>
<p>2006-12-07 13:14:06.667: [ CRSRES][4588] ora.node1.vip failed on node1 relocating.</p>
<p>2006-12-07 13:14:06.758: [ CRSRES][4588] StopResource: setting CLI values</p>
<p>2006-12-07 13:14:06.766: [ CRSRES][4588] Attempting to stop `ora.node1.LISTENER_NODE1.lsnr` on member `node1`</p>
<p>2006-12-07 13:17:41.399: [ CRSRES][4588] Stop of `ora.node1.LISTENER_NODE1.lsnr` on member `node1` succeeded.</p>
<p>&lt;&lt;&lt; takes 3.5 minutes to stop listener</p>
<p>2006-12-07 13:17:41.402: Attempting to stop `ora.node1.ASM1.asm` on member `node1`</p>
<p>&lt;&lt;&lt; stop dependant inst and ASM</p>
<p>2006-12-07 13:17:55.610: [ CRSRES][4588] Stop of `ora.node1.ASM1.asm` on member `node1` succeeded.</p>
<p>2006-12-07 13:17:55.661: [ CRSRES][4588] Attempting to start `ora.node1.vip` on member `node2`</p>
<p>2006-12-07 13:18:00.260: [ CRSRES][4588] Start of `ora.node1.vip` on member `node2` succeeded.</p>
<p>&lt;&lt;&lt; now VIP failover complete after almost 4 mins</p>
<p>ora.node1.LISTENER_NODE1.lsnr.log shows:</p>
<p>Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=node1vip)(PORT=1521)(IP=FIRST)))</p>
<p>TNS-12535: TNS:operation timed</p>
<p>2006-12-07 13:17:41.329: [ RACG][1] [23916][1][ora.node1.LISTENER_NODE1.lsnr]: out</p>
<p>TNS-12560: TNS:protocol adapter error</p>
<p>TNS-00505: Operation timed out</p>
<p>Solaris Error: 145: Connection timed out</p>
<p>Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.1.10.100)(PORT=1521)(IP=FIRST)))</p>
<p>The command completed successfully</p>
<p>Client connection hang during this failover time.</p>
<p>Changes</p>
<p><strong>This may be a new setup, or a setup that was migrated from an earlier release.</strong></p>
<p>Cause</p>
<p>This problem is caused by the first address in the listener.ora configuration being an address that uses the TCP protocol.</p>
<p>In this circumstance, when a network cable is pulled, &#8220;lsnrctl stop&#8221; listener has to wait for TCP timeout before it can check next address. On the Solaris platform, TCP timeout is defined by tcp_ip_abort_cinterval with a default value of 180000 (3 minutes).   That is why shutting down listener almost took 3.5 minutes. (TCP timeout on other platforms may vary).  The error message &#8220;Solaris Error: 145: Connection timed out&#8221; in ora.node1.LISTENER_NODE1.lsnr.log also indicates it is waiting for tcp timeout.</p>
<p>The listener.ora in this scenario is defined as:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;">LISTENER_NODE1 <span style="color: #66cc66;">=</span>
&nbsp;
<span style="color: #66cc66;">&#40;</span>DESCRIPTION_LIST <span style="color: #66cc66;">=</span>
&nbsp;
<span style="color: #66cc66;">&#40;</span>DESCRIPTION <span style="color: #66cc66;">=</span>
&nbsp;
<span style="color: #66cc66;">&#40;</span>ADDRESS_LIST <span style="color: #66cc66;">=</span>
&nbsp;
<span style="color: #66cc66;">&#40;</span>ADDRESS <span style="color: #66cc66;">=</span> <span style="color: #66cc66;">&#40;</span>PROTOCOL <span style="color: #66cc66;">=</span> TCP<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#40;</span>HOST <span style="color: #66cc66;">=</span> node1vip<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#40;</span>PORT <span style="color: #66cc66;">=</span> <span style="color: #cc66cc;">1521</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#40;</span>IP <span style="color: #66cc66;">=</span> FIRST<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
&nbsp;
<span style="color: #66cc66;">&#41;</span>
&nbsp;
<span style="color: #66cc66;">&#40;</span>ADDRESS_LIST <span style="color: #66cc66;">=</span>
&nbsp;
<span style="color: #66cc66;">&#40;</span>ADDRESS <span style="color: #66cc66;">=</span> <span style="color: #66cc66;">&#40;</span>PROTOCOL <span style="color: #66cc66;">=</span> TCP<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#40;</span>HOST <span style="color: #66cc66;">=</span> 10<span style="color: #66cc66;">.</span>1<span style="color: #66cc66;">.</span>10<span style="color: #66cc66;">.</span>100<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#40;</span>PORT <span style="color: #66cc66;">=</span> <span style="color: #cc66cc;">1521</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#40;</span>IP <span style="color: #66cc66;">=</span> FIRST<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
&nbsp;
<span style="color: #66cc66;">&#41;</span>
&nbsp;
<span style="color: #66cc66;">&#40;</span>ADDRESS_LIST <span style="color: #66cc66;">=</span>
&nbsp;
<span style="color: #66cc66;">&#40;</span>ADDRESS <span style="color: #66cc66;">=</span> <span style="color: #66cc66;">&#40;</span>PROTOCOL <span style="color: #66cc66;">=</span> IPC<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#40;</span><span style="color: #993333; font-weight: bold;">KEY</span> <span style="color: #66cc66;">=</span> EXTPROC<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
&nbsp;
<span style="color: #66cc66;">&#41;</span>
&nbsp;
<span style="color: #66cc66;">&#41;</span>
&nbsp;
<span style="color: #66cc66;">&#41;</span></pre></div></div>

<p>Solution</p>
<p><span style="color: #ff0000;">To prevent this, move the IPC address to be the first address for the listener in the listener.ora</span>, eg:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;">LISTENER_NODE1 <span style="color: #66cc66;">=</span>
&nbsp;
<span style="color: #66cc66;">&#40;</span>DESCRIPTION_LIST <span style="color: #66cc66;">=</span>
&nbsp;
<span style="color: #66cc66;">&#40;</span>DESCRIPTION <span style="color: #66cc66;">=</span>
&nbsp;
<span style="color: #66cc66;">&#40;</span>ADDRESS_LIST <span style="color: #66cc66;">=</span>
&nbsp;
<span style="color: #66cc66;">&#40;</span>ADDRESS <span style="color: #66cc66;">=</span> <span style="color: #66cc66;">&#40;</span>PROTOCOL <span style="color: #66cc66;">=</span> IPC<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#40;</span><span style="color: #993333; font-weight: bold;">KEY</span> <span style="color: #66cc66;">=</span> EXTPROC<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
&nbsp;
<span style="color: #66cc66;">&#41;</span>
&nbsp;
<span style="color: #66cc66;">&#40;</span>ADDRESS_LIST <span style="color: #66cc66;">=</span>
&nbsp;
<span style="color: #66cc66;">&#40;</span>ADDRESS <span style="color: #66cc66;">=</span> <span style="color: #66cc66;">&#40;</span>PROTOCOL <span style="color: #66cc66;">=</span> TCP<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#40;</span>HOST <span style="color: #66cc66;">=</span> node1vip<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#40;</span>PORT <span style="color: #66cc66;">=</span> <span style="color: #cc66cc;">1521</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#40;</span>IP <span style="color: #66cc66;">=</span> FIRST<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
&nbsp;
<span style="color: #66cc66;">&#41;</span>
&nbsp;
<span style="color: #66cc66;">&#40;</span>ADDRESS_LIST <span style="color: #66cc66;">=</span>
&nbsp;
<span style="color: #66cc66;">&#40;</span>ADDRESS <span style="color: #66cc66;">=</span> <span style="color: #66cc66;">&#40;</span>PROTOCOL <span style="color: #66cc66;">=</span> TCP<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#40;</span>HOST <span style="color: #66cc66;">=</span> 10<span style="color: #66cc66;">.</span>1<span style="color: #66cc66;">.</span>10<span style="color: #66cc66;">.</span>100<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#40;</span>PORT <span style="color: #66cc66;">=</span> <span style="color: #cc66cc;">1521</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#40;</span>IP <span style="color: #66cc66;">=</span> FIRST<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
&nbsp;
<span style="color: #66cc66;">&#41;</span>
&nbsp;
<span style="color: #66cc66;">&#41;</span>
&nbsp;
<span style="color: #66cc66;">&#41;</span></pre></div></div>

<p>When lsnrctl tries to stop the listener, it will now connect to the IPC address first, which is available during that time. It will not have to wait for tcp timeout.</p>
<p>After the above change, the VIP failover only takes 48 to 50 seconds to complete regardless of the tcp_ip_abort_cinterval setting.</p>
<p>Please note, listener.ora files newly created from 10.2.0.3 to 11.1.0.7 should have the IPC protocol as the first address in listener.ora in most cases.  However, if you have upgraded from a previous release, or manually modified/copied over a listener.ora from a previous install, you may not have the IPC protocol as the first address, regardless of your version. Manual modification is required to move IPC protocol to be the first address to avoid the problem described in this note.</p>
<p>BTW：<a href="http://www.oralife.cn/html/2010/597_vip-ipc.html" target="_blank">梦想有多远</a>的blog也有说明。</p>
<p>-The End-</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ochef.net/2010/01/vip-failover-take-long-time-after-network-cable-pulled/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changed My blog thems</title>
		<link>http://www.ochef.net/2010/01/changed-my-blog-thems/</link>
		<comments>http://www.ochef.net/2010/01/changed-my-blog-thems/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 14:11:11 +0000</pubDate>
		<dc:creator>ochef</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://www.ochef.net/?p=738</guid>
		<description><![CDATA[今天把blog的主题换了，选了一款看起来更为简洁的，我就喜欢简约而不简单的东西。等有空的时候再来慢慢修改一些细节问题。
]]></description>
			<content:encoded><![CDATA[<p>今天把blog的主题换了，选了一款看起来更为简洁的，我就喜欢简约而不简单的东西。等有空的时候再来慢慢修改一些细节问题。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ochef.net/2010/01/changed-my-blog-thems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2010,I wish&#8230;&#8230;</title>
		<link>http://www.ochef.net/2010/01/2010-i-wish/</link>
		<comments>http://www.ochef.net/2010/01/2010-i-wish/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 14:27:50 +0000</pubDate>
		<dc:creator>ochef</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[10wish]]></category>

		<guid isPermaLink="false">http://www.ochef.net/?p=727</guid>
		<description><![CDATA[元旦前后几天比较忙，之前忙于工作，之后忙于吃饭喝酒。

不管怎么样迟来的总结总比没有的好，还是废话一把就当勉励吧：
1.09年大部分时间泡在Internet上，正因于此在网络上知道了很多牛人（排名不分先后   ）：eygle、rickyzhu、oracleblog、fenng、ningoo太多了就不依依写了。从这些牛人身上我收获了很多，也得到过很多帮助，这此对他们说声：“谢谢！”（即使他们不知道我）
2.09年俺也开博了，数了数一共73篇文章，虽然2/3写的是一些废话，但我相信只要坚持下去，总会等到有料的那一天。
3.6月份跳到现在的公司，开始大量接触小型机和企业级存储，感谢公司给了我这样的机会。
4.通过了Oracle 9i OCP和IBM 223考试 （记错了，OCP是08年考的）
5.太多牛人写了太多牛书，还只看了其中几本，这点还很需要加强。
6.换了工作之后，公司每周五下午都会去运动锻炼身体，像我们这种工作性质的人太需要锻炼了。
2010年，我不敢奢求太多，仅几点而已：
1.8月15日，静静等待宝宝（小名：果果，取自与老婆爱情的果实之意）呱呱落地来到这个充满爱的世界。
2.Oracle OCP升级考试（有可能的话OCM考试）和IBM 102考试（公司需要）
3.把买的牛人们写的书认真读完，再读一二本非技术类的书充实自己。
4.加强口语学习，争取能开口。
5.多多联系朋友。
6.最后一点，也是最重要的一点：我希望家人、朋友都能平平安安、健健康康、快快乐乐的生活每一天。
-The End-
]]></description>
			<content:encoded><![CDATA[<p>元旦前后几天比较忙，之前忙于工作，之后忙于吃饭喝酒。<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="500" height="375" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://f.yupoo.com/v.swf?id=ochef-ff80808125f459c80125f9bfbc486353-m" /><param name="quality" value="high" /><embed type="application/x-shockwave-flash" width="500" height="375" src="http://f.yupoo.com/v.swf?id=ochef-ff80808125f459c80125f9bfbc486353-m" quality="high"></embed></object><br />
不管怎么样迟来的总结总比没有的好，还是废话一把就当勉励吧：</p>
<p>1.09年大部分时间泡在Internet上，正因于此在网络上知道了很多牛人（排名不分先后 <img src='http://www.ochef.net/wp-includes/images/smilies/icon_lol.gif' alt=':lol:' class='wp-smiley' />  ）：eygle、rickyzhu、oracleblog、fenng、ningoo太多了就不依依写了。从这些牛人身上我收获了很多，也得到过很多帮助，这此对他们说声：“谢谢！”（即使他们不知道我）</p>
<p>2.09年俺也开博了，数了数一共73篇文章，虽然2/3写的是一些废话，但我相信只要坚持下去，总会等到有料的那一天。</p>
<p>3.6月份跳到现在的公司，开始大量接触小型机和企业级存储，感谢公司给了我这样的机会。</p>
<p>4.通过了<del datetime="2010-01-06T00:40:29+00:00">Oracle 9i OCP</del>和IBM 223考试 （记错了，OCP是08年考的）</p>
<p>5.太多牛人写了太多牛书，还只看了其中几本，这点还很需要加强。</p>
<p>6.换了工作之后，公司每周五下午都会去运动锻炼身体，像我们这种工作性质的人太需要锻炼了。</p>
<p>2010年，我不敢奢求太多，仅几点而已：</p>
<p>1.8月15日，静静等待宝宝（小名：果果，取自与老婆爱情的果实之意）呱呱落地来到这个充满爱的世界。</p>
<p>2.Oracle OCP升级考试（有可能的话OCM考试）和IBM 102考试（公司需要）</p>
<p>3.把买的牛人们写的书认真读完，再读一二本非技术类的书充实自己。</p>
<p>4.加强口语学习，争取能开口。</p>
<p>5.多多联系朋友。</p>
<p>6.最后一点，也是最重要的一点：我希望家人、朋友都能平平安安、健健康康、快快乐乐的生活每一天。</p>
<p>-The End-</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ochef.net/2010/01/2010-i-wish/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EnterpriseDB overview</title>
		<link>http://www.ochef.net/2009/12/enterprisedb-overview/</link>
		<comments>http://www.ochef.net/2009/12/enterprisedb-overview/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 05:07:56 +0000</pubDate>
		<dc:creator>ochef</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[enterprisedb]]></category>
		<category><![CDATA[postgres plus]]></category>

		<guid isPermaLink="false">http://www.ochef.net/?p=721</guid>
		<description><![CDATA[Postgres Plus Advanced Server 又名EnterpriseDB，由前身PostgreSQL发展而来，一款真正意义上的开源数据库，加之有IBM和RedHat的鼎力相助，发展势头迅猛。由于ORACLE高昂的License费用，在如今的金融危机下，很多厂品都有价格的优势，而ORACLE不但没有且还提高了大约40%价格，无疑对很多的企业来说是雪上加霜，已无力承受，大家纷纷开始计划着将其迁移到其它产品上。EnterpriseDB吸引了众多企业的眼球是因为它与ORACLE有强大的兼容性，现有ORACLE系统上80%的应用不需做任何修改直接可以拿到EnterpriseDB上应用。有人一定会先想到MySQL，其性能勿庸置疑，加上高可用都有，目前国内的众多WEB2.0公司都在用，taobao、google等等。MySQL在处理WEB方面的应用确实不错，但在其它方面不一定是最好的，加上被收购了二次之后，现在在ORACLE手可前途未卜，个人认为MySQL不能算真正的开源数据库，而EnterpriseDB是。我相信在未来几年，会有越来越多的中小企业因为看重EnterpriseDB的众多优越特性而选择它。
EnterpriseDB的安装是我见过的RDBMS产品中安装最简单的，简单介绍for linux x86 platform的安装步骤。

获得安装文件
# tar -zxvf pgplus-advsvr-linux-x86_830112.tar.gz
# setenforce Permissive
Graphical Installer:

# ./pgplus-advsvr-linux-x86_830112.bin
Command Line Installer:
# ./pgplus-advsvr-linux-x86_830112.bin -console
输入上面的命令之后剩下的工作就在对话中完成。
默认安装路径如下：
/opt/PostgresPlus/8.3R2AS
/opt/PostgresPlus/8.3R2AS/data
/opt/PostgresPlus/8.3R2AS/data/pg_xlog
5.# setenforce Enforcing
6.配置环境变量：安装完成之后，在每个用户的家目录下会有一个edb_83.env的文本文件，与$EDBHOME/dbserver/scripts/edb_83.env文件一样。
To load the environment for a single user:
#chown &#60;username&#62; /home/&#60;username&#62;/edb_83.env
#vi /home/&#60;username&#62;/.bash_profile
增加如下一行:
. /home/&#60;username&#62;/edb_83.env 注意. /之间有空格
To load the environment for all users:
#vi /etc/profile
增加如下一行:
. /etc/edb_83.env   注意. /之间有空格
我的实验环境：
[enterprisedb@postgres ~]$ edbplus
User: enterprisedb
Enter Password:
Connected to EnterpriseDB 8.3.0.112 (localhost:5444/edb) AS enterprisedb
EDB*Plus: Release [...]]]></description>
			<content:encoded><![CDATA[<p>Postgres Plus Advanced Server 又名<a href="http://www.enterprisedb.com">EnterpriseDB</a>，由前身PostgreSQL发展而来，一款真正意义上的开源数据库，加之有IBM和RedHat的鼎力相助，发展势头迅猛。由于ORACLE高昂的License费用，在如今的金融危机下，很多厂品都有价格的优势，而ORACLE不但没有且还提高了大约40%价格，无疑对很多的企业来说是雪上加霜，已无力承受，大家纷纷开始计划着将其迁移到其它产品上。EnterpriseDB吸引了众多企业的眼球是因为它与ORACLE有强大的兼容性，现有ORACLE系统上80%的应用不需做任何修改直接可以拿到EnterpriseDB上应用。有人一定会先想到MySQL，其性能勿庸置疑，加上高可用都有，目前国内的众多WEB2.0公司都在用，taobao、google等等。MySQL在处理WEB方面的应用确实不错，但在其它方面不一定是最好的，加上被收购了二次之后，现在在ORACLE手可前途未卜，个人认为MySQL不能算真正的开源数据库，而EnterpriseDB是。我相信在未来几年，会有越来越多的中小企业因为看重EnterpriseDB的众多优越特性而选择它。</p>
<p>EnterpriseDB的安装是我见过的RDBMS产品中安装最简单的，简单介绍for linux x86 platform的安装步骤。</p>
<ol>
<li style="text-align: left;">获得<a href="http://www.enterprisedb.com/products/download.do">安装文件</a></li>
<li style="text-align: left;"># tar -zxvf pgplus-advsvr-linux-x86_830112.tar.gz</li>
<li style="text-align: left;"># setenforce Permissive</li>
<li style="text-align: left;"><span style="color: #ff0000;">Graphical Installer:</span></li>
</ol>
<p># ./pgplus-advsvr-linux-x86_830112.bin</p>
<p><span style="color: #ff0000;">Command Line Installer:</span></p>
<p># ./pgplus-advsvr-linux-x86_830112.bin -console</p>
<p>输入上面的命令之后剩下的工作就在对话中完成。</p>
<p>默认安装路径如下：</p>
<p>/opt/PostgresPlus/8.3R2AS</p>
<p>/opt/PostgresPlus/8.3R2AS/data</p>
<p>/opt/PostgresPlus/8.3R2AS/data/pg_xlog</p>
<p>5.# setenforce Enforcing</p>
<p>6.配置环境变量：安装完成之后，在每个用户的家目录下会有一个edb_83.env的文本文件，与$EDBHOME/dbserver/scripts/edb_83.env文件一样。</p>
<p><span style="color: #ff0000;">To load the environment for a single user:</span></p>
<p>#chown &lt;username&gt; /home/&lt;username&gt;/edb_83.env</p>
<p>#vi /home/&lt;username&gt;/.bash_profile</p>
<p>增加如下一行:</p>
<p>. /home/&lt;username&gt;/edb_83.env 注意. /之间有空格</p>
<p><span style="color: #ff0000;">To load the environment for all users:</span></p>
<p>#vi /etc/profile</p>
<p>增加如下一行:</p>
<p>. /etc/edb_83.env   注意. /之间有空格</p>
<p>我的实验环境：</p>
<p>[enterprisedb@postgres ~]$ edbplus</p>
<p>User: enterprisedb</p>
<p>Enter Password:</p>
<p>Connected to EnterpriseDB 8.3.0.112 (localhost:5444/edb) AS enterprisedb</p>
<p>EDB*Plus: Release 8.3 (Build 19)</p>
<p>Copyright (c) 2008-2009, EnterpriseDB Corporation.  All rights reserved.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
</pre></td><td class="code"><pre class="sql" style="font-family:monospace;">SQL<span style="color: #66cc66;">&gt;</span>select <span style="color: #66cc66;">*</span> <span style="color: #993333; font-weight: bold;">FROM</span> v$version;
&nbsp;
BANNER
&nbsp;
<span style="color: #808080; font-style: italic;">--------------------------------------------------</span>
&nbsp;
Oracle <span style="color: #993333; font-weight: bold;">DATABASE</span> 10g Edition Release 10<span style="color: #66cc66;">.</span>2<span style="color: #66cc66;">.</span>0<span style="color: #66cc66;">.</span>1<span style="color: #66cc66;">.</span>0 <span style="color: #66cc66;">-</span> P
&nbsp;
roduct <span style="color: #993333; font-weight: bold;">IS</span> similar
&nbsp;
PL<span style="color: #66cc66;">/</span>SQL Release 10<span style="color: #66cc66;">.</span>2<span style="color: #66cc66;">.</span>0<span style="color: #66cc66;">.</span>1<span style="color: #66cc66;">.</span>0 <span style="color: #66cc66;">-</span> Production <span style="color: #993333; font-weight: bold;">IS</span> similar
&nbsp;
CORE 10<span style="color: #66cc66;">.</span>2<span style="color: #66cc66;">.</span>0<span style="color: #66cc66;">.</span>1<span style="color: #66cc66;">.</span>0 Production <span style="color: #993333; font-weight: bold;">IS</span> similar
&nbsp;
SQL<span style="color: #66cc66;">&gt;</span></pre></td></tr></table></div>

<p>更详细内容请参考<a href="http://www.enterprisedb.com/learning/documentation.do">官方文档</a>。</p>
<p>-The End-</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ochef.net/2009/12/enterprisedb-overview/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Oracle SQL Developer 2.1 Released</title>
		<link>http://www.ochef.net/2009/12/oracle-sql-developer-2-1-released/</link>
		<comments>http://www.ochef.net/2009/12/oracle-sql-developer-2-1-released/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 02:11:36 +0000</pubDate>
		<dc:creator>ochef</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[PL/SQL]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.ochef.net/?p=718</guid>
		<description><![CDATA[
BTW:
需要PLSQL Developer 8.0.0.1483的朋友请稳步这里下载。
-The End-
]]></description>
			<content:encoded><![CDATA[<p><a title="Oracle SQL Developer 2.1" href="http://www.oracle.com/technology/software/products/sql/index21_RC1.html" target="_blank"><img class="alignnone size-full wp-image-717" title="oracle sql developer2.1" src="http://www.ochef.net/wp-content/uploads/2009/12/oracle-sql-developer2.1.jpg" alt="oracle sql developer2.1" width="599" height="113" /></a></p>
<p>BTW:</p>
<p>需要PLSQL Developer 8.0.0.1483的朋友请稳步<a title="PLSQL Developer 8.0.0.1483" href="http://www.itpub.net/thread-1242115-1-1.html" target="_blank">这里下载</a>。</p>
<p>-The End-</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ochef.net/2009/12/oracle-sql-developer-2-1-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
