November 26, 2009 – 20:29
tusc 是一个在 HP-UX 平台上用来跟踪系统调用的程序,其功能类似于 Linux 上的 strace 和 Solaris 上的 truss。最近两天应大洋彼岸的同事要求,要提供某个重要的 Oracle 数据库进程的 tusc 输出,可是在我用的 HP-UX 的测试机上并没有默认安装它。最后 Google 出来了 tusc 的安装方法,记录于此。
答案来自于 HP IT Resource Center 的论坛上的一篇帖子。其实安装过程很简单:
1 在这里下载版本合适的 tusc 安装文件压缩包;
2 以 root 身份使用 swinstall 命令进行安装。
默认的安装路径是在 /usr/local/bin/tusc,之后就可以开始使用了。最后这里顺便给出一个例子:
tusc -o tusc.out -aEfhpRunv -T “” -p pid
As you can see from above screenshot of MetaLink, 11.1.0.7.0 Patch Set for ORACLE Database Server for HP-UX Itanium is released on 06-OCT-2008.
And I’m so proud to make contribution to this release. Cheers!
由于工作任务的重新分配,这周开始我接手了RAC在HP-UX IA64平台上的release testing,可能在未来一段时间内都要在这个陌生的平台上进行工作。希望能尽快掌握这个平台的一些知识吧,幸好同事yingwei的文档记录非常详细,让我少走了不少弯路。
今天先来说说2个内核参数shmmni和shmseg的设置。问题出现在用OUI进行11106的database software only安装的时候,安装前的内核参数检查在对这2个参数进行检查时报告failed,于是又手工运行CLUVFY工具(Clusterware已经安装完成)进行检查:
$CRS_HOME/bin/cluvfy stage -pre dbinst -n all -verbose
对于这2个参数的检查结果如下:
Check: Kernel parameter for “shmmni”
Node Name Configured Required Comment
———— ———————— ———————— ———-
hpi-25 512 4096 failed
hpi-28 512 4096 failed
hpi-27 512 4096 failed
hpi-26 512 4096 failed
Result: Kernel parameter check failed for “shmmni”.
Check: Kernel parameter for “shmseg”
Node Name Configured Required Comment
———— ———————— ———————— ———-
hpi-25 300 512 failed
hpi-28 300 [...]
When you place a physical disk under Volume Manager control, a Volume Manager disk (or VM disk) is assigned to the physical disk.
A VM disk typically includes a public region (allocated storage) and a private region where Volume Manager internal configuration information is stored.
A disk group is a collection of VM disks that share a [...]