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

ora....c01.vip application    ONLINE    ONLINE    sles101
ora....02.lsnr application    ONLINE    ONLINE    sles102
ora....c02.gsd application    ONLINE    ONLINE    sles102
ora....c02.ons application    ONLINE    ONLINE    sles102
ora....c02.vip application    ONLINE    ONLINE    sles102

------------------------------------------------------------------------
Create ASM Storage disk group
------------------------------------------------------------------------
After Oracle 10g R2 database software is installed, the ASM storage disk groups are needed to be created before creating an RAC database.
Use "dbca" configuration assistance to manage the ASM diskgroups.
[oracle@sles101 /u01/app/oracle/product/10.2/db_1/bin]
$ dbca &
● Database Configuration Assistance:Welcome
Select "Oracle Real Application Cluster database"
Click [Next]
● Database Configuration Assistance, Step 1 of 4: Operations
Select "Configuring Automatic Storage Management"
● Database Configuration Assistance, Step 2 of 4: Node selection
Select both nodes
Click [Next]
● Database Configuration Assistance, Step 3 of 4: ASM disk groups
Select "Create new" to create new disk groups
Enter password for user "sys" to access the ASM management tool (this password is needed later when you want to create or configure ASM diskgroup), and select "Create Initialization Parameter file(IFILE)" for the "Initialization Parameter filename", use default value {ORACLE_BASE}/admin/+ASM/pfile/init.ora. (You can not create "Server Parameter file SPFILE" because it has to be on a shared disk, there is no shared disk ready to use at this example.)

Click "ASM Parameters" and input '/u02/oradata/asm/*' for "diskstring" in order for the ASM configuration program to find out the ASM disks (You can also configure this later.)

Click [Next], you will get prompt "DBCA will now create and start the ASM instance. After the ASM instance is started, you can create disk groups to use as storage for your database."

Click [OK] to continue.

● Database Configuration Assistance,  ASM disk groups
There is no available ASM diskgroup by default, so click [Create New] to create new disk groups.

● Create disk group
Select disk path [/u02/oradata/asm/lun1, lun2, lun3], enter Disk Group Name, [DATA_1], and select 'External' for Redundancy.
Click [OK] to start creation of the first disk group DATA_1.

If you can not see any disks showing as CANDIDATES, select "Change Disk Discovery Path" and enter '/u02/oradata/asm/*' or any other disk path you prepared before run "dbca".

In this example, 2 diskgroups are created - DATA_1(lun1,lun2,lun3) and FLASH_RECOVERY_AREA (lun4)
Click [Finish] to exit, and continue the following steps to create new database.

-------------------------------------------------------------------------------
Database Configuration Assistance: Creating new database
-------------------------------------------------------------------------------
1.Run dbca again on sles101 as user 'oracle'
[oracle@sles101 /u01/app/oracle/product/10.2/db_1/bin]

www.ixdba.net


$dbca &
● Welcome:
Select Oracle Real Application Clusters database
Click[Next]
● Step 1 of 17: Opetations:
Select Create a Database
Click[Next]
● Step 2 of 17: Node Selection:
Select both nodes
Click[Next]
● Step 3 of 17: Database Templates:
Select General Purpose
Click[Next]
● Step 4 of 17: Database Identification:
Global Database Name: sles
SID Prefix: sles
Click[Next]
● Step 5 of 16: Management Options:
Use default,
Selctc Configure the Database with Enterprise Manager
Select Use Database Control for Database Management
Click[Next]
● Step 6 of 16: Database Credentials:
Select Use the Same Password for All Accounts
Enter Password
Click[Next]
● Step 7 of 15: Storage Options:
Select ASM
Click[Next]

Then you will be asked for "ASM Credentials", enter the password specified when you create the ASM instance. Click OK.

● Step 8 of 15: ASM DIsk Groups:
Select the disk group on that you want to install the database.
Click [OK]

● Step 9 of 15: Database File Locations:
Select Use Oracle-Managed Files
Database Area: +DATA_1, or browse to any other disk group for the "Database Area"
Meanwhile, you can also click "Multiplex Redo Logs and Control Files" to specify multiple locations spread across different disks to provide greater fault tolerance.
Click [Next]

● Step 10 of 15: Recovery Configuration:
Select Specify Flash Recovery Area
Flash Recovery Area: +FLASH_RECOVERY_AREA
Flash Recovery Area Size: 2048 MB

Select "Enable Archiving" and specify archiving location or use default.
Click [Next]

● Step 11 of 15: Database Content:
Use default, or select "Sample schema"
Click [Next]
● Step 12 of 15 Database Services:
Click [Add], Enter RACTEST
sles1: Preferred
sles2: Preferred
TAF Policy: Basic
Click [Next]
● Step 13 of 15: Initialization Parameters:
Memory Tab:
Use default - "Typical" - Allocate memory as a percentage of the total physical memory (1008MB) - 40%
Sizing: 150 processes by default
Character Sets: use default
Connection Mode: use default - Dediated Server Mode

Click [Next]
● Step 14 of 15: Database Storage: 
Use default 
Click [Next]
● Step 15 of 15: Create Options: 
Select "Create Database" 
Click [Finish] to start creating the database.

You can also select "Generate Databse Creation scrīpts" and save the scrīpts in directory "/u01/app/oracle/admin/<ORACLE_SID>scrīpts"

-------------------------------------------------------------------------------
Now finished all steps to create Oracle 10g R2  RAC database on SuSE10.1
-------------------------------------------------------------------------------

The "crs_stat" command will show all RAC resources (ASM instances, listeners, databases, gsd, ons) started and online on both RAC nodes.

[oracle@sles101 /u01/app/oracle/product/10.2/crs_1/bin]
$ ./crs_stat -t
Name           Type           Target    State     Host
------------------------------------------------------------
ora....SM1.asm application    ONLINE    ONLINE    sles101
ora....01.lsnr application    ONLINE    ONLINE    sles101
ora....101.gsd application    ONLINE    ONLINE    sles101
ora....101.ons application    ONLINE    ONLINE    sles101
ora....101.vip application    ONLINE    ONLINE    sles101
ora....SM2.asm application    ONLINE    ONLINE    sles102
ora....02.lsnr application    ONLINE    ONLINE    sles102
ora....102.gsd application    ONLINE    ONLINE    sles102
ora....102.ons application    ONLINE    ONLINE    sles102
ora....102.vip application    ONLINE    ONLINE    sles102
ora.sles.db    application    ONLINE    ONLINE    sles101
ora....s1.inst application    ONLINE    ONLINE    sles101
ora....s2.inst application    ONLINE    ONLINE    sles102

[oracle@sles101 /u01/app/oracle/product/10.2/crs_1/bin]



阅读更多内容<<上一页 · 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
设为首页 | 关于我们 | 技术服务 | 收藏本站 | 网站地图 | 联系方式 | 本站友情连接