勾选 skip software updater
勾选 install and configure oracle grid infrastructure for a cluster
默认
去掉复选框,scan name填写/etc/hosts中scan ip 的别名,其他不动
互信配置重新启动之后需要重设[grid@node1 ~]$ ssh node1priv dateThe authenticity of host 'node1priv (192.168.110.120)' can't be established.RSA key fingerprint is 6e:23:30:62:ff:92:b0:af:aa:0f:18:34:d3:ca:fa:ce.Are you sure you want to continue connecting (yes/no)? yesWarning: Permanently added 'node1priv,192.168.110.120' (RSA) to the list of known hosts.Tue Oct 21 07:05:35 CST 2014[grid@node1 ~]$ ssh node2priv dateThe authenticity of host 'node2priv (192.168.110.121)' can't be established.RSA key fingerprint is 6e:23:30:62:ff:92:b0:af:aa:0f:18:34:d3:ca:fa:ce.Are you sure you want to continue connecting (yes/no)? yesWarning: Permanently added 'node2priv,192.168.110.121' (RSA) to the list of known hosts.Tue Oct 21 07:05:46 CST 2014[grid@node1 ~]$ ssh node1priv dateTue Oct 21 07:06:02 CST 2014[grid@node1 ~]$ ssh node2priv dateTue Oct 21 07:06:05 CST 2014grid 用户设置互信节点2:[grid@node2 ~]$ ssh node1 dateTue Oct 21 07:06:28 CST 2014[grid@node2 ~]$ ssh node2 dateTue Oct 21 07:06:33 CST 2014[grid@node2 ~]$ ssh node2priv dateTue Oct 21 07:06:39 CST 2014[grid@node2 ~]$ ssh node1priv dateTue Oct 21 07:06:43 CST 2014发现grid用户是互信的,将第一个复选框去掉
各个节点的vip name设置参考/etc/hosts文件设置的别名
默认
创建asm dg,先创建一个griddg
密码设置
默认
安装目录选择,选择之前创建的目录
/u01/app/oraInventory 创建[root@node1 ~]# mkdir /u01/app/oraInventory[root@node1 ~]# chown -R grid:oinstall /u01/app/oraInventory/[root@node1 ~]# chmod -R 775 /u01/app/oraInventory/节点2也需要:[root@node2 ~]# mkdir /u01/app/oraInventory[root@node2 ~]# chown -R grid:oinstall /u01/app/oraInventory/[root@node2 ~]# chmod -R 775 /u01/app/oraInventory/
脚本执行脚本1:[root@node1 mnt]# /u01/app/oraInventory/orainstRoot.shChanging 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@node2 ~]# /u01/app/oraInventory/orainstRoot.shChanging 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.脚本2:[root@node1 mnt]# /u01/app/oraInventory/orainstRoot.shChanging 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@node1 mnt]# /u01/app/11.2.0.4/grid/root.shPerforming root user operation for Oracle 11g The following environment variables are set as: ORACLE_OWNER= grid ORACLE_HOME= /u01/app/11.2.0.4/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 byDatabase Configuration Assistant when a database is createdFinished running generic part of root script.Now product-specific root actions will be performed.Using configuration parameter file: /u01/app/11.2.0.4/grid/crs/install/crsconfig_paramsCreating trace directoryUser ignored Prerequisites during installationInstalling Trace File AnalyzerOLR 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 certAdding Clusterware entries to upstartCRS-2672: Attempting to start 'ora.mdnsd' on 'node1'CRS-2676: Start of 'ora.mdnsd' on 'node1' succeededCRS-2672: Attempting to start 'ora.gpnpd' on 'node1'CRS-2676: Start of 'ora.gpnpd' on 'node1' succeededCRS-2672: Attempting to start 'ora.cssdmonitor' on 'node1'CRS-2672: Attempting to start 'ora.gipcd' on 'node1'CRS-2676: Start of 'ora.gipcd' on 'node1' succeededCRS-2676: Start of 'ora.cssdmonitor' on 'node1' succeededCRS-2672: Attempting to start 'ora.cssd' on 'node1'CRS-2672: Attempting to start 'ora.diskmon' on 'node1'CRS-2676: Start of 'ora.diskmon' on 'node1' succeededCRS-2676: Start of 'ora.cssd' on 'node1' succeeded ASM created and started successfully. Disk Group griddg created successfully. clscfg: -install mode specifiedSuccessfully accumulated necessary OCR keys.Creating OCR keys for user 'root', privgrp 'root'..Operation successful.CRS-4256: Updating the profileSuccessful addition of voting disk 5a6b1bd99e1f4f13bf2b7be692b733a8.Successfully replaced voting disk group with +griddg.CRS-4256: Updating the profileCRS-4266: Voting file(s) successfully replaced## STATE File Universal Id File Name Disk group-- ----- ----------------- --------- --------- 1. ONLINE 5a6b1bd99e1f4f13bf2b7be692b733a8 (/dev/asm-crs) [GRIDDG]Located 1 voting disk(s).CRS-2672: Attempting to start 'ora.GRIDDG.dg' on 'node1'CRS-2676: Start of 'ora.GRIDDG.dg' on 'node1' succeededPreparing packages for installation...cvuqdisk-1.0.9-1Configure Oracle Grid Infrastructure for a Cluster ... succeeded [root@node2 ~]# /u01/app/11.2.0.4/grid/root.shPerforming root user operation for Oracle 11g The following environment variables are set as: ORACLE_OWNER= grid ORACLE_HOME= /u01/app/11.2.0.4/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 byDatabase Configuration Assistant when a database is createdFinished running generic part of root script.Now product-specific root actions will be performed.Using configuration parameter file: /u01/app/11.2.0.4/grid/crs/install/crsconfig_paramsCreating trace directoryUser ignored Prerequisites during installationInstalling Trace File AnalyzerOLR initialization - successfulAdding Clusterware entries to upstartCRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node node1, number 1, and is terminatingAn active cluster was found during exclusive startup, restarting to join the clusterPreparing packages for installation...cvuqdisk-1.0.9-1Configure Oracle Grid Infrastructure for a Cluster ... succeeded