oracle10g crs 服務狀態offline, unknown

tolywang發表於2008-11-19

.

[@more@]


ecsrac01$crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.ecsdb.db application ONLINE ONLINE ecsrac01
ora....b1.inst application ONLINE ONLINE ecsrac01
ora....b2.inst application ONLINE UNKNOWN ecsrac02
ora....01.lsnr application ONLINE UNKNOWN ecsrac01
ora....c01.gsd application ONLINE ONLINE ecsrac01
ora....c01.ons application ONLINE ONLINE ecsrac01
ora....c01.vip application ONLINE ONLINE ecsrac01
ora....02.lsnr application ONLINE UNKNOWN ecsrac02
ora....c02.gsd application ONLINE UNKNOWN ecsrac02
ora....c02.ons application ONLINE UNKNOWN ecsrac02
ora....c02.vip application ONLINE ONLINE ecsrac02
ecsrac01$

ecsrac02$crs_stop -all
Attempting to stop `ora.ecsdb.ecsdb1.inst` on member `ecsrac01`
Attempting to stop `ora.ecsrac01.gsd` on member `ecsrac01`
Stop of `ora.ecsrac01.gsd` on member `ecsrac01` succeeded.
Attempting to stop `ora.ecsrac01.ons` on member `ecsrac01`
Stop of `ora.ecsrac01.ons` on member `ecsrac01` succeeded.
Attempting to stop `ora.ecsdb.db` on member `ecsrac01`
Stop of `ora.ecsdb.ecsdb1.inst` on member `ecsrac01` succeeded.
Stop of `ora.ecsdb.db` on member `ecsrac01` succeeded.
Attempting to stop `ora.ecsrac01.LISTENER_ECSRAC01.lsnr` on member `ecsrac01`
Attempting to stop `ora.ecsrac02.LISTENER_ECSRAC02.lsnr` on member `ecsrac02`
Stop of `ora.ecsrac02.LISTENER_ECSRAC02.lsnr` on member `ecsrac02` succeeded.
Attempting to stop `ora.ecsrac02.vip` on member `ecsrac02`
Stop of `ora.ecsrac02.vip` on member `ecsrac02` succeeded.
Stop of `ora.ecsrac01.LISTENER_ECSRAC01.lsnr` on member `ecsrac01` succeeded.
Attempting to stop `ora.ecsrac01.vip` on member `ecsrac01`
Stop of `ora.ecsrac01.vip` on member `ecsrac01` succeeded.
ecsrac02$

ecsrac01$crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.ecsdb.db application OFFLINE OFFLINE
ora....b1.inst application OFFLINE OFFLINE
ora....b2.inst application OFFLINE OFFLINE
ora....01.lsnr application OFFLINE OFFLINE
ora....c01.gsd application OFFLINE OFFLINE
ora....c01.ons application OFFLINE OFFLINE
ora....c01.vip application OFFLINE OFFLINE
ora....02.lsnr application OFFLINE OFFLINE
ora....c02.gsd application ONLINE UNKNOWN ecsrac02
ora....c02.ons application ONLINE UNKNOWN ecsrac02
ora....c02.vip application OFFLINE OFFLINE
ecsrac01$

ecsrac01$
ecsrac01$crs_stop ora.ecsrac02.ons
Attempting to stop `ora.ecsrac02.ons` on member `ecsrac02`
Stop of `ora.ecsrac02.ons` on member `ecsrac02` succeeded.
ecsrac01$crs_stop ora.ecsrac02.gsd
Attempting to stop `ora.ecsrac02.gsd` on member `ecsrac02`
Stop of `ora.ecsrac02.gsd` on member `ecsrac02` succeeded.
ecsrac01$

ecsrac01$crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.ecsdb.db application OFFLINE OFFLINE
ora....b1.inst application OFFLINE OFFLINE
ora....b2.inst application OFFLINE OFFLINE
ora....01.lsnr application OFFLINE OFFLINE
ora....c01.gsd application OFFLINE OFFLINE
ora....c01.ons application OFFLINE OFFLINE
ora....c01.vip application OFFLINE OFFLINE
ora....02.lsnr application OFFLINE OFFLINE
ora....c02.gsd application OFFLINE OFFLINE
ora....c02.ons application OFFLINE OFFLINE
ora....c02.vip application OFFLINE OFFLINE
ecsrac01$


