ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Oracle 10g在AIX 6.1下安装时注意事项

Oracle 10g在AIX 6.1下安装时注意事项

原创 Linux操作系统 作者:is.x 时间:2011-12-31 11:30:45 0 删除 编辑

AIX版本:AIX 6.1 TL6 SP5

Oracle版本:Oracle 10.2.0.1.0

需要下载的Oracle安装介质:10gr2_aix5l64_database.cpiop6718715_10203_AIX64-5L.zip

数据库规划:单实例数据库系统,数据存储方式选择为裸设备/文件系统。

 

记录几个注意事项,基本安装和AIX 5版本一样,具体步骤不再详述:

 

1.     安装前的系统补丁检查:

 

操作系统版本在AIX 6.1 SP 1 (AIX 6100-00-01)及以上时, 确认打上以下APAR补丁:

 

IZ10223: OLSON TIMEZONE SETTINGS IS NOT WORKING FOR 64BIT APPLICATIONS. APPLIES TO AIX 6100-00

 

检查方法:

 

# instfix -i |grep IZ10223

All filesets for IZ10223 were found.

 

另,需确认已安装包bos.adt.libm, bos.adt.prof, bos.cifs_fs.rte

 

检查方法: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

 

# 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

  Fileset                      Level  State      Description        

  ----------------------------------------------------------------------------

Path: /usr/lib/objrepos

  bos.adt.base              6.1.6.15  COMMITTED  Base Application Development

                                                 Toolkit

  bos.adt.lib                6.1.2.0  COMMITTED  Base Application Development

                                                 Libraries

  bos.adt.libm               6.1.6.0  COMMITTED  Base Application Development

                                                 Math Library

  bos.adt.prof              6.1.6.15  COMMITTED  Base Profiling Support

  bos.cifs_fs.rte           6.1.6.15  COMMITTED  Runtime for SMBFS

  bos.perf.libperfstat      6.1.6.15  COMMITTED  Performance Statistics Library

                                                 Interface

  bos.perf.perfstat         6.1.6.15  COMMITTED  Performance Statistics

                                                 Interface

  bos.perf.proctools        6.1.6.15  COMMITTED  Proc Filesystem Tools

 

Path: /etc/objrepos

  bos.adt.base              6.1.6.15  COMMITTED  Base Application Development

                                                 Toolkit

  bos.cifs_fs.rte           6.1.6.15  COMMITTED  Runtime for SMBFS

  bos.perf.libperfstat      6.1.6.15  COMMITTED  Performance Statistics Library

                                                 Interface

  bos.perf.perfstat          6.1.6.0  COMMITTED  Performance Statistics

                                                 Interface

 

2.     当以root用户运行Oracle 10gR2的“rootpre.sh”时,会显示AIX AIO的错误信息:

 

# ./rootpre.sh

./rootpre.sh output will be logged in /tmp/rootpre.out_11-12-31.09:09:02

Saving the original files in /etc/ora_save_11-12-31.09:09:02....

Copying new kernel extension to /etc....

Loading the kernel extension from /etc

 

 Oracle Kernel Extension Loader for AIX

       Copyright (c) 1998,1999 Oracle Corporation

 

 

 Kernel Extension /etc/pw-syscall.64bit_kernel already loaded, unloading it

 Unconfigured the kernel extension successfully

 Unloaded the kernel extension successfully

 Successfully loaded /etc/pw-syscall.64bit_kernel with kmid: 0x50cfc000

 Successfully configured /etc/pw-syscall.64bit_kernel with kmid: 0x50cfc000

The kernel extension was successfuly loaded.

 

Configuring Asynchronous I/O....

Asynchronous I/O is not installed on this system.

You will need to install it, and either configure it yourself using

'smit aio' or rerun the Oracle root installation procedure.

 

Configuring POSIX Asynchronous I/O....

Posix Asynchronous I/O is not installed on this system.

