收藏 分销(赏)

Linux-Oracle-11gR2-RAC安装配置.docx

上传人:二*** 文档编号:4575557 上传时间:2024-09-30 格式:DOCX 页数:51 大小:98.06KB
下载 相关 举报
Linux-Oracle-11gR2-RAC安装配置.docx_第1页
第1页 / 共51页
亲,该文档总共51页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

1、环境:Oracle Linux CentOS 6. 4 两台Oracle 11g R21、IP规划127.0.0.1 localhost, localdomain localhost #public ip192. 168. 10.211 racl192. 168. 10. 212 rac2#priv ip10. 10. 10. 211 raclprv10. 10. 10. 212 rac2prv #vip ip168. 10.213 raclvip192.168. 10. 214 rac2vip#scan ip192. 168. 10. 215 racscan2、磁盘规划+CRS三个2G的盘+

2、DGDATA三个10G的盘+DGRECOVERY 两个 5G 的盘/usr/sbin/groupadd /usr/sbin/groupadd /usr/sbin/groupadd /usr/sbin/groupadd /usr/sbin/groupadd /usr/sbin/groupadd/usr/sbin/groupadd /usr/sbin/groupadd /usr/sbin/groupadd /usr/sbin/groupadd /usr/sbin/groupadd /usr/sbin/groupadd-g-g一g-g-g501502503504505506oinstall dbao

3、per asmadminasmoper asmdba/usr/sbin/useradd -g oinstall -G dba, asmdba, oper oracle/usr/sbin/useradd -g oinstall -G asmadmin, asmdba, asmoper, oper,dba grid 使用CVU验证是否满足Oracle集群件要求记住要作为grid用户在将要执行Oracle安装的节点(racnodel)上运行。此 外,必须为grid用户配置通过用户等效性实现的SSH连通性。在grid软件目录里运行以下命令:./runcluvfy. sh stage -pre crsi

4、nst -n racl, rac2 -fixup -verbosegridracl grid$ . /runcluvfy. sh stage -pre crsinst -n racl, rac2 -fixup -verbosePerforming pre-chccks for cluster services setupChecking node reachability.检查过程省略.使用CVU验证硬件和操作系统设置./runcluvfy. sh stage -post hwos -n racl, rac2 -verbosegridracl gridS . /runcluvfy. sh st

5、age -post hwos -n racl,rac2 -verbose Performing post-checks for hardware and operating system setup Checking node reachability.检查过程省略.6、su - grid./runinstallerscan配置:cluster scan: sanclustersscanname:racscanscanport:1521/oracle/app/oralnventory/orainstRoot.shrootracl soft# /oracle/app/oralnventory/o

6、rainstRoot. shChanging permissions of /oracle/app/oralnventory.Adding read,write permissions for group.Removing read, write, execute permissions for world.Changing groupname of /orac1e/app/ora1nventory to oinstall.The execution of the script, is complete.rootrac2 soft# /orac1e/app/oralnventory/orain

7、stRoot. shChanging permissions of /oracle/app/oralnventory.Adding read, write permissions for group.Removing read, write, execute permissions for world.Changing groupname of /orac1e/app/oraInventory to oinstall.The execution of the script, is complete./oracle/app/grid/product/11. 2. 0/root. shrootra

8、cl soft# /oracle/app/oralnventory/orainstRoot.shChanging permissions of /oracle/app/oralnventory.Adding read,write permissions for group.Removing read, wri te, execute permissions for world.Changing groupname of /oracle/app/oraTnventory to oinstal1.The execution of the script, is complete.rootracl s

9、oft# /oracle/app/grid/product/11. 2. 0/root. shRunning Oracle 11g root.sh script.The following environment variables are set as:ORACLE.OWNER二 gridORACLEJ1OME= /oracle/app/grid/product/11. 2. 0Enter the full pathname of the local bin directory: /usr/local/bin:Copying dbhome to /usr/local/binCopying o

10、raenv to /usr/local/binCopying coraenv to /usr/local/binCreating /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.sh script.Now product-specific root actions will be performed

11、.2010-07-28 16:19:03: Parsing the host name2010-07-28 16:19:03: Checking for super user privileges2010-07-28 16:19:03: User has super user privilegesUsing configuration parameter file:/orac1e/app/grid/product/11. 2. 0/crs/instal1/crsconf ig_params Creating trace directory LOCAL ADD MODECreating OCR

12、keys for user root, privgrp root. Operation 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 profi1e reader root cert TP pa root cert TP peer pa

