Bạn chưa có tài khoản? Hãy bấm vào đây để đăng ký làm thành viên của chúng tôi!
VNOUG.ORG

VNOUG.ORG

Vietnam Oracle Users Group - Diễn đàn của Cộng đồng Oracle Việt Nam
Hôm nay, Thứ 5 Tháng 9 09, 2010 10:11 Sáng
Thời gian được tính theo giờ UTC + 7 Giờ

Đăng nhập

Tên thành viên: Mật khẩu: Ẩn trạng thái trực tuyến của tôi trong phiên đăng nhập này


Subscribe




Tạo chủ đề mới Gửi bài trả lời [ 16 bài viết ] [ 0 tập tin đính kèm ] Chuyển đến trang 1, 2, 3, 4  Trang kế tiếp
Người gửi Nội dung (Xem: 5286 | Trả lời: 15)
Tiêu đề bài viết: Oracle RAC
Gửi bàiĐã gửi: Thứ 3 Tháng 7 01, 2008 11:58 Sáng
Ngoại tuyến
Thiếu tá - Tiểu đoàn phó
Thiếu tá - Tiểu đoàn phó

Tuổi: 34
Sinh nhật: 24-05-1976
Ngày tham gia: Thứ 4 Tháng 12 26, 2007 2:04 Chiều/Tối
Bài viết: 100
Quốc gia: Vietnam (vn)

Người tạo chủ đề
Tôi thấy có tài liệu hay về cấu hình RAC trên máy ảo. Anh em không có điều kiện có thể cài đạt trên máy trạm cấu hình cao của mình.
Hoàng


Đầu trang
Xem thông tin cá nhân
Tiêu đề bài viết: Re: Oracle RAC
Gửi bàiĐã gửi: Thứ 3 Tháng 7 01, 2008 12:00 Chiều/Tối
Ngoại tuyến
Thiếu tá - Tiểu đoàn phó
Thiếu tá - Tiểu đoàn phó

Tuổi: 34
Sinh nhật: 24-05-1976
Ngày tham gia: Thứ 4 Tháng 12 26, 2007 2:04 Chiều/Tối
Bài viết: 100
Quốc gia: Vietnam (vn)

Người tạo chủ đề
Install Oracle RAC 10g on Oracle Enterprise Linux Using VMware Server





DOWNLOAD


VMware Server 1.0.1
Oracle Enterprise Linux 4, Kernel 2.6.9-42.0.0.0.1.ELsmp
Oracle Database 10g Release 2 for Linux x86 &
Oracle Clusterware



TAGS


vmware, linux, opensource, All


For educational/evaluation purposes only; neither Oracle nor any other vendor will support this
configuration

Introduced at Oracle OpenWorld 2006 in October, Oracle Unbreakable Linux aims to offer
enterprise-class support services for Red Hat Linux, quicker bug fixes, and a significantly lower support prices. And Oracle's own Enterprise Linux, which is based on Red Hat Advanced Server Release 4
(Update 4) with additional bug fixes, is freely available for download.

As a side effect, it is now possible to evaluate Oracle Real Application Clusters (RAC) 10g running on Red Hat Advanced Server on home computers at no cost whatsoever, using VMware Server—a free virtualization environment from VMware.

VMware Server allows you to run multiple operating systems on a single physical machine. Each virtual machine is a self-contained operating environment with its own set of virtual components such as disk, processor, and memory. Virtualization technology is beneficial in a computing environment where
software can be developed and tested in isolation on the same physical host machine to prevent data or software corruption. VMware software is widely used in server consolidation to reduce total cost of
ownership and to accelerate application development and testing cycles.

In this guide, you will learn how to install and configure two nodes on running Oracle RAC 10g Release
2 on Enterprise Linux and VMware Server. Note that this guide is intended for educational/evaluation purposes only; neither Oracle nor any other vendor will support this configuration.

The guide is structured into the following sections:

1. Hardware Requirements and Overview
2. Configure the First Virtual Machine
3. Configure Enterprise Linux on the First Virtual Machine
4. Create and Configure the Second Virtual Machine
5. Configure Oracle Automatic Storage Management (ASM)
6. Configure Oracle Cluster File System (OCFS2)
7.Install Oracle Clusterware
8.Install Oracle Database 10g Release 2
9.Explore the RAC Database Environment
10.Test Transparent Application Failover (TAF)
11.Database Backup and Recovery
12.Explore Oracle Enterprise Manager (OEM) Database Console
13.Common Issues


