Install Oracle10201 on AIX

Source: Internet
Author: User
Describes the process of installing Oracle10201 on AIX. First check whether the system meets the database installation needs: # usrsbinlsattr-E-lsys0-arealmemrealmem

Describes the process of installing Oracle10201 on AIX. First, check whether the system meets the database installation requirements: #/usr/sbin/lsattr-E-l sys0-a realmem

Describes the process of installing Oracle10201 on AIX.

First, check whether the system meets the database installation requirements:

#/Usr/sbin/lsattr-E-l sys0-a realmem

Realmem 32604160 Amount of usable physical memory in Kbytes False

#/Usr/sbin/lsps-

Page Space Physical Volume Group Size % Used Active Auto Type Chksum

Hd6 hdisk0 rootvg 16384 MB 1 yes lv 0

# Df-k/tmp

Filesystem 1024-blocks Free % Used Iused % Iused Mounted on

/Dev/hd3 3145728 3140388 1% 69 1%/tmp

# Df-k

Filesystem 1024-blocks Free % Used Iused % Iused Mounted on

/Dev/hd4 3145728 2608568 18% 10939 2%/

/Dev/hd2 4194304 1991084 53% 47242 10%/usr

/Dev/hd9var 2097152 1764848 16% 8269 3%/var

/Dev/hd3 3145728 3140388 1% 69 1%/tmp

/Dev/fwdump 1048576 1048080 1% 5 1%/var/adm/ras/platform

/Dev/hd1 2097152 2096488 1% 5 1%/home

/Dev/hd11admin 262144 261744 1% 5 1%/admin

/Proc---/proc

/Dev/hd10opt 4194304 3945520 6% 8748 1%/opt

/Dev/livedump 262144 261776 1% 4 1%/var/adm/ras/livedump

#/Usr/bin/getconf HARDWARE_BITMODE

64

The system content requires at least 1 GB memory. The SWAP partition size requires 75% memory for 8 GB memory. The current configuration is 50% memory size. Although it is sufficient, the Oracle check may report an error, ignore the check errors.

Requires the AIX operating system to be above 5.2:

# Oslevel-r

6100-06

The current value is 6, which meets the requirements.

Check the operating system file set:

# 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.6.0 COMMITTED Base Application Development

Toolkit

Bos. adt. lib 6.1.2.0 COMMITTED Base Application Development

Libraries

Bos. adt. libm 6.1.5.0 COMMITTED Base Application Development

Math Library

Bos. perf. libperfstat 6.1.6.0 COMMITTED Performance Statistics Library

Interface

Bos. perf. perfstat 6.1.6.0 COMMITTED Performance Statistics

Interface

Bos. perf. proctools 6.1.6.0 COMMITTED Proc Filesystem Tools

Path:/etc/objrepos

Bos. adt. base 6.1.6.0 COMMITTED Base Application Development

Toolkit

Bos. perf. libperfstat 6.1.6.0 COMMITTED Performance Statistics Library

Interface

Bos. perf. perfstat 6.1.6.0 COMMITTED Performance Statistics

Interface

For version 6, the version is high enough, so the Patch Set described in the installation documentation is no longer needed.

# Cat/etc/netsvc. conf | grep hosts

# Hosts = value [, value]

# Use one or more of the following values for the hosts keyword:

# The auth option is only valid when used in conjunction with a service value for the hosts keyword.

# Local Searches the local/etc/hosts file for resolving names

# Local4 Searches the local/etc/hosts file for resolving only IPv4 addresses

# Local6 Searches the local/etc/hosts file for resolving only IPv6 addresses

# Hosts = nis = auth, bind6, dave4

# Hostname

ZHY-DT-1

# Domainname

# Cat/etc/hosts | grep 'eval hostname'

172.20.20.1 ZHY-DT-1

Verify that the system only uses/etc/hosts as the unique way to verify the ranking.

Use smit security to create oinstall and dba groups.

Use smit security to create an oracle user, specify the primary user group oinstall, GROUPSET as dba, and specify the user creation directory/home/oracle

# Id oracle

Uid = 202 (oracle) gid = 201 (oinstall) groups = 202 (dba)

# Passwd oracle

