《AIX61安装oracle11gv1.docx》由会员分享,可在线阅读,更多相关《AIX61安装oracle11gv1.docx(30页珍藏版)》请在优知文库上搜索。
1、一、系统准备1.1、 操作系统版本需求执行命令OSIeVe1.-s来查看Os1.eve1.-S#OS1.eve1.-s61OO-O7-O5-12281.2、 内存需求执行命令Isattr-E-1SySo-area1.mem显示内存大小*Isattr-E1.SySO-area1.11e11#Isattr-E1.sys-area1.memrea1.mem4194304Amountofusab1.ephysica1.memoryinKbytesFa1.se1.3、 SWAP空间需求执行命令ISPS-a伐看SWAP空间大小t*1.ss-a#Isps-aPageSpacesumPhysica1.Vo1.
2、umeVo1.umeGroupSizesedActiveAUtOTypeChkhd60hdiskrootvg8192MB1yesyesIv1.4、 确认操作系统位数执行getcanfHARDfARE_BinWDE命令i若getconfHARDWAREBITMODE#getconfhardware.B11mode641.5、 软件包需求AIX61系统御膜如下软件包bos.adt.basebos.adt.1ibbos.adt.1ibmbos.perf.1ibperfstat6.1.2.1or1.aterbos.perf.perfstatbos.perf.proctIsx1.C.aix61.rte:
3、10.1.0.0or1.ater执行命令Is1.pp-1bos.adt.basebos.adt.Iibbos.adt.1.ibsbos.perf.1ibperfstatbos.perf.perfstatbos.perf.proctoo1.sx1.C.aix61.r1.c杳看软件包安装情况#Is1.pp1bos.adt.basebos.adt.1ibbos.adt.Iibmbos.perf.1ibperfstatbos.perf.perfstatbos.perf.proctooIsx1.C.aix61.rte1.eve1.StateDescriptionPath:usr1.ib/objrepos
4、Ixjs.adt.base6.1.6.1COMMITTEDBaseApp1.icationDeve1.opmentToo1.kit1.xs.adt.1.ib6.1.2.0CoMMITTEDBaseApp1.icationDeve1.opment1.ibrariesbos.adt.Iibm6.1.6.0COMMITTEDBaseApp1.icationDeve1.opmentMath1.ibrarybos.perf.Iibperfstat6.1.6.1CQMM1TTI*DPerformanceStatistics1.ibraryInterfacebos.perf.perfstat6.1.6.0C
5、OMM1TTKDPerformanceStatisticsTnterface1bos.perf.proctoo1.s6.1.6.0C()MM111EDProcToo1.sxIC.aix61.rte11.1.0.1COMM1.TTEDX1.CC+RuntimeforAIX6.1Path:etcobjreposbos.adt.base6.1.6.1COMMITTEDBaseApp1.icationDeve1.opmentToo1.kit1.xs.perf.1.i1.perfstat6.1.6.1COMMITTEDPerformanceStatistics1.ibraryTnterface11.xs
6、.perf.perfstat6.1.6.0COMMITTEDPerformanceStatisticsnterface1.6、系统补丁需求1.1.gR2需要以下补丁,执行命令instfix-i查询instfix-iIgrepIZI1855instfix-iKrCPIZ51456instfix-igrepIZ523191.7、创立用户组和用户使用smittymkgroup命令创立用户坦dba和oinsta1.I,组号分别为301和302:使用s11ittymkuser命令迸行创立用户orac1.euseradd-dhomeorac1.em-u401-goinsta1.1-Gdbaorac1.eu
7、seradd-dhomegrid-m-u402-goinsta1.I-GdbagridPaSSWdorac1.eChangingpasswordfor*orac1.e*orac1.e*sNewpassword:Enterthenewpasswordagain:1. 8、增加orac1.e用户she1.1.能力查看grid和OraCIe用户SheI1.能力Isuser-acapabi1.itiesorac1.e增加OrHCIe用户she1.1.能力ChusercapabiHties=CAP,NUMA.A11CH,CAP_mTASS_RAC_VX!M,CAPPROPAGATEorac1.e1.9、
8、 系统参数配置1.9.1、 配置进程数执行命令saittyChgsysf改.拘PRoCESSES修改为163841.9.2、 配置grid用户和orac1.e用户She1.1.权限修改/etc/securitIiBitS文件defau1.t:fsizc=-1core=2097151cpu=-1data=-1rss=-1stack=-1nofi1.es三-11.9.3、 查看异步aio数执行ift令100-oaio-三axreqs#100-oaio_maxreqsaio_maxreqs-655361.9.4、 配置网络参数看看多数# nu-afgrehcmera1.tcp_ephenera1._
9、high二65535tcp.ephe三era1_1ow=32768udp_cpheeera1._hiKh=65535udp_epheaera1._1.ow二32768配置参数# no-P-OtCP_opheeera1.OW=9000Ptcp-ephera1.-high=5500Settingtcp_ephemera1.1.wto9000Settingtcpephemera1.1.owto9000innextbootfiIeSettingtcp_ephemeraI_highto65500Settingtcp_ephemera1_highto65500innextbootfi1.e# no-p-o
10、udp_epheeera1._1.ow=9000Pudp-epheera1.-high=65500SCtIing1.idp_cPheff1.CraI1.owto9000Settirgudpephemera1.1.wto9000innextbootfi1.eSettingudpephemera1.highto65500Settingudp_ephemera1._highto65500innext1.otfi1.e1.9.5、 配置主机虚拟内存VrDo-p-ominper11=3vmo-p-omaxper11ft=90VmO-poinaxc1ient-90vmo-p-o1.ru_vmo-p-oS1
11、.rieIJnaXCIient=Iv(do-p-ostric1._maxperin=O1.9.6、 增加操作系统块分配大小chdev1sysancargs=*128*如果报错Methoderror(usr1.ibcthodschgen):0514-018Theva1.uesspecifiedforIhefo1.1.owingattributesarenotva1.id:ncargsARG/ENV1.istsizeinIKbyteb1.ocks则使用命令smitchgsys查看ARG/ENV列的数值.1.9.7、 增加操作系统最大进程数使用命令Smi1.chgsys,将mMaximumnumbe
12、rofPROCESSESa1.1.owedperuser,列修改为163841.9.8、 创立orac1.e用户#mkgroupid=600oinsta1.1*nkgroupid=601dba#mkuserid=800pgrp=oinsta1.Igroups=dbaorac1.e1.1.0、配置Orac1.e用户环境变量Orac1.e用户exportW?AC1.E_BASE=ho三eOraCIeexportORACIEK)ME=$0RAa_BASE/product/11.2.0/dbhnme_2exportORAC1.E_SI)=orc1.exportPATH=SORAC1.EJIOMEZbi
13、n:$PATH$cddatabase$Isdocresponserootpre.shruninsta1.1.erstage1nsta1.1$Irootprerpmsshsetupe.htm1.在root下执行./rootpre.sh命令,然后在执行./uninsta1.1.er命令,会提示是否在root下执行了rtpre.sh输入y并按enter$./runinsta1.1.er*林*,*林择择锌*林铮收(林*机铮收*枳铮铮林*,林铮铮林*Yourp1.atformrequirestherootusertoperformcertainpre-insta1.1.ationOSpreparatio
14、n.Therootusershou1.druntheshe1.1.script*rtpre.sh*beforeyouproceedwithOrac1einsta1.1.ation,rtpre.shcanbefoundatthetop1.eve1.oftheCDorthestagearea.Answer,y*ifroothasrunrootpre.shsoyoucanproceedwithOrac1einsta1.1.ation.Answer*n,toabortinsta1.1.ationandthenaskroottorunrootpre.sh,.*g*w*a*g*g*g*g*京*余*8/*名*余*g*g*金*I1.asrootpre.sh*beenrunbyroot?yn(n)yStartingOrac1.eUniversa1.Insta1.1.er.CheckingTcmpspace:mustbegreaterthan190MB.Actua1.5072MBPassedCheckings:mustbegreaterthan150MB.Actua1.1638*1MBPassedCheckingnonitor:mustbeconfiguredtodisp1.ayat1.east2