oracle rac其实维护起来也不复杂,但是有很多人遇到rac就害怕,我从经验角度给大家讲解一些:
1. 节点不能启动,可能一个或是两个
由于aix磁盘存在盘头锁,需要把盘头锁更改为no_reserve
3. 主机两边的盘符不一样,怎么安装
unix:使用mknod
linux:使用raw或是ocfs
4. 问题:客户端偶尔能够连接,偶尔无法连接,报Tns-12545:因目标主机或者对象不存在
解决办法:在客户端的hosts文件中把服务端的ip和主机名称解析
windows
C:\WINDOWS\system32\drivers\etc\hosts
unixor linux
/etc/hosts
5. 在alert日志中有下列警告信息:
WARNING:No cluster interconnect has been specified. Depending on
the communication driver configured Oraclecluster traffic
may be directed to the public interface ofthis machine.
Oracle recommends that RAC clustered databasesbe configured with a private interconnect for enhanced security and Performance
说明数据库的内部通讯没有使用单独的通讯接口:
需要通过命令来处理,使得数据库的内部通讯单独使用自己的接口
$ oifcfg setif –globalen1/192.168.0.0:cluster_interconnect
我就先简单写这些,以后我会逐渐更新