今天测试了一下在aix 5300-07上安装oracle 10.2.0.1.
硬件环境:IBM 550Q
4路CPU,8GB内存,2*146GB HD,加DS4700盘阵
[@more@]参考ORACLE的DOCMENTS: Oracle® Database Quick Installation Guide
10g Release 2 (10.2) for AIX 5L Based Systems (64-Bit)
1、安装好AIX 5.3之后,调整PAGESPACE为8GB,/tmp为1GB,/usr为3GB.
2、在盘阵上创建两个LV (smit mklv),在LV上建立jfs2文件系统(smit jfs2),对应/oracle/oradata和/oracle/orasoft,分别是400GB和20GB。mount上这两个文件系统
3、确认操作系统的体系结构 /usr/bin/getconf HARDWARE_BITMODE
64
4、确认系统CPU个数和主频:
# lsdev -C |grep proc
proc0 Available 00-00 Processor
proc2 Available 00-02 Processor
proc4 Available 00-04 Processor
proc6 Available 00-06 Processor
# lsattr -E -l proc0
frequency 1648350000 Processor Speed False
smt_enabled true Processor SMT enabled False
smt_threads 2 Processor SMT threads False
state enable Processor state False
type PowerPC_POWER5 Processor type False
# lsattr -E -l proc2
frequency 1648350000 Processor Speed False
smt_enabled true Processor SMT enabled False
smt_threads 2 Processor SMT threads False
state enable Processor state False
type PowerPC_POWER5 Processor type False 依次类推
5、检查安装ORACLE需要的补丁是否已经安装好
lslpp -L bos.adt.base bos.adt.lib bos.adt.libm bos.perf.perfstat bos.perf.libperfstat bos.perf.proctools bos.adt.prof bos.cifs_fs.rte xlC.aix50.rte xlC.rte
如果存在没有安装的,把第一张光盘放到光驱中,使用smit installp安装
6、创建需要的用户和组:oracle / oinstall / dba 并将oracle 加入这两个组中
7、修改用户和系统配置参数:
smit chuser修改oracle用户的SHELL limits
Soft FILE size -1
Soft CPU time -1
Soft DATA segment -1
Soft STACK size -1
使用smit chgsys修改“Maximum number of PROCESSES allowed per user”最小2048
8、修改/oracle/oradata和/oracle/orasoft文件系统的权限和所有者
chmod -R 775 /oracle/oradata /oracle/orasoft
chown -R oracle:oinstall /oracle/oradat /oracle/orasoft
9、以oracle用户帐号登陆AIX,设置oracle用户的环境变量,编辑/home/oracle下的.profile文件
export ORACLE_BASE=/oracle/oradata
export ORACLE_HOME=/oracle/orasoft/OraHome_1
export ORACLE_SID=test
export PATH=$PATH:$ORACLE_HOME/bin:.
export AIXTHREAD_SCOPE=S
10、上传10gr2_aix5l64_database.cpio.gz到AIX服务器上。
gunzip 10gr2_aix5l64_database.cpio.gz
cpio -idcmv < 10gr2_aix5l64_database.cpio.gz
11、注销oracle用户,重新登陆,在第10步中生成的安装文件的目录中,执行./runInstaller,提示用root帐号执行rootpre.sh,往后就看着提示一直做下去。
等待安装过程结束,没有出现任何意外。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/73920/viewspace-1004485/ ,如需转载,请注明出处,否则将追究法律责任。