aix 5.3 安装oracle 10g r2,AIX 5.3 安装 Oracle 10g R2(64)
AIX 5.3 安裝 Oracle 10g R2(64)
系統環境:
操作系統: AIX5300-09
Oracle: ?Oracle 10gR2(64)
一、安裝前準備
1、查看操作系統的版本
[root@aix211 /]#oslevel -r
5300-09
[root@aix211 /]#
注意:
對于安裝Oracle 11g的用戶,必須保證將AIX53升級到AIX5300-09的版本,對于AIX5300-08最高支持到Oracle 10gR2。
2、查看系統硬件信息
[root@aix211 /]#prtconf |grep -i mem
Memory?Size:?4096?MB
Good?Memory?Size:?4096?MB
+?mem0?????????????????????????????????????????????????????????????Memory
[root@aix211 /]#lsattr -El mem0
goodsize?4096?Amount?of?usable?physical?memory?in?Mbytes?False
size?????4096?Total?amount?of?physical?memory?in?Mbytes??False
[root@aix211 /]#prtconf |more
System?Model:?IBM,7028-6C4
Machine?Serial?Number:?1040F8A
Processor?Type:?PowerPC_POWER4
Processor?Implementation?Mode:?POWER?4
Processor?Version:?PV_4_2
Number?Of?Processors:?2
Processor?Clock?Speed:?1453?MHz
CPU?Type:?64-bit
Kernel?Type:?64-bit
LPAR?Info:?1?NULL
Memory?Size:?4096?MB
Good?Memory?Size:?4096?MB
Platform?Firmware?level:?3R061030
Firmware?Version:?IBM,RG061030_d79e19_r
Console?Login:?enable
Auto?Restart:?true
Full?Core:?false
3、查看系統內核版本
[root@aix211 /]# bootinfo -K
64
如果內核版本非64位,可以將內核版本升級到64位
-----32位內核升級到64位
#?ln?-sf?/usr/lib/boot/unix_64????/unix
#?ln?-sf?/usr/lib/boot/unix_64?????/usr/lib/boot/unix
#?bosboot?-ad?/dev/ipldevice
#?shutdown???-Fr
從64位降級到32位
#?ln?-sf?/usr/lib/boot/unix_mp????/unix
#?ln?-sf?/usr/lib/boot/unix_mp?????/usr/lib/boot/unix
#?bosboot?-ad?/dev/ipldevice
#?shutdown???-Fr
4、查看文件系統空間
注:保證有足夠的系統空間安裝Oracle
[root@aix211 /]#df -m
Filesystem????MB?blocks??????Free?%Used????Iused?%Iused?Mounted?on
/dev/hd4???????11648.00???7924.90???32%?????7005?????1%?/
/dev/hd2????????2560.00????640.46???75%????45334?????7%?/usr
/dev/hd9var??????640.00????269.07???58%?????1198?????1%?/var
/dev/hd3????????1152.00???1007.09???13%??????179?????1%?/tmp
/dev/hd1?????????128.00????123.80????4%???????85?????1%?/home
/proc?????????????????-?????????-????-?????????-?????-??/proc
/dev/hd10opt?????384.00????107.30???73%?????4829?????5%?/opt
/dev/lv00????????128.00????123.94????4%???????18?????1%?/var/adm/csd
/dev/u01???????20480.00???8254.35???60%????42063?????1%?/u01
/dev/lv_data1???2048.00???1983.67????4%???????17?????1%?/data1
/dev/fslv00?????2112.00???2111.36????1%????????4?????1%?/dsk1
192.168.8.212:/ware??20480.00???9504.80???54%?????5824?????1%?/ware
-----注意:
1、 /tmp 必須保證最少需要400M空間
2、如果/u01 放在 ‘ / ’下,最少需要5g以上空間
3、其余/usr,/var 也要保證足夠的空間
5、查看頁面交換空間
[root@aix211 /]#lsps -a
Page?Space??????Physical?Volume???Volume?Group????Size?%Used?Active??Auto??Type
paging01????????hdisk2????????????oravg?????????1024MB?????1???yes???yes????lv
lv_pg01?????????hdisk1????????????oravg?????????1024MB?????1???yes???yes????lv
hd6?????????????hdisk0????????????rootvg????????2048MB?????1???yes???yes????lv
[root@aix211?/]#lsps?-s
Total?Paging?Space???Percent?Used
4096MB???????????????1%
注:
Page space 可以設置為Physical Memory的2 倍或和內存大小一致
6、查看系統需要的軟件和補丁
------查看軟件包的安裝和補丁
[root@aix211 /]#lslpp -l |grep bos.adt
bos.adt.base???????????????5.3.8.0??COMMITTED??Base?Application?Development
bos.adt.debug??????????????5.3.8.0??COMMITTED??Base?Application?Development
bos.adt.graphics???????????5.3.7.0??COMMITTED??Base?Application?Development
bos.adt.include????????????5.3.8.0??COMMITTED??Base?Application?Development
bos.adt.insttools??????????5.3.8.0??COMMITTED??Tool?to?Create?installp
bos.adt.lib????????????????5.3.8.0??COMMITTED??Base?Application?Development
bos.adt.libm???????????????5.3.8.0??COMMITTED??Base?Application?Development
bos.adt.libmio?????????????5.3.8.0??COMMITTED??Modular?IO?Library
bos.adt.prof???????????????5.3.8.1??COMMITTED??Base?Profiling?Support
bos.adt.prt_tools??????????5.3.0.0??COMMITTED??Printer?Support?Development
bos.adt.samples????????????5.3.7.0??COMMITTED??Base?Operating?System?Samples
bos.adt.sccs???????????????5.3.8.0??COMMITTED??SCCS?Application?Development
bos.adt.syscalls???????????5.3.7.0??COMMITTED??System?Calls?Application
bos.adt.utils??????????????5.3.8.0??COMMITTED??Base?Application?Development
bos.adt.data???????????????5.3.0.0??COMMITTED??Base?Application?Development
[root@aix211 /]#lslpp -l |grep -i xlc.rte
xlC.rte????????????????????9.0.0.1??COMMITTED??XL?C/C++?Runtime
[root@aix211 /]#lslpp -l |grep -i xlc
xlC.aix50.rte??????????????9.0.0.1??COMMITTED??XL?C/C++?Runtime?for?AIX?5.2
xlC.cpp????????????????????9.0.0.0??COMMITTED??C?for?AIX?Preprocessor
xlC.rte????????????????????9.0.0.1??COMMITTED??XL?C/C++?Runtime
[root@aix211 /]#lslpp -l |grep -i bos.perf
bos.perf.diag_tool????????5.3.0.50??COMMITTED??Performance?Diagnostic?Tool
bos.perf.libperfstat???????5.3.8.0??COMMITTED??Performance?Statistics?Library
bos.perf.perfstat??????????5.3.8.1??COMMITTED??Performance?Statistics
bos.perf.proctools?????????5.3.8.0??COMMITTED??Proc?Filesystem?Tools
bos.perf.tools?????????????5.3.8.0??COMMITTED??Base?Performance?Tools
bos.perf.tune??????????????5.3.8.0??COMMITTED??Performance?Tuning?Support
bos.perf.diag_tool????????5.3.0.50??COMMITTED??Performance?Diagnostic?Tool
bos.perf.libperfstat???????5.3.8.0??COMMITTED??Performance?Statistics?Library
bos.perf.perfstat??????????5.3.8.1??COMMITTED??Performance?Statistics
bos.perf.tools?????????????5.3.8.0??COMMITTED??Base?Performance?Tools
bos.perf.tune??????????????5.3.8.0??COMMITTED??Performance?Tuning?Support
查看系統補丁:
[root@aix211?/]#instfix?-ik?IY58143
All?filesets?for?IY58143?were?found.
[root@aix211?/]#instfix?-ik?IY59386
All?filesets?for?IY59386?were?found.
[root@aix211?/]#instfix?-ik?IY60930
All?filesets?for?IY60930?were?found.
[root@aix211?/]#instfix?-ik?IY66513
All?filesets?for?IY66513?were?found.
[root@aix211?/]#instfix?-ik?IY70159
All?filesets?for?IY70159?were?found.
[root@aix211?/]#instfix?-ik?IY68989
All?filesets?for?IY68989?were?found.
7、修改系統內核參數和啟動ASYNC I/O
-----修改系統內核參數
[root@aix211 /]# smit system
Change?/?Show?Characteristics?of?Operating?System
=>Maximum?number?of?PROCESSES?allowed?per?user???????[2048]
----開啟系統異步I/O
[root@aix211?/]#smit?chaio
MINIMUM?number?of?servers??????????????????????????[1]
MAXIMUM?number?of?servers?per?cpu??????????????????[10]
maximum?number?of?REQUESTS?????????????????????????[4096]
server?PRIORITY????????????????????????????????????[39]
STATE?to?be?configured?at?system?restart????????????available
State?of?fast?path??????????????????????????????????enable
8、建立Oracle用戶和組及環境變量
------建立用戶和組:
groups:?oinstall?、dba
users:?oracle
[root@aix211?/]#smit?chuser?(修改oracle?用戶讀取內存頁面的限制)
Soft?FILE?size???????????????????????????????????????[-1]
Soft?CPU?time??????????????????????????????????????[-1]
Soft?DATA?segment??????????????????????????????[-1]
Soft?STACK?size???????????????????????????????????[-1]
Soft?CORE?file?size???????????????????????????????[-1]
[root@aix211?database]#cat?/etc/security/limits
oracle:
fsize?=?-1
data?=?-1
stack?=?-1
core?=?-1
[oracle@aix211?~]$cat?.profile
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:.
export?PATH
if?[?-s?"$MAIL"?]???????????#?This?is?at?Shell?startup.??In?normal
then?echo?"$MAILMSG"????????#?operation,?the?Shell?checks
fi??????????????????????????#?periodically.
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
ORACLE_SID=prod
PATH=$PATH:$ORACLE_HOME/bin
export?ORACLE_BASE?ORACLE_HOME?ORACLE_SID?PATH
二、安裝Oracle 軟件
-----安裝oracle 軟件
總結
以上是生活随笔為你收集整理的aix 5.3 安装oracle 10g r2,AIX 5.3 安装 Oracle 10g R2(64)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: php验证器的调用,ThinkPHP5
- 下一篇: oracle 取今日0时,Oracle