VMware下Oracle 11g RAC环境搭建(6)

安装RAC的概要信息

Oracle

开始安装,会自动复制到其他节点

Oracle

安装完,在每个节点用root用户执行脚本

Oracle

[root@rac1 etc]# /u01/app/Oracle/product/11.2.0/db_1/root.sh Performing root user operation for Oracle 11g The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /u01/app/oracle/product/11.2.0/db_1 Enter the full pathname of the local bin directory: [/usr/local/bin]: The contents of "dbhome" have not changed. No need to overwrite. The contents of "oraenv" have not changed. No need to overwrite. The contents of "coraenv" have not changed. No need to overwrite. Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root script. Now product-specific root actions will be performed. Finished product-specific root actions.

安装完成,close

Oracle

至此在RAC双节点上完成oracle软件安装,安装日志在

Oracle

2.创建集群数据库

在节点rac1上用oracle用户执行dbca创建RAC数据库

[root@rac1 ~]# su - oracle
[oracle@rac1 ~]$ dbca

Oracle

选择创建数据库

Oracle

选择自定义数据库(也可以是通用)

Oracle

配置类型选择Admin-Managed,输入全局数据库名orcl,每个节点实例SID前缀为orcl,选择双节点

Oracle

选择默认,配置OEM,启用数据库自动维护任务

Oracle

统一设置sys,system,dbsnmp,sysman用户的密码为oracle

Oracle

使用ASM存储,使用OMF(oracle的自动管理文件),数据区选择之前创建的DATA磁盘组

Oracle

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/f57f7418e5d4fd619f420864af733380.html