Oracle Study之--AIX 6.1安装Oracle 10gR2

Oracle Study之--AIX 6.1安装Oracle 10gR2

1、系统硬件平台

#prtconf |more

System Model: IBM,9131-52A  
Machine Serial Number: 10367FG  
Processor Type: PowerPC_POWER5  
Processor Implementation Mode: POWER 5  
Processor Version: PV_5_2  
Number Of Processors: 2  
Processor Clock Speed: 1898 MHz  
CPU Type: 64-bit  
Kernel Type: 64-bit  
LPAR Info: 1 10-367FG  
Memory Size: 1904 MB  
Good Memory Size: 1904 MB  
Platform Firmware level: SF240_219  
Firmware Version: IBM,SF240_219  
Console Login: enable  
Auto Restart: true  
Full Core: false  
   
Network Information  
        Host Name: aix210 
        IP Address: 192.168.8.210  
        Sub Netmask: 255.255.255.0  
        Gateway:   
        Name Server:   
        Domain Name:   
   
Paging Space Information  
        Total Paging Space: 2048MB  
        Percent Used: 2%

2、系统软件环境

#oslevel  -r

6100-01
# 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               6.1.1.0  COMMITTED  Base Application Development
                                                 Toolkit
  bos.adt.lib                6.1.0.0  COMMITTED  Base Application Development
                                                 Libraries
  bos.adt.libm               6.1.1.0  COMMITTED  Base Application Development
                                                 Math Library
  bos.perf.libperfstat       6.1.1.0  COMMITTED  Performance Statistics Library
                                                 Interface
  bos.perf.perfstat          6.1.1.0  COMMITTED  Performance Statistics
                                                 Interface
  bos.perf.proctools         6.1.1.0  COMMITTED  Proc Filesystem Tools
Path: /etc/objrepos
  bos.adt.base               6.1.1.0  COMMITTED  Base Application Development
                                                 Toolkit
  bos.perf.libperfstat       6.1.1.0  COMMITTED  Performance Statistics Library
                                                 Interface
  bos.perf.perfstat          6.1.1.0  COMMITTED  Performance Statistics
                                                 Interface

------ 如果缺少所需的软件,可以从aix 6.1系统盘1#安装!

3、创建Oracle用户和组(install、dba)
# id oracle
uid=300(oracle) gid=300(oinstall) groups=301(dba)
# chown -R oracle:dba /u01
# su - oracle
$ mkdir -p /u01/app/oracle

----并修改Oracle用户对资源访问的限制 !

4、root用户做安装前的环境检测
# ./rootpre.sh
./rootpre.sh output will be logged in /tmp/rootpre.out_16-03-02.15:44:46
Saving the original files in /etc/ora_save_16-03-02.15:44:46....
Copying new kernel extension to /etc....
Loading the kernel extension from /etc
 Oracle Kernel Extension Loader for AIX 
       Copyright (c) 1998,1999 Oracle Corporation 
 Successfully loaded /etc/pw-syscall.64bit_kernel with kmid: 0x20883000
 Successfully configured /etc/pw-syscall.64bit_kernel with kmid: 0x20883000
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.

---- 检测提示“异步I/O"没有被启用,经查询,在AIX 6.1下会当有I/O请求时,自动启用异步I/O 。


查看系统I/O情况:
# ioo -a |grep aio

aio_active = 0                      ;aio未启动
                   aio_maxreqs = 65536
                aio_maxservers = 40
                aio_minservers = 10
         aio_server_inactivity = 300
              posix_aio_active = 0                       ;aio未启动
             posix_aio_maxreqs = 65536
          posix_aio_maxservers = 30
          posix_aio_minservers = 3
   posix_aio_server_inactivity = 300

5、Oracle用户安装Oracle软件
$ ./runInstaller
**************************************************************************
Your platform requires the root user to perform certain pre-installation
OS preparation.  The root user should run the shell script ‘rootpre.sh‘ be
fore
you proceed with Oracle installation.  rootpre.sh can be found at the top
level 
of the CD or the stage area.
Answer ‘y‘ if root has run ‘rootpre.sh‘ so you can proceed with Oracle 
installation.
Answer ‘n‘ to abort installation and then ask root to run ‘rootpre.sh‘.
**************************************************************************
Has ‘rootpre.sh‘ been run by root? [y/n] (n)
y

Starting Oracle Universal Installer...
No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2016-03-02_04-50-31PM. Please wait ...$ Mar 2, 2016 4:50:50 PM java.util.prefs.FileSystemPreferences$2 run
INFO: Created user preferences directory.
Mar 2, 2016 4:50:54 PM java.util.prefs.FileSystemPreferences$3 run
INFO: Created system preferences directory in java.home.

------  可以看到警告信息,Oracle 10gR2默认不支持aix 6.1 !

----  Oracle安装成功 !

6、创建listener

$ netca
Oracle Net Services Configuration:

$ lsnrctl status

LSNRCTL for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Production on 02-MAR-2016 17:21:19
Copyright (c) 1991, 2005, Oracle.  All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=aix210)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Production
Start Date                02-MAR-2016 17:21:11
Uptime                    0 days 0 hr. 0 min. 8 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      ON
Listener Parameter File   /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File         /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=aix210)(PORT=1521)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
  Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully

7、创建数据库
$ dbca

8、登陆数据库访问

$ sqlplus ‘/as sysdba‘
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Mar 2 17:31:46 2016
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options

SQL> select status from v$instance;
STATUS
------------
OPEN

SQL> show parameter name;
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
db_file_name_convert                 string
db_name                              string      prod
db_unique_name                       string      prod
global_names                         boolean     FALSE
instance_name                        string      prod
lock_name_space                      string
log_file_name_convert                string
service_names                        string      prod

