本文档针对初级DBA
==============1、准备环境
>准备oracle集群及数据库软件目录 /u01 100G
>准备oracle数据库备份目录 /backup 500G
>根目录 / 100G
>临时目录 /tmp 50G
>交换空间 /swap 64G
系统主机设置主机名时用小写名称,大写名称是bug,写完/etc/hosts安装时会报错,如果主机名称必须大写,也要将/etc/hosts里的名称改为小写
>上传安装包,注意安装包位数,权限
su - oracle
mkdir -p /u01/sw/db
mkdir -p /u01/sw/patch
mkdir -p /u01/sw/rpm
chmod -R 777 /u01/sw
解压安装包
find / -name jar
/opt/java1.5/bin/IA64N/jar -xvf p13390677_112040_HP64_2of6.zip
chmod 777 /u01/sw/database
chmod 777 /u01/sw/grid
>挂载ISO镜像,安装软件包
HP-UX 11i V3 patch Bundle Sep/ 2008 (B.11.31.0809.326a) 64-bit kernel
检查系统版本以及是否是64位
#uname –a
Checking the Software Requirements
1.To determine which version of HP-UX is installed, enter the following command:
# uname -a
HP-UX hostname B.11.23 ia64 109444686 unlimited-user license
*HPUX 11.23 Patches
HPUX 11.23 with Sept 2004 or newer base, and Mar 2007 Patch bundle for HP-UX 11iV2-B.11.23.0703
PHKL_33025 file system tunables cumulative patch
PHKL_34941 Improves Oracle Clusterware restart and diagnosis
PHCO_32426 reboot(1M) cumulative patch
PHCO_36744 LVM patch [replaces PHCO_35524]
PHCO_37069 libsec cumulative patch
PHCO_37228 libc cumulative patch) [replaces PHCO_36673]
PHCO_38120 kernel configuration commands patch
PHKL_34213 vPars CPU migr, cumulative shutdown patch
PHKL_34989 getrusage(2) performance
PHKL_36319 mlockall(2), shmget(2) cumulative patch) [replaces PHKL_35478]
PHKL_36853 pstat patch
PHKL_37803 mpctl(2) options, manpage, socket count) [replaces PHKL_35767]
PHKL_37121 sleep kwakeup performance cumulative patch [replaces PHKL_35029]
PHKL_34840 slow system calls due to cache line sharing
PHSS_37947 linker + fdp cumulative patch) [replaces PHSS_35979]
PHNE_37395 cumulative ARPA Transport patch
*HPUX 11.31 Patches
PHCO_40381 11.31 Disk Owner Patch
PHCO_41479 11.31 (fixes an 11.2.0.2 ASM disk discovery issue)
PHKL_38038 VM patch - hot patching/Core file creation directory
PHKL_38938 11.31 SCSI cumulative I/O patch
PHKL_39351 Scheduler patch : post wait hang
PHSS_36354 11.31 assembler patch
PHSS_37042 11.31 hppac (packed decimal)
PHSS_37959 Libcl patch for alternate stack issue fix (QXCR1000818011)
PHSS_39094 11.31 linker + fdp cumulative patch
PHSS_39100 11.31 Math Library Cumulative Patch
PHSS_39102 11.31 Integrity Unwind Library
PHSS_38141 11.31 aC++ Runtime
PHSS_39824 - 11.31 HP C/aC++ Compiler (A.06.23) patch
/usr/sbin/swlist -l patch PHCO_40381
/usr/sbin/swlist -l patch PHCO_41479
/usr/sbin/swlist -l patch PHKL_38038
/usr/sbin/swlist -l patch PHKL_38938
/usr/sbin/swlist -l patch PHKL_39351
/usr/sbin/swlist -l patch PHSS_36354
/usr/sbin/swlist -l patch PHSS_37042
/usr/sbin/swlist -l patch PHSS_37959
/usr/sbin/swlist -l patch PHSS_39094
/usr/sbin/swlist -l patch PHSS_39100
/usr/sbin/swlist -l patch PHSS_39102
/usr/sbin/swlist -l patch PHSS_38141
/usr/sbin/swlist -l patch PHSS_39824
re:
Oracle Server - Enterprise Edition - Version: 10.2.0.3 to 11.1.0.7 - Release: 10.2 to 11.1
HP-UX Itanium
HP-UX PA-RISC (64-bit)
>>>
hp-ux: Node Crash Due To Large Amount Of Racgimon Threads or CRS_STAT/SRVCTL COMMAND HANG OS bug ( QX:QXCR1000940361 ) [ID 883801.1]
PHKL_40208 and PHKL_40372
/usr/sbin/swlist -l patch PHKL_40208
/usr/sbin/swlist -l patch PHKL_40372
>配置图形化
xhost +
export DISPLAY=客户端本地ip:0.0
xclock
>确定好IP地址,pub+priv+vip+scan,双节点7个ip
配置/etc/hosts文件
vi /etc/hosts
#public ip
192.168.98.21 d-oracl