Đầu trang
Xem thông tin cá nhân
Tiêu đề bài viết: Re: Oracle RAC
Gửi bàiĐã gửi: Thứ 3 Tháng 7 01, 2008 12:03 Chiều/Tối
Ngoại tuyến
Thiếu tá - Tiểu đoàn phó
Thiếu tá - Tiểu đoàn phó

Tuổi: 34
Sinh nhật: 24-05-1976
Ngày tham gia: Thứ 4 Tháng 12 26, 2007 2:04 Chiều/Tối
Bài viết: 100
Quốc gia: Vietnam (vn)

Người tạo chủ đề
1. Hardware Requirements and Overview


In this guide, you will install a 32-bit guest Linux operating system. A 64-bit guest operating system is supported only on the following 64-bit processors running on the host machines:

AMD Athlon 64, revision D or later
AMD Opteron, revision E or later
AMD Turion 64, revision E or later
AMD Sempron, 64-bit-capable revision D or later Intel EM64T VT-capable processors

If you decide to install a 64-bit guest operating system, verify that your processor is listed above. You
would also have to verify that Virtualization Technology (VT) is enabled in your BIOS. A few mainstream manufacturers disable the field by default. Additional information on processor compatibility is available here.
To verify if your processor is supported, downloadthe processor check compatibility tool from
VMware.

Allocate a minimum of 700MB of memory to each virtual machine; reserve a minimum of 30GB of disk space for all the virtual machines.

An overview of the host operating system environment:

HostName OS Processor Memory Disk NetworkCard
pacu Windows XP Professional Service Pack 2 (32-bit) Intel
Pentium 4
550,
3.4MHz, HT 2 GB DDR2
SDRAM,
533 MHz 250 GB, Ultra ATA/133,
7200 RPM Intel
Pro/1000
MT

An overview of guest operating system environment:

Host Name OS Processor Memory
rac1 Oracle Enterprise Linux 4 (32-bit) 1 700 MB
rac2 Oracle Enterprise Linux 4 (32-bit) 1 700 MB


An overview of the virtual disk layout:


Virtual Disk on Host Virtual Disk on Guest Virtual Device Node Size(MB) Description

d:\vm\rac\localdisk.vmdk /dev/sda1
/dev/sda2
/dev/sda3 SCSI
0:0 20 “/” mountpoint Swap space Oracle binaries
d:\vm\rac\sharedstorage\ocfs2disk.vmdk /dev/sdb SCSI
1:0 512 OCFS2
disk
d:\vm\rac\sharedstorage\asmdisk1.vmdk /dev/sdc SCSI
1:1 3072 ASM disk group 1
d:\vm\rac\sharedstorage\asmdisk2.vmdk /dev/sdd SCSI
1:2 3072 ASM disk group 1
d:\vm\rac\sharedstorage\asmdisk3.vmdk /dev/sde SCSI
1:3 2048 ASM flash recovery area

(To configure shared storage, the guest OS should not share the same SCSI bus with the shared storage.
Use SCSI0 for the guest OS and SCSI1 for the shared disks.)

An overview of the RAC database environment:


HostName ASM Instance Name RAC Instance Name DatabaseName Database File
Storage OCR & Voting Disk
rac1 +ASM1 devdb1 devdb ASM OCFS2
rac2 +ASM2 devdb2 devdb ASM OCFS2

You’ll install the Oracle Home on each node for redundancy. The ASM and Oracle RAC instances
share the same Oracle Home on each node.


Đầu trang
Xem thông tin cá nhân
Tiêu đề bài viết: Re: Oracle RAC
Gửi bàiĐã gửi: Thứ 3 Tháng 7 01, 2008 12:06 Chiều/Tối
Ngoại tuyến
Thiếu tá - Tiểu đoàn phó
Thiếu tá - Tiểu đoàn phó

