云题海 - 专业文章范例文档资料分享平台

当前位置:首页 > Oracle 11gRAC数据库安装(HPUX11.31+ASM without MC-SG) - 图文

Oracle 11gRAC数据库安装(HPUX11.31+ASM without MC-SG) - 图文

  • 62 次阅读
  • 3 次下载
  • 2025/5/5 8:52:35

# /sbin/mknod /dev/async c 101 0x0 # chown oracle:dba /dev/async # chmod 660 /dev/async

Configure the async driver in the kernel using SAM => Kernel Configuration => Kernel

=> the driver is called 'asyncdsk' Generate new kernel Reboot

Set HP-UX kernel parameter max_async_ports using SAM. max_async_ports limits the maximum number of processes that can concurrently use /dev/async. Set this parameter to the sum of 'processes' from init.ora + number of background processes. If max_async_ports is reached, subsequent processes will use synchronous i/o.

Set HP-UX kernel parameter aio_max_ops using SAM. aio_max_ops limits the maximum number of asynchronous i/o operations that can be queued at any time. Set thisparameter to the default value (2048), and monitor over time using glance。

G.检查C编译器

For PL/SQL native compilation, Pro*C/C++, Oracle Call Interface, Oracle C++ Call Interface, Oracle XML Developer’s Kit (XDK):

HP-UX 11i v2 (11.23):

HP C/ANSI C Compiler (A.06.00): C-ANSI-C HP aC++ Compiler (C.06.00): ACXX

# cc –V

(Bundled) cc: HP C/aC++ B3910B A.06.12 [Oct 11 2006] 此外,需要有aCC编译器,否则有bug. [ID 794903.1] 也就是说命令 $aCC

应该可以执行。

H.为了成功编译链接Oralce,建立以下连接: # cd /usr/lib

# ln -s /usr/lib/libX11.3 libX11.sl # ln -s /usr/lib/libXIE.2 libXIE.sl # ln -s /usr/lib/libXext.3 libXext.sl # ln -s /usr/lib/libXhp11.3 libXhp11.sl # ln -s /usr/lib/libXi.3 libXi.sl # ln -s /usr/lib/libXm.4 libXm.sl # ln -s /usr/lib/libXp.2 libXp.sl # ln -s /usr/lib/libXt.3 libXt.sl # ln -s /usr/lib/libXtst.2 libXtst.sl

I.确保两个节点的时间非常接近,最好使用NTP协议进行时间同步。

J. 补丁:

HP-UX Operating System Itanium:

? HP-UX 11i Version 3 (11.31) with March 2007 Patch bundle for HP-UX (11iV2-B.11.23.0703) (此为oracle安装文档需求,如果有最新的,尽量打最新的补丁。) 目前:

2011Mar1131 2011.03 HPUX 11.31 Megpatch for Mar 2011

其他补丁: HP-UX 11.31:

General Patches:

? PHKL_37296 vfs module patch (已被40167 替代)

? PHKL_37452 vm cumulative patch [replaces PHKL_35900, PHKL_35936] (已被41362 替代)

? PHKL_37453 esdisk cumulative patch [replaces PHKL_36249] (已被41006 替代)

? PHKL_37454 esctl cumulative patch [replaces PHKL_36248] (已被40922 替代) ? PHCO_37476 libc cumulative patch (已被38658 替代) ? PHCO_37807 Cumulative Patch for bcheckrc (有)

? PHSS_37948 linker + fdp cumulative patch(已被41492 替代) ? PHSS_37954 Integrity Unwind Library (已被40542 替代)

? PHNE_35894 Networking commands cumulative patch (已被39717 替代)

C and C++ patches for Pro*C/C++,Oracle Call Interface,Oracle C++ Call Interface, Oracle XML Developer’s Kit (XDK):

? PHSS_35976 HP C/aC++ Compiler (A.06.14) Itanium 没有。

尝试过,这个补丁打不上。可能是aC++没有安装的缘故。

实际上需要有aCC编译器,否则有bug. [ID 794903.1] 也就是说 $aCC

应该可以执行

但目前没有,导致bug. Bug的处理方法见后。

