博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
AIX 安装 RAC 错误集锦(5)之-VIP错误
阅读量:5861 次
发布时间:2019-06-19

本文共 6203 字,大约阅读时间需要 20 分钟。

AIX 安装 RAC 错误集锦(5)之-VIP错误

环境:

操作系统: AIX 5.3.8

集群软件: CRS 10.2.0.1

数据库:   Oracle 10.2.0.1

错误现象

错误现象: ora.aix211.vip 启动失败(其中一个节点vip 启动失败)

# crs_stat -t
Name           Type           Target    State     Host        
------------------------------------------------------------
ora.aix211.gsd application    ONLINE    ONLINE    aix211      
ora.aix211.ons application    ONLINE    ONLINE    aix211      
ora.aix211.vip application    ONLINE    OFFLINE               
ora.aix212.gsd application    ONLINE    OFFLINE               
ora.aix212.ons application    ONLINE    OFFLINE               
ora.aix212.vip application    ONLINE    OFFLINE

日志:

/u01/crs_1/log/aix211:

# tail -f ora.aix212.vip.log
Invalid parameters, or failed to bring up VIP (host=aix211)

2013-09-05 23:09:55.518: [    RACG][1] [405660][1][ora.aix212.vip]: clsrcexecut: env ORACLE_CONFIG_HOME=/u01/crs_1

2013-09-05 23:09:55.518: [    RACG][1] [405660][1][ora.aix212.vip]: clsrcexecut: cmd = /u01/crs_1/bin/racgeut -e _USR_ORA_DEBUG=0 54 /u01/crs_1/bin/racgvip check aix212

2013-09-05 23:09:55.518: [    RACG][1] [405660][1][ora.aix212.vip]: clsrcexecut: rc = 1, time = 2.308s

2013-09-05 23:09:55.518: [    RACG][1] [405660][1][ora.aix212.vip]: end for resource = ora.aix212.vip, action = start, status = 1, time = 5.071s

2013-09-05 23:46:27.830: [    RACG][1] [422024][1][ora.aix212.vip]: Interface en2 checked failed (host=aix211)
Invalid parameters, or failed to bring up VIP (host=aix211)

2013-09-05 23:46:27.830: [    RACG][1] [422024][1][ora.aix212.vip]: clsrcexecut: env ORACLE_CONFIG_HOME=/u01/crs_1

2013-09-05 23:46:27.830: [    RACG][1] [422024][1][ora.aix212.vip]: clsrcexecut: cmd = /u01/crs_1/bin/racgeut -e _USR_ORA_DEBUG=0 54 /u01/crs_1/bin/racgvip start aix212

2013-09-05 23:46:27.830: [    RACG][1] [422024][1][ora.aix212.vip]: clsrcexecut: rc = 1, time = 2.330s

2013-09-05 23:46:30.139: [    RACG][1] [422024][1][ora.aix212.vip]: Interface en2 checked failed (host=aix211)
Invalid parameters, or failed to bring up VIP (host=aix211)

2013-09-05 23:46:30.139: [    RACG][1] [422024][1][ora.aix212.vip]: clsrcexecut: env ORACLE_CONFIG_HOME=/u01/crs_1

2013-09-05 23:46:30.139: [    RACG][1] [422024][1][ora.aix212.vip]: clsrcexecut: cmd = /u01/crs_1/bin/racgeut -e _USR_ORA_DEBUG=0 54 /u01/crs_1/bin/racgvip check aix212

2013-09-05 23:46:30.139: [    RACG][1] [422024][1][ora.aix212.vip]: clsrcexecut: rc = 1, time = 2.308s

2013-09-05 23:46:30.139: [    RACG][1] [422024][1][ora.aix212.vip]: end for resource = ora.aix212.vip, action = start, status = 1, time = 4.944s

原因:

在安装crs 时,节点1 public interface 为 en1,节点2 public interface 为en2,在节点2 做vipca ,指定vip 地址绑定在en2.
   节点1启动vip服务时,也选择en2 启动vip,导致失败。

解决方法:

1、调整两边节点 ,en0 为public interface

2、通过srvctl 修改vip 地址

-------停止节点 nodeapps              
# srvctl stop nodeapps -n aix211

CRS-0210: Could not find resource 'ora.aix211.LISTENER_AIX211.lsnr'.
# srvctl stop nodeapps -n aix212
CRS-0210: Could not find resource 'ora.aix212.LISTENER_AIX212.lsnr'.
# crs_stat -t
Name           Type           Target    State     Host        
------------------------------------------------------------
ora.aix211.gsd application    OFFLINE   OFFLINE               
ora.aix211.ons application    OFFLINE   OFFLINE               
ora.aix211.vip application    OFFLINE   OFFLINE               
ora.aix212.gsd application    OFFLINE   OFFLINE               
ora.aix212.ons application    OFFLINE   OFFLINE               
ora.aix212.vip application    OFFLINE   OFFLINE  

