li
  当前位置:主页 > 集群技术 > 文章内容
li
Oracle10g R2 Installing RAC
来源: www.ixdba.net  作者: IXDBA.NET官方    时间:2008-02-21   阅读:151  
本文章共47048字,分12页,当前第1页,快速翻页:
 

Installing Oracle10g R2 RAC
Part1
- Prerequisites
- Installing/Preparing Guest machine (SuSE10.1)
Prerequisites
This example shows how to install Oracle10g R2 RAC with raw devices (block devices), without using ocfs2 or asmlib, so no other modules need to be downloaded or installed before installing Oracle 10g R2 RAC.
--------------------------------------------------------------------
Hardware requirements:
--------------------------------------------------------------------
Dell PE2850 one 
CPU: Intel Xeon  3.6GHz ×2
Memory : 4GB 
Hard Drive : 40 -50 GB needed for vitural guests
---------------------------------------------------------------------
Host Operating system and software:
---------------------------------------------------------------------
OS: Windows Server 2003  Enterprise 5.2.3790
VM: VMWare GSX Server 3.2.1 build-19281 for windows
--------------------------------------------------------------------
Software requirements:
--------------------------------------------------------------------
Guest OS: SuSE Linux Enterprise 10.1 (4cd or 1DVD)
Download Here:
http://en.opensuse.org/Released_Version

