测试时,AIX小机,oracle 11G RAC的数据库
主机克隆到新的服务器上,重新挂载原磁盘组,磁盘号以及顺序完全一致,启动HAS报错:
CLSU-00100: Operating System function:opendir failed with error data:1
CLSU-00101:operating system error message:NOsuch file or directory
CLSU-00103: error location: scrsearch1
CLSU-00104: additional error information: cant open scr home dir scls_scr_getval
CRS-4000: Command Start failed, or completed with errors.
看字面意思是操作系统的问题,查看ip地址,hosts文件,主机名等看有没有问题。
检查当前GI安装主机名(安装grid时会记录主机名到这个位置)
cd /etc/oracle/scls_scr/
[oracle@edbjr2p2 scls_scr]$ ls
rac1
当前主机名
$ hostname
rac2
确认主机名有人修改过,网上其他方式说需要重新配置has和grid
看了过程,相当繁琐,反正主机也是克隆过来的,司马当活马医,直接请主机组的同事修改主机名和IP地址,确认hosts内容没有问题后重启系统再次启动集群和数据库,OK