You will need to install it, and either configure it yourself using

'smit aio' or rerun the Oracle root installation procedure.

 

Checking if group services should be configured....

Nothing to configure.

 

解决方法:

下载并使用10.2.0.3版本上的patch 6718715p6718715_10203_AIX64-5L.zip)来替换原来的rootpre目录。

 

在解压p6718715_10203_AIX64-5L.zip文件时,由于默认AIX安装是不自带unzip工具的,所以无法直接解压zip文件,这时可以使用Oracle安装目录下的unzip工具,具体路径:

~/Disk1/install/unzip

 

再执行rootpre.sh后无报错:

# ./rootpre.sh

./rootpre.sh output will be logged in /tmp/rootpre.out_11-12-31.09:09:47

Saving the original files in /etc/ora_save_11-12-31.09:09:47....

Copying new kernel extension to /etc....

Loading the kernel extension from /etc

 

 Oracle Kernel Extension Loader for AIX

       Copyright (c) 1998,1999 Oracle Corporation

 

 

 Kernel Extension /etc/pw-syscall.64bit_kernel already loaded, unloading it

 Unconfigured the kernel extension successfully

 Unloaded the kernel extension successfully

 Successfully loaded /etc/pw-syscall.64bit_kernel with kmid: 0x50cfc000

 Successfully configured /etc/pw-syscall.64bit_kernel with kmid: 0x50cfc000

The kernel extension was successfuly loaded.

 

Checking if group services should be configured....

Nothing to configure.

 

3.     执行runInstaller时注意事项

 

Oracle用户执行runInstaller时需要增加-ignoreSysPrereqs参数:

./runInstaller -ignoreSysPrereqs

 

同时,在进行Product-Specific Prerequisite Checks时,在Checking operationg system requirements时会由于AIX版本不支持而出现告警。

 

 

这时可在复选框里打钩,用户自己确认(Status会变为User Verified)。

 

 

4.     其他报错

1)安装数据库的时候,同事发现操作系统的系统时间不对,于是在我安装前将时间回调了1天,然后我开始安装数据库。在执行runInstaller的时候,出现了以下报错:

 

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-12-30_02-24-52PM. Please wait ...oracle@fedb_a@/oracle/Disk1 $ Oracle Universal Installer, Version 10.2.0.1.0 Production

Copyright (C) 1999, 2005, Oracle. All rights reserved.

 

touch: cannot change times on /var/opt/freeware/lib/rpm/packages.rpm

rpm_share: 0645-007 ATTENTION: set_time_token() returned an unexpected result.

 

这个报错与系统时间调整有关,set_time_token()函数的调用返回了非预期结果,不过安装仍能继续。考虑到可能有潜在的隐患,最后还是在第二天重新装了一次数据库,重装时报错已消失。

 

2)执行runInstaller安装时,每次到60%安装界面就会无反映

 

检查了Inventory目录下的日志,发现有err结尾的安装日志文件。

 

cat /oracle/oraInventory/logs/oraInstall2011-12-30_04-42-55PM.err后发现以下报错:

 

Caught UnknownHostException: fedb_b: fedb_b

 

原来是主机名无法解析,查了下系统目前的主机名:fedb_b

再看了下/etc/hosts中的定义,没有fedb_b的定义,看来这个就是原因了。

将主机名的定义写到/etc/hosts后,问题解决,安装正常完成。

 

以上记录均是本人在安装过程中遇到的问题,详细的安装细节可参考:

 

Database Installation Guide for AIX 5L Based Systems (64-Bit).pdf

 

MOSMinimum Software Versions and Patches Required to Support Oracle Products on IBM Power Systems [ID 282036.1]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/20750200/viewspace-714293/,如需转载,请注明出处,否则将追究法律责任。

下一篇: AIX知识点笔记
请登录后发表评论 登录
全部评论

注册时间:2011-04-27

  • 博文量
    73
  • 访问量
    244900