oracle listener 靜態和動態註冊
靜態註冊兩個非1521 :
LISTENER2=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=ocm)(PORT=1522))
)
)
LISTENER3=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=ocm)(PORT=1523))
)
)
SID_LIST_LISTENER2=
(SID_LIST=
(SID_DESC=
(GLOBAL_DBNAME=PROD)
(ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1)
(SID_NAME=PROD))
)
SID_LIST_LISTENER3=
(SID_LIST=
(SID_DESC=
(GLOBAL_DBNAME=PROD)
(ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1)
(SID_NAME=PROD))
)
動態註冊兩個非1521 埠:
1. allter listener.ora
add :
LSABC=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=ocm)(PORT=1421))
(ADDRESS=(PROTOCOL=tcp)(HOST=ocm)(PORT=1321))
)
)
2. alter tnsnames.ora
add:
LSABC =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ocm)(PORT =1421))
(ADDRESS=(PROTOCOL=tcp)(HOST=ocm)(PORT=1321))
)
3 .alter parameter :
SQL> alter system set local_listener=LSABC;
System altered.
SQL> show parameter list;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
local_listener string LSABC
remote_listener string
SQL>alter system register;
LISTENER2=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=ocm)(PORT=1522))
)
)
LISTENER3=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=ocm)(PORT=1523))
)
)
SID_LIST_LISTENER2=
(SID_LIST=
(SID_DESC=
(GLOBAL_DBNAME=PROD)
(ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1)
(SID_NAME=PROD))
)
SID_LIST_LISTENER3=
(SID_LIST=
(SID_DESC=
(GLOBAL_DBNAME=PROD)
(ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1)
(SID_NAME=PROD))
)
動態註冊兩個非1521 埠:
1. allter listener.ora
add :
LSABC=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=ocm)(PORT=1421))
(ADDRESS=(PROTOCOL=tcp)(HOST=ocm)(PORT=1321))
)
)
2. alter tnsnames.ora
add:
LSABC =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ocm)(PORT =1421))
(ADDRESS=(PROTOCOL=tcp)(HOST=ocm)(PORT=1321))
)
3 .alter parameter :
SQL> alter system set local_listener=LSABC;
System altered.
SQL> show parameter list;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
local_listener string LSABC
remote_listener string
SQL>alter system register;
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/27036311/viewspace-750956/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle的靜態註冊和動態註冊Oracle
- 動態註冊和靜態註冊
- Android廣播之靜態註冊Android
- ORACLE之手動註冊監聽listener。alter system set local_listener="XXX"Oracle
- 偽靜態、靜態和動態的區別
- Android中動態註冊Android
- vue動態註冊元件Vue元件
- 靜態路由和動態路由路由
- 靜態代理和動態代理
- 實現Oracle非1521標準埠動態註冊Oracle
- ios靜態庫和動態庫iOS
- 靜態合批和動態合批
- cmake:生成靜態庫和動態庫
- Oracle 19C 監聽無法動態註冊例項Oracle
- rac監聽不能動態註冊
- Servlet – Upload、Download、Async、動態註冊Servlet
- [20190201]測試服務名支援靜態和動態註冊的情況下優先選擇那個.txt
- Java代理(jdk靜態代理、動態代理和cglib動態代理)JavaJDKCGLib
- oracle靜態監聽Oracle
- 靜態SDRAM和動態SDRAM的區別
- Java中的靜態代理和動態代理Java
- vue 動態註冊路由 require.contextVue路由UIContext
- 靜態動態陣列陣列
- iOS動態庫和靜態庫的運用iOS
- Java基礎系列-靜態代理和動態代理Java
- 靜態代理和動態代理(jdk/cglib)詳解JDKCGLib
- android下java的靜態庫和動態庫AndroidJava
- 基於NACOS和JAVA反射機制動態更新JAVA靜態常量非@Value註解Java反射
- oracle 12c 新增的LREG程式及其動態註冊的過程Oracle
- 如何向Spring IOC 容器 動態註冊beanSpringBean
- spring動態註冊bean會使AOP失效?SpringBean
- SpringBoot基礎篇Bean之動態註冊Spring BootBean
- JAVA 靜態代理 & 動態代理Java
- 靜態庫與動態庫
- 動靜態庫
- 徹底搞懂訪問者模式的靜態、動態和偽動態分派模式
- 簡述Linux下的靜態庫和動態庫Linux
- 機器學習的靜態特徵和動態特徵機器學習特徵
- 動態IP和靜態IP有什麼區別?