脚本输出内容:
[root@12crac1 ~]# /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.
节点1:
[root@12crac1 ~]# /u01/app/12.1.0/grid/root.sh
Performing root user operation for Oracle 12c
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /u01/app/12.1.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: /u01/app/12.1.0/grid/crs/install/crsconfig_params
2013/07/01 00:30:25 CLSRSC-363: 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
2013/07/01 00:31:22 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.conf'
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
CRS-2673: Attempting to stop 'ora.drivers.acfs' on '12crac1'
CRS-2677: Stop of 'ora.drivers.acfs' on '12crac1' succeeded
CRS-2672: Attempting to start 'ora.evmd' on '12crac1'
CRS-2672: Attempting to start 'ora.mdnsd' on '12crac1'
CRS-2676: Start of 'ora.mdnsd' on '12crac1' succeeded
CRS-2676: Start of 'ora.evmd' on '12crac1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on '12crac1'
CRS-2676: Start of 'ora.gpnpd' on '12crac1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on '12crac1'
CRS-2672: Attempting to start 'ora.gipcd' on '12crac1'
CRS-2676: Start of 'ora.cssdmonitor' on '12crac1' succeeded
CRS-2676: Start of 'ora.gipcd' on '12crac1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on '12crac1'
CRS-2672: Attempting to start 'ora.diskmon' on '12crac1'
CRS-2676: Start of 'ora.diskmon' on '12crac1' succeeded
CRS-2676: Start of 'ora.cssd' on '12crac1' succeeded
ASM created and started successfully.
Disk Group RACCRS created successfully.
CRS-2672: Attempting to start 'ora.crf' on '12crac1'
CRS-2672: Attempting to start 'ora.storage' on '12crac1'
CRS-2676: Start of 'ora.storage' on '12crac1' succeeded
CRS-2676: Start of 'ora.crf' on '12crac1' succeeded
CRS-2672: Attempting to start 'ora.crsd' on '12crac1'
CRS-2676: Start of 'ora.crsd' on '12crac1' succeeded
CRS-4256: Updating the profile
Successful addition of voting disk d883c23a7bfc4fdcbf418c9f631bd0af.
Successfully replaced voting disk group with +RACCRS.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE d883c23a7bfc4fdcbf418c9f631bd0af (/dev/asm-crs) [RACCRS]
Located 1 voting disk(s).
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on '12crac1'
CRS-2673: Attempting to stop 'ora.crsd' on '12crac1'
CRS-2677: Stop of 'ora.crsd' on '12crac1' succeeded
CRS-2673: Attempting to stop 'ora.storage' on '12crac1'
CRS-2673: Attempting to stop 'ora.mdnsd' on '12crac1'
CRS-2673: Attempting to stop 'ora.gpnpd' on '12crac1'
CRS-2673: Attempting to stop 'ora.drivers.acfs' on '12crac1'
CRS-2677: Stop of 'ora.storage' on '12crac1' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on '12crac1'
CRS-2673: Attempting to stop 'ora.evmd' on '12crac1'
CRS-2673: Attempting to stop 'ora.asm' on '12crac1'
CRS-2677: Stop of 'ora.drivers.acfs' on '12crac1' succeeded
CRS-2677: Stop of 'ora.mdnsd' on '12crac1' succeeded
CRS-2677: Stop of 'ora.gpnpd' on '12crac1' succeeded
CRS-2677: Stop of 'ora.evmd' on '12crac1' succeeded
CRS-2677: Stop of 'ora.ctssd' on '12crac1' succeeded
CRS-2677: Stop of 'ora.asm' on '12crac1' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on '12crac1'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on '12crac1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on '12crac1'
CRS-2677: Stop of 'ora.cssd' on '12crac1' succeeded
CRS-2673: Attempting to stop 'ora.crf' on '12crac1'
CRS-2677: Stop of 'ora.crf' on '12crac1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on '12crac1'
CRS-2677: Stop of 'ora.gipcd' on '12crac1' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on '12crac1' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Starting Oracle High Availability Services-managed resources
CRS-2672: Attempting to start 'ora.mdnsd' on '12crac1'
CRS-2672: Attempting to start 'ora.evmd' on '12crac1'
CRS-2676: Start of 'ora.mdnsd' on '12crac1' succeeded
CRS-2676: Start of 'ora.evmd' on '12crac1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on '12crac1'
CRS-2676: Start of 'ora.gpnpd' on '12crac1' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on '12crac1'
CRS-2676: Start of 'ora.gipcd' on '12crac1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on '12crac1'
CRS-2676: Start of 'ora.cssdmonitor' on '12crac1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on '12crac1'
CRS-2672: Attempting to start 'ora.diskmon' on '12crac1'
CRS-2676: Start of 'ora.diskmon' on '12crac1' succeeded
CRS-2789: Cannot stop resource 'ora.diskmon' as it is not running on server '12crac1'
CRS-2676: Start of 'ora.cssd' on '12crac1' succeeded
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on '12crac1'
CRS-2672: Attempting to start 'ora.ctssd' on '12crac1'
CRS-2676: Start of 'ora.ctssd' on '12crac1' succeeded
CRS-2676: Start of 'ora.cluster_interconnect.haip' on '12crac1' succeeded
CRS-2672: Attempting to start 'ora.asm' on '12crac1'
CRS-2676: Start of 'ora.asm' on '12crac1' succeeded
CRS-2672: Attempting to start 'ora.storage' on '12crac1'
CRS-2676: Start of 'ora.storage' on '12crac1' succeeded
CRS-2672: Attempting to start 'ora.crf' on '12crac1'
CRS-2676: Start of 'ora.crf' on '12crac1' succeeded
CRS-2672: Attempting to start 'ora.crsd' on '12crac1'
CRS-2676: Start of 'ora.crsd' on '12crac1' succeeded
CRS-6023: Starting Oracle Cluster Ready Services-managed resources
CRS-6017: Processing resource auto-start for servers: 12crac1
CRS-6016: Resource auto-start has completed for server 12crac1
CRS-6024: Completed start of Oracle Cluster Ready Services-managed resources
CRS-4123: Oracle High Availability Services has been started.
2013/07/01 00:38:01 CLSRSC-343: Successfully started Oracle clusterware stack
CRS-2672: Attempting to start 'ora.asm' on '12crac1'
CRS-2676: Start of 'ora.asm' on '12crac1' succeeded
CRS-2672: Attempting to start 'ora.RACCRS.dg' on '12crac1'
CRS-2676: Start of 'ora.RACCRS.dg' on '12crac1' succeeded
2013/07/01 00:39:51 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded
节点2:
[root@12crac2 ~]# /u01/app/12.1.0/grid/root.sh
Performing root user operation for Oracle 12c
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /u01/app/12.1.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: /u01/app/12.1.0/grid/crs/install/crsconfig_params
2013/07/01 00:42:51 CLSRSC-363: User ignored prerequisites during installation
OLR initialization - successful
2013/07/01 00:43:18 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.conf'
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on '12crac2'
CRS-2673: Attempting to stop 'ora.drivers.acfs' on '12crac2'
CRS-2677: Stop of 'ora.drivers.acfs' on '12crac2' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on '12crac2' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Starting Oracle High Availability Services-managed resources
CRS-2672: Attempting to start 'ora.evmd' on '12crac2'
CRS-2672: Attempting to start 'ora.mdnsd' on '12crac2'
CRS-2676: Start of 'ora.evmd' on '12crac2' succeeded
CRS-2676: Start of 'ora.mdnsd' on '12crac2' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on '12crac2'
CRS-2676: Start of 'ora.gpnpd' on '12crac2' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on '12crac2'
CRS-2676: Start of 'ora.gipcd' on '12crac2' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on '12crac2'
CRS-2676: Start of 'ora.cssdmonitor' on '12crac2' succeeded
CRS-2672: Attempting to start 'ora.cssd' on '12crac2'
CRS-2672: Attempting to start 'ora.diskmon' on '12crac2'
CRS-2676: Start of 'ora.diskmon' on '12crac2' succeeded
CRS-2789: Cannot stop resource 'ora.diskmon' as it is not running on server '12crac2'
CRS-2676: Start of 'ora.cssd' on '12crac2' succeeded
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on '12crac2'
CRS-2672: Attempting to start 'ora.ctssd' on '12crac2'
CRS-2676: Start of 'ora.ctssd' on '12crac2' succeeded
CRS-2676: Start of 'ora.cluster_interconnect.haip' on '12crac2' succeeded
CRS-2672: Attempting to start 'ora.asm' on '12crac2'
CRS-2676: Start of 'ora.asm' on '12crac2' succeeded
CRS-2672: Attempting to start 'ora.storage' on '12crac2'
CRS-2676: Start of 'ora.storage' on '12crac2' succeeded
CRS-2672: Attempting to start 'ora.crf' on '12crac2'
CRS-2676: Start of 'ora.crf' on '12crac2' succeeded
CRS-2672: Attempting to start 'ora.crsd' on '12crac2'
CRS-2676: Start of 'ora.crsd' on '12crac2' succeeded
CRS-6017: Processing resource auto-start for servers: 12crac2
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on '12crac1'
CRS-2672: Attempting to start 'ora.ons' on '12crac2'
CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on '12crac1' succeeded
CRS-2673: Attempting to stop 'ora.scan1.vip' on '12crac1'
CRS-2677: Stop of 'ora.scan1.vip' on '12crac1' succeeded
CRS-2672: Attempting to start 'ora.scan1.vip' on '12crac2'
CRS-2676: Start of 'ora.scan1.vip' on '12crac2' succeeded
CRS-2672: Attempting to start 'ora.LISTENER_SCAN1.lsnr' on '12crac2'
CRS-2676: Start of 'ora.ons' on '12crac2' succeeded
CRS-2676: Start of 'ora.LISTENER_SCAN1.lsnr' on '12crac2' succeeded
CRS-6016: Resource auto-start has completed for server 12crac2
CRS-6024: Completed start of Oracle Cluster Ready Services-managed resources
CRS-4123: Oracle High Availability Services has been started.
2013/07/01 00:48:43 CLSRSC-343: Successfully started Oracle clusterware stack
2013/07/01 00:49:05 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded

