先前由于对rac2节点修改了监听文件可能对其产生影响,现在启动RAC,发现状态如下:
[root@primary primary]# crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....SM1.asm application ONLINE UNKNOWN primary
ora....RY.lsnr application ONLINE UNKNOWN primary
ora....ary.gsd application ONLINE UNKNOWN primary
ora....ary.ons application ONLINE UNKNOWN primary
ora....ary.vip application ONLINE ONLINE primary
ora.rac.db application ONLINE UNKNOWN primary
ora....c1.inst application ONLINE OFFLINE
ora....c2.inst application ONLINE OFFLINE
ora....SM2.asm application ONLINE UNKNOWN standby
ora....BY.lsnr application ONLINE UNKNOWN standby
ora....dby.gsd application ONLINE UNKNOWN standby
ora....dby.ons application ONLINE UNKNOWN standby
ora....dby.vip application ONLINE ONLINE standby
检查日志状态均正常。那就只能通过
crs_stop ora...
然后crs_start ora....这种方式即可
[root@primary primary]# crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....SM1.asm application ONLINE ONLINE primary
ora....RY.lsnr application ONLINE ONLINE primary
ora....ary.gsd application ONLINE ONLINE primary
ora....ary.ons application ONLINE ONLINE primary
ora....ary.vip application ONLINE ONLINE primary
ora.rac.db application ONLINE ONLINE standby
ora....c1.inst application ONLINE ONLINE primary
ora....c2.inst application ONLINE ONLINE standby
ora....SM2.asm application ONLINE ONLINE standby
ora....BY.lsnr application ONLINE ONLINE standby
ora....dby.gsd application ONLINE ONLINE standby
ora....dby.ons application ONLINE ONLINE standby
ora....dby.vip application ONLINE ONLINE standby
详细资源名查看
[root@primary primary]# crst_stat
bash: crst_stat: command not found
[root@primary primary]# crs_stat
NAME=ora.primary.ASM1.asm
TYPE=application
TARGET=ONLINE
STATE=ONLINE on primary
NAME=ora.primary.LISTENER_PRIMARY.lsnr
TYPE=application
TARGET=ONLINE
STATE=ONLINE on primary
NAME=ora.primary.gsd
TYPE=application
TARGET=ONLINE
STATE=ONLINE on primary
NAME=ora.primary.ons
TYPE=application
TARGET=ONLINE
STATE=ONLINE on primary
NAME=ora.primary.vip
TYPE=application
TARGET=ONLINE
STATE=ONLINE on primary
NAME=ora.rac.db
TYPE=application
TARGET=ONLINE
STATE=ONLINE on standby
NAME=ora.rac.rac1.inst
TYPE=application
TARGET=ONLINE
STATE=ONLINE on primary
NAME=ora.rac.rac2.inst
TYPE=application
TARGET=ONLINE
STATE=ONLINE on standby
NAME=ora.standby.ASM2.asm
TYPE=application
TARGET=ONLINE
STATE=ONLINE on standby
NAME=ora.standby.LISTENER_STANDBY.lsnr
TYPE=application
TARGET=ONLINE
STATE=ONLINE on standby
NAME=ora.standby.gsd
TYPE=application
TARGET=ONLINE
STATE=ONLINE on standby
NAME=ora.standby.ons
TYPE=application
TARGET=ONLINE
STATE=ONLINE on standby
NAME=ora.standby.vip
TYPE=application
TARGET=ONLINE
STATE=ONLINE on standby