Oracle study--oracle 12c RAC Install (ii) ____oracle

Source: Internet
Author: User
Oracle Study--oracle 12c RAC Install (ii)
Third, install the grid infrastructure
1. Install GI software [Root@node1 grid]#./runinstaller











2. Run the script [root@node1 cvu_12.1.0.2.0_grid]#/u01/app/orainventory/orainstroot.sh
changing permissions of/u01/app/orainventory.
Adding Read,write permissions for group.
Removing Read,write,execute permissions for the world.
Changing groupname of/u01/app/orainventory to Oinstall.
The execution of the script is complete.

To run the root.sh script:

[root@node1 ~]#/u01/12.2.0/grid/root.sh
Performing root user operation.
The following environment variables are set as:
oracle_owner= Grid
Oracle_home=/u01/12.2.0/grid
Enter the full pathname to the local bin directory: [/usr/local/bin]:
The contents of "Dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.
Entries'll 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 would be performed.
Using configuration parameter file:/u01/12.2.0/grid/crs/install/crsconfig_params
2017/05/12 19:02:43 clsrsc-4001:installing Oracle Trace File Analyzer (TFA) Collector.
2017/05/12 19:03:26 clsrsc-4002:successfully installed Oracle Trace File Analyzer (TFA) Collector.
2017/05/12 19:03:28 Clsrsc-363:user ignored prerequisites during
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
2017/05/12 19:04: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-2672:attempting to start ' ora.evmd ' in ' Node1 '
Crs-2672:attempting to start ' ora.mdnsd ' in ' Node1 '
Crs-2676:start of ' ora.mdnsd ' on ' Node1 ' succeeded
Crs-2676:start of ' ora.evmd ' on ' Node1 ' succeeded
Crs-2672:attempting to start ' ora.gpnpd ' in ' Node1 '
Crs-2676:start of ' ora.gpnpd ' on ' Node1 ' succeeded
Crs-2672:attempting to start ' ora.cssdmonitor ' in ' Node1 '
Crs-2672:attempting to start ' ora.gipcd ' in ' Node1 '
Crs-2676:start of ' ora.cssdmonitor ' on ' Node1 ' succeeded
Crs-2676:start of ' ora.gipcd ' on ' Node1 ' succeeded
Crs-2672:attempting to start ' ora.cssd ' in ' Node1 '
Crs-2672:attempting to start ' Ora.diskmon ' in ' Node1 '
Crs-2676:start of ' Ora.diskmon ' on ' Node1 ' succeeded
Crs-2676:start of ' ora.cssd ' on ' Node1 ' succeeded

The following error occurred:
ASM failed to start. Check/u01/app/oracle/cfgtoollogs/asmca/asmca-170512pm070629.log for details.
2017/05/12 19:07:04 clsrsc-184:configuration of ASM failed
2017/05/12 19:07:05 clsrsc-258:failed To configure and start ASM
died at/u01/12.2.0/grid/crs/install/crsinstall.pm line 2017.

Error Resolution: (Adjust/DEV/SHM)
[root@node1 install]# cat/etc/fstab
tmpfs/dev/shm tmpfs defaults,size=4g 0 0
[root@node1 install]# mount-o Remount/dev/shm
After adjustment:

[Root@node1 install]# Df-h
FileSystem Size Used Avail use% mounted on
tmpfs 4.0G 112K 4.0G 1%/dev/shm

