您好,欢迎访问三七文档
当前位置:首页 > IT计算机/网络 > 数据库 > ORACLE在HPUX安装
ORACLE在HPUX安装(一定要注意HP的机型)2008-07-0923:54:33|分类:HPUX阅读173评论0字号:大中小订阅.一、对硬件和操作系统的基本要求:物理内存:256M以上换页空间:两倍内存或至少400MB以上/tmp空间大小:400MB以上或者设置TMPDIR或TEMP环境变量操作系统:HP-UX11.064bitOracle只支持64位操作系统看是否64位:$/bin/getconfKERNEL_BITS看操作系统信息:$uname–a64位操作系统的Patches状态Dec2000patchbundleRequiredPHCO_23092RequiredPHCO_23770RequiredPHCO_23919RequiredforOracleRealApplicationClustersandOracleParallelFailSafeRequiredPHKL_23226RequiredPHNE_23249Note:refertothespecialinstallationinstructionstoinstallanyadditionalrequiredpatches.RequiredPHSS_23377untilJuly200l.PatchPHSS_23377isaninterimpatch.ItisavailableuntilJuly2001atthefollowingFTPsite:(192.170.19.51)loginasjag42757,passwordwinding5.ThispatchwillbesupesededbygeneralreleasepatchPHSS_23440,whichisavailableattheHPindividualpatchsiteattheendofJune,2001.Requiredhyperfabricdriver:11.00.12(HP-UX11.0)Requiredonlyifyoursystemhasanolderhyperfabricdriverversion可选的Patch:对运行在超过16颗CPU的主机上的DSS应用,我们建议安装HP-UXpatchPHKL_22266。ThispatchaddressesperformanceissueswiththeHP-UXOperatingSystem.HPprovidespatchbundlesat:::$/usr/sbin/swlist-lpatchTodetermineifaspecificoperatingsystempatchhasbeeninstalled,enterthefollowingcommand:$/usr/sbin/swlist-lpatchpatch_numberTodeterminewhichoperatingsystembundlesareinstalled,enterthefollowingcommand:$/usr/sbin/swlist-lbundleJRE:OracleapplicationsuseJRE1.1.8.JDK:OracleHTTPServerPoweredbyApacheusesJDK1.2.2.05.ImportantPre-installationstep:DuetoaknownHPbug(Doc.id.KBRC00003627),thedefaultHP-UX64operatingsysteminstallationdoesnotcreateafewrequiredX-librarysymboliclinks.TheselinksmustbecreatedmanuallybeforestartingOracle9iinstallation.Tocreatetheselinks,youmusthavesuperuserprivileges,asthelinksaretobecreatedinthe/usr/libdirectory.Afterenablingsuperuserprivileges,runthefollowingcommandstocreatetherequiredlinks:$cd/usr/lib$ln-s/usr/lib/libX11.3libX11.sl$ln-s/usr/lib/libXIE.2libXIE.sl$ln-s/usr/lib/libXext.3libXext.sl$ln-s/usr/lib/libXhp11.3libXhp11.sl$ln-s/usr/lib/libXi.3libXi.sl$ln-s/usr/lib/libXm.4libXm.sl$ln-s/usr/lib/libXp.2libXp.sl$ln-s/usr/lib/libXt.3libXt.sl$ln-s/usr/lib/libXtst.2libXtst.sl检查X-Window是否可用:$xclock确认:make,ar,cc,ld,andnmexecutablesmustbepresentinthe/usr/ccs/bindirectory。二、调整Kernel核心参数的大小:用sam界面核心参数最小值目的KSI_ALLOC_MAX(NPROC*MAXDSIZ1073741824bytesMAXDSIZ_642147483648bytesMAXSSIZ134217728bytesMAXSSIZ_64BIT1073741824MAXSWAPCHUNKS(availablememory)/26144MAXUPRC(NPROC+2)MSGMAP(NPROC+2)MSGMNINPROCMSGSEG(NPROC*4)MSGTQLNPROCNCALLOUT(NPROC+16)NCSIZE((8*NPROC+204+VX_NCSIZE)VX_NCSIZEisbydefault1024.NFILE(15*NPROC+204NFLOCKSNPROCNINODE(8*NPROC+204NKTHREAD(((NPROC*7)/4)+16)NPROC4096Definesthemaximumnumberofprocesses.太大,800就很大了SEMMAP((NPROC*2)+2)SEMMNI(NPROC*2)SEMMNS(NPROC*2)*2ThedefaultvalueofSEMMNSis128,whichis,inmostcases,toolowforOracle9isoftware.SEMMNU(NPROC-4)Definesthenumberofsemaphoreundostructures.SEMVMX32768SHMMAXAvailablephysicalmemoryDefinesthemaximumallowablesizeofonesharedmemorysegment.TheSHMMAXsettingshouldbelargeenoughtoholdtheentireSGAinonesharedmemorysegment.Alowsettingcancausecreationofmultiplesharedmemorysegmentswhichmayleadtoperformancedegradation.SHMMNI512SHMSEG32VPS_CEILING64Note:TheseareminimumkernelrequirementsforOracle9i.三、执行预安装步骤看OS的软限制:#ulimit–Sa看系统的硬限制:#ulimit–Ha如果要安装并行服务器RAC,则需要安装MC/ServiceGuard11.09OPSEdition。如果要安装Apache,则需要JDK1.2.2.07.RefertotheHewlett-PackardcompanysupportwebsitesforOSpatchesforJDK1.1.8.05.如果要安装Pro*C/C++,则需要HPANSICcompilerreleaseA.11.01.20orlater、Gcc2.9-hppa-000310、HPC++A.03.27下面是root用户执行的操作:建组dba(对应OSDBA,还可以建oper,对应OSOPER,oper组可选);建组oinstall,如果不安装多个数据库,则可以共用dba组;建用户oracle,其主组为oinstall,从组dba。可以为Apache单独建立一个用户,其主组为oinstall,从组可以是apache,从组最好只有Apache用户,应该用root启动Apache。设置环境变量:.profileDISPLAY=安装工作站主机名/ip:0.0;exportDISPLAYPATH=$ORACLE_HOME/bin:/usr/ccs/bin:/usr/bin:/etc:/usr/bin/X11:/usr/local/bin;exportPATHORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data;exportORA_NLS33ORACLE_BASE=/oracle;exportORACLE_BASEORACLE_HOME=$ORACLE_HOME/oracle;exportORACLE_HOMEORACLE_SID=pbs;;exportORACLE_SIDLD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/ccs/lib:/usr/lib;;exportLD_LIBRARY_PATHSHLIB_PATH=//在安装脚本中会自动重置此变量,安装时不需要指定此值四、安装过程1、查找光盘驱动器设备:#ioscan-fun-Cdisk2、修改文件/etc/pfs_fstab,加入或修改一行/dev/dsk/c4t2d0/SD_CDROMpfs-rripxlat=unix103、执行光盘挂接#mkdirSD_CDROM#nohup/usr/sbin/pfs_mountdnohup/usr/sbin/pfsd/usr/sbin/pfs_mount/SD_CDROM$/SD_CDROM/runInstaller执行安装完成后,要用root执行root.sh$netca可以启动网络的配置向导$$ORACLE_HOMR/bin/dbca可以启动数据库建库向导
本文标题:ORACLE在HPUX安装
链接地址:https://www.777doc.com/doc-6042302 .html