您好,欢迎访问一九零五行业门户网

VMware 下Oracle RAC搬家引起CRS-1006/CRS-0215/CRS-0233

不同的linux系统对新网络接口有不同的处理方法。oracle linux以及redhat可以直接把原来的删除然后将新的网络接口名重命名为原来的
最近虚拟机下的oracle 10g rac搬家,搬家完毕之后,oracle 集群resource之vip无法正常启动,收到了crs-0233: resource or relatives are currently involved with another operation 错误提示。为为啥呢,原来啊,,搬家了地址发生变化了,你得使用你家里的新地址阿....
1、环境描述
  oracle 10g rac + suse 10
  注,将rac虚拟机搬家之后,通常情况下我们在添加虚拟机时选择复制(移动这个没试过,不知道是否会有问题)
  其次,由于选择了复制,虚拟机要生成一个新的uuid(uuid是指在一台机器上生成的数字,它保证对在同一虚拟环境中的机器唯一性)。
  同时mac地址以及网络接口名也会发生相应的变化(首次启动虚拟机原来的eth0以及eth1不可用),通常情况下需要对此修改。
  不同的linux系统对新网络接口有不同的处理方法。oracle linux以及redhat可以直接把原来的删除然后将新的网络接口名重命名为原来的。
  对于suselinux稍微有点麻烦,可以参考这里:
2、crs-1006/crs-0215/crs-0233错误
  #修改网卡之后,重新启动两个节点
  #resource vip  状态为offline
  oracle@bo2dbp:~> ./crs_stat.sh |grep bo2dbp
  resource name                                target    state           
  --------------                                ------    -----           
  ora.bo2dbp.asm1.asm                          online    online on bo2dbp 
  ora.bo2dbp.listener_bo2dbp.lsnr              online    offline         
  ora.bo2dbp.listener_ora10g_bo2dbp.lsnr        online    offline         
  ora.bo2dbp.gsd                                online    online on bo2dbp 
  ora.bo2dbp.ons                                online    offline         
  ora.bo2dbp.vip                                online    offline         
  ora.ora10g.db                                online    online on bo2dbp 
  ora.ora10g.ora10g1.inst                      online    online on bo2dbp
#尝试手动启动ons
  oracle@bo2dbp:~> crs_start ora.bo2dbp.ons
  attempting to start `ora.bo2dbp.ons` on member `bo2dbp`
  start of `ora.bo2dbp.ons` on member `bo2dbp` failed.
  crs-1006: no more members to consider
crs-0215: could not start resource 'ora.bo2dbp.ons'.
#通过onsctl方式启动也收到失败信息
  oracle@bo2dbp:~> onsctl start
  number of onsconfiguration retrieved, numcfg = 2
  onscfg[0]
    {node = bo2dbp.2gotrade.com, port = 6200}
  adding remote host bo2dbp.2gotrade.com:6200
  onscfg[1]
    {node = bo2dbs.2gotrade.com, port = 6200}
  adding remote host bo2dbs.2gotrade.com:6200
  number of onsconfiguration retrieved, numcfg = 2
  onscfg[0]
    {node = bo2dbp.2gotrade.com, port = 6200}
  adding remote host bo2dbp.2gotrade.com:6200
  onscfg[1]
    {node = bo2dbs.2gotrade.com, port = 6200}
  adding remote host bo2dbs.2gotrade.com:6200
  onsctl: ons failed to start
  #尝试手动启动vip,收到了crs-0233错误
  oracle@bo2dbp:~> crs_start ora.bo2dbp.vip
  crs-0233: resource or relatives are currently involved with another operation.
其它类似信息

推荐信息