aix上使用裸设备安装oracle10g
数据库
一、检查
系统信息
[root@aix222 /]# oslevel -r 5300-08 [root@aix222 /]# prtconf | grep -i mem Memory Size: 1904 MB Good Memory Size: 1904 MB … [root@aix222 /]# lsattr -El mem0 goodsize 1904 Amount of usable physicalmemory in Mbytes False size 1904 Total amount of physical memory in Mbytes False [root@aix222 /]# prtconf | more … Processor Implementation Mode: POWER 5 Processor Version: PV_5_2 Number Of Processors: 2 Processor Clock Speed: 1898 MHz CPU Type: 64-bit Kernel Type: 64-bit LPAR Info: 1 10-0884G Memory Size: 1904 MB Good Memory Size: 1904 MB Platform Firmware level: SF240_382 Firmware Version: IBM,SF240_382 … [root@aix222 /]# bootinfo -K 64 [root@aix222 /]# lsps –a … [root@aix222 /]# lsps –s …
二、查看软件包和安装补丁
[root@aix222 /]# lslpp -l |grep bos.adt [root@aix222 /]# lslpp -l |grep -i xlc.rte [root@aix222 /]# lslpp -l |grep -i xlc [root@aix222 /]# lslpp -l |grep -i bos.perf Aix上的oracle10g需要下面的软件包 Bos.adt.base Bos.adt.lib Bos.adt.libm Bos.pref.libperfstat Bos.perf.perfstat Bos.perf.proctools Xlc.aix50.rte xlC.rte 下面查看补丁 [root@aix222 /]# instfix -ik IY58143 [root@aix222 /]# instfix -ik IY59386 [root@aix222 /]# instfix -ik IY60930 [root@aix222 /]# instfix -ik IY66513 [root@aix222 /]# instfix -ik IY70159 [root@aix222 /]# instfix -ik IY68989
三、配置系统参数
[root@aix222 /]# smit system Change / Show Characteristics of OperatingSystem =>Maximum number of PROCESSES allowed peruser [2048] [root@aix222 /]# 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 systemrestart available State of fast path enable
四、建立用户组和用户
Groups:oinstall、dba
Users:oracle
使用smit来添加
五、配置oracle用户的.profile
[oracle@aix222 ~]$ vi .profile … ORACLE_BASE=/u01/app/oracle ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1 ORACLE_SID=siqian PATH=$PATH:$ORACLE_HOME/bin export ORACLE_BASE ORACLE_HOME ORACLE_SID PATH export EDITOR=vi export DBCA_CONFIG=/home/oracle/raw_mp.txt
六、使用现有的vg创建lv
[root@aix222 /]# mklv -y 'system' -t 'raw' datavg3 32
这里的lp大小为32mb,也就是说system这个lv大小为1gb。
[root@aix222 /]# mklv -y 'sysaux' -t 'raw' datavg3 32
[root@aix222 /]# mklv -y 'users' -t 'raw' datavg3 16
[root@aix222 /]# mklv -y 'example' -t 'raw' datavg3 5
[root@aix222 /]# mklv -y 'undotbs' -t 'raw' datavg3 16
[root@aix222 /]# mklv -y 'temp' -t 'raw' datavg3 10
[root@aix222 /]# mklv -y 'control01' -t 'raw' datavg3 2
[root@aix222 /]# mklv -y 'control02' -t 'raw' datavg3 2
[root@aix222 /]# mklv -y 'control03' -t 'raw' datavg3 2
[root@aix222 /]# mklv -y 'spfile' -t 'raw' datavg3 1
[root@aix222 /]# mklv -y 'redo01a' -t 'raw' datavg3 5
[root@aix222 /]# mklv -y 'redo01b' -t 'raw' datavg3 5
[root@aix222 /]# mklv -y 'redo02a' -t 'raw' datavg3 5
[root@aix222 /]# mklv -y 'redo02b' -t 'raw' datavg3 5
[root@aix222 /]# mklv -y 'redo03a' -t 'raw' datavg3 5
[root@aix222 /]# mklv -y 'redo03b' -t 'raw' datavg3 5
七、配置映射文件
[oracle@aix222 ~]$ vi raw_mp.txt
system=/u01/app/oracle/oradata/siqian/system01.