第2个脚本第一个节点:
db1:~ # /u01/app/oraInventory/orainstRoot.shChanging permissions of/u01/app/oraInventory.
Adding read,write permissions forgroup.
Removing read,write,execute permissions forworld.
Changing groupname of/u01/app/oraInventory to oinstall.
The execution of the script is complete.
db1:~ # /u01/app/grid/product/11204/root.shPerforming root user operationforOracle 11g
The following environment variables are set as:
ORACLE_OWNER=grid
ORACLE_HOME= /u01/app/grid/product/11204Enter 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 fileas 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 parameterfile: /u01/app/grid/product/11204/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
Installing Trace File Analyzer
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 ‘db1‘CRS-2676: Start of ‘ora.mdnsd‘ on ‘db1‘succeeded
CRS-2672: Attempting to start ‘ora.gpnpd‘ on ‘db1‘CRS-2676: Start of ‘ora.gpnpd‘ on ‘db1‘succeeded
CRS-2672: Attempting to start ‘ora.cssdmonitor‘ on ‘db1‘CRS-2672: Attempting to start ‘ora.gipcd‘ on ‘db1‘CRS-2676: Start of ‘ora.cssdmonitor‘ on ‘db1‘succeeded
CRS-2676: Start of ‘ora.gipcd‘ on ‘db1‘succeeded
CRS-2672: Attempting to start ‘ora.cssd‘ on ‘db1‘CRS-2672: Attempting to start ‘ora.diskmon‘ on ‘db1‘CRS-2676: Start of ‘ora.diskmon‘ on ‘db1‘succeeded
CRS-2676: Start of ‘ora.cssd‘ on ‘db1‘succeeded
ASM created and started successfully.
Disk Group OCRVOT created successfully.
clscfg:-installmode specified
Successfully accumulated necessary OCR keys.
Creating OCR keysfor user ‘root‘, privgrp ‘root‘..
Operation successful.
CRS-4256: Updating the profile
Successful addition of voting disk 030d6d33008d4f5ebfc2a67b6b2bdf1c.
Successful addition of voting disk 6ad52e0a4c5f4fbcbf7f4fb09137567b.
Successful addition of voting disk 22b65048787c4fe2bfe63c6c0dd06fe8.
Successfully replaced voting disk group with+OCRVOT.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
## STATE File Universal Id File Name Disk group-- ----- ----------------- --------- ---------
1. ONLINE 030d6d33008d4f5ebfc2a67b6b2bdf1c (/dev/oracleasm/disks/OCRVOT1) [OCRVOT]2. ONLINE 6ad52e0a4c5f4fbcbf7f4fb09137567b (/dev/oracleasm/disks/OCRVOT2) [OCRVOT]3. ONLINE 22b65048787c4fe2bfe63c6c0dd06fe8 (/dev/oracleasm/disks/OCRVOT3) [OCRVOT]
Located3voting disk(s).
CRS-2672: Attempting to start ‘ora.asm‘ on ‘db1‘CRS-2676: Start of ‘ora.asm‘ on ‘db1‘succeeded
CRS-2672: Attempting to start ‘ora.OCRVOT.dg‘ on ‘db1‘CRS-2676: Start of ‘ora.OCRVOT.dg‘ on ‘db1‘succeeded
Configure Oracle Grid Infrastructurefora Cluster ... succeeded
db1:~#
db1:/sof
第二个脚本第二个节点:
db2:/software # /u01/app/grid/product/11204/root.shPerforming root user operationforOracle 11g
The following environment variables are set as:
ORACLE_OWNER=grid
ORACLE_HOME= /u01/app/grid/product/11204Enter 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 fileas 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 parameterfile: /u01/app/grid/product/11204/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
Installing Trace File Analyzer
OLR initialization-successful
Adding Clusterware entries to inittab
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node db1, number 1, and is terminating
An active cluster was found during exclusive startup, restarting tojointhe cluster
Configure Oracle Grid Infrastructurefora Cluster ... succeeded
db2:/software #