13、cert TP pa peer cert TP profile reader pa cert TP profile reader peer cert TP peer user cert pa user certAdding daemon to inittabCRS-4123: Oracle High Availability Services has been started, ohasd is startingCRS-4123: Oracle High Availability Services has been started, ohasd is startingCRS-2672: Att

14、empting to start * ora. gipcd, on 1 racT CRS-2672: Attempting to start ora. mdnsd on racl CRS-2676: Start of ora. gipcd on ,racT succeeded CRS-2676: Start of ora. mdnsd on , racT succeeded CRS-2672: Attempting to start , ora. gpnpd, on racl CRS-2676: Start of ora. gpnpd on , racf succeeded CRS-2672:

15、 Attempting to start ora. cssdmonitor on racl CRS-2676: Start of ora. cssdmonitor on , rac1* succeeded CRS-2672: Attempting to start ora. cssd on J racT CRS-2672: Attempting to start J ora. diskmon, on ,racT CRS-2676: Start of * ora.diskmon, on , rac11 succeeded CRS-2676: Start of ora.cssd on racl s

16、ucceededCRS-2672: Attempting to start ora. ctssd on 1 racT CRS-2676: Start of ora.ctssd on racl succeededASM created and started successfully.DiskGroup CRS created successfully.clscfg: -install mode specifiedSuccessfully accumulated necessary OCR keys.Creating OCR keys for user root, privgrp root.Op

17、eration successful.CRS-2672: Attempting to start J ora. crsd, on J rac1 ,CRS-2676: Start of J ora.crsd, on 5 rac1J succeededCRS-4256: Updating the profileSuccessful addition of voting disk a81aaf52b2b74ff5bf7a773e7966ea7c.Successfully replaced voting disk group with +CRS.CRS-4256: Updating the profi

18、leCRS-4266: Voting file(s) successfully replaced# STATE File Universal IdFileName Disk group1. ONLINE a81aaf52b2b74ff5bf7a773e7966ea7c (ORCL:CRS1) CRS Located 1 voting disk(s).CRS-2673: Attempting to stop ora. ersd on raclCRS-2677: Stop of ora. ersd on racl succeededCRS-2673: Attempting to stop ora.

19、 asm on raclCRS-2677: Stop of ora. asm on racl succeededCRS-2673: Attempting to stop 1 ora. ctssd* on * raclCRS-2677: Stop of ora. ctssd on racl succeededCRS-2673: Attempting to stop J ora. cssdmonitor, on , rac11CRS-2677: Stop of J ora. cssdmonitor5 on racl succeededCRS-2673: Attempting to stop ora

20、. cssd on raclCRS-2677: Stop of ora. cssd on racl succeededCRS-2673: Attempting to stop ora. gpnpd on raclCRS-2677: Stop of ora. gpnpd on * rac1 * succeededCRS-2673: Attempting to stop ora. giped on raclCRS-2677: Stop of ora. giped on racl succeededCRS-2673: Attempting to stop ora. mdnsd on raclCRS-

21、2677: Stop of ora. mdnsd on , rac1 , succeededCRS-2672: Attempting to start ora. mdnsd on raclCRS-2676: Start of ora.mdnsd on racl succeededCRS-2672: Attempting to start J ora. giped* on raclCRS-2676: Start of ora. giped on racl succeededCRS-2672: Attempting to start * ora. gpnpd, on raclCRS-2676: S

22、tart of ora. gpnpd on racl succeededCRS-2672: Attempting to start , ora. cssdmonitor, on raclCRS-2676: Start of J ora. cssdmonitor, on racl succeededCRS-2672: Attempting to start ora. cssd on raclCRS-2672: Attempting to start , ora. diskmon, on raclCRS-2676: Start of J ora. diskmon, on * rac1 * succ

23、eededCRS-2676: Start of ,ora.cssd, on racl succeededCRS-2672: Attempting to start * ora. ctssd, on ) rac1* CRS-2676: Start of ora. ctssd on 5 rac11 succeeded CRS-2672: Attempting to start , ora. asm on racl CRS-2676: Start of ora. asm on racl succeededAttempting to start Start of ora. crsdJ Attempti

24、ng to start Start of ora. evmd, Attempting to start Start of ora. asm,Attempting to start Start of ora. crsdJ Attempting to start Start of ora. evmd, Attempting to start Start of ora. asm,CRS-2672:CRS-2676:CRS-2672:CRS-2676:CRS-2672:CRS-2676:CRS-2672:CRS-2676:CRS-2672:CRS-2676:, ora. ersd, on racl o

