Install Oracle10G software on AIX
Installation preparation
(1) confirm the system version and kernel version
#Oslevel-r// View the operating system version
//-08 can be installed on 10 Gb, and-09 can be installed on 11 GB
#Prtconf | more// Print hardware configuration information
System Model: IBM, 7028-6C4
Machine Serial Number: 10681AA
Processor Type: PowerPC_POWER4
Processor Implementation Mode: POWER 4 // P4 Machine
Processor Version: PV_4
Number Of Processors: 2 // two CPUs
Processor Clock Speed: 1002 MHz // Clock Speed 1002 Mhz
CPU Type: 64-bit
Kernel Type: 64-bit // Number of Kernel digits
LPAR Info: 1 NULL
Memory Size: 2048 MB // 2 GB Memory
Good Memory Size: 2048 MB
Platform Firmware level: 3R080425
Firmware Version: IBM, rg0801__d79e22_r
Console Login: enable
Auto Restart: true
Full Core: false
Network Information
HostName: aix203
IPAddress: 10.10.10.203
SubNetmask: 255.255.255.0
Gateway:
NameServer:
DomainName:
Paging Space Information
TotalPaging Space: 4096 MB
PercentUsed: 1%
Volume Groups Information
========================================================== ==============================================
Rootvg:
PV_NAME pv state total PPs FREE DISTRIBUTION
Hdisk0 active 542 4 00... 00... 00... 00... 04
========================================================== ==============================================
Datavg:
PV_NAME pv state total PPs FREE DISTRIBUTION
Hdisk3 active 159 139 32... 22... 21... 32... 32
Hdisk4 active 159 159 32... 32... 31... 32... 32
========================================================== ==============================================
INSTALLED RESOURCE LIST
The following resources are installed on the machine.
+/-= Added or deleted from Resource List.
* = Diagnosticsupport not available.
ModelArchitecture: chrp
ModelImplementation: Multiple Processor, PCI bus
+ Sys0 System Object
+ Sysplanar0 System Planar
* Pci1 U0.1-P1 PCIBus
* Pci6 U0.1-P2 PCIBus
+ Ent1 U0.1-P2-I4/E1 10/100 MbpsEthernet PCI Adapter II (14
10ff01)
* Pci7 U0.1-P2 PCIBus
+ Ent2 U0.1-P1/E1 10/100 Mbps Ethernet PCI Adapter II (14
10ff01)
* Pci8 U0.1-P2 PCIBus
+ Fcs0 U0.1-P2-I3/Q1 FC Adapter
* Fcnet0 U0.1-P2-I3/Q1 fibre rechannel Network Protocol Device
* Fscsi0 U0.1-P2-I3/Q1 fc scsi I/OController Protocol Device
* Hdisk1 U0.1-P2-I3/Q1-W50020F230000BB37-L0 Other fc scsi Disk Drive
* Hdisk3 U0.1-P2-I3/Q1-W50020F230000BB37-LD000000000000 Other fc scsi Disk Drive
* Hdisk4 U0.1-P2-I3/Q1-W50020F230000BB37-LE000000000000 Other fc scsi Disk Drive
* PCIe 0 U0.1-P1 PCIBus
* Isa0 U0.1-P1 ISABus.
+ Fda0 U0.1-P1/D1 StandardI/O Diskette Adapter
* Siokma0 U0.1-P1/K1 Keyboard/Mouse Adapter
+ Sioka0 U0.1-P1/K1 KeyboardAdapter
+ SiO2 U0.1-P1/K1 MouseAdapter
+ Ppa0 U0.1-P1/R1 CHRPIEEE1284 (ECP) Parallel Port Adapt
Er
+ Sa0 U0.1-P1/S1 StandardI/O Serial Port
+ Tty0 U0.1-P1/S1-L0 AsynchronousTerminal
+ Sa1 U0.1-P1/S2 StandardI/O Serial Port
+ Sa2 U0.1-P1/S3 StandardI/O Serial Port
* Ide0 U0.1-P1/Q6 ATA/IDE Controller Device
+ Cd0 U0.1-P1/Q6-A0 ide cd-ROMDrive I (650 MB)
* Pci2 U0.1-P2 PCIBus
* Pci3 U0.1-P2 PCI Bus
+ Ent0 U0.1-P1/E2 10/100 Mbps Ethernet PCI Adapter II (14
10ff01)
* Pci-4 U0.1-P2 PCIBus
+ Scsi0 U0.1-P2/Z1 Wide/Ultra-3 scⅱ/O Controller
+ Hdisk0 U0.1-P2/Z1-A8 Other SCSIDisk Drive
+ Ses0 U0.1-P2/Z1-AF SCSIEnclosure Services Device
+ Scsi1 U0.1-P2/Z2 Wide/Ultra-3 scsi I/O Controller
* Pci5 U0.1-P2 PCIBus
+ L2cache0 L2 Cache
+ Mem0 Memory
+ Proc0 U0.1-P1-C1 Processor
+ Proc1 U0.1-P1-C1 Processor
#Bootinfo-K// View the kernel version
[Supplement]: 32-bit kernel upgraded to 64-bit
----------------------------------------------------------------------
#Ls/unix
// The file used by the kernel is a unix File
// When the system starts the kernel, the system will find the unix file on the disk.
#Ls | grep unix
#Ls-l/unix
32-bit kernel upgrade to 64-bit:
#Ln-sf/usr/lib/boot/unix_64/unix
// Unix_64 is a file used to read the 64-bit kernel.
// Link the unix file to the unix_64 file. That is, when the system starts, the system reads the unix_64 file by reading the unix file.
#Ln-sf/usr/lib/boot/unix_64/usr/lib/boot/unix
// Create a second link. The file itself is a link file.
// "Ln-s": To make a soft link, f indicates forced
#Bosboot-ad/dev/ipldevice// Modify the startup information
#Shutdown-Fr// Restart the system
64-bit kernel downgrade to 32-bit:
#Ln-sf/usr/lib/boot/unix_mp/unix
// Unix_32 is a file used to read the 32-bit kernel.
#Ln-sf/usr/lib/boot/unix_mp/usr/lib/boot/unix
#Bosboot-ad/dev/ipldevice// Modify the startup information
#Shutdown-Fr// Restart the system
Supplemented
------------------------------------------------------------------
(2) Check the file system and swap partition size
#Df-m// View the File System
Note:
/U01
Create a file system and place it under u01. Do not place it under the root to avoid the trouble of filling up the root space. Create a logical volume separately, mount it to u01, and store all oracle files under u01.
When/u01 is used as a file system separately, the root does not need to allocate too much space.
/Tmp
Before installing oracle, you must have at least MB of temporary space. If tmp is not enough, manually scale it out.
% Used
It must not exceed 80%. If you find that a certain space exceeds 80%, you must resize it.
/Home
Set it to 2 GB, usually use ftp to upload some files under home, slightly larger, more convenient.
#Lsps-// To view swap partition information, 4g is recommended.
// Because the machine memory here is 2 GB, the swap partition is set to double
// Do not use the disk on the array when resizing the swap partition (if the array is used on multiple hosts, it may be deleted), use the disk under the root volume
// For the root volume, do not add a new physical volume to it (that is, do not add the disk on the array to the root volume), because after the array disk is added to the root volume, if you delete the extended disk on the array directly, it will cause many system problems.
[Supplement]: View swap partition size
--------------------------------------------------------------------
Method 1 :#Lsps-
Method 2 :#Lsps-s
Supplemented
--------------------------------------------------------------------
(3) Check the installation of the software package and install the patch 3.1.
#Lslpp-l | grep bos. adt
#Lslpp-l | grep-I xlc. rte
#Lslpp-l | grep-I xlc
#Lslpp-l | grep-I bos. perf
3.2 patch installation
#Instfix-ik IY58143
#Instfix-ik IY59386
#Instfix-ik IY60930
#Instfix-ik IY66513
#Instfix-ik IY70159
#Instfix-ik IY68989
(4) modify system kernel parameters
#Smit system
Maximum number of PROCESSES allowed peruser
2048
(5) Start asynchronous IO
#Smit chaio
// To start asynchronous IO, ensure that the operating system supports asynchronous IO. If the operating system does not support asynchronous IO, simulate some asynchronous processes on the oracle user.
// Chaio stands for change IO
STATE to be configured atsystem restart device status
Defined by default
Change to available // available device status
(6) create users and groups
Use smit user (or #Smit mkuser) Command to create a user
Users: oracle
Oracle 501/home/oracle
The reference information is as follows:
#Id oracle
#Passwd oracle// Set the user's password
Login:Oracle
// Use the oracle user to log on once, because the first login will reset the password, and then the user will take effect.
Use smit group (or #Smit mkgroup) Command to create a group
Oinstall 501 false oracle root files
DBAs 502 false oracle root files
(7) modify the restrictions for oracle users to read memory pages
#Smit chuser// Modify the oracle parameter settings
Modify Option
Soft FILE size: the size of the FILE that can be read or written.
-1No restrictions
Size of the Soft DATA segment Stack
-1No restrictions
Soft STACK size
-1No restrictions
Soft CORE file size
-1No restrictions
#Cat/etc/security/limits// After the parameter is modified, it will be added to the limits file and the following information is displayed:
*
* Sizes are in multiples of 512 byte blocks, CPU timeis in seconds
*
* Fsize-soft file size in blocks
* Core-softcore file size in blocks
* Cpu-soft per process CPU time limit in seconds
* Data-soft data segment size in blocks
* Stack-soft stack segment size in blocks
* Rss-soft real memory usage in blocks
* Nofiles-soft file descriptor limit
* Fsize_hard-hard file size in blocks
* Core_hard-hard core file size in blocks
* Cpu_hard-hard per process CPU time limit in seconds
* Data_hard-hard data segment size in blocks
* Stack_hard-hard stack segment size in blocks
* Rss_hard-hard real memory usage in blocks
* Nofiles_hard-hard file descriptor limit
*
* The following table contains the default hard valuesif
* Hard values are not explicitly defined:
*
* Attribute Value
* ======================================
* Fsize_hard set to fsize
* Cpu_hard set to cpu
* Core_hard-1
* Data_hard-1
* Stack_hard 8388608
* Rss_hard-1
* Nofiles_hard-1
*
* NOTE: A valueof-1 implies "unlimited"
*
Default:
Fsize = 2097151
Core = 2097151
Cpu =-1
Data = 262144
Rss = 65536
Stacks = 65536
No files = 2000
Root:
Daemon:
Bin:
Sys:
Adm:
Uucp:
Guest:
Nobody:
Lpd:
Oracle:
Fsize =-1
Data =-1
Stack =-1
Core =-1
(8) Modify Environment Variables
#Su-oracle
$Vi. profile
Add:
ORACLE_BASE =/u01/app/oracle
ORACLE_HOME = $ ORACLE_BASE/product/10.2.0/db_1
ORACLE_SID = prod
PATH = $ PATH: $ ORACLE_HOME/bin
Export ORACLE_BASE ORACLE_HOME ORACLE_SIDPATH
The modified configuration file is as follows:
(9) Add the oracle directory under/u01
$Ls/u01// Check the content in u01 and it is blank
$Su-
#Chown-Roracle: oinstall/u01
#Su-oracle
$Mkdir-p/u01/app/oracle
$Ls-l/u01
#Vi/etc/hosts
Add aix106
Note: In this environment, aix106 is used as a remote server and the software installation file is shared. Follow these steps to copy an oracle file to a local machine.
#Mount aix106:/ware/soft
#Ls/soft
#Mkdir/soft2
#Cp-r/soft/database/soft2// Copy the database on aix106 to the local machine and grant the read and write permissions to the database.
(10) Start Xmanager to use xmanager Conditions
1,
Make sure that port 177 is activated.
$Netstat-an | grep177
Supplement:
If it is not activated, use the following methods to activate it:
# Du-sm dt
Because the dt and rc. dt files are missing on aix203, the files are copied to them through aix204, as shown below:
2. confirm that the software package has been installed (on disk2)
$Lslpp-l | grep-I x11
Use Xmanager
Install oracle (1) run the installation program using Xmanager
$./RunInstaller
// After execution, enter y to confirm and report an error. According to the error message, we can see that the DISPLAY is not set.
$ExportDISPLAY = 192.168.8.73: 0
After completing the preceding steps, you can go to the following graphical interface.
(2) graphical interface for oracle software installation
Follow the prompts to install the oracle software.
So far, the process of installing oracle on AIX has been described. During actual installation, you can make corresponding adjustments based on different environments on the site. The idea is the same.
**************************************** *******Statement************************************************
Original works, from "Deep Blue blog" blog, welcome to reprint, reprint please be sure to indicate the source (http://blog.csdn.net/huangyanlong ).
Please leave a message if the statement is incorrect. Thank you very much.
Reminder: Click the directory to view the directory.
*****************************************************************************************************