安装RAC的概要信息
开始安装,会自动复制到其他节点
安装完,在每个节点用root用户执行脚本
[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
至此在RAC双节点上完成oracle软件安装,安装日志在
2.创建集群数据库
在节点rac1上用oracle用户执行dbca创建RAC数据库
[root@rac1 ~]# su - oracle
[oracle@rac1 ~]$ dbca
选择创建数据库
选择自定义数据库(也可以是通用)
配置类型选择Admin-Managed,输入全局数据库名orcl,每个节点实例SID前缀为orcl,选择双节点
选择默认,配置OEM,启用数据库自动维护任务
统一设置sys,system,dbsnmp,sysman用户的密码为oracle
使用ASM存储,使用OMF(oracle的自动管理文件),数据区选择之前创建的DATA磁盘组