RAC Oracle ( Real Application Cluster ) Linux x86_64

.........Updation in Progress

RAC Configuration could be divided in following steps.

1) Network Configuration

2) OS Configuration

3) Oracle Userid Creation

4) User Equivalence

5) Disk Configuration.

6) OCFS2 Configuration

7) Clusterware Installation

8) ASM (Optional)

Oracle RAC Cache Fusion Technolog Explained in Detail

Network Configuration

/etc/hosts file for each node

# Public network for e.g. eth0 interfaces (public network) racnode1.test.com rac1 # RAC node 1 racnode2.test.com rac2 # RAC node 2

#private network for e.g. eth1 interfaces (Interconnect) rac1prv.test.com rac1prv # RAC node 1 rac2prv.test.com rac2prv # RAC node 2

# Public virtual IP address rac1vip.test.com rac1vip # RAC node 1 rac2vip.test.com rac2vip # RAC node 2

OCFS2 Configuration

Oracle Clusterware : System services for cluster environments

Clusterware maintains two files : the Oracle Cluster Registry (OCR) and the Voting Disk.

The OCR and the Voting Disk which resite on shared disks.

Lets go through the creation of OCR and Voting Disks using cluster filesystem (OCFS2)

OCFS2 we use three component of it

1) kernel module,

2) support tools,

3) console

Set the OCFS2 service running on both the nodes.

Format the partition meant for ocfs2 with ( from one of the nodes )

mkfs.ocfs2 -b 4K -C 32K -N 4 -L /ocfs2partition /dev/sdd1

Mount the OCFS2 Filesystem on all the nodes

mount -t ocfs2 -L /ocfs2partition -o datavolume /u03 ( Make sure the port and ip

as mentioned in /etc/ocfs2/cluster.conf are able to connect to each other )

Specify to start on boot

#/etc/init.d/oc2b configure

Check the same after rebooting

#/etc/init.d/oc2b configure

Cluster should say active .

Also enter the mount point in /etc/fstab to mount the ocfs2 partition on reboot (from all the nodes)

/dev/sdd1 /ocfs2partition ocfs2 _netdev,datavolume,nointr 0 0