ecsrac02$crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.ecsdb.db application OFFLINE OFFLINE
ora....b1.inst application OFFLINE OFFLINE
ora....b2.inst application OFFLINE OFFLINE
ora....01.lsnr application OFFLINE OFFLINE
ora....c01.gsd application OFFLINE OFFLINE
ora....c01.ons application OFFLINE OFFLINE
ora....c01.vip application OFFLINE OFFLINE
ora....02.lsnr application OFFLINE OFFLINE
ora....c02.gsd application OFFLINE OFFLINE
ora....c02.ons application OFFLINE OFFLINE
ora....c02.vip application OFFLINE OFFLINE
ecsrac02$
ecsrac02$


ecsrac02$crs_start ora.ecsrac02.ons
Attempting to start `ora.ecsrac02.ons` on member `ecsrac02`
Start of `ora.ecsrac02.ons` on member `ecsrac02` succeeded.
ecsrac02$crs_start ora.ecsrac02.gsd
Attempting to start `ora.ecsrac02.gsd` on member `ecsrac02`
Start of `ora.ecsrac02.gsd` on member `ecsrac02` succeeded.
ecsrac02$crs_start ora.ecsrac02.LISTENER_ECSRAC02.lsnr
Attempting to start `ora.ecsrac02.vip` on member `ecsrac02`
Start of `ora.ecsrac02.vip` on member `ecsrac02` succeeded.
Attempting to start `ora.ecsrac02.LISTENER_ECSRAC02.lsnr` on member `ecsrac02`
Start of `ora.ecsrac02.LISTENER_ECSRAC02.lsnr` on member `ecsrac02` succeeded.
ecsrac02$crs_start ora.ecsdb.ecsdb2.inst
Attempting to start `ora.ecsdb.ecsdb2.inst` on member `ecsrac02`
Start of `ora.ecsdb.ecsdb2.inst` on member `ecsrac02` succeeded.

ecsrac02$crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.ecsdb.db application ONLINE ONLINE ecsrac01
ora....b1.inst application OFFLINE OFFLINE
ora....b2.inst application ONLINE ONLINE ecsrac02
ora....01.lsnr application OFFLINE OFFLINE
ora....c01.gsd application OFFLINE OFFLINE
ora....c01.ons application OFFLINE OFFLINE
ora....c01.vip application OFFLINE OFFLINE
ora....02.lsnr application ONLINE ONLINE ecsrac02
ora....c02.gsd application ONLINE ONLINE ecsrac02
ora....c02.ons application ONLINE ONLINE ecsrac02
ora....c02.vip application ONLINE ONLINE ecsrac02
ecsrac02$


ecsrac01$
ecsrac01$
ecsrac01$crs_start ora.ecsrac01.ons
Attempting to start `ora.ecsrac01.ons` on member `ecsrac01`
Start of `ora.ecsrac01.ons` on member `ecsrac01` succeeded.
ecsrac01$crs_start ora.ecsrac01.gsd
Attempting to start `ora.ecsrac01.gsd` on member `ecsrac01`
Start of `ora.ecsrac01.gsd` on member `ecsrac01` succeeded.
ecsrac01$crs_start ora.ecsrac01.vip
Attempting to start `ora.ecsrac01.vip` on member `ecsrac01`
Start of `ora.ecsrac01.vip` on member `ecsrac01` succeeded.
ecsrac01$crs_start ora.ecsrac01.LISTENER_ECSRAC01.lsnr
Attempting to start `ora.ecsrac01.LISTENER_ECSRAC01.lsnr` on member `ecsrac01`
Start of `ora.ecsrac01.LISTENER_ECSRAC01.lsnr` on member `ecsrac01` succeeded.
ecsrac01$crs_start ora.ecsdb.ecsdb1.inst
Attempting to start `ora.ecsdb.ecsdb1.inst` on member `ecsrac01`
Start of `ora.ecsdb.ecsdb1.inst` on member `ecsrac01` succeeded.
ecsrac01$


crs service application :
----------------------------------------
ora.ecsrac02.ons
ora.ecsrac02.gsd
ora.ecsrac02.vip
ora.ecsrac02.LISTENER_ECSRAC02.lsnr
ora.ecsdb.ecsdb2.inst

ecsrac01$crs_stop -all
ecsrac01$crs_start -all

ecsrac01$crs_stop
Usage: crs_stop resource_name [...] [-f] [-q] ["attrib=value ..."]
crs_stop -c cluster_member [...] [-q] ["attrib=value ..."]
crs_stop -all [-q]

ecsrac01$crs_stop ora.ecsrac01.ons
ecsrac01$crs_stop ora.ecsrac01.gsd
ecsrac01$crs_stop ora.ecsrac01.vip
ecsrac01$crs_stop ora.ecsrac01.LISTENER_ECSRAC01.lsnr
ecsrac01$crs_stop ora.ecsdb.ecsdb1.inst


