一.操作系统安装
1.开机,放入系统光盘
2.选择1.SMS Menu->5.Select Boot Options->2.Select Boot Devices->3.CD/DVD
3.选择F1 enter system console
4.选择2.Change/Show Installation Settings and Install
5.选择1.System Settings
6.选择1.New and Complete Overwrite
7.选择1.hdisk0
8.选择0.Install with the current settings listed above
9.选择1.continue with Install
10.选择vt100
11.选择Accept License Agreements
12.选择Tasks Completed - Exit to login
二.安装系统其它软件
1.安装CDE
smitty install->Install and Update Software->Install Software Bundle
2.常用软件包安装
smitty install_latest
3.系统补订安装
smit install_update
4.安装多路径软件SDDPCM
#inutoc.
#grep -i devices.fcp.disk.ibm.toc
#smitty install_update
devices.fcp.disk.ibm.mpio.rte
删除devices.fcp.disk.ibm.toc
devices.sddpcm.71.rte
#lslpp -l *sddpcm*
#lssrc -s pcmsrv
#startpcmsrv
#pcmpath query device
#pcmpath query adapter
三.环境配置
1.设定时区
#smitty chtz
BEIST-8
2.设定系统时间
#smitty date
3.修改变换分区大小
#lsps -s
#lsvg rootvg
#smit chps
NUMBER of additional logical partitions
4.修改用户资源限制
#vi /etc/security/limits
fsize=-1
core=-1
cpu=-1
rss=-1
stack=-1
nofiles=-1
#ulimit -a
5.设定系统用户数
#chlicense -u 100
6.设定rootvg镜像
#chdev -l hdisk1 -a pv=yes
#extendvg rootvg hdisk1
#chvg -Qn rootvg
#mirrorvg rootvg hdisk1
#lsvg -l rootvg
#blotlist -m normal -o
#bosboot -ad /dev/hdisk1
#bootlist -m normal hdisk0 hdisk1
#bootlist -m normal -o
7.网络参数配置
#smit tcpip
Mininum Configureation & Statup
en0
HOSTNAME,Internet ADDRESS,Network Mask,Default Gateway
#hostname |xargs ping
#netstat -in
8.双网卡绑定
#smitty etherchannel
Add An EtherChannel /Link Aggregation
ent0
Backup Adapter ent1
#smitty mktcpip
en8
9.安装bash
#rpm -ivh gettet-0.17-7.aix6.1.ppc.rpm --nodeps
#rpm -ivh libiconv-1.14-1.aix6.1.ppc.rpm
#rpm -ivh bash-4.2-9.aix6.1.ppc.rpm
#vi /etc/profile
PS1='[\u@\h \W]$'
if["$LOGNAME"="root"]
then
PS1='[\u@\h \W]#'
fi
#vi /etc/security/login.cfg
shells=/bin/bash,/bin/sh,/bin/bsh...
#vi /etc/passwd
root:!:0:0::/:/bin/bash
四.配置Oracle安装
1.硬件环境检查
#/usr/sbin/lsattr -E -l sys0 -a realmem
#/usr/sbin/lsps -a
#/usr/bin/getconf HARDWARE_BITMODE
#bootinfo -K
#df -k /tmp
2.软件环境检查
#oslevel -s
#lslpp -l
bos.adt.base bos.adt.lib bos.adt.libm bos.perf.libperfstat bos.perf.perfstat bos.perf.proctools xlC.rte.11.1.0.2 or later
gpfs.base 3.3.0.11 or later
September 2010 Runtime for XL C/C++ for AIX,V11.1
AIX is certified with ODBC DriverManager 2.2.12
gcc 3.4.5
openssh openssl
#getconf KERNEL_BITMODE
#/usr/sbin/instfix -i -k "IZ42940 IZ49516 IZ52331 IZ41855 IZ52319"
3.创建用户组和用户
#mkgroup oinstall
#mkgroup asmadmin
#mkgroup dba
#mkgroup asmdba
#/useradd -u 1100 -g oinstall -G dba,asmdba -m oracle
#useradd -u 1101 -g oinstall -G asmadmin,asmdba -m grid
#lSUSEr -a capabilities grid
#chuser capabilities=CAP_NUMA_ATTACH,CAP_BYPASS_RAC_VMM,CAP_PROPAGATE grid
#lsuser -a capabilities oracle
#chuser capabilities=CAP_NUMA_ATTACH,CAP_BYPASS_RAC_VMM,CAP_PROPAGATE oracle
4.配置核心参数
#/usr/sbin/no -a | fgrep ephemeral
#/usr/sbin/no -p -o tcp_ephemeral_low=32768 -o tcp_ephemeral_high=65535
#/usr/sbin/no -p -o udp_ephemeral_low=32768 -o udp_ephemeral_high=65535
#chdev -l sys0 -a ncargs=256
#chdev -l sys0 -a maxuproc=16384
#ioo -o aio_maxreqs=65536
#vmo -p -o minperm%=3
#vmo -p -o maxperm%=90
#vmo -p -o maxclient%=90
#vmo -p -o lru_file_repage=0
#vmo -p -o strict_maxclient=1
#vmo -p -o strict_maxperm=0
5.配置网络参数
#lsattr -El sys0 -a pre520tune
compatibility disable则:
#no -r -o ipqmaxlen=512
#no -p -o rfc1323=1
#no -p -o sb_max=1500000
#no -p -o tcp_recvspace=65536
#no -p -o tcp_sendspace=65536
#no -p -o udp_recvspace=1351680
#no -p -o udp_sendspace=65536
compatibility enable则:
#vi /etc/rc.net
if [ -f /usr/sbin/no ] ; then
/usr/sbin/no -o udp_sendspace=65536
/usr/sbin/no -o udp_recvspace=655360
/usr/sbin/no -o tcp_sendspace=65536
/usr/sbin/no -o tcp_recvspace=65536
/usr/sbin/no -o rfc1323=1
/usr/sbin/no -o sb_max=2*655360
/usr/sbin/no -o ipqmaxlen=512
fi
6.配置安装目录
7.改变共享设备的属主
# cd /dev
# chown grid:oinstall /dev/rhdisk[2-10]
# chmod 660 /dev/rhdisk[2-10]
8.修改host文件
9.配置Grid用户环境变量
#su - grid
#vi ~/.profile
export ORACLE_SID=+ASM1
export ORACLE_BASE=/u01/app/grid
export ORACLE_HOME=/u01/app/11.2.0/grid
export PATH=$PATH:$ORACLE_HOME/bin
#. ~/.profile
10.配置Oracle用户环境变量
#su - oracle
#vi ~/.profile
export ORACLE_SID=orcl1
export ORACLE_UNQNAME=orcl
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1
export PATH=$PATH:$ORACLE_HOME/bin
#. ~/.profile
11.配置NTP 服务(可选)
12.开始安装
AIX 7.1安装Oracle 11.2相关配置
内容版权声明:除非注明,否则皆为本站原创文章。
转载注明出处:https://www.heiqu.com/2e20b4c838bf5530062adef76c23b758.html