oracle10.2.0.4 动态注册监听配置_摘自小荷

  配置动|静态注册监听
http://www.oracleblog.cn/study-note/dynamic-registration-of-services/
 
 
要点:
  1,对于动态注册
       a,不用配置listener.ora
       b,lsnrctl services
-bash-3.2$ lsnrctl services
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 17-JUN-2010 14:08:02
Copyright (c) 1991, 2007, Oracle.  All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
Services Summary...
Service "orcl" has 1 instance(s).
  Instance "orcl", status READY, has 1 handler(s) for this service...
    Handler(s):
      "DEDICATED" established:1 refused:0 state:ready
         LOCAL SERVER
Service "orclXDB" has 1 instance(s).
  Instance "orcl", status READY, has 1 handler(s) for this service...
    Handler(s):
      "D000" established:0 refused:0 current:0 max:1022 state:ready
         DISPATCHER
         (ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=35356))
Service "orcl_XPT" has 1 instance(s).
  Instance "orcl", status READY, has 1 handler(s) for this service...
    Handler(s):
      "DEDICATED" established:1 refused:0 state:ready
         LOCAL SERVER
The command completed successfully
 
         c,lsnrctl status其status信息为ready,而非unknown(静态注册)
         d,一定要配置service_names及instance_name
 
 
2,静态注册与上面相反
  
请使用浏览器的分享功能分享到微信等