Getting More Knowledge (Theory) With Oracle RAC PDF
Getting More Knowledge (Theory) With Oracle RAC PDF
This article is about getting more (theoretical) knowledge with Oracle RAC
I wrote the first part of this article i.e. about Oracle 10g RAC in the year 2010
to do the knowledge transfer for my two good friends who did not do training
with Oracle RAC
In the last year it ended up with some more input from the dear Tim Hall
(oracle-base.com)
I'm indeed very much thankful to him in taking time to correct and add his
some more valuable information in this article !!! His comments are as it is
marked in red color
RAC 1
RDBMS_Instance
RDBMS_Home
ASM_Instance
ASM_Home
CRS_Home
RAC 2
Ethernet
Gigabyte
RDBMS_Instance
RDBMS_Home
ASM_Instance
ASM_Home
CRS_Home
CRS s/w loaded
o/s
Public
Network
RAC 1
rdbms_instance
rdbms_home
asm_instance
grid_Home
RAC 2
Ethernet
Gigabyte
rdbms_instance
rdbms_home
asm_instance
grid_home
CRS s/w loaded
O/S
Public
Network
Storage
SAN (Storage Area Network)
What is the difference between NAS & SAN ?
* NAS provides shared storage capacity at file level
* SAN provides shared storage raw capacity/raw disk capacity at block level
(Tim: So? What does this mean for Oracle? Pretty much nothing! Oracle plays well
with both)
What is SAN ?
* SAN is platform independent and SAN has no IP address assigned for connectivity
* SAN has wwn (World Wide Number) for connectivity
* SAN is usually with FC & Fiber Optic. Fabric Channel (FC) uses Switch based
Topology
* In SAN we have Disk Array Controller, which is very intelligent and has built in
Firmware
* With the SAN Management Software, we create disk arrays and assign RAID level
to it. It is important to understand which RAID level is implemented and best suited
for the requirement. Then a LUN Number (Logical Unit Number) is generated and
attached to RAC Nodes
To Check The LUN On The Unix/Linux Server Hosts:
#] cat /proc/scsi/scsi
The same LUN can be assigned to the other Nodes
Oracle RAC
* RAC uses Cache Fusion Technology
* File System types :
1. Local File System (ext2, ext3, ext4 and NTFS etc.)
2. Shared / Global File System
* Shared / Global File System is CFS (Cluster File System)
* Examples of CFS are Veritas, ASM and Oracle OCFS2 (Tim: NFS)
The main differences between 11g R1 and 11g R2 RAC are
* In 11g R1 RAC, we needed to create 3 homes, that were :
1. ASM home, 2. CRS home and 3. RDBMS home
* In 11g R2 RAC, only 2 homes exists that is Grid home (asm_home + crs_home) and
RDBMS home
IPMI
* This is a software part of 11gR2 RAC
* With IPMI Commands we can communicate with Nodes directly
BMC
* Baseboard Management Card helps us from Node-Fencing problems
* Node-Fencing means RAC Node coming out from Cluster
* Node-Fencing is also called as Node-Affinity
RACCheck
* Oracle provide the RACcheck tool (MOS [ID 1268927.1]) to audit the configuration
of RAC, CRS, ASM, GI etc.
* It supports database versions from 10.2-11.2, making it a useful starting point for
most analysis
* The MOS note includes the download and setup details. If you are using 11.2.0.4 or
later you will have RACcheck by default
ASMCA from 11gR2
* This is a new utility called ASM Configuration Assistant
ASMCMD
* SYSASM is the new Privilege from 11g R1ASM version
* SYSASM is activated when ASM is installed and the Disks and Disk Groups can be
managed from operating system using " asmcmd "
ACFS
* ASM Cluster File Systems
http://docs.oracle.com/cd/E11882_01/server.112/e16102/asmfilesystem.htm
* Oracle ASM Cluster File System (ACFS) is a general purpose cluster file system
implemented as part of ASM
* The only things that should not be stored in ACFS are the Grid Infrastructure home
and any Oracle f iles that can be directly stored in Oracle ASM Disks. (Tim: Recent
versions allow Oracle datafiles to be stored in ACFS, but you probably shouldnt.)
* Oracle ACFS is the preferred file manager for non-database files
* Other supported files are video, audio, text, images, engineering drawings, and
other general-purpose application file data.
* Starting with Oracle ASM 11g R 2, Oracle ACFS supports RMAN backups
(BACKUPSET file type), archive logs (ARCHIVELOG file type), and Data Pump
dumpsets (DUMPSET file type)
Conclusion
* To think RAC is one of the Oracle High Availability Solution is a good think. But, to
think it is the only solution is not a good thinking
* Oracle provides many other HA solutions so exploring all of them is also a primary
thing for us to do
Links
RAC Installations
http://oracle-base.com/articles/rac/articles-rac.php
http://docs.oracle.com/database/121/RACAD/srvctladmin.htm
https://martincarstenbach.wordpress.com/2011/03/17/troubleshooting-gridinfrastructure-startup/