| |
写在前面: 硬件 7044-270 IBM, aix 5.3

I:所需软件、文档下载
引用

a:去Oracle网站上找Installation Guide for AIX 5L Based Systems (64-Bit),地址如下:
http://www.oracle.com/pls/db102/homepage
所需要的是Installation Guides->Installation Guide for AIX 5L Based Systems (64-Bit)
第1个就是,比什么中文的文档都详细。自己先仔细研究一下。比问谁都强。Oracle的文档都提供2种形式,或者HTML或者PDF。我下了PDF,看着方便。

b:下载Oracle 10g for AIX
下载页面:http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201aixsoft.html
10gr2_aix5l64_database.cpio.gz


II:软件和硬件环境限制及检验
引用

硬件限制:
1:CPU 64位
2:物理内存大于1G
3:SWAP大小与物理内存的推荐关系
RAM                                                 SWAP
1024M-2048M                                  1.5RAM
2049M-8192M                                   =RAM
>8192M                                            0.75RAM
4:/tmp > 400M
5:Oracle的主目录空间> 3G (这个肯定要大于3G不止了吧。自己调整吧。)

相应检查方法:
1:主机、CPU

基本情况:
bash-3.00# prtconf
System Model: IBM,7044-270
Machine Serial Number: 10604DF
Processor Type: PowerPC_POWER3
Number Of Processors: 2
Processor Clock Speed: 375 MHz
CPU Type: 64-bit
Kernel Type: 64-bit
LPAR Info: -1 NULL
Memory Size: 3840 MB
Good Memory Size: 3840 MB
Platform Firmware level: Not Available
Firmware Version: IBM,SPH00221
Console Login: enable
Auto Restart: true
Full Core: false

Network Information
       Host Name: aix270
       IP Address: 192.168.101.252
       Sub Netmask: 255.255.255.0
       Gateway: 192.168.101.254
bash-3.00# prtconf
System Model: IBM,7044-270
Machine Serial Number: 10604DF
Processor Type: PowerPC_POWER3
Number Of Processors: 2
Processor Clock Speed: 375 MHz
CPU Type: 64-bit
Kernel Type: 64-bit
LPAR Info: -1 NULL
Memory Size: 3840 MB
Good Memory Size: 3840 MB
Platform Firmware level: Not Available
Firmware Version: IBM,SPH00221
Console Login: enable
Auto Restart: true
Full Core: false

Network Information
       Host Name: aix270
       IP Address: 192.168.101.252
       Sub Netmask: 255.255.255.0
       Gateway: 192.168.101.254
       Name Server: 222.92.109.230
       Domain Name: aix270.ksthiz.com

Paging Space Information
       Total Paging Space: 512MB
       Percent Used: 1%

Volume Groups Information
==============================================================================
rootvg:
PV_NAME           PV STATE          TOTAL PPs   FREE PPs    FREE DISTRIBUTION
hdisk1            active            542         5           00..00..00..00..05
==============================================================================

INSTALLED RESOURCE LIST

The following resources are installed on the machine.
+/- = Added or deleted from Resource List.
*   = Diagnostic support not available.

 Model Architecture: chrp
 Model Implementation: Multiple Processor, PCI bus

+ sys0                       System Object
+ sysplanar0                 System Planar
* pci1             P2        PCI Bus
* pci0             P2        PCI Bus
* isa0             P2        ISA Bus
+ fda0             P2/D1     Standard I/O Diskette Adapter
+ fd0              P2-D1     Diskette Drive
* siokma0          P2/K1     Keyboard/Mouse Adapter
+ sioka0           P2/K1     Keyboard Adapter
+ kbd0             P2-K1     PS/2 keyboard
+ sioma0           P2/K1     Mouse Adapter
+ mouse0           P2-O1     3 button mouse
+ siota0           P2/Q1     Tablet Adapter
+ paud0            P2/Q2     Ultimedia Integrated Audio
+ ppa0             P2/R1     CHRP IEEE1284 (ECP) Parallel Port Adapter
+ sa0              P2/S1     Standard I/O Serial Port
+ tty0             P2/S1-L0  Asynchronous Terminal
+ sa1              P2/S2     Standard I/O Serial Port
+ scsi0            P2/Z1     Wide/Fast-20 SCSI I/O Controller
+ cd0              P2/Z1-A1  16 Bit SCSI Multimedia CD-ROM Drive (650 MB)
+ rmt0             P2/Z1-A2  SCSI 4mm Tape Drive (12000 MB)
+ hdisk0           P2/Z1-A8  Other SCSI Disk Drive
+ hdisk1           P2/Z1-A9  Other SCSI Disk Drive
+ mir2d0           P2-I3/G1  GXT300P Graphics Adapter
+ ent0             P2/E1     IBM 10/100 Mbps Ethernet PCI Adapter (23100020)
+ scsi1            P2/Z2     Wide/Ultra-2 SCSI I/O Controller
+ L2cache0                   L2 Cache
+ mem0                       Memory
+ proc0            P1-C1     Processor
+ proc1            P1-C1     Processor
主机
bash-3.00# uname -Mu
IBM,7044-270 IBM,0110604DF
查看CPU硬件多少位
bash-3.00# /usr/bin/getconf HARDWARE_BITMODE
64
bash-3.00# bootinfo -y
64
查看系统内核启用模式
bash-3.00# bootinfo -K
64
bash-3.00# ls -l /unix
lrwxrwxrwx   1 root     system           21 Jul  5 22:49 /unix -> /usr/lib/boot/unix_64
查看有几颗CPU
bash-3.00# lsdev -C | grep proc
proc0      Available 00-00        Processor
proc1      Available 00-01        Processor
查看其中1颗CPU
bash-3.00# lsattr -E -l proc0
frequency   375000000      Processor Speed       False
smt_enabled false          Processor SMT enabled False
smt_threads 0              Processor SMT threads False
state       enable         Processor state       False
type        PowerPC_POWER3 Processor type        False
查看其中1颗CPU
bash-3.00# lsattr -E -l proc1
frequency   375000000      Processor Speed       False
smt_enabled false          Processor SMT enabled False
smt_threads 0              Processor SMT threads False
state       enable         Processor state       False
type        PowerPC_POWER3 Processor type        False


