Oracle 11g RAC Installtion for HP-UNIX(Itanium)-详 下载本文

Oracle 11g RAC Installtion for HP-UNIX(Itanium)

一、预安装 ................................................................................................. 3

1.OS Hardware and Software Check .................................................... 3

2.用户和组的建立(user and group) ............................................... 4

3.Oracle Direcotry创建 ....................................................................... 4

4.Oracle Environment设置 .................................................................. 4

5.clusterware storage ............................................................................ 5

二、Oracle 11g Clusterware Install for HP-UNIX ................................ 5

三.Oracle 11g database with RAC Installation for HP-UNIX .......... 9

四.Configure Listener .......................................................................... 14

五、Create ASM instance and ASM diskgroup ................................. 18

六、Create RAC database ................................................................... 23

一、预安装

1.OS Hardware and Software Check

A.machinfo|grep -i Memory

■ At least 1024 MB of physical RAM B.swapinfo RAM Swap Space 1.5 times the size of RAM Equal to the size of RAM 0.75 times the size of RAM Between 512 MB and 2048 MB Between 2049 MB and 8192 MB More than 8192 MB C.bdf

■ Up to 8G of disk space for the Oracle software, depending on the installation type D.bdf /tmp

■ 400 MB of disk space in the /tmp directory E.getconf KERNEL_BITS F.modify kernel parameter Parameter nproc ksi_alloc_max max_thread_proc maxdsiz maxdsiz_64bit maxssiz maxssiz_64bit msgmni msgtql ncsize nflocks ninode nkthread semmni semmns semmnu semvmx shmmax shmmni Recommended 4200 (nproc*8) 1024 1073741824 2147483648 134217728 1073741824 Nproc nproc for >=HP-UX 11.23 use (ninode+1024) nproc (8*nproc+2048) (((nproc*7)/4)+16) (nproc*2) (semmni*2) (nproc-4) 32767 The size of physical memory 1073741824, whichever is greater. 512 (11g 4096) shmseg swchunk vps_ceiling 120 (11g 512) 4096 (up to 65536 for large RAM) 64 (up to 16384 = 16MB for large SGA) 2.用户和组的建立(user and group)

# groupadd -g 500 oinstall # groupadd -g 501 dba # useradd -u 201 -g oinstall -G dba -d /oracle oracle 3.Oracle Direcotry创建

mkdir -p /orcle/product/11.1/crs mkdir -p /orcle/product/11.1/db_1 chwon oracle: oinstall /oracle 4.Oracle Environment设置

#su - oracle

vi .profile (安装前设置) umask 022 export ORACLE_BASE=/oracle export CRS_HOME=$ORACLE_BASE/product/11.1/crs export ORACLE_HOME=$ORACLE_BASE/product/11.1/db_1 export ORACLE_SID= export PATH=$PATH:$CRS_hOME/bin:$ORACLE_HOME/bin:. vi .profile (安装后设置) umask 022 export ORACLE_BASE=/oracle export CRS_HOME=$ORACLE_BASE/product/11.1/crs export ORACLE_HOME=$ORACLE_BASE/product/11.1/db_1 export ORACLE_SID=billdb1 export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:$ORACLE_HOME/rdbms/lib export PATH=$PATH:$CRS_HOME/bin:$ORACLE_HOME/bin:. export NLS_LANG=\