First off, I’m not an Oracle DBA. But here are some of the things I did upon my DBA’s request, so that he can install Oracle.
1) Add user oracle and group dba. Edited the following files:
- /etc/passwd
- /etc/group
- /etc/security/passwd
2) Edited the default ulimit and associated parameters. In /etc/security/limits:
default:
fsize = -1
core = 2097151
cpu = -1
data = -1
rss = 65536
stack = 65536
nofiles = 20000
root:
fsize=-1
stack=-1
rss=-1
oracle:
fsize=-1
stack=-1
rss=-1
Hmm… I guess I am really trusting of the DBA. At least this box is dedicated to Oracle.
3) Edit the kernel parameters. In /etc/tunables/nextboot, added the following:
vmo:
minfree = “1500″
maxfree = “2100″
minperm% = “5″
lru_file_repage = “0″
ioo:
j2_maxRandomWrite = “128″
j2_nPagesPerWriteBehindCluster = “128″
j2_nRandomCluster = “32″
4) Installed rsync.
5) Expanded /tmp and /oracle/home as needed.
AIX61# df | grep mnt
My /tmp file system was using /dev/hd3. Look at it and extend if needed. Here I extend by 1 physical partition (PP), which is 128 MB. Then I extend the /tmp file system too.
AIX61# lslv hd3
AIX61# extendlv hd3 1
AIX61# chfs -a size=+128M /tmp
6) Installed the fileset, rstc.basic, which is required by Oracle 11g. Mounted AIX6.1 DVD on /mnt and ran this installp command:
AIX61# installp -ag -d /mnt/installp/ppc/ rsct.basic