AIX 5.3上安装ORACLE 10.2

更新时间:2023-11-23 04:46:01 阅读量: 教育文库 文档下载

说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。

第一章 AIX系统调整 1:查询系统版本: -bash-3.2# oslevel -r 5300-08

2:查询系统是否 64 位:

-bash-3.2# getconf HARDWARE_BITMODE 64

3:查询物理内存大小(2G):

-bash-3.2# lsattr -E -l sys0 -a realmem

realmem 2097152 Amount of usable physical memory in Kbytes False

4:增大交换空间 1)查看当前交换空间大小 -bash-3.2# lsps -a

Page Space Physical Volume Volume Group Size %Used Active Auto Type hd6 hdisk0 rootvg 512MB 24 yes yes lv

2)增大交换空间到4G(当前PP大小为64M) -bash-3.2# chps -s 56 hd6

3)查看当前交换空间大小 -bash-3.2# lsps -a

Page Space Physical Volume Volume Group Size %Used Active Auto Type hd6 hdisk0 rootvg 4096MB 7 yes yes lv

4:改变文件系统大小

-bash-3.2# chfs -a size=1G / -bash-3.2# chfs -a size=1G /home -bash-3.2# chfs -a size=1G /tmp -bash-3.2# chfs -a size=2G /var -bash-3.2# chfs -a size=2G /usr

-bash-3.2# df -g

Filesystem GB blocks Free %Used Iused %Iused Mounted on /dev/hd4 1.00 0.93 7% 4383 2% / /dev/hd2 2.00 0.45 78% 38242 26% /usr

/dev/hd9var 2.00 1.98 1% 502 1% /var /dev/hd3 1.00 1.00 1% 37 1% /tmp /dev/hd1 1.00 0.98 3% 115 1% /home /proc - - - - - /proc

/dev/hd10opt 0.12 0.04 69% 1741 16% /opt

5:创建LV 和FS

1)创建ORACLE安装软件的LV和FS

-bash-3.2# mklv -y oraclelv -t jfs2 rootvg 10G

-bash-3.2# crfs -v jfs2 -d oraclelv -A yes -m /app/oracle -bash-3.2# mount /app/oracle

2)创建ORACLE数据文件的LV和FS

-bash-3.2# mklv -y oralv -t jfs2 oravg 100G

-bash-3.2# crfs -v jfs2 -d oralv -A yes -m /app/oradata -bash-3.2# mount /app/oradata

6:安装依赖包 1)安装软件

参考文章:http://download-west.oracle.com/docs/cd/B19306_01/install.102/b19075/toc.htm oracle10g所需的AIX包: bos.adt.base bos.adt.lib bos.adt.libm bos.perf.libperfstat bos.perf.perfstat bos.perf.proctools

xlC.aix50.rte:9.0.0.1 or later //版本必须为7.0.0.1以上 xlC.rte:9.0.0.1 or later //版本必须为7.0.0.1以上

2)检查补丁是否打成功 参考文章:http://download-west.oracle.com/docs/cd/B19306_01/install.102/b19075/pre_install.htm#sthref110 IY58143 IY59386 IY60930 IY66513 IY68989 IY70159

-bash-3.2# instfix -ik IY58143 IY59386 All filesets for IY58143 were found.

-bash-3.2# instfix -ik IY59386

All filesets for IY59386 were found. -bash-3.2# instfix -ik IY60930

All filesets for IY60930 were found. -bash-3.2# instfix -ik IY66513

All filesets for IY66513 were found. -bash-3.2# instfix -ik IY68989

All filesets for IY68989 were found. -bash-3.2# instfix -ik IY70159

All filesets for IY70159 were found.

7:修改系统最大进程数参数

-bash-3.2# chdev -l sys0 -a maxuproc=2048 -a maxpout=32 -a minpout=24

8:创建数据库用户和组

-bash-3.2# mkgroup id=300 oinstall -bash-3.2# mkgroup id=301 oradba

-bash-3.2# mkuser id=300 pgrp=oinstall groups=oradba fsize=-1 data=-1 stack=-1 core=-1 oracle

本文来源:https://www.bwwdw.com/article/zc7v.html

Top