Installing Oracle 10g RAC Based on Linux (RHEL 5.5)

Source: Internet
Author: User
Tags vmware server

This article describes how to use vmware server in Red Hat 5.5 to install Oracle 10g RAC (OCFS + ASM). This article assumes that your RHEL5 has been installed, the specific configuration and installation process of Linux are listed below.

I. installation environment

1. host operating system environment overview:

Host Name

Operating System

Processor

Memory

Disk

Nic

Robinson

Windows XP Professional Service Pack 3

Intel Core 2 dual-core 1.6 GHZ

3 GB DDR2 667 MHz

500 GB, SATA 7200 RPM

Intel Pro/1000 MT

 

2. Overview of the customer's operating system environment:

Host Name

Operating System

Processor

Memory

Node1

RHEL 5.5 (32-bit)

1

800 MB

Node2

RHEL 5.5 (32-bit)

1

800 MB

 

3. Overview of the Virtual Disk layout:

Virtual Disks on the host operating system

Virtual Disks on the customer's Operating System

Virtual Device Node

Size (MB)

Description

E: \ VirtualMachine \ Node1 \ localdisk. vmdk

/Dev/sda1
/Dev/sda2
/Dev/sda3

SCSI 0: 0

20

"/" Mount point
Swap space
Oracle binary

E: \ VirtualMachine \ sharedstorage \ ocfs2disk. vmdk

/Dev/sdb

SCSI 1:0

536

OCFS2 Disk

E: \ VirtualMachine \ sharedstorage \ asmdisk1.vmdk

/Dev/sdc

SCSI 1:1

4294

ASM disk Group 1

E: \ VirtualMachine \ sharedstorage \ asmdisk2.vmdk

/Dev/sdd

SCSI

4294

ASM disk Group 1

E: \ VirtualMachine \ sharedstorage \ asmdisk3.vmdk

/Dev/sde

SCSI 1: 3

3221

ASM flash back recovery area

(To configure shared storage, the customer's OS cannot share the same SCSI bus with the shared storage. Specifies that the client OS uses SCSI0 and the shared disk uses scsi1 .)

 

4. RAC database environment overview:

Host Name

ASM instance name

RAC Instance name

Database Name

Database File Storage

OCR and Voting Disk)

Node1

+ ASM1

Ora10g1

Ora10g

ASM

OCFS2

Node2

+ ASM2

Ora10g2

Ora10g

ASM

OCFS2

 

Ii. Virtual Machine Settings

1. Virtual Machine creation is not demonstrated here. It is important to set virtual machine parameters. After the first virtual machine is added, modify the following parameters:

Modify E: \ VirtualMachine \ Node1 \ node1.vmx

Add the following content:

Disk. locking = "FALSE"

DiskLib. dataCacheMaxSize = "0"

DiskLib. datachemaxreadaheadsize = "0"

DiskLib. dataCacheMinReadAheadSize = "0"

DiskLib. dataCachePageSize = "4096"

DiskLib. maxUnsyncedWrites = "0"

 

Scsi1.present = "TRUE"

Scsi1.virtualDev = "lsilogic"

Scsi1.sharedBus = "VIRTUAL"

 

Scsi1: 0. deviceType = "disk"

Scsi1: 1. deviceType = "disk"

Scsi1: 2. deviceType = "disk"

Scsi1: 3. deviceType = "disk"

 

Delete scsi1.sharedBus = "none" in the original file"

If more scsi devices are used in the virtual machine you have installed, add the middle section and change it to the corresponding scsi as the corresponding number.

2. You can use a virtual machine to set the time to synchronize the host and client, or configure ntp. conf to set the time synchronization service. The following uses vmware to configure time synchronization.

Run "vmware-toolbox" to display the VMware Tools Properties window. On the Options tab, select Time synchronization between the virtual machine and the host operating system. You should find that the tools. syncTime = "TRUE" parameter has been appended to the virtual machine configuration file E: \ VirtualMachine \ Node1 \ node1.vmx.

Edit/Boot/grub. confAnd set"Clock = pit nosmp noapic nolapic"Add to read Kernel/Boot/. You have added the option to two kernels. Now you only need to change the specific kernel.

# Boot =/dev/sda

Default = 0

Timeout = 5

Splashimage = (hd0, 0)/boot/grub/splash.xpm.gz

Hiddenmenu

Title Enterprise (2.6.9-42.0.0.0.1.ELsmp)

Root (hd0, 0)

Kernel/boot/vmlinuz-2.6.9-42.0.0.0.1.ELsmp ro

Root = LABEL =/rhgb quiet clock = pit nosmp noapic nolapic

Initrd/boot/initrd-2.6.9-42.0.0.0.1.ELsmp.img

Title Enterprise-up (2.6.9-42.0.0.0.1.EL)

Root (hd0, 0)

Kernel/boot/vmlinuz-2.6.9-42.0.0.0.1.EL ro root = LABEL =/

Rhgb quiet clock = pit nosmp noapic nolapic

Initrd/boot/initrd-2.6.9-42.0.0.0.1.EL.img

RestartNode1.

# Init 6

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • Next Page

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.