SQL> select name from v$datafile
  2  union all
  3  select name from v$controlfile;

NAME
--------------------------------------------------------------------------------
/u01/app/oracle/oradata/prod/system01.dbf
/u01/app/oracle/oradata/prod/undotbs01.dbf
/u01/app/oracle/oradata/prod/sysaux01.dbf
/u01/app/oracle/oradata/prod/users01.dbf
/u01/app/oracle/oradata/prod/example01.dbf
/u01/app/oracle/oradata/prod/control01.ctl
/u01/app/oracle/oradata/prod/control02.ctl
/u01/app/oracle/oradata/prod/control03.ctl
8 rows selected.

查看异步I/O信息,可以看到系统异步I/O已被启用:
# ioo -a |grep aio
                    aio_active = 1
                   aio_maxreqs = 65536
                aio_maxservers = 40
                aio_minservers = 10
         aio_server_inactivity = 300
              posix_aio_active = 1
             posix_aio_maxreqs = 65536
          posix_aio_maxservers = 30
          posix_aio_minservers = 3
   posix_aio_server_inactivity = 300

----- 至此,在AIX 6.1上安装Oracle 10gR2成功 !

时间: 2024-12-15 21:52:21

Oracle Study之--AIX 6.1安装Oracle 10gR2的相关文章

Oracle Study之--AIX 6.1安装Oracle 11gR2

Oracle Study之--AIX 6.1安装Oracle 11gR2 系统环境:AIX6100-09 (补丁:sp3) Oracle:   Oracle 11gR2 1.查看系统硬件信息 $ prtconf |more System Model: IBM,7028-6C4 Machine Serial Number: 1096B0D Processor Type: PowerPC_POWER4 Processor Implementation Mode: POWER 4 Processor 

AIX 5.3安装Oracle 10g错误案例--ruInstaller

AIX 5.3安装Oracle 10g错误案例--runInstaller 系统环境: 操作系统:  AIX5300-08 Oracle软件:Oracle 10g(64位) 错误现象:   客户一个AIX主机,以前安装过Oracle,卸载Oracle软件后,并更改了Oracle用户的UID,重新安装Oracle出现以下错误: 查看文件系统权限: [[email protected] /]#ls -l /u01/app/ total 16 drwxrwx---    6 oracle   oins

Oracle Study之--AIX RAC下OCR磁盘故障(PROT-602)

Oracle Study之--AIX RAC下OCR磁盘故障(PROT-602) ********************************************************************************  Welcome to AIX Version 5.3!                                                **                                                  

Oracle Coherence中文教程二:安装Oracle Coherence

安装Oracle Coherence 本章提供说明安装Oracle Coherence的java(简称为Coherence).本章不包括安装连贯性的说明*扩展的客户端分发(C ++和.NET)或相干*网站.请参阅Oracle Coherence的客户指南和Oracle Coherence的Oracle Coherence的网络,用户指南,安装这些组件的说明. 本章包含以下各节: 系统要求 提取分派 设置环境变量 初次运行连贯性 2.1系统需求 以下是建议的最低系统要求安装在开发环境中的连贯性:

《oracle每日一练》免安装Oracle客户端使用PL/SQL

免安装Oracle客户端使用PL/SQL Oracle客户端挺招人烦的,部署连接它的应用通常需要先安装它的客户端,安装程序要求在目标机器上写注册表,假设你没有洁癖的话,你仍可能被下面的事情绊住:当你的机器上的其他程序依赖于x64的Oracle的程序,并且它们很有可能根本不是你写的,因此你还不敢随便乱动服务器,但是你可能需要一个PL/SQL用来在相同的环境下执行查询,这个时候你还是需要一个免安装的办法来处理这个问题. 1.下载Oracle Instant Client (32-bit) 因为我的P

[oracle部署实施] 基于centos7静默安装oracle 11gr2单实例数据库

基于centos7静默安装oracle 11gr2单实例数据库 1.vmware最小化安装centos7 分配20G硬盘+2G内存+nat网络 400mboot+4Gswap 去除kdump 最小化安装 并配置网络cat /etc/sysconfig/network-scripts/ifcfg-ens32BOOTPROTO="static"DEVICE="ens32"ONBOOT="yes"IPADDR=192.168.188.11NETMASK

DBArtist之Oracle入门第1步: 如何安装Oracle 11g

操作系统:  Windows 7 数据库   :  Oracle 11gR2 第一步: 下载Oracle安装包 Oracle官网:  https://www.oracle.com/index.html 点击Downloads栏目下的Oracle Database 11g Express Edition 然后点击左边的同意按钮: Accept License Agreement 再选择相应的版本,我这里选择的是第一个for Windows X64 第二步: 下载以后,解压压缩包,会有一个datab

Linux静默安装Oracle

打算在云服务器上装oracle服务,以前DBA美眉都是在图形化界面下安装,这次抓瞎了.赶紧上网查查,静默安装可以解决问题.于是乎赶紧开始部署,过程如下.安装环境:操作系统:CentOS 7内存:11G(11851M)硬盘:128Goracle版本 11g 1.准备oracle 安装包 linux.x64_11gR2_database_1of2.zip 和 linux.x64_11gR2_database_2of2.zip 2.检查本机依赖包,没找到的用 yum install ****** 命令

CentOS 7 安装 Oracle 11.2.0.4

一.安装环境 CentOS Linux release 7.2.1511 (Core) Oracle Database 11g Release 2 (11.2.0.4) 二.安装前准备 2.1 修改主机名 修改/etc/sysconfig/network配置文件中的HOSTNAME变量 [[email protected] ~]# hostnamectl set-hostname oracledb ####永久性修改 [[email protected] ~]#vi /etc/sysconfig