hwcloud上的Oracle-RAC-12cR2安装手册(3)--oracle软件的安装

node01上,oracle用户

1
2
cd /u01/software/database/
./runInstaller

安装过程如下:

取消安全更新 确认 仅安装数据库软件 选择安装RAC 选择所有节点 安装企业版 确认安装目录 默认 检查 忽略全部,无需考虑DNS的报错,因为使用了host文件指定相关域名 确认继续 安装 安装进行中 需要root用户执行脚本

node01、node02上,root用户,执行/u01/app/oracle/product/12.2.0/dbhome_1/root.sh如下:

node01:

1
2
3
4
5
6
7
8
9
10
11
12
13
[root@node01 ~]# /u01/app/oracle/product/12.2.0/dbhome_1/root.sh
Performing root user operation.
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/12.2.0/dbhome_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.

node02:

1
2
3
4
5
6
7
8
9
10
11
12
13
[root@node02 ~]# /u01/app/oracle/product/12.2.0/dbhome_1/root.sh
Performing root user operation.
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/12.2.0/dbhome_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.
执行完成后,选择OK 关闭

至此,完成了数据库软件的安装

接着看hwcloud上的Oracle-RAC-12cR2安装手册(4)--数据库实例的创建