Tuổi: 34
Sinh nhật: 24-05-1976
Ngày tham gia: Thứ 4 Tháng 12 26, 2007 2:04 Chiều/Tối
Bài viết: 100
Quốc gia: Vietnam (vn)

Người tạo chủ đề
2. Configure the First Virtual Machine


To create and configure the first virtual machine, you will add virtual hardware devices such as disks and processors. Before proceeding with the install, create the windows folders to house the virtual machines and the shared storage.

D:\>mkdir vm\rac\rac1
D:\>mkdir vm\rac\rac2
D:\>mkdir vm\rac\sharedstorage

Double-click on the VMware Server icon on your desktop to bring up the application:

1. Press CTRL-N to create a new virtual machine.
2. New Virtual Machine Wizard: Click on Next.
3. Select the Appropriate Configuration:





a. Virtual machine configuration: Select Custom.
4. Select a Guest Operating System:
a. Guest operating system: Select Linux.
b. Version: Select Red Hat Enterprise Linux 4.
5. Name the Virtual Machine:
a. Virtual machine name: Enter “rac1.”
b. Location: Enter “d:\vm\rac\rac1.”
6. Set Access Rights:
a. Access rights: Select Make this virtual machine private.
7. Startup / Shutdown Options:
a. Virtual machine account: Select User that powers on the virtual machine.
8. Processor Configuration:
a. Processors: Select One.
9. Memory for the Virtual Machine:
a. Memory: Select 700MB.

10. Network Type:

a. Network connection: Select Use bridged networking.

11. Select I/O Adapter Types:

a. I/O adapter types: Select LSI Logic.

12.Select a Disk:

a. Disk: Select Create a new virtual disk.

13.Select a Disk Type:

a. Virtual Disk Type: Select SCSI (Recommended).

14. Specify Disk Capacity:

a. Disk capacity: Enter “20GB.”
b. Deselect Allocate all disk space now. To save space, you do not have to allocate all the disk space now.

15.Specify Disk File:

a. Disk file: Enter “localdisk.vmdk.”
b. Click on Finish.

Repeat steps 16 to 24 to create four virtual SCSI hard disks - ocfs2disk.vmdk (512MB), asmdisk1.vmdk
(3GB), asmdisk2.vmdk (3GB), and asmdisk3.vmdk (2GB).


16.VMware Server Console: Click on Edit virtual machine settings.
17.Virtual Machine Settings: Click on Add.
18.Add Hardware Wizard: Click on Next.
19.Hardware Type:

a. Hardware types: Select Hard Disk.

20.Select a Disk:

a. Disk: Select Create a new virtual disk.

21. Select a Disk Type:

a. Virtual Disk Type: Select SCSI (Recommended).

22. Specify Disk Capacity:

a. Disk capacity: Enter “0.5GB.”
b. Select Allocate all disk space now. You do not have to allocate all the disk space if you want to save space. For performance reason, you will pre-allocate all the disk space for each of the virtual shared disk. If the size of the shared disks were to grow rapidly especially during Oracle database creation or when the database is under heavy DML
activity, the virtual machines may hang intermittently for a brief period or crash in a few


23. rare occasions.
Specify Disk File:

a. Disk file: Enter “d:\vm\rac\sharedstorage\ocfs2disk.vmdk.”
b. Click on Advanced.

24. Add Hardware Wizard:

a. Virtual device node: Select SCSI 1:0.
b. Mode: Select Independent, Persistent for all shared disks.
c. Click on Finish.

Finally, add an additional virtual network card for the private interconnects and remove the floppy drive, if any.


25.
26.
27.
28.

25.VMware Server Console: Click on Edit virtual machine settings.
26.Virtual Machine Settings: Click on Add.
27.Add Hardware Wizard: Click on Next.
28.Hardware Type:

a. Hardware types: Ethernet Adapter.

29.Network Type:

a. Host-only: A private network shared with the host
b. Click on Finish.

30. Virtual Machine Settings:

a. Select Floppy and click on Remove.

31.Virtual Machine Settings: Click on OK.


Đầu trang
Xem thông tin cá nhân
Tiêu đề bài viết: Re: Oracle RAC
Gửi bàiĐã gửi: Thứ 3 Tháng 7 01, 2008 1:14 Chiều/Tối
Ngoại tuyến
Thiếu tá - Tiểu đoàn phó
Thiếu tá - Tiểu đoàn phó