Confirm that the user is created successfully and change the password.

# Id nobody

Uid = 4294967294 (nobody) gid = 4294967294 (nobody)

Confirm that the nobody user exists.

Use the smit chuser command to modify the shell configurations of oracle users: Soft FILE size, Soft CPU time, Soft DATA segment, and Soft STACK size are limited to-1.

Use smit chgsys to configure system parameters: set Maximum number of PROCESSES allowed per user to be greater than or equal to 2048.

# Su-oracle

$ Echo $ SHELL

/Usr/bin/ksh

$ Ls-al

Total 16

Drwxr-xr-x 2 oracle oinstall 256 Dec 22.

Drwxr-xr-x 5 bin 256 Dec 22 ..

-Rwxr ----- 1 oracle oinstall 254 Dec 22. profile

-Rw ------- 1 oracle oinstall 32 Dec 22 0:06. sh_history

$ Vi. profile

& Quot;. profile & quot; 9 lines, 254 characters


PATH =/usr/bin:/etc:/usr/sbin:/usr/ucb: $ HOME/bin:/usr/bin/X11:/sbin :.

Export PATH

If [-s "$ MAIL"] # This is at Shell startup. In normal

Then echo "$ MAILMSG" # operation, the Shell checks

Fi # periodically.

Umask 022

AIXTHREAD_SCOPE = S; export AIXTHREAD_SCOPE

Connect to the Oracle user and add umask 022 and AIX_THREAD_SCOPE environment variables to the environment variables.

Authorize the oracle user the database installation directory:

# Chown-R oracle: oinstall/data

Create the installation directory:

$ Mkdir-p/data/oracle/oradata

$ Mkdir-p/data/oracle/product/10.2

Add the following information to the profile file of an oracle user:

ORACLE_SID = zhtrade; export ORACLE_SID

ORACLE_BASE =/data/oracle; export ORACLE_BASE

ORACLE_HOME =/data/oracle/product/10.2; export ORACLE_HOME

PATH = $ ORACLE_HOME/bin: $ PATH; export PATH

DISPLAY = 172.20.10.150: 1.0; export DISPLAY

Use cpio-idgmm <10gr2_aix5l64_database.cpio to decompress the file, and then use the graphical method to start installation.

Before running/data/software/Disk1/runInstaller for installation, you need to run rootpre. sh with root:

#./Rootpre. sh

./Rootpre. sh output will be logged in/tmp/rootpre. out_10-12-22.02: 41: 36

Saving the original files in/etc/ora_save_10-12-22.02: 41: 36 ....

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: 0x50ca6000

Successfully configured/etc/pw-syscall.64bit_kernel with kmid: 0x50ca6000

The kernel extension was successfuly loaded.

Processing ing 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.

Processing ing 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 shocould be configured ....

Nothing to configure.

Run runInstaller to install the database software:

Select advanced installation to customize the installation process;

The orainver; directory and group information do not need to be changed because the ORACLE_BASE and ORACLE_HOME environment variables are set;

Select the Enterprise Edition and load the Chinese language;

Select the ORACLE_HOME directory, which is correct by default;

When Oracle checks the installation conditions, it will monitor that the AIX6 exceeds the expected 5.2 or 5.3, directly ignore this problem and start installation;

Select only the database software when selecting the installation type;

Finally, use root to run two scripts and install them.

#/Data/oracle/oraInventory/orainstRoot. sh

Changing permissions of/data/oracle/oraInventory to 775.

Changing groupname of/data/oracle/oraInventory to oinstall.

The execution of the script. is complete

#/Data/oracle/product/10.2/root. sh

Running Oracle10 root. sh script...

The following environment variables are set:

ORACLE_OWNER = oracle

ORACLE_HOME =/data/oracle/product/10.2

Enter the full pathname of the local bin directory: [/usr/local/bin]:

Creating/usr/local/bin directory...

Copying dbhome to/usr/local/bin...

Copying oraenv to/usr/local/bin...

Copying coraenv to/usr/local/bin...


Creating/etc/oratab file...

Entries will be added to the/etc/oratab file as needed

Database Configuration Assistant when a database is created

Finished running generic part of root. sh script.

Now product-specific root actions will be saved med.

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.