25、n racl succeeded , ora. evmd, on racl on racl succeeded ora. asm on racl on * rac1* succeededAttempting to start ora. CRS. dg on raclStart of ora. CRS. dg on * rac1, succeeded Attempting to start * ora. registry, acfs5 on racl Start of ? ora. registry, acfs, on racl succeededracl2010/07/2816:31:27/o

26、racle/app/grid/product/11.2. 0/cdata/racl/backup 20100728_163127. olrConfigure Oracle Grid Infrastructure for a Cluster succeeded Updating inventory properties for clusterware Starting Oracle Universal Installer.Checking swap space: must be greater than 500 MB. Actual 971MB PassedThe inventory point

27、er is located at /etc/oralnst. locThe inventory is located at /orac1e/app/oralnventory J UpdateNodeList, was successful.rootrac2 soft# /oracle/app/grid/product/11. 2. 0/root. shRunning Oracle 11g root.sh script.The following environment variables are set as:ORACLE_OWNER= gridORACLE_HOME= /oracle/app

28、/grid/product/11. 2. 0Enter the full pathname of the local bin directory: /usr/local/bin: The file dbhome already exists in /usr/local/bin. Overwrite it? (y/n) n: yCopying dbhome to /usr/local/binThe file ,oraenv“ already exists in /usr/local/bin. Overwrite it? (y/n)n: yCopying oraenv to /usr/local/

29、binThe file coracnv already exists in /usr/local/bin. Overwrite it? (y/n) n: yCopying coraenv to /usr/local/binEntries will be added to the /etc/oratab file as needed byDatabase Configuration Assistant when a database is createdFinished running generic part of root, sh script.Now product-specific ro

30、ot actions wi11 be performed.2010-08-02 14:32:28: Parsing the host name2010-08-02 14:32:28: Checking for super user privileges2010-08-02 14:32:28: User has super user privilegesUsing configuration parameter file:/oracle/app/grid/product/11. 2. 0/crs/instai1/crsconf i g paramsCreating trace directory

31、I.OCAL ADD MODECreating OCR keys for user root, privgrp root.Operation successful.Adding daemon to inittabCRS-4123: Oracle High Availability Services has been started, ohasd is startingCRS-4402: The CSS daemon was started in exclusive mode but found an activeCSS daemon on node racl, number 1, and is

32、 terminatingAn active cluster was found during exclusive startup, restarting to join the clusterCRS-2672: Attempting to start ora. mdnsd on rac2CRS-2676: Start of ora. mdnsd on * rac2, succeededCRS-2672: Attempting to start ora. giped on rac2CRS-2676: Start of ora. giped on rac2 succeededCRS-2672: A

33、ttempting to start ora. gpnpd on rac2CRS-2676: Start of ora. gpnpd on rac2 succeededCRS-2672: Attempting to start * ora. cssdmonitor, on rac2CRS-2676: Start of J ora. cssdmonitor, on rac2 succeededCRS-2672: Attempting to start J ora. cssd, on rac2CRS-2672: Attempting to start J ora. diskmon, on rac2

34、CRS-2676: Start of ora. diskmon on rac2 succeededCRS-2676: Start of ,ora.cssd, on rac2 succeededCRS-2672: Attempting to start * ora. ctssd, on rac2CRS-2676: Start of ora.ctssd on rac2 succeededCRS-2672: Attempting to start * ora. drivers. acfs, on ,rac2,CRS-2676: Start of , ora. drivers. acfs, on ra

35、c2 succeededCRS-2672: Attempting to start ora. asm on rac2CRS-2676: Start of ora. asm on rac2 succeededCRS-2672: Attempting to start ora. crsd on * rac2*CRS-2676: Start of ora.crsd on rac2 succeededCRS-2672: Attempting to start ora. evmd on rac2CRS-2676: Start of * ora. evmd, on * rac2, succeededrac

36、22010/08/0214:37:51/oracle/app/grid/product/11. 2. 0/cdata/rac2/backup_20100802 143751.olrConfigure Oracle Grid Infrastructure for a Cluster succeeded Updating inventory properties for clusterware Starting Oracle Universal Installer.Checking swap space: must be greater than 500 MB. Actual 1202MB Pas

37、sedThe inventory pointer is located at /etc/oralnst. loc The inventory is located at /oracle/app/oralnventory UpdatcNodcList was successful.gridrac2 $ srvctl enable oc4jPRKO-2116 : 0C4J is already enabledgridrac2 $ srvctl start oc4jgridrac2 $ srvctl enable nodeappsPRKO-2415 : VIP is already enabled