ecsrac01$crs_start ora.ecsrac01.ons
ecsrac01$crs_start ora.ecsrac01.gsd
ecsrac01$crs_start ora.ecsrac01.vip
ecsrac01$crs_start ora.ecsrac01.LISTENER_ECSRAC01.lsnr
ecsrac01$crs_start ora.ecsdb.ecsdb1.inst


-----------------------------------------

ecsrac01$
ecsrac01$crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.ecsdb.db application ONLINE ONLINE ecsrac01
ora....b1.inst application ONLINE ONLINE ecsrac01
ora....b2.inst application ONLINE OFFLINE
ora....01.lsnr application ONLINE ONLINE ecsrac01
ora....c01.gsd application ONLINE ONLINE ecsrac01
ora....c01.ons application ONLINE ONLINE ecsrac01
ora....c01.vip application ONLINE ONLINE ecsrac01
ora....02.lsnr application ONLINE OFFLINE
ora....c02.gsd application ONLINE OFFLINE
ora....c02.ons application ONLINE OFFLINE
ora....c02.vip application ONLINE ONLINE ecsrac01
ecsrac01$

ecsrac02$crs_stat -t
CRS-0184: Cannot communicate with the CRS daemon.

ecsrac02$crs_stat -t
CRS-0184: Cannot communicate with the CRS daemon.

ecsrac02$
ecsrac02$
ecsrac02$su -
Password:

[root@ecsrac02 ~]#
[root@ecsrac02 ~]#
[root@ecsrac02 ~]# /etc/init.d/init.crs start
Startup will be queued to init within 90 seconds.
[root@ecsrac02 ~]#


[root@ecsrac02 ~]# /etc/init.d/init.crs start
Startup will be queued to init within 90 seconds.
[root@ecsrac02 ~]# exit
logout

ecsrac02$
ecsrac02$
ecsrac02$
ecsrac02$crs_stat -t
CRS-0184: Cannot communicate with the CRS daemon.

ecsrac02$crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.ecsdb.db application ONLINE ONLINE ecsrac01
ora....b1.inst application ONLINE ONLINE ecsrac01
ora....b2.inst application ONLINE UNKNOWN ecsrac02
ora....01.lsnr application ONLINE ONLINE ecsrac01
ora....c01.gsd application ONLINE ONLINE ecsrac01
ora....c01.ons application ONLINE ONLINE ecsrac01
ora....c01.vip application ONLINE ONLINE ecsrac01
ora....02.lsnr application ONLINE UNKNOWN ecsrac02
ora....c02.gsd application ONLINE UNKNOWN ecsrac02
ora....c02.ons application ONLINE UNKNOWN ecsrac02
ora....c02.vip application ONLINE ONLINE ecsrac02


$ srvctl stop nodeapps -n node1
$ srvctl start nodeapps -n node2
$ srvctl start nodeapps -n node1

ecsrac01$
ecsrac01$crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.ecsdb.db application ONLINE ONLINE ecsrac01
ora....b1.inst application ONLINE ONLINE ecsrac01
ora....b2.inst application ONLINE ONLINE ecsrac02
ora....01.lsnr application OFFLINE UNKNOWN ecsrac01
ora....c01.gsd application OFFLINE UNKNOWN ecsrac01
ora....c01.ons application OFFLINE UNKNOWN ecsrac01
ora....c01.vip application OFFLINE UNKNOWN ecsrac01
ora....02.lsnr application ONLINE ONLINE ecsrac02
ora....c02.gsd application ONLINE ONLINE ecsrac02
ora....c02.ons application ONLINE ONLINE ecsrac02
ora....c02.vip application ONLINE ONLINE ecsrac02
ecsrac01$
ecsrac01$
ecsrac01$
ecsrac01$srvctl stop nodeapps -n ecsrac01
ecsrac01$srvctl start nodeapps -n ecsrac01
ecsrac01$
ecsrac01$
ecsrac01$crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.ecsdb.db application ONLINE ONLINE ecsrac01
ora....b1.inst application ONLINE ONLINE ecsrac01
ora....b2.inst application ONLINE ONLINE ecsrac02
ora....01.lsnr application ONLINE ONLINE ecsrac01
ora....c01.gsd application ONLINE ONLINE ecsrac01
ora....c01.ons application ONLINE ONLINE ecsrac01
ora....c01.vip application ONLINE ONLINE ecsrac01
ora....02.lsnr application ONLINE ONLINE ecsrac02
ora....c02.gsd application ONLINE ONLINE ecsrac02
ora....c02.ons application ONLINE ONLINE ecsrac02
ora....c02.vip application ONLINE ONLINE ecsrac02
ecsrac01$

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-1013593/,如需轉載,請註明出處,否則將追究法律責任。

相關文章