4.17、等待安装完成:
4.18、安装完成后会弹出如下窗口,先不要关闭和点击确定按钮,等待4.18步骤操作全部完成。oracle11r2缺少对AXS3.0的支持,需要修改文件,否则acfs可能无法安装和启动,按下面步骤处理:
在每个节点上以root用户执行命令:
cp -a /oracle/11.2.0/grid/install/usm/EL5/x86_64/2.6.18-8/2.6.18-8.el5-x86_64/ /oracle/11.2.0/grid/install/usm/EL5/x86_64/2.6.18-8/2.6.18-8.AXS3-x86_64/ 然后vi /oracle/11.2.0/grid/lib/osds_acfsroot.pm ,增加红色字体部分: # either build additional drivers or massage the variation here. In either # case, it's an internal error that should have been caught before we got # here and so we just bail. We don't want to fail the entire oracle install
# and so return USM_NOT_SUPPORTED so that OUI can complete sans USM. if (!(($minor eq \
($variation eq 'el5') ||($variation eq 'AXS3') || ($variation eq 'el5PAE') || ($variation eq 'el5xen'))) {
lib_error_print(9384, \ lib_error_print(9135, \ exit USM_NOT_SUPPORTED;
}
完成后返回上图,根据提示在每个节点上以root用户执行脚本,可能需要花点时间等待完成,日志如下:
[root@cpyydb2 2.6.18-8]# /oracle/11.2.0/grid/root.sh Performing root user operation for Oracle 11g The following environment variables are set as: ORACLE_OWNER= grid
ORACLE_HOME= /oracle/11.2.0/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: /oracle/11.2.0/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 inittab
CRS-2672: Attempting to start 'ora.mdnsd' on 'cpyydb2' CRS-2676: Start of 'ora.mdnsd' on 'cpyydb2' succeeded CRS-2672: Attempting to start 'ora.gpnpd' on 'cpyydb2' CRS-2676: Start of 'ora.gpnpd' on 'cpyydb2' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'cpyydb2' CRS-2672: Attempting to start 'ora.gipcd' on 'cpyydb2'
CRS-2676: Start of 'ora.cssdmonitor' on 'cpyydb2' succeeded CRS-2676: Start of 'ora.gipcd' on 'cpyydb2' succeeded CRS-2672: Attempting to start 'ora.cssd' on 'cpyydb2' CRS-2672: Attempting to start 'ora.diskmon' on 'cpyydb2' CRS-2676: Start of 'ora.diskmon' on 'cpyydb2' succeeded CRS-2676: Start of 'ora.cssd' on 'cpyydb2' succeeded 已成功创建并启动 ASM。
已成功创建磁盘组OCR_VOTE。
clscfg: -install mode specified
Successfully accumulated necessary OCR keys. Creating OCR keys for user 'root', privgrp 'root'.. Operation successful.
CRS-4256: Updating the profile
Successful addition of voting disk 40b86bb2238b4f00bfd609175661e10d. Successful addition of voting disk 46c2ecfc56bf4ffbbf52467f6fd4115f. Successful addition of voting disk 7d5de04edd894fd0bf8a80dcd493bf93. Successful addition of voting disk 6147bee0ae994f10bf63baa50d4d5212. Successful addition of voting disk 74d93fceb95c4f34bf19547e4e2e980e. Successfully replaced voting disk group with +OCR_VOTE. CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
## STATE File Universal Id File Name Disk group -- ----- ----------------- --------- ---------
1. ONLINE 40b86bb2238b4f00bfd609175661e10d (ORCL:OCR_VOTE1) [OCR_VOTE]
2. ONLINE 46c2ecfc56bf4ffbbf52467f6fd4115f (ORCL:OCR_VOTE2) [OCR_VOTE] 3. ONLINE 7d5de04edd894fd0bf8a80dcd493bf93 (ORCL:OCR_VOTE3) [OCR_VOTE]
4. ONLINE 6147bee0ae994f10bf63baa50d4d5212 (ORCL:OCR_VOTE4) [OCR_VOTE]
5. ONLINE 74d93fceb95c4f34bf19547e4e2e980e (ORCL:OCR_VOTE5) [OCR_VOTE] Located 5 voting disk(s).
CRS-2672: Attempting to start 'ora.asm' on 'cpyydb2' CRS-2676: Start of 'ora.asm' on 'cpyydb2' succeeded
CRS-2672: Attempting to start 'ora.OCR_VOTE.dg' on 'cpyydb2' CRS-2676: Start of 'ora.OCR_VOTE.dg' on 'cpyydb2' succeeded CRS-2672: Attempting to start 'ora.registry.acfs' on 'cpyydb2' CRS-2676: Start of 'ora.registry.acfs' on 'cpyydb2' succeeded Configure Oracle Grid Infrastructure for a Cluster ... succeeded [root@cpyydb1 2.6.18-8]# /oracle/oraInventory/orainstRoot.sh 更改权限/oracle/oraInventory. 添加组的读取和写入权限。
删除全局的读取, 写入和执行权限。
更改组名/oracle/oraInventory 到 oinstall. 脚本的执行已完成。
[root@cpyydb1 2.6.18-8]# /oracle/11.2.0/grid/root.sh Performing root user operation for Oracle 11g The following environment variables are set as: ORACLE_OWNER= grid
ORACLE_HOME= /oracle/11.2.0/grid
相关推荐: