• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

Oracle 监听(Listener) 中 services 说明

mysql 搞代码 4年前 (2022-01-09) 23次浏览 已收录 0个评论

Oracle 监听(Listener) 中 services 说明

一. 查看service1.1 先看下一个监听查看的示例:

[Oracle@db2 ~]$ lsnrctl service

LSNRCTL for Linux: Version 10.2.0.1.0 -Production on 19-JUL-2011 01:24:43

Copyright (c) 1991, 2005, Oracle. All rights reserved.

Connecting to(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=db2)(PORT=1521)))

Services Summary…

Service “PLSExtProc”has 1 instance(s).

Instance “PLSExtProc”, status UNKNOWN, has 1 handler(s) forthis service…

Handler(s):

“DEDICATED” established:0 refused:0

LOCAL SERVER

Service “dave2″has 1 instance(s).

Instance “dave2”, status READY, has 1 handler(s) for thisservice…

Handler(s):

“DEDICATED” established:5 refused:0 state:ready

LOCAL SERVER

Service”dave2XDB” has 1 instance(s).

Instance “dave2”, status READY, has 1 handler(s) for thisservice…

Handler(s):

“D000” established:0 refused:0 current:0 max:1022 state:ready

DISPATCHER

(ADDRESS=(PROTOCOL=tcp)(HOST=db2)(PORT=35619))

Service “dave2_XPT”has 1 instance(s).

Instance “dave2”, status READY, has1 handler(s) for this service…

Handler(s):

“DEDICATED” established:5 refused:0 state:ready

LOCAL SERVER

The command completed successfully

[oracle@db2 ~]$ lsnrctl status

LSNRCTL for Linux: Version 10.2.0.1.0 -Production on 19-JUL-2011 01:32:14

Copyright (c) 1991, 2005, Oracle. All rights reserved.

Connecting to(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=db2)(PORT=1521)))

STATUS of the LISTENER

————————

Alias LISTENER

Version TNSLSNR for Linux: Version10.2.0.1.0 – Production

Start Date 12-JUL-2011 23:58:55

Uptime 6 days 1 hr. 33 min. 19 sec

Trace Level off

Security ON: Local OS Authentication

SNMP OFF

Listener Parameter File /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora

Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log

Listening Endpoints Summary…

(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=db2)(PORT=1521)))

Services Summary…

Service “PLSExtProc”has 1 instance(s).

Instance”PLSExtProc”, status UNKNOWN, has 1 handler(s) for this service…

Service “dave2” has 1 instance(s).

Instance”dave2″, status READY, has 1 handler(s) for this service…

Service “dave2XDB” has 1 instance(s).

Instance”dave2″, status READY, has 1 handler(s) for this service…

Service “dave2_XPT” has 1 instance(s).

Instance “dave2”, status READY, has 1 handler(s) for this service…

The command completed successfully

我们通常配置net service name,使用的service 和实例名是相同的。

1.2 官网对Service的说明1.2.1 Purpose

Toobtain detailed information about the datab

本文来源gao!%daima.com搞$代*!码9网(

ase services, instances, and servicehandlers (dispatchers and dedicated servers) to which the listener forwardsclient connection requests.

1.2.2 Syntax

From the operating system:

lsnrctlSERVICES listener_name

From the Listener Control utility:

LSNRCTL>SERVICES listener_name

1.2.3 Arguments

listener_name: The listener name, if thedefault name of LISTENER is not used.

From:

#NETRF112


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:Oracle 监听(Listener) 中 services 说明

喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址