主机环境
# lsdev Cc processor
procAvailable Processor
procAvailable Processor
procAvailable Processor
procAvailable Processor
procAvailable Processor
procAvailable Processor
procAvailable Processor
procAvailable Processor
procAvailable Processor
procAvailable Processor
proc Available Processor
proc Available Processor
# lsdev Cc memory
Lcache AvailableL Cache
mem AvailableMemory
# lsattr El mem
goodsize Amount of usable physical memory in Mbytes False
size Total amount of physical memory in MbytesFalse
# lsattr El Lcache
size Size of L cache in Kbytes False
#
下载完毕个文件databasecomp cluster 准备ftp上传到服务器上提示超过file size limit惨啊穿了好久居然要出错还要重传
# ulimit a
time(seconds)unlimited
file(blocks)
data(kbytes)
stack(kbytes)
memory(kbytes)
coredump(blocks)
nofiles(descriptors)
#ulimit Ha
time(seconds)unlimited
file(blocks)
data(kbytes) unlimited
stack(kbytes)
memory(kbytes) unlimited
coredump(blocks) unlimited
nofiles(descriptors) unlimited
修改参数限制file和stack需要在/etc/security/limits中修改了
# ulimit unlimited
# ulimit a
time(seconds)unlimited
file(blocks) unlimited
data(kbytes)
stack(kbytes)
memory(kbytes)
coredump(blocks)
nofiles(descriptors)
# ulimit Ha
time(seconds)unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes)
memory(kbytes) unlimited
coredump(blocks) unlimited
nofiles(descriptors) unlimited
这里有点不明白为什么说soft limit不能超过hard limit的为什么我一条命令就把两个的输出都变成unlimited了
# ulimit s unlimited
# ulimit a
time(seconds)unlimited
file(blocks) unlimited
data(kbytes)
stack(kbytes)unlimited
memory(kbytes)
coredump(blocks)
nofiles(descriptors)
# unlimit d unlimited
ksh: unlimit:not found
# unlimit d unlimited
ksh: unlimit:not found
# ulimit d unlimited
# ulimit m unlimited
# ulimit a
time(seconds)unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes)unlimited
memory(kbytes) unlimited
coredump(blocks)
nofiles(descriptors)
# gunzip gr_aixl_databasecpiogz
# cpio idcmv <gr_aixl_databasecpio
扩大tmp和home的空间
lslpp l 检查这些包安装了没有
bosadtbase
bosadtlib
bosadtlibm
bosperflibperfstat
bosperfperfstat
bosperfproctools
xlCaixrte: or later
xlCrte: or later
下载aix需要的补丁
All installations Authorized Problem Analysis Reports (APARs) for AIX L v
ML :
■ IY: large percentage of CPU time spent in ldata_balance
routine
■ IY: deadlock with concurrent renaming and unlinking
under JFS
■ IY: dlsym returns null even for valid symbol in AIX
ML
■ IY: chvg b can cause corruption and crash
■ IY: AIO can hang in knotunlock
■ IY: mklvcopy on a striped lv is failing to update lvcb
这里描述了oracleg和aix需要的一些软件的信息
<tabase_id=NOT&p_id=>
建立oinstall dba 组建立oracle用户主组为oinstallgroup set包含dba
smitty chuser 改变oracle用户的soft ulimitdatastack file cpu 为l
smitty chgsys改用户的最大进程数为
建立目录结构
# mkdir p /home/oracle/product/
# chown R oracle:oinstall /home/oracle/product/
# chmod R /home/oracle/product/
配置文件内容
umask
ORACLE_SID=orcl; export ORACLE_SID
ORACLE_BASE=/home/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/; export ORACLE_HOME
AIXTHREAD_SCOPE=S; export AIXTHREAD_SCOPE
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X:/sbin:
export PATH
if [ s $MAIL ] # This is at Shell startupIn normal
then echo $MAILMSG# operation the Shell checks
fi# periodically
将多个补丁放在一个目录中smittyupdate_all安装选择保存旧文件和不提交
$ /runInstaller
**************************************************************************
Your platform requires the root user to perform certain preinstallation
OS preparationThe root user should run the shell script rootpresh be
fore
you proceed with Oracle installationrootpresh can be found at the top
level
of the CD or the stage area
Answer y if root has run rootpresh so you can proceed with Oracle
installation
Answer n to abort installation and then ask root to run rootpresh
**************************************************************************
Has rootpresh been run by root? [y/n] (n)
# /rootpresh
/rootpresh output will be logged in /tmp/rootpreout_::
Saving the original files in /etc/ora_save_::
Copying new kernel extension to /etc
Loading the kernel extension from /etc
Oracle Kernel Extension Loader for AIX
Copyright (c) Oracle Corporation
Successfully loaded /etc/pwsyscallbit_kernel with kmid: xc
Successfully configured /etc/pwsyscallbit_kernel with kmid: xc
The kernel extension was successfuly loaded
Configuring Asynchronous I/O
Configuring POSIX Asynchronous I/O
Checking if group services should be configured
Nothing to configure
然后剩下的都是图形界面的选择了好像gR的安装比以前的i等简单得多了profile文件中居然没写什么也没有安装错误