Oracle11gRAC在RHEL62(x8664)上成功安装.docx
-
资源ID:1637244
资源大小:703.31KB
全文页数:27页
- 资源格式: DOCX
下载积分:7金币
快捷下载

账号登录下载
微信登录下载
三方登录下载:
友情提示
2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
|
Oracle11gRAC在RHEL62(x8664)上成功安装.docx
Orac1.eIIgRAC实施文档1) .HardvareReqUIref1.MmtSA1.1.hardwareRequireaentsisOK!2)YouarcfreetochangetheIPaddressestosuityournetwork,butrc三c三bcrtoSIayconsistentwiththoseadjustmentsthroughouttherestoftheartic1.e.Oncethebasicinsta1.1.ationisco11p1.ete.insta1.1thefo1.1.owingpackageswhi1.stIoggedinasthorootuser.ThisineIudesthe64T>i;uni32-biversionsof$oaepackages.cdnedia/GHOST/Packages*注意nodiaGHOST/Padgos为RHE1.安装目录,根据实际情况进行调整.有些包落要从网上下栽.rp<n-Uvhbinuti1.s-2.rxn-UvhCOmPaITibStdC+-33*rpm-UvhC1.futi1.s-Iibe1.f-O.*rpm-Uvhe1.futi1.s-1.ibe1.f-deve1.-*rp<n-1.Ivhgcc-j1.*rxn-Uvhgcc-c+÷-4.rpm-Uvh1.ibc-2.rp<11-Uvhg1.ibe-common-2.rpm-Ivhg1.ibc-deve1.-2.rxn-Uvhg1.i1.>c-headers-2.rpmTJvhksh-2*rp<n-UvhIibiiio-O.*rp<n-UvhIibaio-deve1.-O.rx-UvhIibgcc-1.rpm-UvhIibstdc+-4.*yuminsta1.1Iibstdc*rpm-Uvh1ibstdc+÷-deve1.-4.rx-Uvhoake-3.*Ipff1.-UvhSySSIa1.*rpm-UvhunixODBCa-2.*rpm-UvhImiXODBC-deve1-2.今#Insta1.1.thefo1.1.owingpackagefro*theOrac1.egridmedia.cd/home/orac1e/grid/rpmrpm-UvhCvUqdisk*3)1.CreateOSgroupsusingthecownandbe1.ow.Enterthesecocneandsasthe,root,user:# /usr/sbingropadd-g501OinSIa1.I# /usrsbin/groupadd-g502dba# /usr/sbin/groupadd-g504HSmadminU/usrsbin/groupadd-g506asmdba# /srsbin/groupadd-g507asmoxr2. CreatetheusersthatVi1.IowntheOrac1.esoftwareusingtheco11三ands:#/usr/sbin/useradd-u502-goinsta1.1-Cdba.asmdbnorac1.e#/usrsbinseradd-u503-gOinsta1.1.fasmadmin.asadba.asmopergrid力注意501为编号,根据实际情况而定3. Setthepasswordfortheorac1.eaccountusingthefo1.1.owingcownand.Rep1.acepasswordwithyourOWnpassword.#注意,下面是修改定码passwdorac1.epasswdgrid3) IfyouarcnotUSingDNS,theVctc/hosts"containthefo1.1.owinginfo11nation.127.0.0.11.oca1.host.IOCi1.Idoaain1.oca1.host»Pub1.ic172.33.10.3GIS-AJoMIdOmHinGIS-A172.33.10.4GIS-BJOMIdOmHinGIS-B5Private172.32.50.3GIS-A-priv.Ioca1.doaainGIS-priv172.32.50.4GIS-B-priv.Ioca1.dcsainGIS-B-priv*Virtua1.172.33.10.19rac1.-vip.1.oca1.domainrac1.-vip172.33.10.20rac2-vip.Ioea1.domainrac2-vip«SCAN172.33.10.23rac-scan.IocaIdomainrac-scan*注意,这些Ip根据实际情况而定,GIST为效劳罪名衿4)Addoramendthefo1.1.owing1.inestothe"Zetc/syse1.1.conf"fi1.e,fs.aio-三axnr:1048576fs.=6815744kerne1.,sh三a1.1=2097152kerne1.sh三f11ax=105450496。kerne1.shmni4096# semaphores:se11ms1.senmns.semop.semnikerne1.see=25032000100128net.iv4.ip_1.oca1._rx>rtrange=900065500net.core.rmemdefau1.t-262144net.core.rmemmax1194304net.core.wmemdefau1.t=26214.core.叫Oen1.maX=IOI8586Runthefo1.1.owingCOeMBandtoChanXCthecurrentkerne1.parameters.sbinsysct1.-PAddthefo1.1.owing1.inestothe*etcsecurity/1imits.conf*fi1.o.orac1.esoftnproc2047orac1.ehardnproc16384orac1.esoftnofi1.c1024orac1ehardnofiIe65536Addthefo1.1.owing1.inestothe*etcpa.d/1.ogin,fi1.e,ifitdoesnota1.readyexist.sessionrequiredpamIimits.soDisab1.esecureIinuxbyeditingthe"ctcse1.inux/config,fi1.e,makingsuretheSE1.1NUXf1.agissetasfo1.1.ows.SE1.INUX二disab1.edA1.ternative1.y,thisa1.terationcanbedoneusingtheGUItoo1.(System>Administration>Security1.eVeIandFirewa1.1.).C1.ickontheSE1.inuxtabanddisab1.ethefeature.EitherconfigureNTP,ormakesureitisnotconfiguredsotheOrac1.eC1.usterTimeSynchronizationService(ctssd)cansynchronizethetimesoftheRACnodes.Inthiscasewevi1.1.deconfigureNTP.# servicentpdstopShuttingdownntpd:tOK# Chkconfigntpdoff# mvetcntp.confetcntp.conf,orig# r三var11nntpd.pidIfyouareusingNTP.youmustaddther-x*optionintothefo1.1.owing1ineinthe*/etc/sysconfig/ntpd,fi1.e.OPTIONS=-untp:ntp-pvarrunntpd.pidwThenrestartNTP.«servicentpdrestartCreatethedirectoriesinwhichtheOrac1.esoftwareIri1.1.beinsta1.1.ed.mkdir-pu1.app1.i.2.O/gridmkdir-Pu01apporac1.eproduct1.1.2.0/db1chown-Rorac1.e:OinstaI1.u1.chmod-R775u1.1.oginastheorac1.euserandaddthefo1.1.owing1inesattheendofthe.bashpro.# 此文件的文件格式很重要.最好copy用他效劳器文件,进行修改.下面为灯id用户下的.bushpm根据实际情况而定# .bash_profiIe# Getthea1.iasesandfunctionsif-fbashrc:then"/.bashrcfi#UserspecificenvironmentandstartupprogramsPATH=SPATH:$1K)ME/binexportPATHa1.ias1.s=t1.s-FA*0RAC1.E-SID=÷ASM2:exportORAC1.E_SIDORAC1.E.B1.SE=O1appgrid:exportORAC1.E_BASEORAC1.EHOME=ZuO1app11.2.O/grid:exportORRCU1.HoYEORAC1.Ef,ATtt=zzu01apporac1.ecom11>onorac1.e/sq1.;exportORAC1.EPAIHORAC1.ETERM=Xterm;exportORAC1.ETERMN1.S_DRTE;ORMAT="DthMON-YYYYHH24:MI:SS;exportN1.S_DATEJoRMATTNS)MIN=50RAC1.EH0MEnetworka<in:exportTNSADMINORA_N1.S1.1.=$ORAC1.EHOME/n1.s/data:exportORAN1.S1.IN1.S1.ANG=AuER1.CAN.AMERICA.ZHS16GBK:exportN1.S_1.ANGPATH=.:SJAVAHOME)i11:S(PATH):$H0ME/bin:ORAC1.EHOMEZbinPATII=SPATH:/usr/bin:binusrbinX1.1.:usr1.oca1.binPAIU=SPATH)ju01appco三monorac1.ebinexportPATH1.D_1.IBRARjPATH=$0RAC1.EK)ME/1ib1.D1.IBRARYPATH三S1.D1.IBRARYPATH):SORC1.EHOUE/oraca/1ib1.D_1.IBRARY_PATH=5i1.D_1.IBRARY_PABI):11b:usr1.ib:usr1.oca1.1.ibexport1.D_1.IB