AIX – 32bit vs 64bit

作者: Maclean Liu , post on October 2nd, 2009 , English Version
【本站文章除注明转载外,均为本站原创编译】
转载请注明:文章转载自: Oracle Clinic – Maclean Liu的个人技术博客 [http://www.oracledatabase12g.com/]
本文标题: AIX – 32bit vs 64bit
本文永久地址: http://www.oracledatabase12g.com/archives/aix-32bit-vs-64bit.html
PURPOSE
-------

To provide a list of commands for DBA's to determine if a 32-bit or 64-bit
application can be installed successfully on AIX 4.3.3 and AIX 5L

SCOPE & APPLICATION
-------------------

Oracle DBA's and UNIX Sys Admins
Verify the following for an application installation on AIX servers:

32-bit or 64-bit:

Application
Operating System
Kernel
Hardware

AIX 32-bit and 64-bit Information and Command Summary for Oracle Installations
------------------------------------------------------------------------------

Verified combinations of 32/64 bit Oracle on AIX

AIX 4.3.3
-----------
Application   Hardware         Operating Sys       Kernel

8.1.7 32bit   32bit or 64bit   64bit               *N/A
8.1.7 64bit   64bit            64bit               *N/A
9.0.1 64bit   64bit            64bit               *N/A
9.2.0 64bit   64bit            64bit               *N/A

AIX 5.1
-----------
Application   Hardware         Operating Sys       Kernel

8.1.7 32bit   32bit or 64bit   64bit               32bit or 64bit **)
8.1.7 64bit   --- Not available ---
9.0.1 64bit   --- Not available ---
9.2.0 64bit   64bit            64bit               32bit or 64bit

AIX 5.2
-----------
Application   Hardware         Operating Sys       Kernel

8.1.7 32bit   32bit or 64bit   64bit               32bit or 64bit **)
8.1.7 64bit   --- Not available ---
9.0.1 64bit   --- Not available ---
9.2.0 64bit   64bit            64bit               32bit or 64bit
10.1.0 64bit  64bit            64bit               32bit or 64bit
10.2.0 64bit  64bit            64bit               32bit or 64bit

AIX 5.3
-----------
Application   Hardware         Operating Sys       Kernel

8.1.7  32bit  32bit or 64bit   64bit               32bit or 64bit **)
8.1.7  64bit  --- Not available ---
9.0.1  64bit  --- Not available ---
9.2.0  64bit  64bit            64bit               32bit or 64bit
10.1.0 64bit  64bit            64bit               32bit or 64bit
10.2.0 64bit  64bit            64bit               32bit or 64bit
11.1.0 64bit  64bit            64bit               32bit or 64bit
11.2.0 64bit  64bit            64bit               32bit or 64bit

AIX 6.1
-----------
Application   Hardware         Operating Sys	   Kernel

10.2.0 64bit  64bit            64bit               32bit or 64bit
11.1.0 64bit  64bit            64bit               32bit or 64bit
11.2.0 64bit  64bit            64bit               32bit or 64bit

*  AIX 4.3.3 does not have the option to boot up in different kernel modes.
** requires patch 2896876 

APPLICATION
-----------

The 64-bit user-space support is provided by the bos.64bit fileset and enabled
with the 'smit load64bit' menu.  You can also test this by running the
'/etc/methods/cfg64' command (see the entry in /etc/inittab) and checking the
return code.

HARDWARE
---------

All recent pSeries boxes have  64-bit CPUs, including:
      * RS/6000 7013 Models S70, S7A
      * RS/6000 7015 Models S70, S7A
      * RS/6000 7017 Models S70, S7A, S80
      * RS/6000 7025 Models H80, F80
      * RS/6000 7026 Models H70, H80, M80
      * RS/6000 7043 Models 260, 270
      * RS/6000 7044 Models 170, 270
      * pSeries 680 Model S85
      * pSeries 640 Model B80
      * pSeries 660 Model 6H1
      * pSeries 620 Model 6F1

This list is from the AIX 5.1 /usr/lpp/bos/README file.

KERNEL
------

It is possible to switch between the 32-bit and 64-bit kernels without
reinstalling the operating system.

Ref Note:169426.1 - How to Change Kernel Mode of IBM AIX 5L (5.1)

Be careful to not try and boot the unix_up kernel on an mp system, or a
unix_64 kernel on a 32-bit h/w.  It will fail and you'll have to use
maintenance mode to fix it.

VERIFICATION COMMANDS
=====================

APPLICATION
-----------

Command:  

# file $ORACLE_HOME/bin/oracle

If the executable is 32-bit, the result is

oracle:         executable (RISC System/6000) or object module not stripped

for 64-bit ocde 

oracle:         64-bit AIX executable or object module not stripped

In addition to the command 'file $ORACLE_HOME/bin/oracle' in 10G
you can now query the platform_name from v$database, for example:

SQL> select  platform_name from v$database;

PLATFORM_NAME
--------------------------
AIX-Based Systems (64-bit)

HARDWARE (Installed)
--------

Command:  > lslpp -l bos.64bit

32-bit

lslpp: 0504-132  Fileset bos.64bit not installed.

64-bit/AIX 4.3.3

Fileset                               Level     State      Description
----------------------------------------------------------------------------
Path: /usr/lib/objrepos  bos.64bit    4.3.3.78  COMMITTED  Base Operating
                                                           System 64 bit
                                                           Runtime
64-bit/AIX 5.1

Fileset                               Level     State      Description
----------------------------------------------------------------------------
Path: /usr/lib/objrepos  bos.64bit    5.1.0.35  COMMITTED  Base Operating
                                                           System 64 bit
                                                 	   Runtime

KERNEL
------

Command:  > ls -l /unix

32-bit

lrwxrwxrwx   1 root     system    21 Mar 25 2002  /unix@ -> /usr/lib/boot/un
ix_mp*

64-bit

lrwxrwxrwx   1 root     system           21 Jun 04 2002  /unix@ ->
/usr/lib/boot/unix_64*

=========================================================================

AIX 5.2 64-bit

HARDWARE
--------

# getconf  HARDWARE_BITMODE
64

KERNEL
------

# getconf  KERNEL_BITMODE
64

===========================================================================

NOTE:  bootinfo command

bootinfo -K displays the current kernel wordsize of "32" or "64"
bootinfo -y tells if hardware is 64-bit capable
bootinfo -p If it returns the string 32 it is only capable of running the
            32-bit kernel. If it returns the string chrp the machine is
            capable of running the 64-bit kernel or the 32-bit kernel.

> man bootinfo

Determines and displays various boot information, including boot device
type and boot device name. This command is NOT a user-level command and is
NOT supported in AIX Version 4.2 or later.

© 2009 – 2010, www.oracledatabase12g.com. 版权所有.文章允许转载,但必须以链接方式注明源地址,否则追究法律责任.

相关文章 | Related posts:

  1. Rac 10gR2 On AIX Best Guide
  2. Release 2 (9.2.0.8) Patch Set 7 for AIX 5L Based Systems (64-Bit)
  3. Step-By-Step Installation of Oracle 9i RAC on IBM AIX
  4. Oracle AIX Performance and Tuning

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>