监听配置剖析一

最简单的监听配置
listener=--监听名 默认是listener
         (descripion=--它的上头还有一个可选项 description_list 没有监听只能有一个description_list
          --description_list中可定义多个description
          --multiple descriptions in order to listen on multiple ports, or to support more than one protocol stack.
           (address=--配置需要被监控的地址  一个description中可配置多个address
                    (host= 127.0.0.1)--可以是IP  也可以是主机名  主机名通过DNS服务器被进一步解析为IP 地址
                    (port = 1521)--默认的端口号
                    (protocol = tcp)) --监听协议 10g版本中支持TCP  NAMED PIPES(NMP) SDP(SOCKETS DIRECT PROTOCOL)
                                      --以及IPC协议  操作系统专有的进程间通信协议
         )
listener is the software that runs on the server and that monitors the network for incoming database connection requests.
说白了就是开放主机的入口  如果不配置某些主机监听,任何连接的请求都是无效   这个东东权利很大 它可以限制端口、协议等 还能指定客户端连接的时限。。见下文。。
控制参数
Control parameters are used in the listener.ora file to control and specify various aspects of a listener's behavior. Among

other things, these allow you to specify listener trace settings, log file locations, and listener timeouts. Control parameters are all simple name/value pairs that
take the following form.:

parameter_name_listener_name = value
The listener name is always appended to the end of the parameter name. This allows Net8 to distinguish the parameters

controlling one listener from those
controlling another
同SID_LIST一样的 参数的命名都是参数名后跟监听名
这个参数的作用等同于lsnrctl中部分命令
例如:
CONNECT_TIMEOUT_PROD_LISTENER = 20
TRACE_LEVEL_PROD_LISTENER = OFF
CONNECT_TIMEOUT_DEV_LISTENER = 60
TRACE_LEVEL_DEV_LISTENER = SUPPORT

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/21993926/viewspace-665432/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/21993926/viewspace-665432/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值