<?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>My Crusade &#187; RAC</title>
	<atom:link href="http://www.jarodwang.cn/tag/rac/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jarodwang.cn</link>
	<description>For the future we believe in.</description>
	<lastBuildDate>Tue, 07 Sep 2010 05:42:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>OCFS2 Installation</title>
		<link>http://www.jarodwang.cn/2008/09/07/ocfs2-installation/</link>
		<comments>http://www.jarodwang.cn/2008/09/07/ocfs2-installation/#comments</comments>
		<pubDate>Sun, 07 Sep 2008 14:16:39 +0000</pubDate>
		<dc:creator>jarodwang</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[RAC]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[OCFS2]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.jarodwang.cn/?p=83</guid>
		<description><![CDATA[OCFS2 (Oracle Cluster File System 2)是由Oracle开发的通用集群文件系统，是一个以GPLv2许可发布的开放源代码项目。由于OCFS2是Cluster-aware的，所以很自然的可以作为RAC的存储的选择之一（其他的选择还有裸设备和ASM）。但是必须指出的是，Oracle home和datafile（还有redo log，archive log，control file，以及Clusterware的OCR和Voting Disks）不能放在同一个OCFS2 volume上。 最近尝试了一下将Oracle Clusterware 11gR1的OCR和VD放在OCFS2上，这里记录一下OCFS2的安装过程。 首先是确定所使用的Linux的发行版本（distribution），内核版本（version）和风格（flavor），处理器架构： # cat /etc/redhat-release Enterprise Linux Enterprise Linux AS release 4 (October Update 5) # uname -r 2.6.9-67.0.4.0.2.ELsmp # uname -p i686 可以看到这里我使用的是Oracle Enterprise Linux 4u5（可以认为是等同于Red Hat Enterprise Linux 4u5），内核版本是2.6.9-67.0.4.0.2，内核风格是smp，处理器架构是i686（也就是x86）。 接下来按照上面的信息去下载相应的OCFS2和OCFS2 Tools（包括ocfs2-tools和ocfs2console）的RPM包。 # wget -c http://oss.oracle.com/projects/ocfs2/dist/files/RedHat/RHEL4/i386/1.2.9-1/2.6.9-67.0.4.EL/ocfs2-2.6.9-67.0.4.ELsmp-1.2.9-1.el4.i686.rpm # wget -c http://oss.oracle.com/projects/ocfs2-tools/dist/files/RedHat/RHEL4/i386/1.2.7-1/ocfs2-tools-1.2.7-1.el4.i386.rpm [...]]]></description>
			<content:encoded><![CDATA[<p><a title="OCFS2" href="http://oss.oracle.com/projects/ocfs2/" target="_blank">OCFS2</a> (Oracle Cluster File System 2)是由Oracle开发的通用集群文件系统，是一个以GPLv2许可发布的开放源代码项目。由于OCFS2是Cluster-aware的，所以很自然的可以作为RAC的存储的选择之一（其他的选择还有裸设备和ASM）。但是必须指出的是，Oracle home和datafile（还有redo log，archive log，control file，以及Clusterware的OCR和Voting Disks）<strong>不能</strong>放在同一个OCFS2 volume上。</p>
<p>最近尝试了一下将<a title="Oracle Clusterware" href="http://www.oracle.com/technology/products/database/clusterware/index.html" target="_blank">Oracle Clusterware</a> 11gR1的OCR和VD放在OCFS2上，这里记录一下OCFS2的安装过程。</p>
<p>首先是确定所使用的Linux的发行版本（distribution），内核版本（version）和风格（flavor），处理器架构：</p>
<p># cat /etc/redhat-release<br />
Enterprise Linux Enterprise Linux AS release 4 (October Update 5)</p>
<p># uname -r<br />
2.6.9-67.0.4.0.2.ELsmp</p>
<p># uname -p<br />
i686</p>
<p>可以看到这里我使用的是<a title="Oracle Enterprise Linux" href="http://www.oracle.com/technologies/linux/index.html" target="_blank">Oracle Enterprise Linux</a> 4u5（可以认为是等同于Red Hat Enterprise Linux 4u5），内核版本是2.6.9-67.0.4.0.2，内核风格是smp，处理器架构是i686（也就是x86）。</p>
<p>接下来按照上面的信息去下载相应的OCFS2和<a title="OCFS2 Tools" href="http://oss.oracle.com/projects/ocfs2-tools/" target="_blank">OCFS2 Tools</a>（包括ocfs2-tools和ocfs2console）的RPM包。</p>
<pre># wget -c http://oss.oracle.com/projects/ocfs2/dist/files/RedHat/RHEL4/i386/1.2.9-1/2.6.9-67.0.4.EL/ocfs2-2.6.9-67.0.4.ELsmp-1.2.9-1.el4.i686.rpm
# wget -c http://oss.oracle.com/projects/ocfs2-tools/dist/files/RedHat/RHEL4/i386/1.2.7-1/ocfs2-tools-1.2.7-1.el4.i386.rpm
# wget -c http://oss.oracle.com/projects/ocfs2-tools/dist/files/RedHat/RHEL4/i386/1.2.7-1/ocfs2console-1.2.7-1.el4.i386.rpm</pre>
<p>删除掉现有的老版本的OCFS2相关RPM包：</p>
<pre># rpm -qa | grep ocfs | xargs rpm -e</pre>
<p>依次安装刚刚下载的3个RPM：</p>
<pre># rpm -ivh ocfs2-tools-1.2.7-1.el4.i386.rpm
# rpm -ivh ocfs2console-1.2.7-1.el4.i386.rpm
# rpm -ivh --nodeps ocfs2-2.6.9-67.0.4.ELsmp-1.2.9-1.el4.i686.rpm</pre>
<p>注意安装OCFS2 RPM时需要加上“&#8211;nodeps”选项。</p>
<p>这里还有一个问题，上面安装的OCFS2 RPM的内核版本（2.6.9-67.0.4）与我所使用的Linux的内核版本（2.6.9-67.0.4.0.2）并不完全一致，所以还需要进行下面的额外工作：</p>
<pre># cp -r /lib/modules/2.6.9-67.0.4.ELsmp/kernel/fs/* /lib/modules/2.6.9-67.0.4.0.2.ELsmp/kernel/fs</pre>
<p>至此，OCFS2的安装已经完成。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jarodwang.cn/2008/09/07/ocfs2-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mysterious storage</title>
		<link>http://www.jarodwang.cn/2008/06/28/mysterious-storage/</link>
		<comments>http://www.jarodwang.cn/2008/06/28/mysterious-storage/#comments</comments>
		<pubDate>Sat, 28 Jun 2008 05:40:17 +0000</pubDate>
		<dc:creator>jarodwang</dc:creator>
				<category><![CDATA[Storage]]></category>
		<category><![CDATA[asm]]></category>
		<category><![CDATA[iSCSI]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[RAC]]></category>
		<category><![CDATA[SFRAC]]></category>

		<guid isPermaLink="false">http://www.jarodwang.cn/?p=70</guid>
		<description><![CDATA[Veritas Storage Foundation for Oracle RAC OCFS2 Open-iSCSI A discussion on OCFS, OCFS2, ASM, RAW]]></description>
			<content:encoded><![CDATA[<p><a title="Veritas Storage Foundation for Oracle RAC" href="http://www.symantec.com/business/products/whitepapers.jsp?pcid=pcat_storage&amp;pvid=145_1" target="_blank">Veritas Storage Foundation for Oracle RAC</a></p>
<p><a title="OCFS2" href="http://oss.oracle.com/projects/ocfs2/" target="_blank">OCFS2</a></p>
<p><a title="Open-iSCSI" href="http://www.open-iscsi.org/" target="_blank">Open-iSCSI</a></p>
<p><a title="A discussion on OCFS, OCFS2, ASM, RAW" href="http://linux.chinaunix.net/bbs/viewthread.php?tid=821240" target="_blank">A discussion on OCFS, OCFS2, ASM, RAW</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jarodwang.cn/2008/06/28/mysterious-storage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DO BACKUP your OCR before making a change to RAC</title>
		<link>http://www.jarodwang.cn/2008/03/05/do-backup-your-ocr-before-making-a-change-to-rac/</link>
		<comments>http://www.jarodwang.cn/2008/03/05/do-backup-your-ocr-before-making-a-change-to-rac/#comments</comments>
		<pubDate>Wed, 05 Mar 2008 03:33:12 +0000</pubDate>
		<dc:creator>jarodwang</dc:creator>
				<category><![CDATA[RAC]]></category>

		<guid isPermaLink="false">http://www.jarodwang.cn/2008/03/05/do-backup-your-ocr-before-making-a-change-to-rac/</guid>
		<description><![CDATA[Learnt this lesson during recent testing. In 10gR2, we can use: ocrconfig -export &#60;filename&#62; [-s online] to export OCR contents to a file. And use: ocrconfig -import &#60;filename&#62; to import OCR contents from a file.]]></description>
			<content:encoded><![CDATA[<p>Learnt this lesson during recent testing.</p>
<p>In 10gR2, we can use:</p>
<p>ocrconfig -export &lt;filename&gt; [-s online]</p>
<p>to export OCR contents to a file.</p>
<p>And use:</p>
<p>ocrconfig -import &lt;filename&gt;</p>
<p>to import OCR contents from a file.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jarodwang.cn/2008/03/05/do-backup-your-ocr-before-making-a-change-to-rac/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>9iR2 Real Application Clusters Glossary</title>
		<link>http://www.jarodwang.cn/2008/02/26/9ir2-real-application-clusters-glossary/</link>
		<comments>http://www.jarodwang.cn/2008/02/26/9ir2-real-application-clusters-glossary/#comments</comments>
		<pubDate>Tue, 26 Feb 2008 09:42:48 +0000</pubDate>
		<dc:creator>jarodwang</dc:creator>
				<category><![CDATA[RAC]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.jarodwang.cn/2008/02/26/9ir2-real-application-clusters-glossary/</guid>
		<description><![CDATA[Cache Coherency The synchronization of data in multiple caches so that reading a memory location through any cache will return the most recent data written to that location through any other cache. Sometimes called cache consistency. Cache Fusion A diskless cache coherency mechanism in Real Application Clusters that provides copies of blocks directly from a [...]]]></description>
			<content:encoded><![CDATA[<p>Cache Coherency</p>
<p>The synchronization of data in multiple caches so that reading a memory location through any cache will return the most recent data written to that location through any other cache. Sometimes called cache consistency.</p>
<p>Cache Fusion</p>
<p>A diskless cache coherency mechanism in Real Application Clusters that provides copies of blocks directly from a holding instance&#8217;s memory cache to a requesting instance&#8217;s memory cache.</p>
<p>Cluster Manager (CM)</p>
<p>An operating system-dependent component that discovers and tracks the membership state of each node by providing a common view of cluster membership across the cluster. The CM also monitors process health, specifically the health of the database instance.</p>
<p>Enqueue</p>
<p>Shared memory structures that serialize access to database resources. Enqueues are local to one instance if Real Application Clusters is not enabled. When you enable Real Application Clusters, enqueues can be local or global to a database.</p>
<p>Failover</p>
<p>The means of failure recognition and recovery used by Real Application Clusters.</p>
<p>Global Cache Service (GCS)</p>
<p>The process that implements Cache Fusion. It maintains the block mode for blocks in the global role. It is responsible for block transfers between instances. The Global Cache Service employs various background processes such as the Global Cache Service Processes (LMSn) and Global Enqueue Service Daemon (LMD).</p>
<p>Global Enqueue Service (GES)</p>
<p>This service coordinates local and global enqueues.</p>
<p>Global Resource Directory (GRD)</p>
<p>The data structures associated with global resources. It is distributed across all instances in a cluster.</p>
<p>Latch</p>
<p>A simple, low-level serialization mechanism that protect in-memory data structures in the System Global Area (SGA).  Latches do not protect datafiles, are automatic, and are held for a very short time in exclusive mode. Because latches are synchronized within a node, they do not facilitate internode synchronization.</p>
<p>Row Cache</p>
<p>The memory that stores recently accessed data for an individual record (or row). Row caches are used so that subsequent requests for the data held in the same row can be processed more quickly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jarodwang.cn/2008/02/26/9ir2-real-application-clusters-glossary/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
