AIX下安裝11GR2.doc_第1頁
AIX下安裝11GR2.doc_第2頁
AIX下安裝11GR2.doc_第3頁
AIX下安裝11GR2.doc_第4頁
AIX下安裝11GR2.doc_第5頁
已閱讀5頁,還剩17頁未讀 繼續免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領

文檔簡介

1. 檢查硬件情況# /usr/sbin/lsattr -E -l sys0 -a realmemrealmem 2031616 Amount of usable physical memory in Kbytes False查看swap space# lsps -aPage Space Physical Volume Volume Group Size %Used Active Auto Typehd6 hdisk0 rootvg 512MB 1 yes yes lv查看系統結構,安裝ORACLE需要是64位的系統# getconf HARDWARE_BITMODE64# bootinfo -K64檢查OS版本,11GR2需要5300-09以上的版本# oslevel -s5300-10-00-0000檢查如下包是否已經安裝,沒有的話需要smit install進行安裝lslpp -l bos.adt.base lslpp -l bos.adt.liblslpp -l bos.adt.libmlslpp -l bos.perf.perfstatlslpp -l bos.perf.libperfstatlslpp -l ctools調整maxuproc(系統最大進程數)Smitty chgsys# chdev -l sys0 -a maxuproc=16384sys0 changed調整ncargs(系統塊大小)# chdev -l sys0 -a ncargs=128sys0 changed解壓縮zip文件jar xvf aix.ppc64_11gR2_grid.zipunzip aix.ppc64_11gR2_database_1of2.zipunzip aix.ppc64_11gR2_database_2of2.zip創建文件系統/u01,用于安裝oracle軟件Smitty crfsMount /u01創建用戶和組Smitty mkgroupDba組Oinstall組創建用戶修改oracle用戶密碼# passwd oracleChanging password for oracleoracles New password: Enter the new password again:將oracle軟件存放的目錄和安裝目錄的屬主修改為oralce# chown -R oracle:oinstall /soft# chown -R oracle:oinstall /u01修改環境變量Cd Vi .profile添加如下內容export PS1=hostname/whoami$export EDITOR=vi export ORACLE_SID=oracl export ORACLE_BASE=/u01/app/oracle export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1 export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/libexport PATH=$ORACLE_HOME/bin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/bin:/sbin export NLS_DATE_FORMAT=YYYY-MM-DD HH24:MI:SSexport TMPDIR=/tmp小插曲,以上變量定義好后,發現使用xmanager登陸后,環境變量并沒有生效,但通過telnet登陸是生效的,原因是CDC登陸的的時候是使用的.dtprofile文件,修改該文件將最后一行的注釋去掉.#DTSOURCEPROFILE=true修改為DTSOURCEPROFILE=true這樣重新使用xmanager登陸后,環境變量即可生效.創建環境變量里定義的文件目錄hxl/oracle$echo $ORACLE_BASE/u01/app/oraclehxl/oracle$mkdir -p $ORACLE_BASEhxl/oracle$mkdir -p $ORACLE_BASE/product/11.2.0/db_1開始安裝數據庫軟件進入到安裝文件存放目錄,首先在root用戶下執行rootpre.shhxl/oracle$./rootpre.sh./rootpre.sh output will be logged in /tmp/rootpre.out_12-08-20.21:18:00Saving the original files in /etc/ora_save_12-08-20.21:18:00.Copying new kernel extension to /etc.Loading the kernel extension from /etc Oracle Kernel Extension Loader for AIX Copyright (c) 1998,1999 Oracle Corporation Successfully loaded /etc/pw-syscall.64bit_kernel with kmid: 0x3fa3700 Successfully configured /etc/pw-syscall.64bit_kernel with kmid: 0x3fa3700The kernel extension was successfuly loaded.Configuring Asynchronous I/O.Configuring POSIX Asynchronous I/O.Checking if group services should be configured.Nothing to configure.測試圖形界面是否正常hxl/oracle$suroots Password: hxl/oracle$xhost +access control disabled, clients can connect from any hosthxl/oracle$xclockhxl/oracle$沒有問題的話,就可以按照圖形界面安裝了hxl/oracle$./runInstaller*Your platform requires the root user to perform certain pre-installationOS preparation. The root user should run the shell script rootpre.sh beforeyou proceed with Oracle installation. rootpre.sh can be found at the top level of the CD or the stage area.Answer y if root has run rootpre.sh so you can proceed with Oracle installation.Answer n to abort installation and then ask root to run rootpre.sh.*Has rootpre.sh been run by root? y/n (n)yStarting Oracle Universal Installer.Checking temp space: 124 MB available, 190 MB required. Failed Checking swap space: must be greater than 150 MB. Actual 512 MB PassedChecking monitor: must be configured to display at least 256 colors. Actual 16777216 PassedSome requirement checks failed. You must fulfill these requirements beforecontinuing with the installation,Continue? (y/n) n n這里提示/tmp目錄太小導致檢查無法通過Smitty chfs 添加空間到200m重新執行./runInstaller1.2.這里只安裝軟件3.選擇單實例安裝4.選擇語言5.選擇企業版安裝6.制定安裝目錄原因是權限的問題,發現/u01歸屬于root用戶,將該目錄修改為oracle用戶即可Chown R oracle:oinstall7.指定安裝目錄8.選擇系統組9.安裝前準備問題1:交換空間太小解決辦法:查看當前交換空間大小hxl/oracle$lsps -aPage Space Physical Volume Volume Group Size %Used Active Auto Typehd6 hdisk0 rootvg 512MB 1 yes yes lvhxl/oracle$添加交換空間Smitty chps問題2./tmp 空間太小解決辦法Smitty chfs問題3提示沒有安裝rsct.basic.rteSmitty install 將該包安裝即可,該包在光盤介質中可以找得到.問題4 沒有打如下補丁If you are using the minimum operating system TL level for AIX 5Llisted above, then install all AIX 5L 5.3 Authorized Problem AnalysisReports (APARs) for AIX 5L v. 5.3 ML06, and the following AIX fixes:IZ42940IZ49516IZ52331hxl/oracle$instfix -i -kIZ42940 There was no data for IZ42940 in the fix database.hxl/oracle$instfix -i -kIZ49516 There was no data for IZ49516 in the fix database.hxl/oracle$instfix -i -kIZ52331There was no data for IZ52331 in the fix database.10.選擇忽略如上三個包Invalid entry size(expected 44283015 but got 44282932 bytes)-no done-調整虛擬內存管理vmo -p -o minperm%=3vmo -p -o maxperm%=90vmo -p -o maxclient%=90vmo -p -o lru_file_repage=0vmo -p -o strict_maxclient=1vmo -p -o strict_maxperm=0調整網絡調試參數no -r -o ipqmaxlen=521no -p -o rfc1323=1no -p -o sb_max=4194304no -p -o tcp_recvspace=65536no -p -o tcp_sendspace=65536no -p -o udp_recvspace=655360no -p -o udp_sendspace=65536創建組和用戶mkgroup -A id=506 oinstallmkgroup -A id=505 dbamkgroup -A id=507 asmadminmkgroup -A id=508 asmdbamkgroup -A id=509 asmopermkuser -a id=503 pgrp=oinstall groups=dba,asmadmin,asmdba,asmoper shell=/bin/bash home=/home/grid fsize=-1 cpu=-1 data=-1 core=-1 rss=-1 stack=-1 stack_hard=-1 capabilities=CAP_NUMA_ATTACH,CAP_BYPASS_RAC_VMM,CAP_PROPAGATE gridpasswd gridmkuser -a id=502 pgrp=oinstall groups=dba,asmdba,asmadmin shell=/bin/bash home=/home/oracle fsize=-1 cpu=-1 data=-1 rss=-1 stack=-1 stack_hard=-1 capabilities=CAP_NUMA_ATTACH,CAP_BYPASS_RAC_VMM,CAP_PROPAGATE oraclepasswd oraclemkdir -p /u01/gridmkdir -p /u01/app/oraclechown -R grid:oinstall /u01chmod -R 775 /u01/chown oracle:oinstall /u01/app/oracle調整shell限制/etc/security

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經權益所有人同意不得將文件中的內容挪作商業或盈利用途。
  • 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
  • 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論