Centos6.5 + Oracle 11g R2 + NFS build RAC Environment II

Source: Internet
Author: User


650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M00/92/4E/wKioL1j-DujwrhRlAAJmI6DqZNA304.png-wh_500x0-wm_ 3-wmp_4-s_3069401732.png "style=" Float:none; "title=" 1.png "alt=" Wkiol1j-dujwrhrlaajmi6dqzna304.png-wh_50 "/>

650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/92/4E/wKiom1j-DunBpSVoAAJsrM4sf2U636.png-wh_500x0-wm_ 3-wmp_4-s_3242673952.png "style=" Float:none; "title=" 2.png "alt=" Wkiom1j-dunbpsvoaajsrm4sf2u636.png-wh_50 "/>

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M01/92/4E/wKiom1j-DuripNa9AAMPMWU2JX4839.png-wh_500x0-wm_ 3-wmp_4-s_2646945600.png "style=" Float:none; "title=" 3.png "alt=" Wkiom1j-duripna9aampmwu2jx4839.png-wh_50 "/>

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M02/92/4E/wKiom1j-DuvRdhjoAANwsEBzLx4931.png-wh_500x0-wm_ 3-wmp_4-s_3773780531.png "style=" Float:none; "title=" 4.png "alt=" Wkiom1j-duvrdhjoaanwsebzlx4931.png-wh_50 "/>

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M02/92/4E/wKioL1j-DuyA6JFJAALuLZLp8M0532.png-wh_500x0-wm_ 3-wmp_4-s_2289601969.png "style=" Float:none; "title=" 5.png "alt=" Wkiol1j-duya6jfjaalulzlp8m0532.png-wh_50 "/>

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M02/92/4E/wKioL1j-Du2hlyK6AAChzY-39h0368.png-wh_500x0-wm_ 3-wmp_4-s_365231923.png "style=" Float:none; "title=" 6.png "alt=" Wkiol1j-du2hlyk6aachzy-39h0368.png-wh_50 "/>

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M00/92/4F/wKiom1j-Du2jeWI4AAC5lfMJR0Y343.png-wh_500x0-wm_ 3-wmp_4-s_2833308494.png "style=" Float:none; "title=" 7.png "alt=" Wkiom1j-du2jewi4aac5lfmjr0y343.png-wh_50 "/>

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M00/92/4E/wKioL1j-Du7i0DOjAACe8y_0IPA974.png-wh_500x0-wm_ 3-wmp_4-s_998853123.png "style=" Float:none; "title=" 8.png "alt=" Wkiol1j-du7i0dojaace8y_0ipa974.png-wh_50 "/>

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M00/92/4F/wKiom1j-DvDzjgOiAALJZEDgEAw286.png-wh_500x0-wm_ 3-wmp_4-s_1946431021.png "style=" Float:none; "title=" 9.png "alt=" Wkiom1j-dvdzjgoiaaljzedgeaw286.png-wh_50 "/>

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M01/92/4F/wKiom1j-DvGx6TiDAAMTfWrDP-w432.png-wh_500x0-wm_ 3-wmp_4-s_3926395901.png "style=" Float:none; "title=" 10.png "alt=" Wkiom1j-dvgx6tidaamtfwrdp-w432.png-wh_50 "/>

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/92/4E/wKioL1j-DvKzXYkYAALrclH5OMM287.png-wh_500x0-wm_ 3-wmp_4-s_2596241545.png "style=" Float:none; "title=" 11.png "alt=" Wkiol1j-dvkzxykyaalrclh5omm287.png-wh_50 "/>

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/92/4E/wKioL1j-DvXTIfPIAANyPlyr3E8142.png-wh_500x0-wm_ 3-wmp_4-s_944927233.png "style=" Float:none; "title=" 12.png "alt=" Wkiol1j-dvxtifpiaanyplyr3e8142.png-wh_50 "/>

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M02/92/4F/wKiom1j-DveBG3X6AAPCGaT_E7k989.png-wh_500x0-wm_ 3-wmp_4-s_1555737180.png "style=" Float:none; "title=" 13.png "alt=" Wkiom1j-dvebg3x6aapcgat_e7k989.png-wh_50 "/>

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M02/92/4E/wKioL1j-DvjT6qvYAAPxmlCuWvw382.png-wh_500x0-wm_ 3-wmp_4-s_1870771255.png "style=" Float:none; "title=" 14.png "alt=" Wkiol1j-dvjt6qvyaapxmlcuwvw382.png-wh_50 "/>

The following checks, it is best to operate on two machines;

    • Check CRS Status :

[Email protected] ~]$ crsctl check crscrs-4638:oracle high availability servicesis Onlinecrs-4537:cluster ready Service S is onlinecrs-4529:cluster synchronization servicesis onlinecrs-4533:event Manager is online
    • Check cluster Nodes