Tuổi: 34
Sinh nhật: 24-05-1976
Ngày tham gia: Thứ 4 Tháng 12 26, 2007 2:04 Chiều/Tối
Bài viết: 100
Quốc gia: Vietnam (vn)

Người tạo chủ đề
Modify virtual machine configuration file. Additional parameters are required to enable disk sharing
between the two virtual RAC nodes. Open the configuration file, d:\vm\rac\rac1\Red Hat Enterprise
Linux 4.vmx and add the bold parameters listed below.

config.version = "8" virtualHW.version = "4" scsi0.present = "TRUE" scsi0.virtualDev = "lsilogic" memsize = "700" scsi0:0.present = "TRUE"
scsi0:0.fileName = "localdisk.vmdk" ide1:0.present = "TRUE" ide1:0.fileName = "auto detect" ide1:0.deviceType = "cdrom-raw" floppy0.fileName = "A:"
Ethernet0.present = "TRUE" displayName = "rac1" guestOS = "rhel4"
priority.grabbed = "normal"
priority.ungrabbed = "normal"

disk.locking = "FALSE" diskLib.dataCacheMaxSize = "0" scsi1.sharedBus = "virtual"

scsi1.present = "TRUE"
scsi1:0.present = "TRUE"
scsi1:0.fileName = "D:\vm\rac\sharedstorage\ocfs2disk.vmdk"
scsi1:0.mode = "independent-persistent"
scsi1:0.deviceType = "disk"
scsi1:1.present = "TRUE"
scsi1:1.fileName = "D:\vm\rac\sharedstorage\asmdisk1.vmdk"
scsi1:1.mode = "independent-persistent"
scsi1:1.deviceType = "disk"
scsi1:2.present = "TRUE"
scsi1:2.fileName = "D:\vm\rac\sharedstorage\asmdisk2.vmdk"
scsi1:2.mode = "independent-persistent"
scsi1:2.deviceType = "disk"
scsi1:3.present = "TRUE"
scsi1:3.fileName = "D:\vm\rac\sharedstorage\asmdisk3.vmdk"
scsi1:3.mode = "independent-persistent"
scsi1:3.deviceType = "disk" scsi1.virtualDev = "lsilogic" ide1:0.autodetect = "TRUE" floppy0.present = "FALSE" Ethernet1.present = "TRUE" Ethernet1.connectionType = "hostonly"


Đầu trang
Xem thông tin cá nhân
Hiển thị những bài viết cách đây: Sắp xếp theo
Tạo chủ đề mới Gửi bài trả lời [ 16 bài viết ] [ 0 tập tin đính kèm ] Chuyển đến trang 1, 2, 3, 4  Trang kế tiếp

Subscribe


Ai đang trực tuyến?

Đang xem chuyên mục này: Không có thành viên nào đang trực tuyến và 1 khách


Bạn không thể tạo chủ đề mới trong chuyên mục này
Bạn không thể trả lời bài viết trong chuyên mục này
Bạn không thể sửa những bài viết của mình trong chuyên mục này
Bạn không thể xoá những bài viết của mình trong chuyên mục này
Bạn không thể gửi tập tin đính kèm trong chuyên mục này

Tìm kiếm với từ khoá:
Chuyển đến:

Ai đang trực tuyến?

Ai đang trực tuyến? Trong tổng số 1 người đang trực tuyến: không có thành viên, không có thành viên ẩn và chỉ có 1 vị khách
Số lượt người ghé thăm website đông nhất là 66 vào ngày Thứ 2 Tháng 5 04, 2009 4:14 Sáng

Đang xem chuyên mục này: Không có thành viên nào đang trực tuyến và 1 khách

Thông tin trên được cập nhật trong vòng 1 phút vừa qua
© Bản quyền 2006-2007 VNOUG.ORG. E-mail
Ban Quản trị VNOUG.ORG: vnoug.org, rfvn, dotcom
© Ghi rõ nguồn "VNOUG.ORG" khi sử dụng nội dung từ site này.

Hệ thống sử dụng phpBBVietNam © 2006 - 2007 phpBBVietNam Group