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
Ïà¹ØÎĵµ£º
Ò»
ʹÓÿâ±ØÒªÐÔ
Ìá¸ß´úÂëÖØÓÃÐÔ¡£
¶þ
¿âµÄÖÖÀࣺ
1
¾²Ì¬¿â
Ò»°ãÒÔ
*.a
ÃüÃû¡£
³ÌÐò±àÒëʱ±»¼ÓÔØ£¬´Ëºó£¬Ö»Òª³ÌÐò²»±»ÖØбàÒ룬¾²Ì¬¿â¾ÍûÓÐ×÷ÓÃÁË£¨¿ÉÒÔɾµô£©¡£
ÓÉ
ÓÚ¾²Ì¬¿âµÄ´úÂëÔÚ±àÒë¹ý³ÌÖÐÒѾ±»ÔØÈ ......
1£¬´®¿Ú²Ù×÷ÐèÒªµÄÍ·Îļþ
¡¡¡¡#include¡¡¡¡ <stdio.h>¡¡¡¡¡¡/* ±ê×¼ÊäÈëÊä³ö¶¨Òå */
¡¡¡¡#include¡¡¡¡ <stdlib.h>¡¡¡¡ /* ±ê×¼º¯Êý¿â¶¨Òå */
¡¡¡¡#include¡¡¡¡ <unistd.h>¡¡¡¡ /* Unix ±ê×¼º¯Êý¶¨Òå */
¡¡¡¡#include¡¡¡¡ <sys/types.h>¡¡
¡¡¡¡#include¡¡¡¡ <sys/stat.h>¡¡
¡¡¡¡#incl ......
http://inthirties.com:90/thread-919-1-1.html
ÅäÖÃNTP¼ÜÉè±¾µØʱ¼ä·þÎñÆ÷
NTPÊÇÓÃÀ´Ê¹ÏµÍ³ºÍÒ»¸ö¾«È·µÄʱ¼äÔ´±£³Öʱ¼äͬ²½µÄÐÒé.ÔÚLinuxÏ£¬ÎÒÃÇ¿ÉÒÔͨ¹ý×Ô´øµÄNTP(Network Time
Protocol)ÐÒéͨ¹ýÍøÂçʹ×Ô¼ºµÄϵͳ±£³Ö¾«È·µÄʱ¼ä.
°²×°£º
# yum install ntp
»òÕß´Ó°²×°Å̲éÕÒ ntp µÄrpm °ü°²×°
µ±ÄãÖ»ÓÐһ̨¿ÉÁ ......
ÅäÖÃÎļþÒ»ÀÀ±í ÎļþλÖü°Ãû³Æ,×÷ÓÃ
¡¡¡¡/etc/rc.d/rc.sysinit
¡¡¡¡ÏµÍ³Æô¶¯Ê±µÄ¹«Ó÷þÎñÅäÖÃ
¡¡¡¡/etc/rc.d/rc.local
¡¡¡¡ÏµÍ³Æô¶¯Ê±µÄ±¾µØ·þÎñÅäÖÃ
¡¡¡¡/etc/bashrc¡¢/etc/profile
¡¡¡¡bash shellµÄ¹«ÓÃÅäÖÃ
¡¡¡¡/home/username/.bashrc
¡¡¡¡¸÷Óû§Ë½ÈËbash shellÅäÖÃ
¡¡¡¡/etc/securetty
¡¡¡¡Öն˰²È«ÉèÖÃ
......