Oracle RAC安装过程中碰到问题及解决方法
这一篇主要讨论整个RAC安装过程中碰到的问题以及是如何解决的。
错误一:
配置共享磁盘的问题。如果共享磁盘本身有内容,可能会导致在安装完CLUSTERWARE后,执行root.sh时出错,错误信息为:
|
|
这时可以利用dd命令来清除ocr和voting disk的共享磁盘。类似命令为:
|
|
其中of指定需要清除的共享磁盘设备,而bs指定该设备的空间大小。
清除之后,再次运行root.sh,则问题消失。
配置共享磁盘的问题。如果共享磁盘本身有内容,可能会导致在安装完CLUSTERWARE后,执行root.sh时出错,错误信息为:
|
|
这时可以利用dd命令来清除ocr和voting disk的共享磁盘。类似命令为:
|
|
其中of指定需要清除的共享磁盘设备,而bs指定该设备的空间大小。
清除之后,再次运行root.sh,则问题消失。
尝试虚拟的操作系统是CentOS-5.4-x86_64,因此在系统选项中选择了Other Linux 64bit,尝试系统后系统报错:
This CPU is VT-capable, but VT is not enabled (check your BIOS settings).
You have configured this virtual machine as a 64-bit guest operating system. However, this host’s CPU is not capable of running 64-bit virtual machines or this virtual machine has 64-bit support disabled.
For more detailed information, see http://www.vmware.com/info?id=152
当在Linux Shell中运行SQL*Plus的时候,并不提供浏览历史命令行的功能。为了在Linux中达到“使用向上,向下键来跳回之前已经执行过的SQL语句”的目的,可以安装 rlwrap。
rlwrap最新的版本rlwrap-0.37.tar.gz,
RAC启动与停止的先后顺序小结
emctl stop dbconsole
srvctl stop instance -d rac -i rac1
srvctl stop instance -d rac -i rac2
srvctl stop asm -n rac1
srvctl stop asm -n rac2
srvctl stop nodeapps -n rac1
srvctl stop nodeapps -n rac2
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in trobuleshooting or you can ask me on GitHub.