Zookeeper AIX6.1 notes on installing oracle 11204
1. Check the memory size.
#/Usr/sbin/lsattr-E-l sys0-a realmem
Minimum 1 GB, 2 GB or more
2. Check the size of swap space.
#/Usr/sbin/lsps-
3. Check whether the operating system structure can run oracle software
#/Usr/bin/getconf HARDWARE_BITMODE
Want to know if the system is started in 64-Bit mode
# Bootinfo-K
4. Check the size of the temporary space.
# Df-k/tmp
The requirement must be at least 1 GB, and the software installation interface is insufficient.
How to modify the/tmp size under AIX
Smit chfs --> Change/ShowCharacteristics of an Enhanced Journaled File System --> select/tmp to modify the size.
5. Check the operating system version and package it
# Oslevel-s
Bos. adt. base
• Bos. adt. lib
• Bos. adt. libm
• Bos. perf. libperfstat6.1.2.1 or later
• Bos. perf. perfstat
• Bos. perf. proctools
• XlC. aix61.rte. 10.1.0.0 orlater
• XlC. rte.10.1.0.0 or later
• Gpfs. base 3.2.1.8 or later
Check whether the package is complete
# Lslpp-l bos. adt. base bos. adt. libbos. adt. libm bos. perf. perfstat \
Bos. perf. libperfstat bos. perf. proctools
APARs for AIX 6.1: IZ41855 IZ51456 IZ52319 IZ97457 IZ89165 · View · #/Usr/sbin/instfix-I-k "IZ42940 IZ49516 IZ52331 IZ41855 IZ52319" |
#/Usr/sbin/no-a | fgrep ephemeral Tcp_ephemeral_low = 32768 Tcp_ephemeral_height = 65535 Udp_ephemeral_low= 32768 Udp_ephemeral_height = 65535 |
Verify that the kernel parameters shown in the following table are set to values greater than or equal to the minimum value shown. # Smit chgsys
Parameter |
Recommended Value |
Maxuprocs |
16384 |
Ncargs |
128 |
Tcp_ephemeral_low |
32768 |
Tcp_ephemeral_high |
65535 |
Udp_ephemeral_low |
32768 |
Udp_ephemeral_high |
65535 |
|
6. Create the group and user of the required operating system
The Oracle Inventory group (oinstall)
The OSDBA group (dba)
The Oracle software owner (oracle)
Check whether the oinstall group exists
# More/etc/oraInst. loc
If not
# Added smit security
Check whether the dba group exists
# Grep dba/etc/group
If not
# Added smit security
Create a quota Group
# Smit user
Check whether oracle users exist
# Id oracle
Uid = 440 (oracle) gid = 200 (Oinstall) Groups = 201 (dba), 202 (region)
Otherwise
# Smit user
Configure shell restrictions
# Smit chuser
Shell Limit (As Shown in smit) |
Recommended Value |
Soft FILE size |
-1 (Unlimited) |
Soft CPU time |
-1 (Unlimited) Note:This is the default value. |
Soft DATA segment |
-1 (Unlimited) |
Soft STACK size |
-1 (Unlimited) |
Soft Real Memory size |
-1 (Unlimited) |
Processes (per user) |
-1 (Unlimited) Note:This limit is available only in AIX 6.1 or later. Refer to "Configure System Configuration Parameters" for information on configuration of processes per user limits. |
7. directories required for creating software
# Df-k
# Mkdir-p/u01/app/
# Chown-R oracle: oinstall/u01/app/
# Chmod-R 775/u01/app/
8. Configure Environment Variables
$ Vi ~ /. Profile
Export ORACLE_SID = meshisdb
Export ORACLE_BASE =/oracle
Export ORACLE_HOME = $ ORACLE_BASE/product/10.2.0/db_1
Export AIXTHREAD_SCOPE = S
Export NLS_LANG = American_America.AL32UTF8
Export PATH = $ ORACLE_HOME/bin: $ PATH
Umask 022
9. Run the rootpre. sh script.
#/Directory_path/rootpre. sh