ORA-29701: unable to connect to Cluster Synchronization Service

前端之家收集整理的这篇文章主要介绍了ORA-29701: unable to connect to Cluster Synchronization Service前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

1、查看服务

[[email protected]+ASM ~]$ crs_stat -t -v
Name Type R/RA F/FT Target State Host
----------------------------------------------------------------------
ora.cssd ora.cssd.type 0/5 0/5 OFFLINE OFFLINE
ora.diskmon ora....on.type 0/10 0/5 OFFLINE OFFLINE
ora.evmd ora.evm.type 0/10 0/5 ONLINE ONLINE edgzrip2
ora.ons ora.ons.type 0/3 0/ OFFLINE OFFLINE

 

2、添加asm服务

[[email protected]+ASM ~]$ srvctl start asm

 

3、查看服务

[[email protected]+ASM ~]$ crs_stat -t -v
Name Type R/RA F/FT Target State Host
----------------------------------------------------------------------
ora.asm ora.asm.type 0/5 0/ OFFLINE OFFLINE
ora.cssd ora.cssd.type 0/5 0/5 OFFLINE OFFLINE  
ora.diskmon ora....on.type 0/10 0/5 OFFLINE OFFLINE
ora.evmd ora.evm.type 0/10 0/5 ONLINE ONLINE gzrip2
ora.ons ora.ons.type 0/3 0/ OFFLINE OFFLINE
ora.prod4.db ora....se.type 0/2 0/1 OFFLINE OFFLINE

 

4、启动asm服务

[[email protected] ~]# /u01/app/11.2.0/grid/bin/crsctl start resource ora.asm
CRS-2672: Attempting to start ‘ora.asm‘ on ‘gzrip2‘
CRS-2676: Start of ‘ora.asm‘ on ‘gzrip2‘ succeeded

 

5、启动cssd服务

[[email protected] ~]# /u01/app/11.2.0/grid/bin/crsctl start resource ora.cssd
CRS-2672: Attempting to start ‘ora.cssd‘ on ‘gzrip2‘
CRS-2672: Attempting to start ‘ora.diskmon‘ on ‘gzrip2‘
CRS-2676: Start of ‘ora.diskmon‘ on ‘gzrip2‘ succeeded
CRS-2676: Start of ‘ora.cssd‘ on ‘gzrip2‘ succeeded

 

6、查看服务

[[email protected]+ASM ~]$ crs_stat -t -v
Name Type R/RA F/FT Target State Host
----------------------------------------------------------------------
ora.asm ora.asm.type 0/5 0/ ONLINE ONLINE gzrip2
ora.cssd ora.cssd.type 0/5 0/5 ONLINE ONLINE gzrip2
ora.diskmon ora....on.type 0/10 0/5 OFFLINE OFFLINE
ora.evmd ora.evm.type 0/10 0/5 ONLINE ONLINE gzrip2
ora.ons ora.ons.type 0/3 0/ OFFLINE OFFLINE
ora.prod4.db ora....se.type 0/2 0/1 OFFLINE OFFLINE

 

查看ora.cssd服务属性

[[email protected]+ASM ~]$ crs_stat -p ora.cssd
NAME=ora.cssd
TYPE=ora.cssd.type
ACTION_SCRIPT=
ACTIVE_PLACEMENT=0
AUTO_START=1
CHECK_INTERVAL=30
DESCRIPTION="Resource type for CSSD"
FAILOVER_DELAY=0
FAILURE_INTERVAL=3
FAILURE_THRESHOLD=5
HOSTING_MEMBERS=
PLACEMENT=balanced
RESTART_ATTEMPTS=5
SCRIPT_TIMEOUT=600
START_TIMEOUT=600
STOP_TIMEOUT=900
UPTIME_THRESHOLD=1m

 

查看ora.diskmon服务属性

[[email protected]+ASM ~]$ crs_stat -p ora.diskmon
NAME=ora.diskmon
TYPE=ora.diskmon.type
ACTION_SCRIPT=
ACTIVE_PLACEMENT=0
AUTO_START=1
CHECK_INTERVAL=3
DESCRIPTION="Resource type for Diskmon"
FAILOVER_DELAY=0
FAILURE_INTERVAL=3
FAILURE_THRESHOLD=5
HOSTING_MEMBERS=
PLACEMENT=balanced
RESTART_ATTEMPTS=10
SCRIPT_TIMEOUT=60
START_TIMEOUT=600
STOP_TIMEOUT=60
UPTIME_THRESHOLD=5s

 

      1)默认情况下HAS(High Availability Service)是自动启动的.通过如下命令可以取消和启用自动启动
        crsctl disable has
        crsctl enable has
      2)HAS手动启动和停止
        crsctl start has
        crsctl stop has
      3)查看HAS的状态
        crsctl check has
      4)如果想让ora.css和ora.diskmon服务随着HAS的启动而自动启动,那么你可以修改这两个服务的AUTO_START属性
        crsctl modify resource "ora.cssd" -attr "AUTO_START=1"
        or 
        crsctl modify resource "ora.diskmon" -attr "AUTO_START=1"
      5)如果想取消ora.css和ora.diskmon的Auto start 
        crsctl modify resource "ora.cssd" -attr "AUTO_START=never"
        crsctl modify resource "ora.diskmon" -attr "AUTO_START=never"

 2019-3-3 12:30 AM

猜你在找的Oracle相关文章