知识大全 OracleRac监听之困惑

Posted 文件

篇首语:学向勤中得,萤窗万卷书。本文由小常识网(cha138.com)小编为大家整理,主要介绍了知识大全 OracleRac监听之困惑相关的知识,希望对你有一定的参考价值。

OracleRac监听之困惑  以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!

  今天在客户碰到一问题 在这里记录一下

  /etc/hosts文件配置为

  引用

          localhost       loopback        # loopback (lo ) name/address

  #public neork

       hisdb

       hisdb

  #virtual ip address

      hisdb _vip

      hisdb _vip

  #private neork used for rac

           hisdb _priv

           hisdb _priv

  listener ora文件配置为

  引用

  LISTENER_HISDB =

  (DESCRIPTION_LIST =

  (DESCRIPTION =

  (ADDRESS = (PROTOCOL = TCP)(HOST = hisdb _vip)(PORT = )(IP = FIRST))

  (ADDRESS = (PROTOCOL = TCP)(HOST = )(PORT = )(IP = FIRST))

  )

  )

  SID_LIST_LISTENER_HISDB =

  (SID_LIST =

  (SID_DESC =

  (SID_NAME = PLSExtProc)

  (ORACLE_HOME = /oracle/products/rdbms)

  (PROGRAM = extproc)

  )

  )

  SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER_HISDB =OFF

  INBOUND_CONNECT_TIMEOUT_ =

  PREFER_LEAST_LOADED_NODE_LISTENER_LISTENER_HISDB =OFF

  主机上监听状态显示

  引用

  oracle orcl @hisdb :/home/oracle$lsnrctl status listener

  LSNRCTL for IBM/AIX RISC System/ : Version Production on FEB

   : :

  Copyright (c) Oracle   All rights reserved

  Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT= ))

  STATUS of the LISTENER

  

  Alias                     LISTENER

  Version                   TNSLSNR for IBM/AIX RISC System/ : Version

   Production

  Start Date                FEB : :

  Uptime                    days hr min sec

  Trace Level               off

  Security                  ON: Local OS Authentication

  SNMP                      ON

  Listener Parameter File   /oracle/products/rdbms/neork/admin/listener ora

  Listener Log File         /oracle/products/rdbms/neork/log/listener log

  Listening Endpoints Summary

  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hisdb )(PORT= )))

  Services Summary

  Service +ASM has instance(s)

  Instance +ASM status BLOCKED has handler(s) for this service

  Service +ASM_XPT has instance(s)

  Instance +ASM status BLOCKED has handler(s) for this service

  Service orcl has instance(s)

  Instance orcl status READY has handler(s) for this service

  Instance orcl status READY has handler(s) for this service

  Service orclXDB has instance(s)

  Instance orcl status READY has handler(s) for this service

  Instance orcl status READY has handler(s) for this service

  Service orcl_XPT has instance(s)

  Instance orcl status READY has handler(s) for this service

  Instance orcl status READY has handler(s) for this service

  Service standby has instance(s)

  Instance standby status READY has handler(s) for this service

  Instance standby status READY has handler(s) for this service

  Service standby_XPT has instance(s)

  Instance standby status READY has handler(s) for this service

  Instance standby status READY has handler(s) for this service

  The mand pleted successfully

  引用

  oracle orcl @hisdb :/oracle/products/rdbms/neork/admin$lsnrctl service

  LSNRCTL for IBM/AIX RISC System/ : Version Production on FEB

   : :

  Copyright (c) Oracle   All rights reserved

  Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT= ))

  Services Summary

  Service +ASM has instance(s)

  Instance +ASM status BLOCKED has handler(s) for this service

  Handler(s):

   DEDICATED established: refused: state:ready

  LOCAL SERVER

  Service +ASM_XPT has instance(s)

  Instance +ASM status BLOCKED has handler(s) for this service

  Handler(s):

   DEDICATED established: refused: state:ready

  LOCAL SERVER

  Service orcl has instance(s)

  Instance orcl status READY has handler(s) for this service

  Handler(s):

   DEDICATED established: refused: state:ready

  REMOTE SERVER

  (ADDRESS=(PROTOCOL=TCP)(HOST=hisdb )(PORT= ))

  Instance orcl status READY has handler(s) for this service

  Handler(s):

   DEDICATED established: refused: state:ready

  LOCAL SERVER

   DEDICATED established: refused: state:ready

  REMOTE SERVER

  (ADDRESS=(PROTOCOL=TCP)(HOST=hisdb )(PORT= ))

  Service orclXDB has instance(s)

  Instance orcl status READY has handler(s) for this service

  Handler(s):

   D established: refused: current: max: state:ready

  DISPATCHER <machine: hisdb pid: >

  (ADDRESS=(PROTOCOL=tcp)(HOST=hisdb )(PORT= ))

  Instance orcl status READY has handler(s) for this service

  Handler(s):

   D established: refused: current: max: state:ready

  DISPATCHER <machine: hisdb pid: >

  (ADDRESS=(PROTOCOL=tcp)(HOST=hisdb )(PORT= ))

  Service orcl_XPT has instance(s)

  Instance orcl status READY has handler(s) for this service

  Handler(s):

   DEDICATED established: refused: state:ready

  REMOTE SERVER

  (ADDRESS=(PROTOCOL=TCP)(HOST=hisdb )(PORT= ))

  Instance orcl status READY has handler(s) for this service

  Handler(s):

   DEDICATED established: refused: state:ready

  LOCAL SERVER

   DEDICATED established: refused: state:ready

  REMOTE SERVER

  (ADDRESS=(PROTOCOL=TCP)(HOST=hisdb )(PORT= ))

  Service standby has instance(s)

  Instance standby status READY has handler(s) for this service

  Handler(s):

   DEDICATED established: refused: state:ready

  REMOTE SERVER

  (ADDRESS=(PROTOCOL=TCP)(HOST=hisdb )(PORT= ))

  Instance standby status READY has handler(s) for this service

  Handler(s):

   DEDICATED established: refused: state:ready

  LOCAL SERVER

   DEDICATED established: refused: state:ready

  REMOTE SERVER

  (ADDRESS=(PROTOCOL=TCP)(HOST=hisdb )(PORT= ))

  Service standby_XPT has instance(s)

  Instance standby status READY has handler(s) for this service

  Handler(s):

   DEDICATED established: refused: state:ready

  REMOTE SERVER

  (ADDRESS=(PROTOCOL=TCP)(HOST=hisdb )(PORT= ))

  Instance standby status READY has handler(s) for this service

  Handler(s):

   DEDICATED established: refused: state:ready

  LOCAL SERVER

   DEDICATED established: refused: state:ready

  REMOTE SERVER

  (ADDRESS=(PROTOCOL=TCP)(HOST=hisdb )(PORT= ))

  The mand pleted successfully

  监听进程显示为

  引用

  oracle orcl @hisdb :/home/oracle$ps ef|grep tns

  oracle              Feb         : /oracle/products/rdbms/bin/tnslsnr LISTENER inherit

  oracle    : :   pts/   : grep tns

  rac状态显示为

  引用

  oracle orcl @hisdb :/home/oracle$crs_stat t

  Name           Type           Target    State     Host

  

  ora SM asm application    ONLINE    ONLINE    hisdb

  ora lsnr application    ONLINE    ONLINE    hisdb

  ora b gsd application    ONLINE    ONLINE    hisdb

  ora b ons application    ONLINE    ONLINE    hisdb

  ora b vip application    ONLINE    ONLINE    hisdb

  ora SM asm application    ONLINE    ONLINE    hisdb

  ora lsnr application    ONLINE    ONLINE    hisdb

  ora b gsd application    ONLINE    ONLINE    hisdb

  ora b ons application    ONLINE    ONLINE    hisdb

  ora b vip application    ONLINE    ONLINE    hisdb

  ora orcl db    application    ONLINE    ONLINE    hisdb

  ora orcl cs application    ONLINE    ONLINE    hisdb

  ora cl srv application    ONLINE    ONLINE    hisdb

  ora cl srv application    ONLINE    ONLINE    hisdb

  ora l inst application    ONLINE    ONLINE    hisdb

  ora l inst application    ONLINE    ONLINE    hisdb

  本地客户端tnsnames ora配置为

  引用

  RAC =

  (DESCRIPTION =

  (ADDRESS = (PROTOCOL = TCP)(HOST = )(PORT = ))

  (CONNECT_DATA =

  (SERVER = DEDICATED)

  (SERVICE_NAME = orcl)

  (INSTANCE_NAME = orcl )

  )

  )

  奇怪的事情发生了 tnsping居然能通 为什么呢?

  引用

  C:\\Documents and Settings\\Administrator>tnsping rac

  TNS Ping Utility for bit Windows: Version Production on 月

   : :

  Copyright (c) Oracle   All rights reserved

  已使用的参数文件:

  D:\\oracle\\product\\ \\client_ \\neork\\admin\\sqlnet ora

  已使用 TNSNAMES 适配器来解析别名

  Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =

   )(PORT = )) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)

  (INSTANCE_NAME = orcl )))

cha138/Article/program/Oracle/201311/18794

相关参考

知识大全 Java图形界面事件监听处理之四种方法

Java图形界面事件监听处理之四种方法  以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!  我自年上大

知识大全 ORACLERAC工作原理

ORACLERAC工作原理  以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!  在一个应用环境当中所有

知识大全 OracleRAC常用管理命令

OracleRAC常用管理命令  以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!  可以配置一些Ora

知识大全 OracleRAC日常基本维护命令

OracleRAC日常基本维护命令  以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!  所有实例和服务

知识大全 关于OracleRac数据不同步

关于OracleRac数据不同步  以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!  现在有这样的环境

知识大全 oracleRAC--归档日志的开启方法

oracleRAC--归档日志的开启方法  以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!  orac

知识大全 配置OracleRAC中应注意的问题

配置OracleRAC中应注意的问题  以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!  以下的文章主

知识大全 向基于Linux的OracleRAC10g集群添加新节点

向基于Linux的OracleRAC10g集群添加新节点  以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下

知识大全 Oracle监听口令及监听器安全

Oracle监听口令及监听器安全  以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!  很多人都知道Or

知识大全 实例讲解Oracle监听口令及监听器安全

实例讲解Oracle监听口令及监听器安全  以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!  很多人都