俗话说事不过三,这个系列终于可以结束了。
在前面安装实现hacmp concurrent的基础上,开始安装oracle 817 ops,步骤如下:
1。两边启动hacmp环境,smitty clstart
* Start now, on system restart or both now +
BROADCAST message at startup? true +
Startup Cluster Lock Services? true +
Startup Cluster Information Daemon? false +
注意在concurrent 必须启动cluster lock service。
2。lsvg -o 检查sharevg在两边varyon起来了。
3。安装前准备
两边建oracle用户和组,建oracle文件系统,两边都执行rootpre.sh,这点非常重要。修改.rhost,保证oracle用户执行rcp命令没有问题。
4。放入oracle 817第一张光盘开始安装,由于hacmp启动正常,发现安装时能选择两个node,接着就开始按步骤安装了。在安装时发生两个小插曲:
4。1 光盘切换
第一张光盘安装完毕后,提示需要第二张光盘,按前面描述的hacmp环境,我不退出第一张光盘,而是把光盘放入另一台机的光驱中,居然也能mount,写入mount路径,继续安装。
4。2 安装时报如下错误:
invoking target install of makefile
检查:/oracle/ora817/app/oracle/oraInventory/logs 中
$ tail installActions.log
logFile = /oracle/ora817/app/oracle/product/8.1.7/install/make.log
undoTarget =
Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target install of makefile /oracle/ora817/ap
p/oracle/product/8.1.7/rdbms/lib/ins_rdbms.mk
Exception Severity: 1
Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target install of makefile /oracle/ora817/ap
p/oracle/product/8.1.7/rdbms/lib/ins_rdbms.mk
Exception Severity: 1$
检查对应make.log
$ tail /oracle/ora817/app/oracle/product/8.1.7/install/make.log
ld: 0711-750 SEVERE ERROR: The file system is full. !!!!!!
ld: 0711-993 Error occurred while writing to the output file: /oracle/ora817/app
/oracle/product/8.1.7/rdbms/lib/oracle
make: 1254-004 The error code from the last command is 12.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
原来是空间满了,加大空间重新开始安装。
5。oracle ops安装完毕,检查两边确实都有oracle 目录。启动dbassist,开始建ops相关库。至于相关库如何建,ops的文档很多,这里就不详细说明。不过遗憾的建完库,启动oracle ops环境失败,只能一边能启动起来。这也是意料之中,毕竟单盘没有完善锁机制,可惜具体的错误记录由于换了电脑,找不到了。记忆中是几个共享的库没有建成。
(完)
ibm6000 回复于:2004-08-19 10:20:38
继续支持
taichi 回复于:2004-08-19 11:49:53
THX
在网络相知很久,最近才知道你是英通的,以前不好问。
大坏蛋 回复于:2004-08-19 11:57:47
谢谢分享经验!
|