Oracle 10g RAC On Linux Using NFS
http://inthirties.com:90/thread-918-3-1.html
This article describes the installation of
Oracle 10g release 2 (10.2.0.1) RAC on Linux (Oracle Enterprise Linux
4.5) using NFS to provide the shared storage.
Introduction
Download Software
Operating System Installation
Oracle Installation Prerequisites
Create Shared Disks
Install the Clusterware Software
Install the Database Software
Create a Database using the DBCA
TNS Configuration
Check the Status of the RAC
Direct and Asynchronous I/O
IntroductionNFS is an abbreviation of Network File System, a
platform independent technology created by Sun Microsystems that allows
shared access to files stored on computers via an interface called the
Virtual File System (VFS) that runs on top of TCP/IP. Computers that
share files are considered NFS servers, while those that access shared
files are considered NFS clients. An individual computer can be either
an NFS server, a NFS client or both.
We can use NFS to provide shared storage for a RAC installation. In a
production environment we would expect the NFS server to be a NAS, but
for testing it can just as easily be another server, or even one of the
RAC nodes itself.
To cut costs, this articles uses one of the RAC nodes as the source
of the shared storage. Obviously, this means if that node goes down the
whole database is lost, so it's not a sensible idea to do this if you
are testing high availability. If you have access to a NAS or a third
server you can easily use that for the shared storage, making the whole
solution much more resilient. Whichever route you take, the fundamentals
of the installation are the same.
This article was inspired by the blog postings of Kevin Closson
.
Download SoftwareDownload the following software.
Oracle
Enterprise Linux
Oracle 10g (10.2.0.1) CRS and DB software
Operating System InstallationThis article uses Oracle Enterprise
Linux 4.5, but it will work equally well on CentOS 4 or Red Hat
相关文档:
安装程序所需要的共享库时需要注意的问题。
起因:安装libsqlite3.so.0 后,使用ldd test 时,却找不到该库文件。
在使用cpptest对原程序运行单元测试时,发现错误,即找不到库文件。
安装完libsqlite3.so.0后,其是存储在usr/local/lib的。所以问题在于,linux下的装载程序 ......
1. 往/lib和/usr/lib里面加东西,是不用修改/etc/ld.so.conf的,但是完了之后要调一下ldconfig,不然这个library会找不到
2. 想往上面两个目录以外加东西的时候,一定要修改/etc/ld.so.conf,然后再调用ldconfig,不然也会找不到
比如安装了一个mysql到/usr/local/mysql,mysql有一大堆library在/usr/local/mysql/lib下面 ......
前几天更新ubuntu的时候,突然失败,仔细一看,是卸载老版本的gzip时候出了问题。错误信息:
install-info: No dir file specified; try --help for more information.
试了多个常用的手动卸载方法都没法搞定,于是求助google,很快找到答案。是GNU版的install-info代替了debian版的install-info造成的问题,覆盖回来就OK ......
一、启动
1.#su - oracle 切换到oracle用户且切换到它的环境
2.$lsnrctl status 查看监听及数据库状态
3.$lsnrctl start &nb ......