<?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>记忆在这里化作永恒 &#187; Oracle RDBMS</title>
	<atom:link href="http://www.onlyring.net/category/oracle-rdbms/feed" rel="self" type="application/rss+xml" />
	<link>http://www.onlyring.net</link>
	<description>记录工作，记录生活，记录一切值得留下的东西...</description>
	<lastBuildDate>Tue, 10 May 2011 04:21:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>man for ipmitool</title>
		<link>http://www.onlyring.net/2011/05/06/linux/man-for-ipmitool.html</link>
		<comments>http://www.onlyring.net/2011/05/06/linux/man-for-ipmitool.html#comments</comments>
		<pubDate>Fri, 06 May 2011 12:27:09 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Exadata]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.onlyring.net/?p=282</guid>
		<description><![CDATA[<p>I did not read this,but i&#8217;d like to put it here in case i need it.</p>
<p>Help for ipmitool:</p>

?View Code SHELLipmitool -h
ipmitool version 1.8.10.3
&#160;
usage: ipmitool [options...] &#60;command&#62;
&#160;
       -h             This help
       -V  [...]]]></description>
		<wfw:commentRss>http://www.onlyring.net/2011/05/06/linux/man-for-ipmitool.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MegaCli Help Page</title>
		<link>http://www.onlyring.net/2011/05/03/linux/megacli-help-page.html</link>
		<comments>http://www.onlyring.net/2011/05/03/linux/megacli-help-page.html#comments</comments>
		<pubDate>Tue, 03 May 2011 06:20:16 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Exadata]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oracle RDBMS]]></category>
		<category><![CDATA[Storage]]></category>

		<guid isPermaLink="false">http://www.onlyring.net/?p=274</guid>
		<description><![CDATA[<p>Reference for LSI MegaRAID command interface.</p>

?View Code SHELLMegaCli64 -h
&#160;
      MegaCLI SAS RAID Management Tool  Ver 8.00.23 May 17, 2010
&#160;
    (c)Copyright 2010, LSI Corporation, All Rights Reserved.
&#160;
&#160;
NOTE: The following options may be given at the end of any command below:
&#160;
    [-Silent] [-AppLogFile filename] [-NoLog] [...]]]></description>
		<wfw:commentRss>http://www.onlyring.net/2011/05/03/linux/megacli-help-page.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exadata &#8211; Linux Ethernet bonding</title>
		<link>http://www.onlyring.net/2011/02/27/linux/exadata-linux-ethernet-bonding.html</link>
		<comments>http://www.onlyring.net/2011/02/27/linux/exadata-linux-ethernet-bonding.html#comments</comments>
		<pubDate>Sun, 27 Feb 2011 12:32:08 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Exadata]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network]]></category>

		<guid isPermaLink="false">http://www.onlyring.net/?p=167</guid>
		<description><![CDATA[<p>为了提高Exadata网络的高可用性，Oracle Exadata Machine 的Privite InfiniBand Network 和Client Access Network(默认，你也可以采用非bonding方式)都采用了Ethernet bonding 方式。</p>
<p>什么是Ethernet bonding?
Ethernet bonding顾名思义，就是把多个网卡绑定在一个虚拟的逻辑设备上(只有逻辑设备会被分配IP)上以实现网络的高可用性和负载均衡的功能。我们这里介绍Linux下的Ethernet bonding。
Linux Ethernet bonding是被集成内核里面的，Linux bonding 系统提供七种不同的bonding 配置模式：

1.balance-rr or 0
Round-Robin策略是:将数据包依次传给各个slave设备一直到最后一个，这种方式同时具有负载均衡(load balancing )和容错(fault tolerance)的功能。</p>
<p>2.active-backup or 1-(Exadata使用)
Active-Backup的策略是：只有一个slave设别是active的，并且仅有当active的设备fail以后，另外的某个设备才会被设置为active。并且对外只有一个网卡的MAC地址是可见的。</p>
<p>下面几个没有研究：
3.balance-xor or 2
4. broadcast or 3
5.802.3ad or 4
6.balance-tlb or 5
7.balance-alb or 6</p>
<p>如何配置bonding？
当你购买Exadata Database Machine时，Oracle会给你一个xls表格填写一些配置信息，如服务器名字，数据库实例名，网卡是否帮定，IP地址等，然后Oracle根据客户需要对及其进行与配置，以及所有软件的安装。所以当你拿到Exadata Database Machine的时候，你不需要做任何软件的安装和配置，只需要插上电源就可以打开机器使用了，让然，我们这里讲的如何配置Network bonding Oracle 也都帮你配置好了。
但是为了更好的了解Exadata Database Machine的网络配置，我们有必要了解一下如何配置Network bonding的。</p>
<p>在Linux 发布版中，通常支持两种网络初始化脚本:initscripts 或 sysconfig，新版本都已经支持bonding 技术了。不同的Linux使用不同的初始化脚本，如OEL使用iniscripts,而SUSE则使用sysconfig.如果你不知道使用的是那种方法，你可以使用下面的命令查询：</p>

?View Code SQL&#91;&#93;oracle@servername $ rpm -qf /sbin/ifup
initscripts-8.45.30-2.0.2.el5

<p>以mode [...]]]></description>
		<wfw:commentRss>http://www.onlyring.net/2011/02/27/linux/exadata-linux-ethernet-bonding.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Network Config</title>
		<link>http://www.onlyring.net/2011/02/24/oracle-rdbms/exadata/linux-network-config.html</link>
		<comments>http://www.onlyring.net/2011/02/24/oracle-rdbms/exadata/linux-network-config.html#comments</comments>
		<pubDate>Wed, 23 Feb 2011 21:39:35 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Exadata]]></category>
		<category><![CDATA[Network]]></category>

		<guid isPermaLink="false">http://www.onlyring.net/?p=181</guid>
		<description><![CDATA[<p>Linux 网络配置文件是用来保存Linux网络设备的配置信息的一些文件，这些文件有的在系统初始化的时候会被Init进程读取来初始化网络设备，有的文件在系统运行过程中会被使用到。

下表列出了只要的网络配置相关的文件：</p>



File
Description


/etc/resolve.conf
List DNS servers for internet domain name resolution.
Manual page for: /etc/resolv.conf


/etc/hosts
Lists hosts to be resolved locally (not by DNS).
Manual page for: /etc/hosts


/etc/nsswitch.conf
List order of host name search. Typically look at local files, then NIS server, then DNS server.
Manual page for: /etc/nsswitch.conf


Red Hat/Fedora/CentOS: /etc/sysconfig/network
Specify network configuration. eg. Static IP, DHCP, NIS, etc.


Red Hat/Fedora/CentOS: /etc/sysconfig/network-scripts/ifcfg-device
Specify TCP [...]]]></description>
		<wfw:commentRss>http://www.onlyring.net/2011/02/24/oracle-rdbms/exadata/linux-network-config.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Quick Introduction of Linux Loadable Kernel Module</title>
		<link>http://www.onlyring.net/2011/02/22/linux/a-quick-introduction-of-linux-loadable-kernel-module.html</link>
		<comments>http://www.onlyring.net/2011/02/22/linux/a-quick-introduction-of-linux-loadable-kernel-module.html#comments</comments>
		<pubDate>Mon, 21 Feb 2011 18:44:59 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Exadata]]></category>
		<category><![CDATA[Kernel]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.onlyring.net/?p=193</guid>
		<description><![CDATA[<p>1.什么是 Linux Module
如果你想给linux系统添加内核代码你会怎么做呢？最基本的方法是你可以在系统源代码树添加你写的代码，然后重新编译整个内核。
还有一种方法，即使在系统运行的过程中，也可以添加内核代码。通过这种方法添加的内核代码被称为可装载内核模块（loadable kernel module,LKM），LKM主要被用于:
1）设备驱动，
2）文件系统驱动，
3）系统调用
所以LKM是属于Linux kernel，是Base Kernel 的扩展,LKMs始于Linux 1.2（1995）。
</p>
<p>2. LKMs 的作用</p>
<p>LKMs主要用于以下六种情况:
1.设备驱动：每一个硬件设备都需要一个对应的驱动程序来使得硬件设备和系统内核交互。
2.文件系统驱动：文件在磁盘后者网络文件系统上的的存储，排序都需要文件系统驱动支持，如:EXT2,NFS等都对应着不同的文件驱动。
3.系统调用：Base Kernel会提供各种系统调用接口，例如，你可以使用系统调用来创建一个文件，创建一个进程，甚至关闭系统。同样，你也可以通过LKMs来定义自己的系统调用。
4.网络驱动：一个网络驱动用来实现一种网络协议，如TCP/IP,UDP,如果你想使用IPX,你就要使用IPX网络驱动。
5.TTY line disciplines
6.Executable interpreters
3.LKM 小工具</p>



Command
Description


insmod
Insert an LKM into the kernel.


rmmod
Remove an LKM from the kernel.


depmod
Determine interdependencies between LKMs.


kerneld
Kerneld daemon program


ksyms
Display symbols that are exported by the kernel for use by new LKMs.


lsmod
List currently loaded LKMs.(cat /proc/modules has the same functionality)


modinfo
Display contents of .modinfo section [...]]]></description>
		<wfw:commentRss>http://www.onlyring.net/2011/02/22/linux/a-quick-introduction-of-linux-loadable-kernel-module.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