Serviceguard 11.18 Patches (optional, only if you want to use Serviceguard): ? PHSS_37602 Serviceguard A.11.18.00

没有使用ServiceGuard.

使用

#swlist -l patch -a supersedes|grep PHKL_XXXXX检查是否已有或是已被替代。

2.2 网络环境准备:

A.目前机器的服务IP定为:

hosta: 10.111.11.19 VIP:10.111.11.21 hostb: 10.111.11.20 VIP:10.111.11.22

配置/etc/hosts: (两台机器都配)

127.0.0.1 hostb

127.0.0.1 localhost loopback

10.111.11.19 hosta 10.111.11.20 hostb

10.111.11.21 hosta_vip 10.111.11.22 hostb_vip

192.168.1.1 hosta_rac 192.168.1.2 hostb_rac

经过检查,发现刚安装完毕的HOSTA,HOSTB上面的lan是一一对应的,不需要调整。 配置完毕后:

HOSTA:lan900: 10.111.11.19 lan0:192.168.1.1 HOSTB: lan900 10.111.11.20 lan0:192.168.1.2

2.3 补丁:

针对11.31,已打最新补丁。

2011Mar1131 2011.03 HPUX 11.31 Megpatch for Mar 2011

2.4 内核参数修改:

针对HP UX11.31的内核,修改两台机器的参数(16GB内存):

首先列出现有参数: # kctune > /tmp/kctune.log

然后,执行脚本:

kctune 'nproc>=4096'

kctune 'ksi_alloc_max>=33600' #kctune ‘executable_stack=0’(缺省是0)

kctune 'max_thread_proc>=1024' kctune 'maxdsiz>=1073741824'

kctune 'maxdsiz_64bit>=2147483648' kctune 'maxssiz>=134217728'

kctune 'maxssiz_64bit>=1073741824' kctune 'maxuprc>=3780' #kctune 'msgmap>=4202' kctune 'msgmni>=4200' #kctune 'msgseg>=32767' kctune 'msgtql>=4200' kctune 'ncsize>=36672' #kctune 'nfile>=202048' kctune 'nflocks>=4200' kctune 'ninode>=35648' kctune 'nkthread>=7366' #kctune 'semmap>=8402' kctune 'semmni>=4200' kctune 'semmns>=8400' kctune 'semmnu>=4196' kctune 'semvmx>=32767'

kctune 'shmmax>=16000000000' kctune 'shmmni>=4096' kctune 'shmseg>=512' kctune 'swchunk>=40960' kctune 'vps_ceiling>=12000'

前面有#的表示HPUX11.31中没有

这里有几个参数比较大,是因为内存比较大。

执行完毕后,使用命令:#kctune –D列出需要重新启动才能生效的参数。 然后reboot。

2.5 创建ORACLE用户:

在两台机器上创建组/用户: # /usr/sbin/groupadd -g 201 dba # /usr/sbin/groupadd -g 200 oinstall

# /usr/sbin/useradd -u 200 -g oinstall -G dba oracle

# id oracle

uid=200(oracle) gid=200(oinstall) groups=201(dba)

Create HOME directory for Oracle user # mkdir /home/oracle

# chown oracle:oinstall /home/oracle

搜索更多关于: Oracle 11gRAC数据库安装(HPUX11.31+A 的文档
  • 收藏
  • 违规举报
  • 版权认领
下载文档10.00 元 加入VIP免费下载
推荐下载
本文作者:...

共分享92篇相关文档

文档简介:

# /sbin/mknod /dev/async c 101 0x0 # chown oracle:dba /dev/async # chmod 660 /dev/async Configure the async driver in the kernel using SAM => Kernel Configuration => Kernel => the driver is called 'asyncdsk' Generate new kernel Reboot Set HP-UX kernel parameter max_async_ports using SAM. max_async_ports limits the maximum number of processes that can concurrently use /dev

× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价:10 元/份 原价:20元
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219
Copyright © 云题海 All Rights Reserved. 苏ICP备16052595号-3 网站地图 客服QQ:370150219 邮箱:370150219@qq.com