To Delete root.sh configuration information:
[Root@node1 install]# perl Rootcrs.pl-deconfig-force
Using configuration parameter file:./crsconfig_params
prcr-1070:failed to check if resource ora.net1.network is registered
Crs-0184:cannot communicate with the CRS daemon.
prcr-1070:failed to check if resource Ora.helper is registered
Crs-0184:cannot communicate with the CRS daemon.
prcr-1070:failed to check if resource ora.ons is registered
Crs-0184:cannot communicate with the CRS daemon.
2017/05/12 19:25:35 clsrsc-4006:removing Oracle Trace File Analyzer (TFA) Collector.
2017/05/12 19:25:47 clsrsc-4007:successfully removed Oracle Trace File Analyzer (TFA) Collector.
2017/05/12 19:25:49 clsrsc-336:successfully deconfigured Oracle clusterware stack on this node
re-execute the root.sh script: Node1:
[root@node1 install]#/u01/12.2.0/grid/root.sh
Performing root user operation.
The following environment variables are set as:
oracle_owner= Grid
Oracle_home=/u01/12.2.0/grid
Enter the full pathname to the local bin directory: [/usr/local/bin]:
The contents of "Dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.
Entries'll 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 would be performed.
Using configuration parameter file:/u01/12.2.0/grid/crs/install/crsconfig_params
2017/05/12 19:27:10 clsrsc-4001:installing Oracle Trace File Analyzer (TFA) Collector.
2017/05/12 19:27:36 clsrsc-4002:successfully installed Oracle Trace File Analyzer (TFA) Collector.
2017/05/12 19:27:37 Clsrsc-363:user ignored prerequisites during
OLR initialization-successful
2017/05/12 19:28:04 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-2672:attempting to start ' ora.evmd ' in ' Node1 '
Crs-2672:attempting to start ' ora.mdnsd ' in ' Node1 '
Crs-2676:start of ' ora.mdnsd ' on ' Node1 ' succeeded
Crs-2676:start of ' ora.evmd ' on ' Node1 ' succeeded
Crs-2672:attempting to start ' ora.gpnpd ' in ' Node1 '
Crs-2676:start of ' ora.gpnpd ' on ' Node1 ' succeeded
Crs-2672:attempting to start ' ora.cssdmonitor ' in ' Node1 '
Crs-2672:attempting to start ' ora.gipcd ' in ' Node1 '
Crs-2676:start of ' ora.cssdmonitor ' on ' Node1 ' succeeded
Crs-2676:start of ' ora.gipcd ' on ' Node1 ' succeeded
Crs-2672:attempting to start ' ora.cssd ' in ' Node1 '
Crs-2672:attempting to start ' Ora.diskmon ' in ' Node1 '
Crs-2676:start of ' Ora.diskmon ' on ' Node1 ' succeeded
Crs-2676:start of ' ora.cssd ' on ' Node1 ' succeeded
ASM created and started successfully.
Disk Group DATA created successfully.
Crs-2672:attempting to start ' ORA.CRF ' in ' Node1 '
Crs-2672:attempting to start ' ora.storage ' in ' Node1 '
Crs-2676:start of ' ora.storage ' on ' Node1 ' succeeded
Crs-2676:start of ' ORA.CRF ' on ' Node1 ' succeeded
Crs-2672:attempting to start ' ora.crsd ' in ' Node1 '
Crs-2676:start of ' ora.crsd ' on ' Node1 ' succeeded
Crs-4256:updating the profile
Successful addition of voting disk 7ed8c1e621184fbcbfcd9591d8910374.
Successfully replaced voting disk group with +data.
Crs-4256:updating the profile
crs-4266:voting file (s) successfully replaced
# # state File Universal Id file Name Disk Group
--  -----    -----------------                --------- ---------
1. ONLINE 7ed8c1e621184fbcbfcd9591d8910374 (/DEV/ASM_DSK1) [DATA]
Located 1 voting disk (s).
crs-2791:starting shutdown of Oracle high availability services-managed the ' Node1 '
Crs-2673:attempting to stop ' ora.crsd ' on ' node1 '
Crs-2677:stop of ' ora.crsd ' on ' Node1 ' succeeded
Crs-2673:attempting to stop ' ORA.CRF ' on ' node1 '
Crs-2673:attempting to stop ' ora.ctssd ' on ' node1 '
Crs-2673:attempting to stop ' ora.evmd ' on ' node1 '
Crs-2673:attempting to stop ' ora.storage ' on ' node1 '
Crs-2673:attempting to stop ' ora.mdnsd ' on ' node1 '
Crs-2673:attempting to stop ' ora.gpnpd ' on ' node1 '
Crs-2673:attempting to stop ' ora.drivers.acfs ' on ' node1 '
Crs-2677:stop of ' ora.storage ' on ' Node1 ' succeeded
Crs-2673:attempting to stop ' ora.asm ' on ' node1 '
Crs-2677:stop of ' ora.drivers.acfs ' on ' Node1 ' succeeded
Crs-2677:stop of ' ORA.CRF ' on ' Node1 ' succeeded
Crs-2677:stop of ' ora.evmd ' on ' Node1 ' succeeded
Crs-2677:stop of ' ora.ctssd ' on ' Node1 ' succeeded
Crs-2677:stop of ' ora.gpnpd ' on ' Node1 ' succeeded
Crs-2677:stop of ' ora.mdnsd ' on ' Node1 ' succeeded
Crs-2677:stop of ' ora.asm ' on ' Node1 ' succeeded
Crs-2673:attempting to stop ' ora.cluster_interconnect.haip ' on ' node1 '
Crs-2677:stop of ' ora.cluster_interconnect.haip ' on ' Node1 ' succeeded
Crs-2673:attempting to stop ' ora.cssd ' on ' node1 '
Crs-2677:stop of ' ora.cssd ' on ' Node1 ' succeeded
Crs-2673:attempting to stop ' ora.gipcd ' on ' node1 '
Crs-2677:stop of ' ora.gipcd ' on ' Node1 ' succeeded
Crs-2793:shutdown of Oracle High availability services-managed resources on ' Node1 ' has completed
Crs-4133:oracle High Availability Services has been stopped.
Crs-4123:starting Oracle High Availability services-managed
Crs-2672:attempting to start ' ora.mdnsd ' in ' Node1 '
Crs-2672:attempting to start ' ora.evmd ' in ' Node1 '
Crs-2676:start of ' ora.mdnsd ' on ' Node1 ' succeeded
Crs-2676:start of ' ora.evmd ' on ' Node1 ' succeeded
Crs-2672:attempting to start ' ora.gpnpd ' in ' Node1 '
Crs-2676:start of ' ora.gpnpd ' on ' Node1 ' succeeded
Crs-2672:attempting to start ' ora.gipcd ' in ' Node1 '
Crs-2676:start of ' ora.gipcd ' on ' Node1 ' succeeded
Crs-2672:attempting to start ' ora.cssdmonitor ' in ' Node1 '
Crs-2676:start of ' ora.cssdmonitor ' on ' Node1 ' succeeded
Crs-2672:attempting to start ' ora.cssd ' in ' Node1 '
Crs-2672:attempting to start ' Ora.diskmon ' in ' Node1 '
Crs-2676:start of ' Ora.diskmon ' on ' Node1 ' succeeded
Crs-2676:start of ' ora.cssd ' on ' Node1 ' succeeded
Crs-2672:attempting to start ' ora.cluster_interconnect.haip ' in ' Node1 '
Crs-2672:attempting to start ' ora.ctssd ' in ' Node1 '
Crs-2676:start of ' ora.ctssd ' on ' Node1 ' succeeded
Crs-2676:start of ' ora.cluster_interconnect.haip ' on ' Node1 ' succeeded
Crs-2672:attempting to start ' ora.asm ' in ' Node1 '
Crs-2676:start of ' ora.asm ' on ' Node1 ' succeeded
Crs-2672:attempting to start ' ora.storage ' in ' Node1 '
Crs-2676:start of ' ora.storage ' on ' Node1 ' succeeded
Crs-2672:attempting to start ' ORA.CRF ' in ' Node1 '
Crs-2676:start of ' ORA.CRF ' on ' Node1 ' succeeded
Crs-2672:attempting to start ' ora.crsd ' in ' Node1 '
Crs-2676:start of ' ora.crsd ' on ' Node1 ' succeeded
Crs-6023:starting Oracle Cluster Ready services-managed Resources
crs-6017:processing Resource Auto-start for Servers:node1
Crs-6016:resource Auto-start has completed for server Node1
crs-6024:completed start of Oracle Cluster Ready services-managed Resources
Crs-4123:oracle High Availability Services has been started.
2017/05/12 19:33:37 clsrsc-343:successfully started Oracle clusterware stack
crs-2672:attempting to start ' Ora. Asmnet1lsnr_asm.lsnr ' on ' node1 '
Crs-2676:start of ' Ora. Asmnet1lsnr_asm.lsnr ' on ' Node1 ' succeeded
Crs-2672:attempting to start ' ora.asm ' in ' Node1 '
Crs-2676:start of ' ora.asm ' on ' Node1 ' succeeded
crs-2672:attempting to start ' Ora. Data.dg ' on ' node1 '
Crs-2676:start of ' Ora. Data.dg ' on ' Node1 ' succeeded
crs-2791:starting shutdown of Oracle high availability services-managed the ' Node1 '
Crs-2673:attempting to stop ' ora.crsd ' on ' node1 '
crs-2790:starting shutdown of Cluster Ready services-managed resources on ' Node1 '
Crs-2673:attempting to stop ' ora.oc4j ' on ' node1 '
crs-2673:attempting to stop ' Ora. Data.dg ' on ' node1 '
Crs-2673:attempting to stop ' ORA.CVU ' on ' node1 '

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.