(15) 指定安装路径,注意要和.bash_profile中指定的一致,不一致请手工修改。不确定的
请查看.bash_profile文件。
(16) 创建inventory目录,默认,下一步
(17) 进行安装前校验,校验没问题会自动跳转到下一步,有问题则会提示。由于我们在
安装前已经通过命令校验,这里一般不会报错。
(18) 以下问题可以忽略
(19) 总结,点完成,则开始安装。
(20) 安装中,安装到最后会弹出对话框,让我们执行对应的脚本。
(21) 以root用户身份执行脚本,执行脚本一定不能出错!执行顺序如下:
(22) 脚本执行顺序如下:
先在rac1跑完第一个脚本,再在rac2跑第一个脚本 [root@rac1 ~]# /u01/app/oraInventory/orainstRoot.sh Changing permissions of /u01/app/oraInventory. Adding read,write permissions for group.
Removing read,write,execute permissions for world.
Changing groupname of /u01/app/oraInventory to oinstall. The execution of the script is complete.
[root@rac2 ~]# /u01/app/oraInventory/orainstRoot.sh
然后在rac1跑完第二个脚本,再在rac2跑第二个脚本。 [root@rac1 ~]# /u01/grid/root.sh
Performing root user operation for Oracle 11g
The following environment variables are set as: ORACLE_OWNER= grid
ORACLE_HOME= /u01/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]: Copying dbhome to /usr/local/bin ... Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
Creating /etc/oratab file...
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.
Using configuration parameter file: /u01/grid/crs/install/crsconfig_params Creating trace directory
User ignored Prerequisites during installation OLR initialization - successful root wallet root wallet cert root cert export peer wallet
profile reader wallet pa wallet
peer wallet keys pa wallet keys peer cert request pa cert request peer cert pa cert
peer root cert TP
profile reader root cert TP pa root cert TP peer pa cert TP pa peer cert TP
profile reader pa cert TP profile reader peer cert TP peer user cert pa user cert
Adding Clusterware entries to upstart
CRS-2672: Attempting to start 'ora.mdnsd' on 'rac1' CRS-2676: Start of 'ora.mdnsd' on 'rac1' succeeded CRS-2672: Attempting to start 'ora.gpnpd' on 'rac1' CRS-2676: Start of 'ora.gpnpd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac1' CRS-2672: Attempting to start 'ora.gipcd' on 'rac1'
CRS-2676: Start of 'ora.cssdmonitor' on 'rac1' succeeded CRS-2676: Start of 'ora.gipcd' on 'rac1' succeeded CRS-2672: Attempting to start 'ora.cssd' on 'rac1' CRS-2672: Attempting to start 'ora.diskmon' on 'rac1'