2:物理内存的大小

查看内存大小
bash-3.00# /usr/sbin/lsattr -E -l sys0 -a realmem
realmem 3932160 Amount of usable physical memory in Kbytes False
bash-3.00# bootinfo -r
3932160


3:SWAP大小

bash-3.00# /usr/sbin/lsps -a
Page Space      Physical Volume   Volume Group    Size %Used Active  Auto  Type
hd6             hdisk1            rootvg         512MB     1   yes   yes    lv
bash-3.00# extendlv hd6 80
解释:80是pp,物理分区
80=3072(要扩充的内存值)-512(当前内存值)/32
32是PP SIZE,用lsvg rootvg来查看。
bash-3.00# lsps -a
Page Space      Physical Volume   Volume Group    Size %Used Active  Auto  Type
hd6             hdisk1            rootvg        3072MB     1   yes   yes    lv


4:/tmp大于400M

chfs -a size=500M /tmp


5:Oracle的所在LV
(本次文档不单独创建datavg,下次再处理吧。默认安装在/home/oracle下)

bash-3.00# bootinfo -s hdisk0
70007
bash-3.00# bootinfo -s hdisk1
17364
bash-3.00# prtconf
Volume Groups Information
==============================================================================
rootvg:
PV_NAME           PV STATE          TOTAL PPs   FREE PPs    FREE DISTRIBUTION
hdisk1            active            542         254         83..00..00..62..109
==============================================================================
bash-3.00# chfs -a size=8000M /home
Filesystem size changed to 16384000



软件要求:

1:OS系统要求:5.2要求维护包(Maintenance Level ) >= 04 ; 5.3 >= 02  
2:包含以下文件集:
bos.adt.base
bos.adt.lib
bos.adt.libm
bos.perf.libperfstat
bos.perf.perfstat
bos.perf.proctools
xlC.aix50.rte:7.0.0.4 or later
xlC.rte:7.0.0.1 or later
3:APAR的安装
APAR的安装是为了修正一些在Oracle安装和使用时的一些系统Bug,此处应参照Oracle官方文档结合自身情况处理,如果不知道哪里找Oracle官方文档,请看第I部分的文档下载处。

注:PTF与APAR的区别
PTF是Program Temporary Fix的简称。 一个PTF是指一个升级的文件束(fileset)或着一个修正了以前操作系统问题的文件束。使用installp命令安装。
APAR是Authorized Program Analysis Report的简称。一个APAR指的是一个特殊的或着紧急的fix、e-fix, 对操作系统而言是单一性的错误问题。APAR有可能经过测试和认证后成为PTT。 APAR使用instfix命令安装。

检查相应环境

1:OS检查

bash-3.00# oslevel -r
5300-06


2:检查文件集(filesets)

bash-3.00# lslpp -l bos.adt.base bos.adt.lib bos.adt.libm bos.perf.perfstat  bos.perf.libperfstat bos.perf.proctools
 Fileset                      Level  State      Description        
 ----------------------------------------------------------------------------
Path: /usr/lib/objrepos
 bos.adt.base              5.3.0.60  COMMITTED  Base Application Development
                                                Toolkit
 bos.adt.lib               5.3.0.60  COMMITTED  Base Application Development
                                                Libraries
 bos.adt.libm              5.3.0.60  COMMITTED  Base Application Development
                                                Math Library
 bos.perf.libperfstat      5.3.0.60  COMMITTED  Performance Statistics Library
                                                Interface
 bos.perf.perfstat         5.3.0.60  COMMITTED  Performance Statistics
                                                Interface
 bos.perf.proctools        5.3.0.60  COMMITTED  Proc Filesystem Tools

Path: /etc/objrepos
 bos.perf.libperfstat      5.3.0.60  COMMITTED  Performance Statistics Library
                                                Interface
 bos.perf.perfstat         5.3.0.60  COMMITTED  Performance Statistics
                                                Interface
都已安装OK,缺少请自行安装。


3:APAR目前我的AIX版本为5300-06(ML为6)暂时不装那些,看看是否能通过。


本文链接:http://www.52zhe.cn/read.php/51.htm
本文作者:kook(若就博客内所涉及的技术问题交流,请用下面的MSN或Gmail联系我)
联系方式:(MSN:kook#live.com) (Google talk:kookliu)
没有版权:GNU,转载时请注明“转载人”欠本人一顿饭,来日见面之时兑现!谢谢合作!
Tags: , , , ,
by kook | 分类: AIX | 评论(0) | 引用(0) | 阅读(1558)
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]