Linux under oracle11g RAC Construction (i)
Document description |
Author |
Blue |
Project |
Visualbox Analog RAC Build (Dual node) (redhat5+oracle11g) |
Environment |
RedHat Enterprise5.5, Oracle 11g 11.2.0 |
Date |
April 12, 2014 |
Version |
v1.1 |
Description |
Prepare two virtual machines, Node1 (node 1), Node2 (Node 2), all installed Linux operating systems Another: Because it is finished after the completion of the document, where node 1, node 2 of the naming details will be not uniform, please note when you see. Due to the time relationship, will gradually improve. |
RAC Basics
Cluster |
Through interconnected nodes, and only a single server is available externally |
Features of Cluster |
HA (high Available) fault tolerance (Failover), load Balancing (Balance) |
HA Environment |
Two-Machine hot standby (one node active, one node standby) Dual-machine Interoperability (two nodes are active) |
Rac |
Real Application Cluster |
RAC Features |
A database that can be accessed by multiple instance, each node having a instance |
Crs |
Cluster Ready Service |
GRID |
When the grid architecture is installed, Oracle is as easy as electricity, and the node is Plug and Play |
Asm |
Automatic Storage Manager 1. The main purpose of stripe strip is to disperse I/O and provide the performance of reading and writing. 2, Mirror, mirror |
RAW |
Bare device, the advantage is the access is faster, the disadvantage is unstable, and in the operating system is not easy to manage, Oracle 11g after the removal of the bare device support, 11g began using Oracle's ASM automatic storage Management |
More important two disks: 1, the OCR DISK:OCR is used to store the configuration information of the resources on the RAC, the application service running on the RAC is a kind of resource, the distribution of these resources on the RAC will be stored on the OCR disk, 10g was previously stored on raw bare device; 2, VOTE Disk: Used to store the state of each node and the role of arbitration, also known as the arbitral disk. |
Virtualbox settings
Create three directories to hold the hard drive
To prepare the operation:
Create three directories to hold disk files: Node1, Node2, Sharedisk
Description
Node1 Storage node 1 disk File
Node2 Storage node 2 disk File
Sharedisk storing shared disk files
Import Node1, Node2 Mirror
Import the experiment into vbox with two mirrors.
"Supplemental": VBox Modify the location of the backup
1. Import Virtual Computer
2. Modify Import Wizard related configuration
Modify the following content:
Cases:
Name: Metro1
Memory: 1580MB
Virtual hard disk: H:\\RAC\RAC1\METRO1-DISK1.VMDK
Tick Reassign MAC Address
3. Import the virtual machine interface as follows:
Configure Storage Node1 Add 30G (local) dynamic disks
Node1 Adding a 20G (shared) fixed disk
1. Create a new disk
2. Select the VDI disk format
3. Select a fixed size (be sure to note)
4, set the virtual disk location information, size information
The size here is set to 20G, not too large, because a fixed size disk is too large to create time will be too long.
Finally click OK.
Node2 adding 30G (local) dynamic disks
Add 30G (local) disks to the same node1.
to modify the shared disk mode under Node1
Setting up a connection shared disk under Node2
Configuring the NIC for Node1 setting bridged adapter NIC 1
Set Host-onlyetherent adapter nic for Node1 2
Set bridged adapter NIC for Node2 1
Setup Bridgedadapter nic with Node1 1
Set Host-only etherent adapter nic for Node2 2set Host-onle Ethernet adapter nic with Node1 2
The preparation for the virtual machine was completed ********************************
Follow up on the next update upload **************************************
Statement:
Original works, from the "Blue Blog" blog, allow the reprint, please be sure to indicate the source (Http://blog.csdn.net/huangyanlong) when reproduced. The author is entitled to be held liable for copyright related matters.