38、on node(s): racl, rac2PRKO-2416 : Network resource is already enabled.PRKO-2417 : ONS is already enabled on node (s): racl, rac2PRKO-2418 : eONS is already enabledgridrac2 、$ crs_stat -tNameTypeHostPRKO-2418 : eONS is already enabledgridrac2 、$ crs_stat -tNameTypeHoston node(s): racl, rac2Target Sta

39、teora. CRS. dgora. up. typeONLINEONLINEraclora. ER. Isnr ora. er. type ONLINEONLINEraclora. Nl. Isnr ora. er. type ONLINEONLINEraclora. asmora. asm. typeora. consora. cons, typeora. gsdora. gsd. typeora. CRS. dgora. up. typeONLINEONLINEraclora. ER. Isnr ora. er. type ONLINEONLINEraclora. Nl. Isnr or

40、a. er. type ONLINEONLINEraclora. asmora. asm. typeora. consora. cons, typeora. gsdora. gsd. typeora. network ora. rk. typeONLINEONLINEraclONLINE ONLINE raclONLINEONLINEraclONLINE ONLINE raclora. oc4jora. oc4j. type ONLINE ONLINE rac2ora. onsora. ons. type ONLINE ONLINE raclora. SMI. asmapplicationON

41、LINEONLINEraclora. Cl. IsnrapplicationONLINEONLINEraclora. racl. gsdapplicationONLINEONLINEraclora. racl. onsapplicationONLINEONLINEraclora. racl. vip ora. tl. typeONLINE ONLINE racl ora. SM2, asmapplication ora. C2. Isnr application ora. rac2. gsdONLINEONLINE applicationONLINEONLINEONLINErac2rac2ON

42、LINErac2ora. rac2. onsapplicationONLINEONLINErac2ora. rac2. vipora. tl. typeONLINEONLINErac2ora. ry. acfs ora.fs. type ONLINEONLINEraclora. scanl. vip ora. ip. type ONLINEONLINEracl6、su - grid ./runinstallerscan配置:cluster scan: sanclustersscanname:racscanscanport:1521/oracle/app/oralnventory/orainst

43、Root. shrootracl soft# /oracle/app/oralnventory/orainstRoot.sh Changing permissions of /oracle/app/oralnventory.Adding read, write permissions for group.Removing read, write, execute permissions for world.Changing groupname of /oracle/app/oralnventory to oinstall.The execution of the script, is comp

44、lete.rootrac2 soft# /oracle/app/oralnventory/orainstRoot. shChanging permissions of /oracle/app/oralnventory.Adding read,write permissions for group.Removing read, write, execute permissions for world.Changing groupname of /orac1e/app/oraInventory to oinstall.The execution of the script, is complete

45、./orac1e/app/gri d/product/11. 2.0/root.shrootracl soft# /oracle/app/oraTnventory/orainstRoot. shChanging permissions of /oracle/app/oralnventory.Adding read,write permissions for group.Removing read, write, execute permissions for world.Changing groupname of /orac1e/app/ora1nventory to oinstall.The

46、 execution of the script, is complete.rootracl soft# /oracle/app/grid/product/11. 2. 0/root. shRunning Oracle 11g root, sh script.The following environment variables are set as:ORACLE_OWNER= gridORACLE HOME=/oracle/app/grid/product/11. 2. 0Enter the full pathname of the local bin directory: /usr/local/bin:Copying dbhome to /usr/local/binCopying oraenv to /usr/local/binCopying coraenv to /usr/local/binCreating /etc/oratab file.Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is crea

展开阅读全文
部分上传会员的收益排行 01、路***(¥15400+),02、曲****(¥15300+),
03、wei****016(¥13200+),04、大***流(¥12600+),
05、Fis****915(¥4200+),06、h****i(¥4100+),
07、Q**(¥3400+),08、自******点(¥2400+),
09、h*****x(¥1400+),10、c****e(¥1100+),
11、be*****ha(¥800+),12、13********8(¥800+)。
相似文档                                   自信AI助手自信AI助手
搜索标签

当前位置:首页 > 通信科技 > 其他

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        获赠5币

©2010-2024 宁波自信网络信息技术有限公司  版权所有

客服电话:4008-655-100  投诉/维权电话:4009-655-100

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :gzh.png    weibo.png    LOFTER.png 

客服