AIX4.3.3 Installation ORACLE9.2 Process detailed

Source: Internet
Author: User
Tags error code file system requires
Oracle| Process | Detailed (not original, from where I also do not remember, share to everyone!) Simply installing Oracle is actually very simple, as long as you follow the steps below, there is generally no problem.

Oracle 9.2 installed on AIX 4.3.3
1. Check physical Memory: (RAM >= MB)
# Lsattr-el Sys0-a Realmem
Realmem 1048576 Amount of usable physical memory in Kbytes False
#
Ours is 1G, hehe, enough.
2. Check swap space: (equal to physical memory or 1G, preferably larger)
# lsps-a
Page Space physical Volume Volume Group Size%used Active Auto Type
Hd6 hdisk0 ROOTVG 2048MB 1 Yes Yes LV
#
Ours is 2G, hehe.
3. Check disk space, focus on two points:
(a) Install 9.2, mainly to store ORACLE CODE, which is recommended at around 4G or greater.
B In addition, Oracle Universal Installer requires approximately 400M of temporary space during Oracle installation, and can use the system default/tmp directory.
You can also set the environment variable Tmpdir yourself to specify a directory with sufficient space, or specify a temporary directory with sufficient space during the installation process
Such as:
Tmpdir=/oratools
Export Tmpdir
In general, Oracle's installation files are placed on a built-in disk, so we need to look at the built-in disk space:
# LSDEV-CC Disk
Hdisk0 Available 40-60-00-4,0 Bit LVD SCSI Disk Drive
Hdisk1 Available 14-08-l SSA Logical Disk Drive
#
We see Hdisk0 is a built-in disk and now determines its size:
# LSPV Hdisk0
Physical Volume:hdisk0 VOLUME GROUP:ROOTVG
PV identifier:000ca13f7ebe3b7e VG IDENTIFIER 000ca13f7ebe3e67
PV state:active
Stale partitions:0 Allocatable:yes
PP size:32 megabyte (s) LOGICAL volumes:11
Total pps:542 (17344 megabytes) VG Descriptors:2
Free pps:217 (6944 megabytes) Hot Spare:no
USED pps:325 (10400 megabytes)
Free distribution:108..20..00..00..89
USED distribution:01..88..108..108..20
#
We see that total is 18g,free for 7G, enough, hehe
4. Check the OS version in two ways:
You can use the Oslevel command to determine the current AIX version,
# Oslevel
4.3.3.0
#
Or you can use Oslevel-r to determine the current AIX version and ML (the maintenance level of the system):
# Oslevel-r
4330-09
#
This result is similar to using the Instfix command to view the current ML:
$ instfix-i | grep ML
All filesets for 4.3.0.0_aix_ml were found.
All filesets for 4.3.1.0_aix_ml were found.
All filesets for 4.3.2.0_aix_ml were found.
All filesets for 4320-02_aix_ml were found.
All filesets for 4.3.3.0_aix_ml were found.
All filesets for 4330-01_aix_ml were found.
All filesets for 4330-02_aix_ml were found.
All filesets for 4330-03_aix_ml were found.
All filesets for 4330-04_aix_ml were found.
All filesets for 4330-05_aix_ml were found.
All filesets for 4330-06_aix_ml were found.
Not all filesets for 4330-07_aix_ml were found.
All filesets for 4330-08_aix_ml were found.
All filesets for 4330-09_aix_ml were found.
All filesets for aix43ml were found.
$
Visible, we are AIX 4.3.3, ML is 09
5. See if the OS is a bit:
If the bit of the OS, can install bit or bit of Oracle 8i, but the bit OS can only install bit Oracle;
Since Oracle 9.2 does not have a bit, we have to verify that our OS is a 64-bit OS:
There are two ways of doing this:
# locale64
Lang=c
Lc_collate= "C"
Lc_ctype= "C"
lc_monetary= "C"
Lc_numeric= "C"
Lc_time= "C"
Lc_messages= "C"
Lc_all=
#
Or
# bootinfo-y
64
#
6. Look at the OS patch enough
Oracle's documentation, for AIX 4.3.3 requires at least ML 09, and IY24568, IY25282, iy27614,iy30151 these four patch, actually
But in fact, we also need a IY30927, the document says this package is only with CPU efficiency related to the package, you can not, but I installed experience
Yes, we must, otherwise there will be problems. If the above package does not exist, then you will need to go to the following site download:
Http://techsupport.services.ibm.com/server/fixes
$ instfix-i | grep ML
All filesets for 4.3.0.0_aix_ml were found.
All filesets for 4.3.1.0_aix_ml were found.
All filesets for 4.3.2.0_aix_ml were found.
All filesets for 4320-02_aix_ml were found.
All filesets for 4.3.3.0_aix_ml were found.
All filesets for 4330-01_aix_ml were found.
All filesets for 4330-02_aix_ml were found.
All filesets for 4330-03_aix_ml were found.
All filesets for 4330-04_aix_ml were found.
All filesets for 4330-05_aix_ml were found.
All filesets for 4330-06_aix_ml were found.
Not all filesets for 4330-07_aix_ml were found.
All filesets for 4330-08_aix_ml were found.
All filesets for 4330-09_aix_ml were found.
All filesets for aix43ml were found.
$
Obviously, our Aix is 4.3.3 ML09.
To see if a patch is installed:
# Instfix-i | grep IY24568
All filesets for IY25282 were found
Says it's already got this patch.
# Instfix-i | grep IY30927
Not all filesets for IY30927 were found.
Indicates that the IY30927 is not installed patch
7. In particular, Java is not installed in the default installation of Aix 4.3.3 and requires manual installation
(Do not manually install on AIX 5.1, the default installation of the system will install Java)
At least JDK1.1.8 is needed, and the corresponding patch is IY30886
If you use HTTP SERVER, then you need JDK1.3.1, the corresponding patch is: IY31033
Download Address:
ftp://service.software.ibm.com/aix/efixes/
(If this patch is already installed, there will be a/usr/jdk_base directory, which is your java_home)
8. Check to see if you have the required OS package
AIX 4.3.3 requires the following package:
Bos.adt.base, Bos.adt.lib, BOS.ADT.LIBM, Bos.perf.perfstat
We can use the LSLPP pl os_package command to view:
# lslpp-l Bos.adt.base
Fileset level State Description
----------------------------------------------------------------------------
Path:/usr/lib/objrepos
Bos.adt.base 4.3.3.77 committed base application Development
Toolkit
# lslpp-l Bos.adt.lib
Fileset level State Description
----------------------------------------------------------------------------
Path:/usr/lib/objrepos
Bos.adt.lib 4.3.3.10 committed Base application Development
Libraries
# lslpp-l BOS.ADT.LIBM
Fileset level State Description
----------------------------------------------------------------------------
Path:/usr/lib/objrepos
BOS.ADT.LIBM 4.3.3.50 committed Base application Development
Math Library
#
If the patch and packgae required above are not installed, then go to the appropriate site download them and install them using the Smit update all.
Some errors such as "The package has been installed or the specified directory is not correct" are sometimes seen during the installation process, and then go to the directory you specified to see below.
If you have a. toc file, we need to delete it (it's an implied file, we need to view it with Ls-a), and then update all
9. After the above are finished, the reboot machine:
Shutdown-fr
10. Check out the patch and package, now divide the storage space for Oracle
First of all, need a place to store the installation files, assuming that for/oratools, we need to enter
Smit-system Storage Management (Physical & Logical Storage)
-file Systems or-logical Volume Manager,
If you are an AIX novice, then you'd better choose FS, so that the system for you to build logical volume is good, hehe;
If you want to install OPS or RAC then you need to use the first logical volume, and then build the file system, because the logical volume of the system may be the same name, hehe
-add/change/show/delete File Systems
-journaled File Systems
-add a journaled File System
-Add a Large file-Enabled journaled file System (Select this to support a filesystem larger than 2G)
This is the system that will allow you to select a VG window, and it is best not to choose ROOTVG, because we usually put the OS-related things there.
Then it appears: A window similar to the following:
SIZE of File system (in 512-byte blocks) [] #
* MOUNT Point []
Mount automatically at System restart? No
(Note that the mount automatically at system restart is set to mount automatically)
11. In the establishment of a Oracle_home home directory (method Ibid.)
12. Establish a DBA group
Smit Group-add a group
13. Establish Oracle Users
Smit User-add a user
14. Oracle Landing, modify profile, such as:
PATH=/USR/BIN:/ETC:/USR/SBIN:/USR/UCB: $HOME/bin:/usr/bin/x11:/sbin:.
Export PATH
If [-S "$MAIL"] # this are at Shell startup. In normal
Then echo "$MAILMSG" # operation, the Shell checks
Fi # periodically.
Path= $PATH:/oratools/gzip-1.2.4a
Export PATH
DISPLAY = 192.168.2.216:0.0
Export DISPLAY
Oracle_base=/oracle92
Export Oracle_base
Oracle_home= $ORACLE _base/product/9.2
Export Oracle_home
Oracle_sid=ora92
Export Oracle_sid
oracle_term=vt100
Export Oracle_term
ora_nls33= $ORACLE _home/ocommon/nls/admin/data
Export ORA_NLS33
Java_home=/usr/jdk_base
Export Java_home
Libpath= $ORACLE _home/lib
Export Libpath
Classpath= $ORACLE _home/product/jlib: $ORACLE _home/jlib
Export CLASSPATH
Path= $ORACLE _home/bin: $PATH
Export PATH
Nls_lang=american_america.zhs16gbk
Export Nls_lang
Tmpdir=/oratools
Export Tmpdir
Set-o VI
Umask 022
Set-o VI is not necessary, oh, it allows you to enter the OS when the use of VI command (like the VI command mode),
For example:
H: Move one character to the left
J: The last command I just executed
K: The previous command that has just been executed
L: Move one character to the right
Wait a minute
15. Installation of Oracle requires Xwindow support
To Oracle Login, enter: Xclock, see if you can show one hours clock, if you can just OK
Otherwise, Su to root, then Xhost +192.168.2.216
16. There is nothing left to say, follow the prompts, several times in the middle need root permission to perform a few sh, and then OK
Note that I install the time because of ignoring the IY30927 so link when the error, and then see make file found a lot of problems, hehe,
My solution:
First, install IY30927, then reboot;
Then, relink
If there are any questions similar to the following:
ld:0711-317 error:undefined Symbol:ksusga_
ld:0711-317 error:undefined Symbol:kwqpls_
ld:0711-317 error:undefined Symbol:kclnlt_
ld:0711-317 error:undefined Symbol:ksulsg_
ld:0711-317 error:undefined Symbol:kcbstdbz_
ld:0711-345 use the-bloadmap or-bnoquiet option to obtain more information.
Make:the error code from the last command is 8.
So go to $oracle_home/lib and see if Ksms.imp is 0 bytes, and if so, delete the file and execute the relink, because there's no problem.
(This error is due to the fact that when the IY30927 was not installed, the installation process prompted a. So error, we chose to ignore, then,
$ORACLE _home/bin/genksms execution fails, and the 0 bytes file is generated in $oracle_home/lib/ksms.imp.


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.