Install Oracle using bare devices on AIX

Source: Internet
Author: User

(1) Check the AIX packages required by Oracle10g according to the installation instructions:

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

Perform the following query to check whether the above package is installed in the operating system:

(2) modify system parameters. Start smit, modify the maximum number of processes in the system, and change the parameter to 2048.

Database data files (including system, user, sysaux, redo, undo, spfile, and temp tablespace data files) must be stored on bare devices. The following steps are required to create a database using dbca:

1. configure a parameter for the. profile file of oracle. dbca needs to configure a parameter for creating a database on a bare device.

Export DBCA_CONFIG =/home/oracle/raw_mp.txt

2. Create a logical volume, but do not format the created logical volume.

Mklv-y 'system'-t' rootvg 10

Mklv-y 'sysaux '-t 'Raw' rootvg 5

Mklv-y 'users'-t 'Raw' rootvg 3

Mklv-y 'unotbs '-t 'raw' rootvg 3

Mklv-y 'temp '-t 'Raw' rootvg 3

Mklv-y 'control1'-t 'Raw' rootvg 3

Mklv-y 'control2 '-t 'Raw' rootvg 3

Mklv-y 'control3 '-t 'Raw' rootvg 3

Mklv-y 'spfile'-t 'Raw' rootvg 1

Mklv-y 'redo '-t 'Raw' rootvg 4

Mklv-y 'redo2'-t 'Raw' rootvg 4

Mklv-y 'example '-t 'Raw' rootvg 3

3. Use System commands to create a (touch/home/oracle/raw_mp.txt) file. Configure the following content in the file:

System =/u01/oracle/oradata/orcl/system01.dbf

Sysaux =/u01/oracle/oradata/orcl/sysaux01.dbf

Users =/u01/oracle/oradata/orcl/users01.dbf

Undotbs1 =/u01/oracle/oradata/orcl/undotbs01.dbf

Temp =/u01/oracle/oradata/orcl/temp01.dbf

Control1 =/u01/oracle/oradata/orcl/control01.ctl

Control2 =/u01/oracle/oradata/orcl/control02.ctl

Control3 =/u01/oracle/oradata/orcl/control03.ctl

Redo1_1 =/u01/oracle/oradata/orcl/redo01.log

Redo1_2 =/u01/oracle/oradata/orcl/redo02.log

Example =/u01/oracle/oradata/orcl/example01.dbf

4. Grant the permissions of bare devices under/dev to oracle

Chown oracle: oinstall/dev/system

Chown oracle: oinstall/dev/system

Chown oracle: oinstall/dev/sysaux

Chown oracle: oinstall/dev/users

Chown oracle: oinstall/dev/undotbs

Chown oracle: oinstall/dev/temp

Chown oracle: oinstall/dev/control1

Chown oracle: oinstall/dev/control2

Chown oracle: oinstall/dev/control3

Chown oracle: oinstall/dev/spfile

Chown oracle: oinstall/dev/redo

Chown oracle: oinstall/dev/redo2

Chown oracle: oinstall/dev/example

Chown oracle: oinstall/dev/rsystem

Chown oracle: oinstall/dev/rsysaux

Chown oracle: oinstall/dev/rusers

Chown oracle: oinstall/dev/rundotbs

Chown oracle: oinstall/dev/rtemp

Chown oracle: oinstall/dev/rcontrol1

Chown oracle: oinstall/dev/rcontrol2

Chown oracle: oinstall/dev/rcontrol3

Chown oracle: oinstall/dev/rspfile

Chown oracle: oinstall/dev/rredo

Chown oracle: oinstall/dev/rredo2

Chown oracle: oinstall/dev/rexample

5. Create a link for the bare device (the device must start with r)

Ln-s/dev/rsystem/u01/oracle/oradata/orcl/system01.dbf

Ln-s/dev/rsysaux/u01/oracle/oradata/orcl/sysaux01.dbf

Ln-s/dev/rusers/u01/oracle/oradata/orcl/users01.dbf

Ln-s/dev/rundotbs/u01/oracle/oradata/orcl/undotbs01.dbf

Ln-s/dev/rtemp/u01/oracle/oradata/orcl/temp01.dbf

Ln-s/dev/rcontrol1/u01/oracle/oradata/orcl/control01.ctl

Ln-s/dev/rcontrol2/u01/oracle/oradata/orcl/control02.ctl

Ln-s/dev/rcontrol3/u01/oracle/oradata/orcl/control03.ctl

Ln-s/dev/rredo/u01/oracle/oradata/orcl/redo01.log

Ln-s/dev/rredo2/u01/oracle/oradata/orcl/redo02.log

Ln-s/dev/rexample/u01/oracle/oradata/orcl/example01.dbf

6. If a 0509-136 symbol kaio_rdwr is not export from dependent module/unix error is reported in the middle, you can solve it through the following path:

(1) smit aio

(2) change

(3) state to be configure at system restart avliable

(4)/usr/sbin/mkdev-l aio0;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.