Rapid deployment of Oracle on AIX 5L

Source: Internet
Author: User
Tags character set variables
Oracle Environment Preparation 1, system resources
Ü/tmp or can be used to do temporary space disk to have more than MB of space

View Method:

$DF-k/tmp

ü256 MB of physical memory of physical RAM memory

View Method:

$/usr/sbin/lsattr-e-L sys0-a Realmem

U at least twice times the swap space of physical memory
(on a server with a system physical memory greater than 2 GB, there is less space required for swap/paging, but should not be less than the number of physical memory.)

View Method:

$/usr/sbin/lsps–a


2. Operating system environment
OS condition:
View the host name with the following command:

$ uname-a


is the 64-bit operating system:

#bootinfo-y
Or
#bootinfo-K

Operating system patches required by Oracle:
Iy22854,iy26778,iy28766,iy28949,iy29965,iy30150 and other taste
You can use the following command to check patch installation:



#/usr/sbin/instfix-a-IVK IY22854



Please take care of the patch, if the OS patch is not good, Oracle is not guaranteed to be available.


In addition, Oracle does not need to modify the core parameters for installation on AIX.
3. Installation media
Prepare the installation media for Oracle Version 9.2.0.1.0. If the media is not installed at hand,
Can download from Otn:

Http://otn.oracle.com/software/products/oracle9i/htdocs/aix5lsoft.html
Installation steps
1. Add Oracle Users and DBA groups

Complete the following operation with the root user.
To add Oracle users and Groups:
Can be done by hand command or "Smit security." Create the related directory, and change the appropriate permissions, and so on.

2, create the software installation point

3, to ensure that asynchronous Input Output (AIO) available.

Use the following command:

# LSDEV-CC AIO

If the output is "Available" then no problem, if it is "Defined", by using

# Smit Chaio

Change the ' state to is configured at System restart ' to ' Available '

4. Make sure the math library is already installed in the system.

Use the following command;

# lslpp-l BOS.ADT.LIBM

If it is not installed, you will also use the following command to install BOS.ADT.LIBM Fileset:

# Smit Install_latest

The AIX5L system also requires the following filesets:

# lslpp-l Bos.perf.perfstat

# lslpp-l Bos.perf.libperfstat

5, install JDK.

You can download from here:
Http://www.ibm.com/developerworks/java/jdk/aix/index.html



6. Set environment variable
Set the following environment variables to the Oracle user's. Profile file:
#典型的Oracle环境变量, for reference, please make another adjustment under the specific circumstances!

#ORACLE_SID =DW and Character set please make a reasonable choice
Oracle_base=u1/oracle/app; Export Oracle_base
Oracle_home= $ORACLE _base/product/9.2.0; Export Oracle_home
ORACLE_SID=DW; Export Oracle_sid
oracle_term=vt100; Export Oracle_term
tns_admin= $ORACLE _home/network/admin;export Tns_admin
nls_lang=american_america.zhs16cgb231280; Export Nls_lang
ora_nls33= $ORACLE _home/ocommon/nls/admin/data; Export ORA_NLS33
Ld_library_path= $ORACLE _home/lib:/usr/lib; Export Ld_library_path
Libpath= $ORACLE _home/lib: $ORACLE _home/ctx/lib; Export Libpath
ora_db= $ORACLE _home/dbs;export ora_db
Classpath= $ORACLE _home/jre/lib: $ORACLE _home/jre/lib/rt.jar: $ORACLE _home/jlib: $ORACLE _home/rdbms/jlib; Export CLASSPATH
Path= $ORACLE _home/bin: $PATH; Export PATH


Manually set display to Local:
Export display=172.18.0.1:0.0

Replace the 172.18.0.1 with your own local IP address.



Set Umask:

Set the "022" umask in Oracle User profile or. login file:

Umask 022

Verify that the environment variables are already in effect:

% env | More

Before starting Oui, you can use the following command to test to start a graphics environment:

%/usr/bin/x11/xclock


8. Start Installation

Use the following command to hook up the CDROM:

# MOUNT-RV Cdrfs/dev/cd0/cdrom

Run the rootpre.sh script.

#/cdrom/rootpre.sh

% cd/tmp

%/cdrom/runinstaller

If you don't run the rootpre.sh script in advance, you'll be prompted to run rootpre.sh with root and then Y,

Perform normal installation;






Will be prompted to run the orainstroot.sh script, to the end of link will be prompted to run the root.sh script, as required to complete.


Related Article

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.