• oracle 监听动态和静态的配置


    [oracle@oracledb1 admin]$ vi listener.ora

    # listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (PROGRAM = extproc)
        )
      )

    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = oracledb1)(PORT = 1521))
        )
      )

    SID_LIST_LISTENER2 =
      (SID_LIST =
        (SID_DESC =
         (GLOBAL_DBNAME = ORADB1)
          (SID_NAME = ORADB1)
        )
      )

    LISTENER2 =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = oracledb1)(PORT = 1522))
        )
      )
    ADR_BASE_LISTENER = /u01/app/oracle
     
    [oracle@oracledb1 admin]$ lsnrctl status listener
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 16-SEP-2013 07:47:37
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracledb1)(PORT=1521)))
    STATUS of the LISTENER
    ------------------------
    Alias                     listener
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                16-SEP-2013 07:40:13
    Uptime                    0 days 0 hr. 7 min. 24 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/diag/tnslsnr/oracledb1/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracledb1)(PORT=1521)))
    Services Summary...
    Service "ORADB1" has 1 instance(s).
      Instance "ORADB1", status READY, has 1 handler(s) for this service...
    Service "ORADB1XDB" has 1 instance(s).
      Instance "ORADB1", status READY, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
     
    [oracle@oracledb1 admin]$ lsnrctl status listener2
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 16-SEP-2013 07:47:51
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracledb1)(PORT=1522)))
    STATUS of the LISTENER
    ------------------------
    Alias                     listener2
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                16-SEP-2013 07:30:55
    Uptime                    0 days 0 hr. 16 min. 56 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/diag/tnslsnr/oracledb1/listener2/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracledb1)(PORT=1522)))
    Services Summary...
    Service "ORADB1" has 1 instance(s).
      Instance "ORADB1", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
  • 相关阅读:
    log4net 简单使用教程(配置)
    C#WinForm 国际化的简单实现,多语言实现
    EF Power Tool 参数错误 HRESULT:0x80070057 (E_INVALIDARG)) 解决办法
    如何用委托与事件实现winfrom窗体之间值传递
    VS2010自带的Dotfuscator 5注册
    WinForm 实现主程序(exe)与其关联类库(*.dll)分开存放
    POJ_3211 Washing Clothes (01背包)
    POJ_3624 Charm Bracelet ( 01背包 )
    集训队内部测试赛(2012.01.02)
    HDU_1011 Starship Troopers && HDU_1561 The more, The Better (树型dp)
  • 原文地址:https://www.cnblogs.com/shawnloong/p/3326025.html
Copyright © 2020-2023  润新知