$ uname -a
Linux sles101 2.6.16.21-0.8-smp #1 SMP Mon Jul 3 18:25:39 UTC 2006 i686 i686 i386 GNU/Linux
DB: Oracle 10gR2 for x86 linux
clusterware:
http://download.oracle.com/otn/linux/oracle10g/10201/10201_clusterware_linux32.zip
database:
http://download.oracle.com/otn/linux/oracle10g/10201/10201_database_linux32.zip
--------------------------------------------------------------
Configuring VMWare virtual Networks:
--------------------------------------------------------------   
Start -->  Programs  --> VMware --> VMware GSX Server --> Manage Virtual Networks
From Virtual Network Editor , Select Host Virtual Network Mapping:
The public address is using "Bridged" mode to utilize the physical subnets (172.16.2.0/24, on same subnet with the host machine.
VMnet1's subnet address is 192.168.235.0/24 (use "host-only" mode) - as  private address for the 2 nodes.
Installing/Preparing Guest machine (SuSE10.1)
-----------------------------------------------------------------------------
 Creating Guest machine (SuSE10.1) in VMWare
-----------------------------------------------------------------------------
1. Open VMware Virtual Machine Console
2.  Click New Virtual Machine
3.  Select the Appropriate Configuration:
 Select Custom, click [Next]
4.Select a Guest Operating System:
 Select  Linux,Version SuSE Enterprise Linux, click [Next]
5.Name the Virtual Machine:
 SLES101, location d:\sles101 , click [Next]
6.Set Access Rights:
 Use default , click [Next]
7.Startup / Shutdown Options:
 Use default, User that powers on the virtual machine, click [Next]
8.Memory for the Virtual Machine:
1024MB, click [Next]
9.Network Type:
 select  Do not use a network connection, click [Next]( configure later )
10.Select I/O Adapter Types:

www.ixdba.net


 select  LSI Logic, Click [Next]
11.Select a Disk:
 select  Create a new virtual disk, click [Next]
12.Select a Disk Type:
 select  SCSI, click [Next]
13.Specify Disk Capacity:
 Enter   8GB, select Allocate all disk space now, deselect Split disk into 2GB files,
 click [Next]
14.Specify Disk File:
 d:\sles101\system.vmdk, click [Finish]
15.Info:
Creating pre-allocated virtual disk...
16  .Hardware Type:
 select Ethernet Adapter, click[Next]
17 .Network Type:
 select Custom, select  "Bridged" ,Connect at power on, click [Finish]
18. add one more NIC:
 click [Add]
19 .Hardware Type:
 select  Ethernet Adapter, click [Next]
20 .Network Type:
 select Custom, "Host-only" ,Connect at power on, click [Finish]
22.  Exit VMware Virtual Machine Console:
I will use the first node to clone the second node.
------------------------------------------ 
Create additional disks :
------------------------------------------
1. On Window Host machine, Open Command Prompt。
2. Change to GSX  Installation directory,  c:\program files\vmware\vmware gsx server:
3. Run DOS command to create OCR + CRS voting disks,
vmware-vdiskmanager -c -s  500Mb -a lsilogic -t 2 d:\sles101\ocr.vmdk
vmware-vdiskmanager -c -s 500Mb -a lsilogic -t 2 d:\sles101\css.vmdk
[OCR and CSS partition could be on the same virtual disk, and you can also create mirror disk (1 for OCR, 2 for CSS) if neccessary, each OCR or CSS partition need >256MB disk space.]
 
4. Create 1 Oracle product disk >4GB, used for local disk on both nodes
vmware-vdiskmanager -c -s 4Gb -a lsilogic -t 2 d:\sles101\u01.vmdk
5. Create 4 ASM disks for Oracle data & flash recovery area:
vmware-vdiskmanager -c -s 2Gb -a lsilogic -t 2 d:\sles101\asm1.vmdk
vmware-vdiskmanager -c -s 2Gb -a lsilogic -t 2 d:\sles101\asm2.vmdk
vmware-vdiskmanager -c -s 2Gb -a lsilogic -t 2 d:\sles101\asm3.vmdk
vmware-vdiskmanager -c -s 2Gb -a lsilogic -t 2 d:\sles101\asm4.vmdk
6. Edit (do not use notepad) d:\sles101\system.vmx and d:\sles102\system.vmx (after cloned from sles101), add the following lines: 
scsi1.present = "TRUE"
scsi1.virtualDev = "lsilogic"
scsi1.sharedBus = "virtual"
scsi1:1.present = "TRUE"
scsi1:1.mode = "independent-persistent"
scsi1:1.filename = "d:\sles101\ocr.vmdk"
scsi1:1.deviceType = "plainDisk"
scsi1:2.present = "TRUE"
scsi1:2.mode = "independent-persistent"
scsi1:2.filename = "d:\sles101\css.vmdk"
scsi1:2.deviceType = "plainDisk"
scsi1:3 .present = "TRUE"
scsi1:3.mode = "independent-persistent"
scsi1:3.filename = "d:\sles101\asm1.vmdk"
scsi1:3.deviceType = "plainDisk"
scsi1:4 .present = "TRUE"
scsi1:4.mode = "independent-persistent"
scsi1:4.filename = "d:\sles101\asm2.vmdk"
scsi1:4.deviceType = "plainDisk"
scsi1:5.present = "TRUE"
scsi1:5.mode = "independent-persistent"
scsi1:5.filename = "d:\sles101\asm3.vmdk"
scsi1:5.deviceType = "plainDisk"
scsi1:6.present = "TRUE"
scsi1:6.mode = "independent-persistent"
scsi1:6.filename = "d:\sles101\asm4.vmdk"
scsi1:6.deviceType = "plainDisk"
disk.locking = "FALSE"
diskLib.dataCacheMaxSize = "0"
diskLib.dataCacheMaxReadAheadSize = "0"
diskLib.dataCacheMinReadAheadSize = "0"
diskLib.dataCachePageSize = "4096"
diskLib.maxUnsyncedWrites = "0"
save and exit.

[If the vitual machines will be installed on VMWare ESX server, use "LSI Logic" for the SCSI Controller type. If you use "Bus Logic", the drivers could not be loaded and no hard drive will be located for installation.]
 
--------------------------------------------------------------------
Install SuSE Linux 10.1 (sles) on first node 
--------------------------------------------------------------------
Please refer to the following Novell official website for the installation guide: 
Installing Oracle10g R2 Database on SLES10 for i386 - step by step
Partition Settings
For "partitioning" of the Installation Settings screen, create LVM partitions for "/", "/tmp", swap,"/u01"(the oracle product location). Create with this sequence: PV->VG->LV
Create Physical Volume from raw partition (primary partition) first, then create new Volume Group and add Physical Volumes to the group, at last mount the Volume Group to the mounting points with format option.
The reason to use LVM is that it is easy to extend the size in case not sufficient later. For example, the following results showed that the "swap" space was extended from 1GB up to 1.89GB by adding 2 partitions (/dev/sdc1 and /dev/sdc2) to the first partition (/dev/sda3) which are all in the VG "swapvg".



阅读更多内容1 · 2 · 3 · 4 · 5 · 6 · 7 · 8 · 9 · 10 · 11 · 12 · 下一页>>


  上一篇: Linux RAC OCFS文件系统与INODES   下一篇: 如何选择合适的双机和集群软件
li
 §相关评论  
 热点文章

·Linux RAC OCFS文件系统与INOD
·Oracle10g R2 Installing RAC
·Linux服务器集群系统(lvs)
·Linux对存储文件系统的技术架构
·linux常用集群文件系统简介
·如何选择合适的双机和集群软件
·LifeKeeper软件介绍
·纯软件方式的双机热备方案深入
·双机热备:基于共享存储与纯软
·双机热备与数据备份,数据安全的
·双机热备常见问题释疑
li
 编辑推荐
·Linux RAC OCFS文件系统与INOD
·Oracle10g R2 Installing RAC
·Linux服务器集群系统(lvs)
·Linux对存储文件系统的技术架构
·linux常用集群文件系统简介
·如何选择合适的双机和集群软件
·LifeKeeper软件介绍
·纯软件方式的双机热备方案深入
·双机热备:基于共享存储与纯软
·双机热备与数据备份,数据安全的
·双机热备常见问题释疑
li
 相关篇章
·Linux RAC OCFS文件系统与INODES
·HACMP 安装配置,管理与诊断分析
·完整NFS手册:NFS操作完全指南
·网络文件系统:NFS基本操作总结
·负载均衡 - 相关概念解释
·集群实例:配置ISCSI客户端(LINU...
·集群部署:Rose HA For Radhat安...
·热贴讨论:RHCS中的fence设备讨论
·集群概念:集群技术简介
·参考文档:DRBD(磁盘镜像技术)
·如何选择合适的双机和集群软件
·LifeKeeper软件介绍
·纯软件方式的双机热备方案深入分...
·双机热备:基于共享存储与纯软件...
·双机热备与数据备份,数据安全的关...
·双机热备常见问题释疑
·双机热备、双机互备与双机双工的...
·双机、集群的配置模式:主从、互...
·双机热备基本概念分析
·linux常用集群文件系统简介
 
li
设为首页 | 关于我们 | 技术服务 | 收藏本站 | 网站地图 | 联系方式 | 本站友情连接