今天跟一个oracle的工程师,不,是看一个工程师装两台双机互备的oracle数据库,装的时候遇到了几点问题,在这里记录下来:
1. 运行./runInstaller.sh的时候,报错了,原因是hp-ux的版本是3.1,而10g出来的时候,可以检测到的是2.3,所以会由于高于正常版本报错,这个时侯运行./runInstaller.sh -ignoreSysprereqs ,就不会报错,可以进入oui了,但是在验证的时候,也会出现这个问题,到时候点击user verfiy就可以了。
2.在安装完软件之后,会需要用root用户执行两个脚本:orainstRoot.sh 和 root.sh,执行完以后,按exit的时候,会弹出一个错误提示,
OUI-10058: The OUI Inventory on this system does not exits or is not writable .
1-The /opt/oracle/oraInventory/orainstRoot.sh script. was not executed with root privileges,
or an error occurred during execution;
2-You are not a member of the specified installer group
估计是建组的时候有问题,或者是没有成功执行orainstRoot.sh脚本。所以其中一个处理办法就是/etc/oraInst.loc (AIX and Linux Platform) or /var/opt/oracle/OraInst.loc (Solaris and HP-UX platform)
chmod 644 /etc/oraInst.loc
or
hmod 644 /var/opt/oracle/oraInst.loc
然后这个问题就解决了.
参考:http://oracleappstechnology.blogspot.com/2007/11/orainst-environment-variable-and.html
3. 做双机互备,故障切换的时候,实际上是从ha的基础上做的切换,那么db切换的脚本实际上是嵌套在ha package切换之后的任务中的。今天的EM (dbconsole)没有起来还没有查出原因。但是如果是oracle 的RAC,那么两个节点是不可能同时启动em dbconsole的,只可以在一个节点上启动。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/9252210/viewspace-558330/ ,如需转载,请注明出处,否则将追究法律责任。