----- 修改 vip 地址            
# srvctl modify nodeapps -n aix211 -o /u01/app/oracle/product/10.2.0/db_1 -A 192.168.8.11/255.255.255.0/en0

# srvctl modify nodeapps -n aix212 -o /u01/app/oracle/product/10.2.0/db_1 -A 192.168.8.12/255.255.255.0/en0

------重新启动 节点 crs 服务

AIX 211:

# crsctl stop crs
Stopping resources.
Successfully stopped CRS resources 
Stopping CSSD.
Shutting down CSS daemon.
Shutdown request successfully issued.
# crsctl start crs
Attempting to start CRS stack 
The CRS stack will be started shortly

# crsctl check crs
CSS appears healthy
CRS appears healthy
EVM appears healthy

-----查看网卡配置信息

AIX211:
# ifconfig -a
en0: flags=5e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),PSEG,LARGESEND,CHAIN>
inet 192.168.8.211 netmask 0xffffff00 broadcast 192.168.8.255
       inet 192.168.8.11 netmask 0xffffff00 broadcast 192.168.8.255
en1: flags=5e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),PSEG,LARGESEND,CHAIN>
       inet 10.10.10.11 netmask 0xffffff00 broadcast 10.10.10.255

# crsctl stop crs
Stopping resources.
Successfully stopped CRS resources 
Stopping CSSD.
Shutting down CSS daemon.
Shutdown request successfully issued.


# crsctl start crs
Attempting to start CRS stack 
The CRS stack will be started shortly

# crsctl check crs
CSS appears healthy
CRS appears healthy
EVM appears healthy

------- 查看网卡信息
# ifconfig -a
en0: flags=5e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),PSEG,LARGESEND,CHAIN>
inet 192.168.8.211 netmask 0xffffff00 broadcast 192.168.8.255
       inet 192.168.8.11 netmask 0xffffff00 broadcast 192.168.8.255
en1: flags=5e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),PSEG,LARGESEND,CHAIN>
       inet 10.10.10.11 netmask 0xffffff00 broadcast 10.10.10.255


AIX212:

# crsctl stop crs
Stopping resources.
Successfully stopped CRS resources 
Stopping CSSD.
Shutting down CSS daemon.
Shutdown request successfully issued.
# crsctl start crs 
Attempting to start CRS stack 
The CRS stack will be started shortly

# ifconfig -a
en0: flags=5e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),PSEG,LARGESEND,CHAIN>
inet 192.168.8.212 netmask 0xffffff00 broadcast 192.168.8.255
       inet 192.168.8.12 netmask 0xffffff00 broadcast 192.168.8.255
en2: flags=5e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),PSEG,LARGESEND,CHAIN>
       inet 10.10.10.12 netmask 0xffffff00 broadcast 10.10.10.255

------ 至此,crs服务启动正常

# crs_stat -t
Name           Type           Target    State     Host        
------------------------------------------------------------
ora.aix211.gsd application    ONLINE    ONLINE    aix211      
ora.aix211.ons application    ONLINE    ONLINE    aix211      
ora.aix211.vip application    ONLINE    ONLINE    aix211      
ora.aix212.gsd application    ONLINE    ONLINE    aix212      
ora.aix212.ons application    ONLINE    ONLINE    aix212      
ora.aix212.vip application    ONLINE    ONLINE    aix212     

本文转自 客居天涯 51CTO博客,原文链接:http://blog.51cto.com/tiany/1374236,如需转载请自行联系原作者
你可能感兴趣的文章
JS里验证信息
查看>>
Akka actor tell, ask 函数的实现
查看>>
windows10 chrome 调试 ios safari 方法
查看>>
Hello , Ruby!
查看>>
Netty 4.1.35.Final 发布,经典开源 Java 网络服务框架
查看>>
详解Microsoft.AspNetCore.CookiePolicy
查看>>
SCDPM2012 R2实战一:基于SQL 2008 R2集群的SCDPM2012 R2的安装
查看>>
SQL SERVER中字段类型与C#数据类型的对应关系
查看>>
Linux lsof命令详解
查看>>
SVG path
查看>>
js判断checkbox是否选中
查看>>
多系统盘挂载
查看>>
MySQL函数怎么加锁_MYSQL 函数调用导致自动生成共享锁问题
查看>>
python httpstr find_Python string.rfind方法代碼示例
查看>>
php 发布拼多多,拼多多补贴换增长的故事还能讲多久?
查看>>
Dynamic Performance Tables not accessible Automatic Statistics Disabled for this session
查看>>
Linux中使用vim乱码
查看>>
MR1和MR2的工作原理
查看>>
Eclipse中修改代码格式
查看>>
GRUB Legacy
查看>>