AIX 6.1安装oracle11g笔记
闲来没事,刚好有一个aix6的机器,试着装了下oracle。以前都是在solairs上装,看看在aix上有什么区别。顺手记下笔记,共享出来,欢迎大家拍装。如果有问题欢迎maill告诉我shisl.
bash-3.2# oslevel -s
6100-03-01-0921
安装前准备
1 Checking the Hardware Requirements
Memory Requirements
我也不会放弃System Architecture
Disk Space Requirements
检查硬件,主要看看内存,操作系统版本和磁盘空间
1.1 Memory Requirements
Checking the Hardware Requirements
At least 1 GB of physical RAM
bash-3.2# lsattr -E -l sys0 -a realmem
realmem 5242880 Amount of usable physical memory in Kbytes FALSE
The following table describes the relationship between installed RAM and the configured swap space requirement:切身体会
Available RAM Swap Space Required
Between 1024 MB and 2048 MB 1.5 times the size of RAM
Between 2049 MB and 8192 MB Equal to the size of RAM
More than 8192 MB 0.75 times the size of RAM
bash-3.2# lsps -a
Page Space Physical Volume Volume Group Size %Ud Active Auto Type Chksum
paging00 hdisk2 vgdate 2880MB 8 yes yes lv 0
hd6 hdisk1 rootvg 2752MB 9 yes yes lv 0
1.2 System Architecture
To determine whether the system architecture can run the software, enter the following command: bash-3.2# getconf HARDWARE_BITMODE
64
To determine if the system is started in 64-bit mode, enter the following command:
bash-3.2# bootinfo -K
64
1.3 Disk Space Requirements
Between 150 and 200 MB of disk space in the /tmp directory
bash-3.2# df -m /tmp/
Filesystem MB blocks Free %Ud Iud %Iud Mounted on
/dev/hd3 4096.00 3816.23 7% 629 1% /tmp
Installation Type Requirement for Software Files (GB)
Enterpri Edition 3.82
Standard Edition 3.78
Custom (maximum) 3.95
然后给oracle创建安装目录
smitty mkfs
/u01
bash-3.2# df -g /u01/
Filesystem GB blocks Free %Ud Iud %Iud Mounted on
/
dev/fslv02 6.00 6.00 1% 4 1% /u01
安装完发现光二进制文件就需要将近7个g。
2 Checking the Software Requirements
2.1 Operating System Requirements
The following is the operating system requirement for Oracle Databa 11g Relea 1: AIX 5L version 5.3, TL 05, Service Pack 06
AIX 6L version 6.1, TL 00, Service Pack 04 or later
The following operating system filets are required for Oracle Databa 11g Relea 1:
bos.adt.ba
bos.adt.lib地壳厚度
bos.adt.libm
先行指标bos.perf.libperfstat
bos.perf.perfstat
bos.perf.proctools
:8.0.0.7 or later (AIX 5.3)
<:8.0.0.7 or later (AIX 5.3)
:9.0.0.1 or later (AIX 6.1)
<:9.0.0.1 or later (AIX 6.1)
To determine the distribution and version of AIX installed, enter the following command:
bash-3.2# oslevel -s
杏花的诗
6100-03-01-0921
一体机怎么开机If the operating system version is lower than AIX 5.3.0.0 Technology Level 5 SP 6, then upgrade your operating system to this level. AIX 5L version 5.3 maintenance packages are available from the following Web site:
/erver/support/fixes/
To determine whether the required filets are installed and committed, enter a command similar to the following:
# lslpp -l bos.adt.ba bos.adt.lib bos.adt.libm bos.perf.perfstat \
bos.perf.libperfstat bos.perf.proctools
bash-3.2# lslpp -l bos.adt.ba bos.adt.lib bos.adt.libm bos.perf.perfstat \
> bos.perf.libperfstat bos.perf.proctools
Filet Level State Description
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
bos.adt.ba 6.1.3.0 COMMITTED Ba Application Development Toolkit
bos.adt.lib 6.1.2.0 COMMITTED Ba Application Development Libraries
bos.adt.libm 6.1.3.0 COMMITTED Ba Application Development Math Library
bos.perf.libperfstat 6.1.3.1 COMMITTED Performance Statistics LIBRARY Interface
bos.perf.perfstat 6.1.3.0 COMMITTED Performance Statistics Interface
bos.perf.proctools 6.1.3.0 COMMITTED Proc Filesystem Tools
Path: /etc/objrepos
bos.adt.ba 6.1.3.0 COMMITTED Ba Application Development Toolkit
bos.perf.libperfstat 6.1.3.1 COMMITTED Performance Statistics LIBRARY Interface
bos.perf.perfstat 6.1.2.0 COMMITTED Performance Statistics Interface
To determine the supported kernel mode, enter a command similar to the following:
bash-3.2# getconf KERNEL_BITMODE
64
2.2 Compiler Requirements
The following are the compiler requirements for Pro*C/C++, Oracle Call Interface, Oracle C++ Call Interface, and Oracle XML Developer's Kit (XDK), and GNU Compiler Collection (GCC) with Oracle Databa 11g Relea 1:
May 2005 XL C/C++ Enterpri Edition V7.0 for AIX PTF (7.0.0.2):
You can download this software from the following link:
2.3 Patch Requirement
In addition, you need to verify that the following patches are installed on the system.
Note:
There may be more recent versions of the patches listed installed on the system. If a listed patch is not installed, then determine whether a more recent version is installed before installing the version listed.
Authorized Problem Analysis Reports (APARs) for AIX 5L v5.3:
IY89080
IY92037
IY94343
IZ01060 or efix for IZ01060
IZ03260, or efix for IZ03260
If you u HACMP, then note the following additional requirements:
AIX: AIX 5.3 TL06 or newer (bosrte.lvm must be at least 5.3.0.60)
HACMP: Ensure the following versions are installed:
HACMP v. 5.3 with PTFS (APAR:IY94307) and cluster.es.clvm installed
HACMP APAR: IZ01809
To determine whether an APAR is installed, enter a command similar to the following:
# /usr/sbin/instfix -i -k ""IY89080 IY92037 IY94343 Iz02060 Iz03260"
If an APAR is not installed, then download it from the following Web site and install it: /erver/support/fixes/
bash-3.2# instfix -i -k "IY89080 IY92037 IY94343 Iz02060 Iz03260"
There was no data for IY89080 in the fix databa.
There was no data for IY92037 in the fix databa.
There was no data for IY94343 in the fix databa.
似乎
There was no data for Iz02060 in the fix databa.
There was no data for Iz03260 in the fix databa.
系统是aix6,不管它,继续
2.4 Additional Software Requirements
Depending on the components you want to u, you must ensure that the following software are installed:
Oracle JDBC/OCI Drivers
ODBC Drivers
Oracle Messaging Gateway
Browr Requirements
3 Creating Required Operating System Groups and Urs
The following local operating system groups and urs are required if you are installing Oracle Databa:
The Oracle Inventory group (oinstall)
The OSDBA group (dba)
The Oracle software owner (oracle)
已经有个用户了,就不去单独建oracle用户了
uradd -m -g 400 shisl
mkgroup -'A' id='400' urs='shisl' oinstall
mkgroup -'A' id='401' urs='shisl' dba
urmod -g dba -G oinstall shisl
cat /etc/passwd |grep shisl
shisl:!:400:401::/export/shisl:/usr/bin/ksh
bash-3.2# lsur shisl
shisl id=400 pgrp=dba groups=dba,oinstall home=/export/shisl shell=/usr/bin/ksh login=true su=true rlogin=true daemon=true admin=fal sugroups=ALL admgroups= tpath=nosak ttys=ALL expires=0 auth1=SYSTEM auth2=NONE umask=22 registry=files SYSTEM=compat logintimes= loginretries=0 pwdwarntime=0 account_locked=fal minage=0 maxage=0 maxexpired=-1 minalpha=0 minother=0
mindiff=0 maxrepeats=8 minlen=0 histexpire=0 histsize=0 pwdchecks= dictionlist= default_roles= fsize=-1 cpu=-1 data=-1 stack=-1 core=-1 rss=-1 nofiles=-1 time_last_login=1251790524 tty_last_login=10_101_5_66_0 host_last_login=10.101.5.66:0 unsuccessful_login_count=0 roles=纯洁
bash-3.2# passwd shisl
4 Configure Shell Limits and System Configuration Parameters
4.1 Configure Shell Limits
Verify that the shell limits shown in the following table are t to the values shown.
Shell Limit (As Shown in smit) Recommended Value
Soft FILE size -1 (Unlimited)
Soft CPU time -1 (Unlimited)
Note: This is the default value.
Soft DATA gment -1 (Unlimited)