[Email protected] ~]$ OLSNODES-NRAC1 1RAC2 2
    1. Check Listener Process

[[email protected] ~]$ srvctl status LISTENER listener LISTENER enabled listener LISTENER running on node: RAC1,RAC2
    • Check Oracle ASM

[[email protected] ~]$ srvctl status asm-aasm is running ASM on RAC1,RAC2 enabled.
    • Check OCR

[Email protected] ~]$ ocrcheckstatus of Oracle Cluster Registry is asfollows:version:3total space (Kbytes): 262120Used Space (Kbytes): 2248Available Space (Kbytes): 259872id:1968086688 device/file Name: +ocr_votedevice/file Integrity Chec K Succeededdevice/file Not configured Device/file not configured Device/file notconfigured Device/File not ConfiguredClus ter registry Integrity Check succeededlogical corruption check bypassed due tonon-privileged user


    • Check the voting disk

[[email protected] ~]$ crsctl query css  votedisk## state        file universal id                                  File Name Diskgroup--   -----       -----------------                                  ------------------ ONLINE      433b29a662934f14bf5ce26f5c5f1bbf  (ORCL:OCR_VOTE01)  [ocr_vote] 
    • installation ORACLE11GR2

[Email protected] ~]$ unziplinux.x64_11gr2_database_1of2.zip[[email protected] ~]$ Unziplinux.x64_11gr2_database_ 2of2.zip[[email protected] ~]$ CD Database/[[email protected] database]$./runinstaller


650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M02/92/4F/wKiom1j-EFjC3kf6AAJiyQk7suY092.png-wh_500x0-wm_ 3-wmp_4-s_3103871406.png "style=" Float:none; "title=" 1.png "alt=" Wkiom1j-efjc3kf6aajiyqk7suy092.png-wh_50 "/>

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M00/92/4E/wKioL1j-EFjjei-LAAIwjUWR_-c356.png-wh_500x0-wm_ 3-wmp_4-s_1558194244.png "style=" Float:none; "title=" 2.png "alt=" Wkiol1j-efjjei-laaiwjuwr_-c356.png-wh_50 "/>

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/92/4F/wKiom1j-EGLAV0t0AAKxSSOFAdE368.png-wh_500x0-wm_ 3-wmp_4-s_2737514902.png "style=" Float:none; "title=" 3.png "alt=" Wkiom1j-eglav0t0aakxssofade368.png-wh_50 "/>

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/92/4E/wKioL1j-EGPD_2y_AAJo-XwNRoU008.png-wh_500x0-wm_ 3-wmp_4-s_561539534.png "style=" Float:none; "title=" 4.png "alt=" Wkiol1j-egpd_2y_aajo-xwnrou008.png-wh_50 "/>

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M02/92/4F/wKiom1j-EGWQ-ZnZAANGM3ngK-8377.png-wh_500x0-wm_ 3-wmp_4-s_3819281001.png "style=" Float:none; "title=" 5.png "alt=" Wkiom1j-egwq-znzaangm3ngk-8377.png-wh_50 "/>

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/92/4E/wKioL1j-EGbihTcoAAN5pRU4-Os217.png-wh_500x0-wm_ 3-wmp_4-s_330668329.png "style=" Float:none; "title=" 6.png "alt=" Wkiol1j-egbihtcoaan5pru4-os217.png-wh_50 "/>

Run the script on two machines [[email protected] ~]#/u01/app/oracle/product/11.2.0/db_1/root.sh  running  Oracle 11g root.sh script... the following environment variables are  setas: oracle_owner= oracle oracle_home=    /u01/app/oracle/product/ 11.2.0/db_1 enter the full pathname of the local bindirectory: [/ usr/local/bin]: the file  "Dbhome"  already existsin /usr/local/bin.     Overwrite it?  (y/n) [N]: y copying dbhome to /usr/local/bin  ... The file  "Oraenv"  already existsin /usr/local/bin.     Overwrite it?  (y/n) [n]: y copying oraenv to /usr/local/bin   The file  "Coraenv"  already existsin /usr/local/bin.     overwrite it?  (y/n) [N]: y copying coraenv to /usr/local/bin ...   entries will  be added to the /etc/oratabfile as needed by Database  configuration assistant when adatabase is created finished running  Generic part of root.shscript. now product-specific root actions will  beperformed. finished product-specific root actions.

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M02/92/4E/wKioL1j-EKmj_XnMAAGuHsrXIws536.png-wh_500x0-wm_ 3-wmp_4-s_3853412643.png "title=" 7.png "alt=" Wkiol1j-ekmj_xnmaaguhsrxiws536.png-wh_50 "/>


    • Create a database

# su–oracle$ DBCA

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M02/92/4E/wKioL1j-ETawmX8UAADVujs-Sos979.png-wh_500x0-wm_ 3-wmp_4-s_1345971201.png "style=" Float:none; "title=" 1.png "alt=" Wkiol1j-etawmx8uaadvujs-sos979.png-wh_50 "/>

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M02/92/4E/wKioL1j-ETfAo84GAADRPp-DFk8617.png-wh_500x0-wm_ 3-wmp_4-s_4203988589.png "style=" Float:none; "title=" 2.png "alt=" Wkiol1j-etfao84gaadrpp-dfk8617.png-wh_50 "/>

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M00/92/4F/wKiom1j-ETfBOhNgAADpccL6044598.png-wh_500x0-wm_ 3-wmp_4-s_1226205564.png "style=" Float:none; "title=" 3.png "alt=" Wkiom1j-etfbohngaadpccl6044598.png-wh_50 "/>

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M00/92/4E/wKioL1j-ETiSG_vgAADgjdsESzo287.png-wh_500x0-wm_ 3-wmp_4-s_1057237236.png "style=" Float:none; "title=" 4.png "alt=" Wkiol1j-etisg_vgaadgjdseszo287.png-wh_50 "/>

650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M00/92/4F/wKiom1j-ETniPimiAAJj5gE3SLo702.png-wh_500x0-wm_ 3-wmp_4-s_3825618820.png "style=" Float:none; "title=" 5.png "alt=" Wkiom1j-etnipimiaajj5ge3slo702.png-wh_50 "/>

650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/92/4E/wKioL1j-ETvCz7_xAALX5x_O3vA535.png-wh_500x0-wm_ 3-wmp_4-s_821818512.png "style=" Float:none; "title=" 6.png "alt=" Wkiol1j-etvcz7_xaalx5x_o3va535.png-wh_50 "/>

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/92/4E/wKioL1j-ETzA2-HrAALgMoLqbfg779.png-wh_500x0-wm_ 3-wmp_4-s_2243152652.png "style=" Float:none; "title=" 7.png "alt=" Wkiol1j-etza2-hraalgmolqbfg779.png-wh_50 "/>

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M00/92/4E/wKioL1j-ET3hRW2MAAJb8dBV_M8943.png-wh_500x0-wm_ 3-wmp_4-s_3318089772.png "style=" Float:none; "title=" 8.png "alt=" Wkiol1j-et3hrw2maajb8dbv_m8943.png-wh_50 "/>

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M01/92/4F/wKiom1j-ET-g8-LVAAK0p1D33gA591.png-wh_500x0-wm_ 3-wmp_4-s_904569745.png "style=" Float:none; "title=" 9.png "alt=" Wkiom1j-et-g8-lvaak0p1d33ga591.png-wh_50 "/>

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M00/92/4F/wKiom1j-EUCAToyZAALk6lqYI5s861.png-wh_500x0-wm_ 3-wmp_4-s_248279133.png "style=" Float:none; "title=" 10.png "alt=" Wkiom1j-eucatoyzaalk6lqyi5s861.png-wh_50 "/>

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M00/92/4E/wKioL1j-EUDC4q_mAAH-gALM_g4259.png-wh_500x0-wm_ 3-wmp_4-s_1486010171.png "style=" Float:none; "title=" 11.png "alt=" Wkiol1j-eudc4q_maah-galm_g4259.png-wh_50 "/>

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M01/92/4E/wKioL1j-EUKjGFgdAAKO6mSCyZQ534.png-wh_500x0-wm_ 3-wmp_4-s_2267512842.png "style=" Float:none; "title=" 12.png "alt=" Wkiol1j-eukjgfgdaako6mscyzq534.png-wh_50 "/>

650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M02/92/4F/wKiom1j-EUOi9XXZAALcDY249CU130.png-wh_500x0-wm_ 3-wmp_4-s_2509605691.png "style=" Float:none; "title=" 13.png "alt=" Wkiom1j-euoi9xxzaalcdy249cu130.png-wh_50 "/>

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M02/92/4E/wKioL1j-EUSiId_DAAKazKmupFM566.png-wh_500x0-wm_ 3-wmp_4-s_3979188493.png "style=" Float:none; "title=" 14.png "alt=" Wkiol1j-eusiid_daakazkmupfm566.png-wh_50 "/>

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M01/92/4F/wKiom1j-EUawYFDSAAKYDogWkYE151.png-wh_500x0-wm_ 3-wmp_4-s_4219937876.png "style=" Float:none; "title=" 15.png "alt=" Wkiom1j-euawyfdsaakydogwkye151.png-wh_50 "/>


atthis point, the Oracle 11GR2 RAC installation is complete, and you can use Plsql for connection testing



This article is from the "junly" blog, make sure to keep this source http://junly917.blog.51cto.com/2846717/1919025

Centos6.5 + Oracle 11g R2 + NFS build RAC Environment II

Related Article

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.